Index: Makefile =================================================================== --- Makefile (revision 453825) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= opendkim PORTVERSION= 2.10.3 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= mail security MASTER_SITES= SF/${PORTNAME} \ SF/${PORTNAME}/Previous%20Releases \ @@ -22,7 +22,7 @@ GNU_CONFIGURE= yes NO_OPTIONS_SORT=yes -USES= libtool perl5 pkgconfig shebangfix ssl +USES= autoreconf libtool perl5 pkgconfig shebangfix ssl USE_PERL5= run SHEBANG_FILES= opendkim/opendkim-genkey* reputation/opendkim-* stats/opendkim-* \ reprrd/opendkim-reprrdimport* Index: files/patch-configure.ac =================================================================== --- files/patch-configure.ac (nonexistent) +++ files/patch-configure.ac (working copy) @@ -0,0 +1,50 @@ +--- configure.ac.orig 2015-05-12 18:43:09 UTC ++++ configure.ac +@@ -860,26 +860,28 @@ then + AC_SEARCH_LIBS([ERR_peek_error], [crypto], , + AC_MSG_ERROR([libcrypto not found])) + +- AC_SEARCH_LIBS([SSL_library_init], [ssl], , +- [ +- if test x"$enable_shared" = x"yes" +- then +- AC_MSG_ERROR([Cannot build shared opendkim +- against static openssl libraries. +- Configure with --disable-shared +- to get this working or obtain a +- shared libssl library for +- opendkim to use.]) +- fi + +- # avoid caching issue - last result of SSL_library_init +- # shouldn't be cached for this next check +- unset ac_cv_search_SSL_library_init +- LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS -ldl" +- AC_SEARCH_LIBS([SSL_library_init], [ssl], , +- AC_MSG_ERROR([libssl not found]), [-ldl]) +- ] +- ) ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM([[#include ]], ++ [[SSL_library_init();]])], ++ [od_have_ossl="yes";], ++ [od_have_ossl="no";]) ++ if test x"$od_have_ossl" = x"no" ++ then ++ if test x"$enable_shared" = x"yes" ++ then ++ AC_MSG_ERROR([Cannot build shared opendkim ++ against static openssl libraries. ++ Configure with --disable-shared ++ to get this working or obtain a ++ shared libssl library for ++ opendkim to use.]) ++ fi ++ ++ LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS -ldl" ++ AC_SEARCH_LIBS([SSL_library_init], [ssl], , ++ AC_MSG_ERROR([libssl not found]), [-ldl]) ++ fi + + AC_CHECK_DECL([SHA256_DIGEST_LENGTH], + AC_DEFINE([HAVE_SHA256], 1, Property changes on: files/patch-configure.ac ___________________________________________________________________ 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 Index: files/patch-libopendkim__tests__Makefile.in =================================================================== --- files/patch-libopendkim__tests__Makefile.in (revision 453825) +++ files/patch-libopendkim__tests__Makefile.in (working copy) @@ -1,6 +1,6 @@ --- libopendkim/tests/Makefile.in.orig 2015-05-12 18:43:48 UTC +++ libopendkim/tests/Makefile.in -@@ -1108,8 +1108,10 @@ am__nobase_list = $(am__nobase_strip_set +@@ -1108,8 +1108,10 @@ am__nobase_list = $(am__nobase_strip_setup); \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ Index: files/patch-libopendkim_dkim-canon.c =================================================================== --- files/patch-libopendkim_dkim-canon.c (revision 453825) +++ files/patch-libopendkim_dkim-canon.c (working copy) @@ -1,6 +1,6 @@ ---- libopendkim/dkim-canon.c.orig 2015-08-26 08:37:01 UTC +--- libopendkim/dkim-canon.c.orig 2015-05-11 03:56:13 UTC +++ libopendkim/dkim-canon.c -@@ -388,7 +388,7 @@ dkim_canon_header_string(struct dkim_dst +@@ -388,7 +388,7 @@ dkim_canon_header_string(struct dkim_dstring *dstr, dk } /* skip all spaces before first word */ Index: files/patch-opendkim__tests__Makefile.in =================================================================== --- files/patch-opendkim__tests__Makefile.in (revision 453825) +++ files/patch-opendkim__tests__Makefile.in (working copy) @@ -1,6 +1,6 @@ --- opendkim/tests/Makefile.in.orig 2015-05-12 18:43:49 UTC +++ opendkim/tests/Makefile.in -@@ -139,8 +139,10 @@ am__nobase_list = $(am__nobase_strip_set +@@ -139,8 +139,10 @@ am__nobase_list = $(am__nobase_strip_setup); \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ Index: files/patch-opendkim_opendkim-crypto.c =================================================================== --- files/patch-opendkim_opendkim-crypto.c (nonexistent) +++ files/patch-opendkim_opendkim-crypto.c (working copy) @@ -0,0 +1,30 @@ +--- opendkim/opendkim-crypto.c.orig 2013-02-25 21:02:41 UTC ++++ opendkim/opendkim-crypto.c +@@ -222,7 +222,11 @@ dkimf_crypto_free_id(void *ptr) + { + assert(pthread_setspecific(id_key, ptr) == 0); + ++#if OPENSSL_VERSION_NUMBER >= 0x10100000 ++ OPENSSL_thread_stop(); ++#else + ERR_remove_state(0); ++#endif + + free(ptr); + +@@ -392,11 +396,15 @@ dkimf_crypto_free(void) + { + if (crypto_init_done) + { ++#if OPENSSL_VERSION_NUMBER >= 0x10100000 ++ OPENSSL_thread_stop(); ++#else + CRYPTO_cleanup_all_ex_data(); + CONF_modules_free(); + EVP_cleanup(); + ERR_free_strings(); + ERR_remove_state(0); ++#endif + + if (nmutexes > 0) + { Property changes on: files/patch-opendkim_opendkim-crypto.c ___________________________________________________________________ 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