mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 07:49:16 -04:00
* 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)
53 lines
1.1 KiB
Text
53 lines
1.1 KiB
Text
--- 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
|
|
|
|
;;
|