Pawel Salek 7 years ago
parent 3ef77204e1
commit 154344ebc8

@ -0,0 +1,14 @@
diff --git a/configure.ac b/configure.ac
index 556f220..2c0693d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -303,7 +303,7 @@ if test x$with_openssl != xno ; then
)
fi
if test x$with_openssl != xno ; then
- AC_CHECK_LIB(ssl, SSL_library_init, [
+ AC_CHECK_LIB(ssl, SSL_new, [
with_openssl=yes
LIBS="-lssl -lcrypto $LIBS"
], [

@ -3,13 +3,14 @@
Summary: SMTP client library
Name: libesmtp
Version: 1.0.6
Release: 15%{?dist}
Release: 16%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
Source: http://www.stafford.uklinux.net/libesmtp/%{name}-%{version}.tar.bz2
URL: http://www.stafford.uklinux.net/libesmtp/
BuildRequires: gcc
BuildRequires: openssl-devel pkgconfig
BuildRequires: openssl-devel pkgconfig autoconf automake libtool
Patch0: libesmtp-1.0.6-openssl-1.1.patch
%description
LibESMTP is a library to manage posting (or submission of) electronic
@ -35,6 +36,9 @@ necessary for building programs against libesmtp.
%prep
%setup -q
%patch0 -p1 -b .openssl-1.1
autoreconf -fi
# Keep rpmlint happy about libesmtp-debuginfo...
chmod a-x htable.c
@ -93,6 +97,9 @@ install -p -m644 -D libesmtp.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libesmtp.pc
%{_libdir}/pkgconfig/libesmtp.pc
%changelog
* Sat Jul 21 2018 Pawel Salek <salek@kth.se> - 1.0.6-16
- apply the ssl patch from https://bugzilla.redhat.com/show_bug.cgi?id=1483350
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save