www/mod_webauth: Fix OpenSSL build PR: 231931 Submitted by: Nathan Index: www/mod_webauth/Makefile =================================================================== --- www/mod_webauth/Makefile (revision 481687) +++ www/mod_webauth/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= mod_webauth PORTVERSION= 4.7.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://webauth.stanford.edu/dist/ DISTNAME= webauth-${PORTVERSION} Index: www/mod_webauth/files/patch-configure =================================================================== --- www/mod_webauth/files/patch-configure (nonexistent) +++ www/mod_webauth/files/patch-configure (working copy) @@ -0,0 +1,98 @@ +--- configure.orig 2018-10-13 05:39:44 UTC ++++ configure +@@ -23425,9 +23425,9 @@ fi + fi + + if test x"$rra_reduced_depends" = xtrue; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 +-$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } +-if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5 ++$as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; } ++if ${ac_cv_lib_ssl_SSL_CTX_new+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +@@ -23441,27 +23441,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + #ifdef __cplusplus + extern "C" + #endif +-char SSL_library_init (); ++char SSL_CTX_new (); + int + main () + { +-return SSL_library_init (); ++return SSL_CTX_new (); + ; + return 0; + } + _ACEOF + if ac_fn_c_try_link "$LINENO"; then : +- ac_cv_lib_ssl_SSL_library_init=yes ++ ac_cv_lib_ssl_SSL_CTX_new=yes + else +- ac_cv_lib_ssl_SSL_library_init=no ++ ac_cv_lib_ssl_SSL_CTX_new=no + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 +-$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } +-if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5 ++$as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; } ++if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes; then : + OPENSSL_LIBS=-lssl + else + if test x"true" = xtrue; then : +@@ -23470,9 +23470,9 @@ fi + fi + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 +-$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } +-if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5 ++$as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; } ++if ${ac_cv_lib_ssl_SSL_CTX_new+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +@@ -23486,27 +23486,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + #ifdef __cplusplus + extern "C" + #endif +-char SSL_library_init (); ++char SSL_CTX_new (); + int + main () + { +-return SSL_library_init (); ++return SSL_CTX_new (); + ; + return 0; + } + _ACEOF + if ac_fn_c_try_link "$LINENO"; then : +- ac_cv_lib_ssl_SSL_library_init=yes ++ ac_cv_lib_ssl_SSL_CTX_new=yes + else +- ac_cv_lib_ssl_SSL_library_init=no ++ ac_cv_lib_ssl_SSL_CTX_new=no + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 +-$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } +-if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5 ++$as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; } ++if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes; then : + OPENSSL_LIBS="-lssl $CRYPTO_LIBS" + else + if test x"true" = xtrue; then : Property changes on: www/mod_webauth/files/patch-configure ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property