FreeBSD Bugzilla – Attachment 211184 Details for
Bug 243717
security/xmlsec1: update to 1.2.29
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
xmlsec1-1.2.29.diff
xmlsec1-1.2.29.diff (text/plain), 11.97 KB, created by
Li-Wen Hsu
on 2020-01-30 08:03:11 UTC
(
hide
)
Description:
xmlsec1-1.2.29.diff
Filename:
MIME Type:
Creator:
Li-Wen Hsu
Created:
2020-01-30 08:03:11 UTC
Size:
11.97 KB
patch
obsolete
>Index: security/xmlsec1/Makefile >=================================================================== >--- security/xmlsec1/Makefile (revision 524634) >+++ security/xmlsec1/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= xmlsec1 >-PORTVERSION= 1.2.25 >+PORTVERSION= 1.2.29 > CATEGORIES= security > MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \ > ftp://ftp.aleksey.com/pub/xmlsec/releases/ \ >@@ -49,6 +49,8 @@ > libplds4.so:devel/nspr \ > libplc4.so:devel/nspr > >+PLIST_SUB= VERSION=${PORTVERSION} >+ > post-patch: > @${REINPLACE_CMD} -e 's/mozilla-nss/nss/' \ > -e 's/mozilla-nspr/nspr/' ${WRKSRC}/configure >Index: security/xmlsec1/distinfo >=================================================================== >--- security/xmlsec1/distinfo (revision 524634) >+++ security/xmlsec1/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1513083917 >-SHA256 (xmlsec1-1.2.25.tar.gz) = 967ca83edf25ccb5b48a3c4a09ad3405a63365576503bf34290a42de1b92fcd2 >-SIZE (xmlsec1-1.2.25.tar.gz) = 1839160 >+TIMESTAMP = 1578046204 >+SHA256 (xmlsec1-1.2.29.tar.gz) = b1d1deba966019930f608d1f2b95c40ca3450f1393bcd3a3c001a8ba1d2839ab >+SIZE (xmlsec1-1.2.29.tar.gz) = 1989360 >Index: security/xmlsec1/files/patch-Makefile.in >=================================================================== >--- security/xmlsec1/files/patch-Makefile.in (revision 524634) >+++ security/xmlsec1/files/patch-Makefile.in (nonexistent) >@@ -1,11 +0,0 @@ >---- Makefile.in.orig 2017-12-12 16:05:23.187628000 +0300 >-+++ Makefile.in 2017-12-12 16:07:19.241092000 +0300 >-@@ -480,7 +480,7 @@ >- bin_SCRIPTS = xmlsec1-config >- pkgconfig_DATA = xmlsec1.pc @XMLSEC_CRYPTO_PC_FILES_LIST@ >- pkgconfigdir = $(prefix)/libdata/pkgconfig >--confexecdir = $(libdir) >-+confexecdir = $(sysconfdir) >- confexec_DATA = xmlsec1Conf.sh >- m4datadir = $(datadir)/aclocal >- m4data_DATA = xmlsec1.m4 > >Property changes on: security/xmlsec1/files/patch-Makefile.in >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: security/xmlsec1/files/patch-configure >=================================================================== >--- security/xmlsec1/files/patch-configure (revision 524634) >+++ security/xmlsec1/files/patch-configure (nonexistent) >@@ -1,135 +0,0 @@ >---- configure.orig 2017-09-12 13:21:59 UTC >-+++ configure >-@@ -12661,7 +12649,7 @@ CC=$lt_save_CC >- >- >- >--if test "z$RM" == "z" ; then >-+if test "z$RM" = "z" ; then >- # Extract the first word of "rm", so it can be a program name with args. >- set dummy rm; ac_word=$2 >- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >-@@ -13648,7 +13636,7 @@ case "${host}" in >- ;; >- esac >- >--if test "z$shrext" == "z" ; then >-+if test "z$shrext" = "z" ; then >- shrext=$shrext_cmds >- fi >- >-@@ -14384,6 +14372,7 @@ elif test "z$with_openssl" != "z" ; then >- *-*-osf5*) openssl_exlibs=;; >- *-*-openbsd*) openssl_exlibs=;; >- *-*-netbsd*) openssl_exlibs=;; >-+ *-*-freebsd*) openssl_exlibs=;; >- #FIXME: check if lib "dl" is required >- *) openssl_exlibs=-ldl;; >- esac >-@@ -14641,9 +14630,9 @@ if test "z$OPENSSL_FOUND" = "zno" ; then >- for dir in $ac_openssl_lib_dir ; do >- if test -f $dir/libcrypto.a ; then >- if test "z$dir" = "z/usr/lib" ; then >-- OPENSSL_LIBS="-lcrypto -ldl" >-+ OPENSSL_LIBS="-lcrypto" >- else >-- OPENSSL_LIBS="-L$dir -lcrypto -ldl" >-+ OPENSSL_LIBS="-L$dir -lcrypto " >- fi >- OPENSSL_LIBS_FOUND="yes" >- ac_found_openssl_lib_dir=$dir >-@@ -14668,7 +14669,7 @@ $as_echo_n "checking for openssl librari >- /* end confdefs.h. */ >- >- #include <openssl/opensslv.h> >-- #if OPENSSL_VERSION_NUMBER == 0x20000000L && defined(LIBRESSL_VERSION_NUMBER) >-+ #if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L >- yes >- #endif >- >-@@ -14676,7 +14665,7 @@ _ACEOF >- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | >- $EGREP "yes" >/dev/null 2>&1; then : >- >-- OPENSSL_VERSION="1.0.0 (libressl)" >-+ OPENSSL_VERSION="1.0.0 (LibreSSL < 2.7)" >- >- else >- >-@@ -14692,7 +14681,31 @@ rm -f conftest* >- /* end confdefs.h. */ >- >- #include <openssl/opensslv.h> >-- #if OPENSSL_VERSION_NUMBER >= 0x10100000L >-+ #if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L >-+ yes >-+ #endif >-+ >-+_ACEOF >-+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | >-+ $EGREP "yes" >/dev/null 2>&1; then : >-+ >-+ OPENSSL_VERSION="1.1.0 (LibreSSL >= 2.7)" >-+ >-+else >-+ >-+ OPENSSL_VERSION="" >-+ >-+fi >-+rm -f conftest* >-+ >-+ fi >-+ >-+ if test "z$OPENSSL_VERSION" = "z" ; then >-+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >-+/* end confdefs.h. */ >-+ >-+ #include <openssl/opensslv.h> >-+ #if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) >- yes >- #endif >- >-@@ -14749,12 +14762,12 @@ fi >- if test "z$OPENSSL_FOUND" = "zyes" ; then >- XMLSEC_NO_OPENSSL="0" >- OPENSSL_CFLAGS="$OPENSSL_CFLAGS -DXMLSEC_CRYPTO_OPENSSL=1" >-- XMLSEC_CRYPTO_LIST="$XMLSEC_CRYPTO_LIST openssl" >-+ XMLSEC_CRYPTO_LIST="$XMLSEC_CRYPTO_LIST openssl"; CPPFLAGS="$CPPFLAGS $OPENSSL_CFLAGS" >- else >- XMLSEC_CRYPTO_DISABLED_LIST="$XMLSEC_CRYPTO_DISABLED_LIST openssl" >- fi >- >-- if test "z$XMLSEC_NO_OPENSSL" == "z1"; then >-+ if test "z$XMLSEC_NO_OPENSSL" = "z1"; then >- XMLSEC_NO_OPENSSL_TRUE= >- XMLSEC_NO_OPENSSL_FALSE='#' >- else >-@@ -14776,7 +14789,7 @@ NSPR_MIN_VERSION="4.4.1" >- NSS_CFLAGS="" >- NSS_LIBS="" >- NSS_LIBS_LIST="-lnss3 -lsmime3" >--NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4" >-+NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4 -lpthread" >- NSS_CRYPTO_LIB="$XMLSEC_PACKAGE-nss" >- NSS_FOUND="no" >- NSPR_PACKAGE=mozilla-nspr >-@@ -15211,15 +15224,15 @@ $as_echo_n "checking for nss libraries > >- NSS_NSS_H="" >- >- if test "z$with_nss" != "z" ; then >-- NSS_CFLAGS="$NSS_CFLAGS -I$with_nss/include -I$with_nss/include/nss" >-+ NSS_CFLAGS="$NSS_CFLAGS -I$with_nss/include/nss/nss -I$with_nss/include/nss" >- if test "z$with_gnu_ld" = "zyes" ; then >-- NSS_LIBS="$NSS_LIBS -Wl,-rpath-link -Wl,$with_nss/lib -L$with_nss/lib $NSS_LIBS_LIST" >-+ NSS_LIBS="$NSS_LIBS -Wl,-rpath-link -Wl,$with_nss/lib/nss -L$with_nss/lib/nss $NSS_LIBS_LIST" >- else >-- NSS_LIBS="$NSS_LIBS -L$with_nss/lib $NSS_LIBS_LIST" >-+ NSS_LIBS="$NSS_LIBS -L$with_nss/lib/nss $NSS_LIBS_LIST" >- fi >- NSS_INCLUDES_FOUND="yes" >- NSS_LIBS_FOUND="yes" >-- NSS_NSS_H="$with_nss/include/nss.h" >-+ NSS_NSS_H="$with_nss/include/nss/nss/nss.h" >- else >- for dir in $ac_nss_inc_dir ; do >- if test -f $dir/nss/nss.h ; then > >Property changes on: security/xmlsec1/files/patch-configure >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: security/xmlsec1/files/patch-configure.ac >=================================================================== >--- security/xmlsec1/files/patch-configure.ac (revision 524634) >+++ security/xmlsec1/files/patch-configure.ac (nonexistent) >@@ -1,33 +0,0 @@ >---- configure.ac.orig 2017-09-12 13:21:09 UTC >-+++ configure.ac >-@@ -493,7 +493,7 @@ if test "z$OPENSSL_FOUND" = "zyes" -a "z >- yes >- #endif >- ],[ >-- OPENSSL_VERSION="1.0.0 (libressl)" >-+ OPENSSL_VERSION="1.0.0 (libressl < 2.7)" >- ],[ >- OPENSSL_VERSION="" >- ]) >-@@ -502,7 +502,20 @@ if test "z$OPENSSL_FOUND" = "zyes" -a "z >- if test "z$OPENSSL_VERSION" = "z" ; then >- AC_EGREP_CPP(yes,[ >- #include <openssl/opensslv.h> >-- #if OPENSSL_VERSION_NUMBER >= 0x10100000L >-+ #if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L >-+ yes >-+ #endif >-+ ],[ >-+ OPENSSL_VERSION="1.1.0 (libressl >= 2.7)" >-+ ],[ >-+ OPENSSL_VERSION="" >-+ ]) >-+ fi >-+ >-+ if test "z$OPENSSL_VERSION" = "z" ; then >-+ AC_EGREP_CPP(yes,[ >-+ #include <openssl/opensslv.h> >-+ #if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) >- yes >- #endif >- ],[ > >Property changes on: security/xmlsec1/files/patch-configure.ac >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: security/xmlsec1/files/patch-include_xmlsec_openssl_crypto.h >=================================================================== >--- security/xmlsec1/files/patch-include_xmlsec_openssl_crypto.h (revision 524634) >+++ security/xmlsec1/files/patch-include_xmlsec_openssl_crypto.h (nonexistent) >@@ -1,19 +0,0 @@ >---- include/xmlsec/openssl/crypto.h.orig 2017-09-12 13:21:09 UTC >-+++ include/xmlsec/openssl/crypto.h >-@@ -43,11 +43,14 @@ XMLSEC_CRYPTO_EXPORT const xmlChar* >- * What version of the openssl API do we have? (also see configure.ac) >- * >- *******************************************************************/ >--#if OPENSSL_VERSION_NUMBER == 0x20000000L && defined(LIBRESSL_VERSION_NUMBER) >--/* Libressl decided to take over OpenSSL version 2.0.0, likely will create >-+#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L >-+/* LibreSSL decided to take over OpenSSL version 2.0.0, likely will create >- * issues down the road... >- */ >- #define XMLSEC_OPENSSL_API_100 1 >-+#elif defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L >-+/* LibreSSL 2.7 implements OpenSSL 1.1 API */ >-+#define XMLSEC_OPENSSL_API_110 1 >- #elif OPENSSL_VERSION_NUMBER >= 0x10100000L >- #define XMLSEC_OPENSSL_API_110 1 >- #elif OPENSSL_VERSION_NUMBER >= 0x10000000L > >Property changes on: security/xmlsec1/files/patch-include_xmlsec_openssl_crypto.h >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: security/xmlsec1/pkg-plist >=================================================================== >--- security/xmlsec1/pkg-plist (revision 524634) >+++ security/xmlsec1/pkg-plist (working copy) >@@ -1,6 +1,5 @@ > bin/xmlsec1 > bin/xmlsec1-config >-etc/xmlsec1Conf.sh > include/xmlsec1/xmlsec/app.h > include/xmlsec1/xmlsec/base64.h > include/xmlsec1/xmlsec/bn.h >@@ -39,7 +38,6 @@ > include/xmlsec1/xmlsec/openssl/x509.h > include/xmlsec1/xmlsec/parser.h > include/xmlsec1/xmlsec/private.h >-include/xmlsec1/xmlsec/private/xslt.h > include/xmlsec1/xmlsec/soap.h > include/xmlsec1/xmlsec/strings.h > include/xmlsec1/xmlsec/templates.h >@@ -50,6 +48,7 @@ > include/xmlsec1/xmlsec/xmlenc.h > include/xmlsec1/xmlsec/xmlsec.h > include/xmlsec1/xmlsec/xmltree.h >+lib/xmlsec1Conf.sh > lib/libxmlsec1-gcrypt.a > lib/libxmlsec1-gcrypt.so > lib/libxmlsec1-gcrypt.so.1 >@@ -56,20 +55,20 @@ > %%GNUTLS%%lib/libxmlsec1-gnutls.a > %%GNUTLS%%lib/libxmlsec1-gnutls.so > %%GNUTLS%%lib/libxmlsec1-gnutls.so.1 >-%%GNUTLS%%lib/libxmlsec1-gnutls.so.1.2.25 >+%%GNUTLS%%lib/libxmlsec1-gnutls.so.%%VERSION%% > %%NSS%%lib/libxmlsec1-nss.a > %%NSS%%lib/libxmlsec1-nss.so > %%NSS%%lib/libxmlsec1-nss.so.1 >-%%NSS%%lib/libxmlsec1-nss.so.1.2.25 >-lib/libxmlsec1-gcrypt.so.1.2.25 >+%%NSS%%lib/libxmlsec1-nss.so.%%VERSION%% >+lib/libxmlsec1-gcrypt.so.%%VERSION%% > lib/libxmlsec1-openssl.a > lib/libxmlsec1-openssl.so > lib/libxmlsec1-openssl.so.1 >-lib/libxmlsec1-openssl.so.1.2.25 >+lib/libxmlsec1-openssl.so.%%VERSION%% > lib/libxmlsec1.a > lib/libxmlsec1.so > lib/libxmlsec1.so.1 >-lib/libxmlsec1.so.1.2.25 >+lib/libxmlsec1.so.%%VERSION%% > libdata/pkgconfig/xmlsec1-gcrypt.pc > %%GNUTLS%%libdata/pkgconfig/xmlsec1-gnutls.pc > %%NSS%%libdata/pkgconfig/xmlsec1-nss.pc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243717
:
211181
| 211184