Fix checking for availability of SSLv3 in openssl library
This commit is contained in:
parent
7a0215d478
commit
bc27946579
36
fetchmail-6.3.24-sslv3-in-ssllib-check.patch
Normal file
36
fetchmail-6.3.24-sslv3-in-ssllib-check.patch
Normal file
@ -0,0 +1,36 @@
|
||||
diff -up fetchmail-6.3.24/config.h.in.orig fetchmail-6.3.24/config.h.in
|
||||
--- fetchmail-6.3.24/config.h.in.orig 2017-06-13 10:14:37.783983820 +0200
|
||||
+++ fetchmail-6.3.24/config.h.in 2017-06-13 10:15:38.532996937 +0200
|
||||
@@ -53,6 +53,10 @@
|
||||
if you don't. */
|
||||
#undef HAVE_DECL_SSLV2_CLIENT_METHOD
|
||||
|
||||
+/* Define to 1 if you have the declaration of `SSLv3_client_method', and to 0
|
||||
+ if you don't. */
|
||||
+#undef HAVE_DECL_SSLV3_CLIENT_METHOD
|
||||
+
|
||||
/* Define to 1 if you have the declaration of `strerror', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRERROR
|
||||
diff -up fetchmail-6.3.24/configure.orig fetchmail-6.3.24/configure
|
||||
--- fetchmail-6.3.24/configure.orig 2017-06-13 10:23:06.824111065 +0200
|
||||
+++ fetchmail-6.3.24/configure 2017-06-13 10:23:43.308129006 +0200
|
||||
@@ -10133,6 +10133,18 @@ cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL_SSLV2_CLIENT_METHOD $ac_have_decl
|
||||
_ACEOF
|
||||
|
||||
+ ac_fn_c_check_decl "$LINENO" "SSLv3_client_method" "ac_cv_have_decl_SSLv3_client_method" "#include <openssl/ssl.h>
|
||||
+"
|
||||
+if test "x$ac_cv_have_decl_SSLv3_client_method" = xyes; then :
|
||||
+ ac_have_decl=1
|
||||
+else
|
||||
+ ac_have_decl=0
|
||||
+fi
|
||||
+
|
||||
+cat >>confdefs.h <<_ACEOF
|
||||
+#define HAVE_DECL_SSLV3_CLIENT_METHOD $ac_have_decl
|
||||
+_ACEOF
|
||||
+
|
||||
;;
|
||||
esac
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: A remote mail retrieval and forwarding utility
|
||||
Name: fetchmail
|
||||
Version: 6.3.26
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz.asc
|
||||
# systemd service file
|
||||
@ -12,6 +12,7 @@ Source3: fetchmailrc.example
|
||||
Patch0: fetchmail-6.3.26-ssl-backport.patch
|
||||
# Minor fixes of inacurracies in options, usage message and man page (accepted upstream)
|
||||
Patch1: fetchmail-6.3.26-options-usage-manpage.patch
|
||||
Patch2: fetchmail-6.3.24-sslv3-in-ssllib-check.patch
|
||||
URL: http://www.fetchmail.info/
|
||||
# For a breakdown of the licensing, see COPYING
|
||||
License: GPL+ and Public Domain
|
||||
@ -33,6 +34,7 @@ connections.
|
||||
%setup -q
|
||||
%patch0 -p1 -b .ssl-backport
|
||||
%patch1 -p1 -b .options-usage-manpage
|
||||
%patch2 -p1 -b .sslv3-in-ssllib-check
|
||||
|
||||
%build
|
||||
%configure --enable-POP3 --enable-IMAP --with-ssl --with-hesiod \
|
||||
@ -67,6 +69,9 @@ rm -f $RPM_BUILD_ROOT%{python_sitelib}/fetchmailconf.py*
|
||||
%config(noreplace) %attr(0600, mail, mail) %{_sysconfdir}/fetchmailrc.example
|
||||
|
||||
%changelog
|
||||
* Wed Jun 14 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.3.26-12
|
||||
- Fix checking for availability of SSLv3 in openssl library
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.26-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user