diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2019-01-20 11:25:07 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2019-01-20 11:25:07 +0000 |
commit | f7cd8bfb78a2ae011e17dbdc0d7c0b1e6eb3e653 (patch) | |
tree | d80d3a39788dbcfa89ba41aa7e03e22aac5ee243 /mail/fetchmail/files/patch-configure | |
parent | Update to 2.3d.r155 (diff) |
mail/fetchmail depends overhaul, new fetchmailconf port
* Bring back SNI (server name indication) support for TLS connections,
lost in 6.3.26_10 (PORTREVISION=10) as a regression over _9.
Pointy hat: mandree@
* Drop the X11 option, remove the Python dependency, and create a new
mail/fetchmailconf slave port/package that installs the fetchmailconf
configurator. Note that the _DEPENDS of the ports reflects a technical
dependence (fetchmailconf needs fetchmail), and we cannot keep an
X11 option that depends on fetchmailconf, since that would create
a circular dependency, which we must avoid.
* Patch configure instead of configure.ac with Cy's Kerberos fix, drop
autoreconf from USES, and add a new configure check directly to set
HAVE_DECL_SSLV3_CLIENT_METHOD to cover the various TLS providers
(currently five, base, openssl, openssl111, libressl, libressl-devel)
* Add -Wl,--as-needed to LDFLAGS so as not to pull in unneeded .so
libraries, for instance, libcom_err when compiling under GSSAPI_NONE.
* Bump PORTREVISION.
Very fruitful and nice collaboration with and
Approved by: chalpin@cs.wisc.edu (maintainer)
Diffstat (limited to 'mail/fetchmail/files/patch-configure')
-rw-r--r-- | mail/fetchmail/files/patch-configure | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/mail/fetchmail/files/patch-configure b/mail/fetchmail/files/patch-configure new file mode 100644 index 000000000000..0ff6ec96d00a --- /dev/null +++ b/mail/fetchmail/files/patch-configure @@ -0,0 +1,53 @@ +--- configure.orig 2013-04-23 21:36:55 UTC ++++ configure +@@ -9552,11 +9552,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + #ifdef __cplusplus + extern "C" + #endif +-char krb5_des_string_to_key (); ++char krb5int_des_string_to_key (); + int + main () + { +-return krb5_des_string_to_key (); ++return krb5int_des_string_to_key (); + ; + return 0; + } +@@ -9591,11 +9591,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + #ifdef __cplusplus + extern "C" + #endif +-char krb5_des_string_to_key (); ++char krb5int_des_string_to_key (); + int + main () + { +-return krb5_des_string_to_key (); ++return krb5int_des_string_to_key (); + ; + return 0; + } +@@ -10131,6 +10131,22 @@ fi + + cat >>confdefs.h <<_ACEOF + #define HAVE_DECL_SSLV2_CLIENT_METHOD $ac_have_decl ++_ACEOF ++ ++ ;; ++esac ++ ++case "$LIBS" in *-lssl*) ++ 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 + + ;; |