pkgsrc/security/xmlsec1/patches/patch-ab
mef 93b44c5830 security/xmlsec1 updated 1.2.19 to 1.2.25
on 12 Sep 2017 xmlsec-1_2_25 XMLSec release 1.2.25
on 20 Apr 2017 xmlsec-1_2_24 XMLSec release 1.2.24

2016-10-15 Aleksey Sanin  <aleksey@aleksey.com>
	* 1.2.23 release

2016-10-14 Aleksey Sanin  <aleksey@aleksey.com>
	* Fixed gcrypto RSA/DSA keys params ordering

2016-10-12 Aleksey Sanin  <aleksey@aleksey.com>
	* Better X509Data templates

2016-10-07 Aleksey Sanin  <aleksey@aleksey.com>
	* Fixed memory leak caused by xmlGetProp (patch from Dafan Zhai)
	* Fixed KW transforms (overlapping buffer error) for OpenSSL 1.1.0
	* Fixed pkg-config detection

2016-09-27 Aleksey Sanin  <aleksey@aleksey.com>
	* Added initial support OpenSSL 1.1.0 (patch from Andrzej Siewior)

2016-09-19 Aleksey Sanin  <aleksey@aleksey.com>
	* Fixed signing with RSA SHA2 via mscrypto (patch from PepaRokos)

2016-07-08 Aleksey Sanin  <aleksey@aleksey.com>
	* Fixed mscrypto undeclared XMLSEC_DEFAULT_CRYPTO (patch from vmiklos)

2016-05-31 Aleksey Sanin  <aleksey@aleksey.com>
	* Fixed mismatched conditional for XMLSEC_NO_ECDSA (patch from Eric Sproul)

2016-05-20 Aleksey Sanin  <aleksey@aleksey.com>
	* Fixed openssl cert depth verification param usage (patch from R-Tur)

2016-04-22 Aleksey Sanin  <aleksey@aleksey.com>
	* Fixed stdin/stdout in xmlsec1 app

2016-04-20 Aleksey Sanin  <aleksey@aleksey.com>
	* Restored SOAP support for Lasso
	* 1.2.22 release

2016-04-12 Aleksey Sanin  <aleksey@aleksey.com>
        * 1.2.21 release

2016-02-17 Aleksey Sanin  <aleksey@aleksey.com>
        * Added OOXML Relationships Transform Algorithm (patch from Miklos Vajna)

2016-02-06 Aleksey Sanin  <aleksey@aleksey.com>
        * Deprecated XMLSEC_CRYPTO define in favor of xmlSecGetDefaultCrypto() function

2016-02-05 Aleksey Sanin  <aleksey@aleksey.com>
        * Revamped manpages/documentation build to completely pass 'make distcheck' tests

2016-01-28 Aleksey Sanin  <aleksey@aleksey.com>
        * Added OpenSSL 1.1.0 API support (major refactoring for block ciphers and DSA/ECDSA signatures)

2016-01-28 Aleksey Sanin  <aleksey@aleksey.com>
        * Migrated to GitHub (https://github.com/lsh123/xmlsec)

2015-03-10 Aleksey Sanin  <aleksey@aleksey.com>
        * Removed support for legacy OpenSSL 0.9.6 (last release: March, 2004) and 0.9.7 (last release: February, 2007)

2014-10-2014 Aleksey Sanin  <aleksey@aleksey.com>
        * Added experimental GOST2012 support (patch from Nikolay Shaplov)

2014-06-04 Aleksey Sanin  <aleksey@aleksey.com>
        * Fixed several compaints from Clang and Coverity (based on patches from Simo Sorce)

2014-02-25 Aleksey Sanin  <aleksey@aleksey.com>
        * Removed XKMS support -- it was never completed and not worth keeping

2013-05-23 Aleksey Sanin  <aleksey@aleksey.com>
        * 1.2.20 release

2014-05-23  Aleksey Sanin  <aleksey@aleksey.com>
        * fix build on MacOSX (bug #680307)
        * update certs for examples (bug #674572)
        * update test certs to be valid till 2114
        * don't create files on xmlsec-mscrypto when loading the key (bug #633924)
        * clarify min OpenSSL requirements

2014-05-23  Aleksey Sanin  <aleksey@aleksey.com>
        * better detect private keys on ext RSA engines (bug #728213)
        * fixed CRL check

2014-02-17  Aleksey Sanin  <aleksey@aleksey.com>
        * fixes for RH 6x

2013-07-19  Aleksey Sanin  <aleksey@aleksey.com>
        * fixed switch - added missed break keywords (bug #704574)

2013-06-03  Aleksey Sanin  <aleksey@aleksey.com>
        * fix memory leak in converting cert subject

2013-05-09  Aleksey Sanin  <aleksey@aleksey.com>
        * disable network access during internal xml transform parser

2013-04-12  Aleksey Sanin  <aleksey@aleksey.com>
        * fix typo (fixed bug 695605)

2013-03-28  Aleksey Sanin  <aleksey@aleksey.com>
        * disable ECDSA if needed (Daniel)

2013-03-24  Aleksey Sanin  <aleksey@aleksey.com>
        * docs rebuild
2018-01-30 13:25:19 +00:00

62 lines
2.1 KiB
Text

$NetBSD: patch-ab,v 1.8 2018/01/30 13:25:19 mef Exp $
* portability fix
* DragonFly also not require extra libs for OpenSSL.
--- configure.orig 2017-09-12 22:21:59.000000000 +0900
+++ configure 2018-01-30 22:12:07.735855706 +0900
@@ -11373,7 +11373,7 @@ darwin* | rhapsody*)
soname_spec='$libname$release$major$shared_ext'
shlibpath_overrides_runpath=yes
shlibpath_var=DYLD_LIBRARY_PATH
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+ shrext_cmds='.dylib'
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
@@ -12661,7 +12661,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 +13648,7 @@ case "${host}" in
;;
esac
-if test "z$shrext" == "z" ; then
+if test "z$shrext" = "z" ; then
shrext=$shrext_cmds
fi
@@ -14384,15 +14384,13 @@ elif test "z$with_openssl" != "z" ; then
*-*-osf5*) openssl_exlibs=;;
*-*-openbsd*) openssl_exlibs=;;
*-*-netbsd*) openssl_exlibs=;;
+ *-*-freebsd*|*-*-dragonfly*) openssl_exlibs=;;
+ *-*-darwin*) openssl_exlibs=;;
#FIXME: check if lib "dl" is required
*) openssl_exlibs=-ldl;;
esac
OPENSSL_CFLAGS="$OPENSSL_CFLAGS -I$with_openssl/include"
- if test -f "$with_openssl/lib/libcrypto${XMLSEC_SHLIBSFX}" ; then
- OPENSSL_LIBS="-L$with_openssl/lib -lcrypto $openssl_exlibs"
- else
- OPENSSL_LIBS="$with_openssl/lib/libcrypto.a $openssl_exlibs"
- fi
+ OPENSSL_LIBS="-L$with_openssl/lib -lcrypto $openssl_exlibs"
OPENSSL_FOUND="yes"
elif test "z$PKGCONFIG_FOUND" = "zyes" ; then
if test "z$OPENSSL_VERSION" = "z" ; then
@@ -14754,7 +14752,7 @@ 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