Sun Dec 16 22:19:25 2018 UTC ()
xml-security-c: Update to 2.0.2. Patch from maya.

Changes:

2.0.0:

Bug

    [SANTUARIO-496] - DSA verification crashes OpenSSL on invalid combinations of key content

2.0.1:

Bug

    [SANTUARIO-491] - Default KeyInfo resolver doesn't check for empty element content.

2.0.0:

Bug

    [SANTUARIO-382] - Unconditionally enable large file support
    [SANTUARIO-418] - Invalid acceptance of unpadded RSA signatures
    [SANTUARIO-435] - Automake misses the subdir-objects option
    [SANTUARIO-437] - Cannot compile as C++11
    [SANTUARIO-447] - XSECCryptoX509::loadX509PEM() can read past unterminated buffer
    [SANTUARIO-449] - TXFMOutputFile can try to close unopened stream
    [SANTUARIO-470] - dsig/DSIGReference.cpp:931: bad type ?
    [SANTUARIO-471] - Patch for C++11 compile failures
    [SANTUARIO-473] - Build failure using NSS
    [SANTUARIO-474] - Better overflow checking
    [SANTUARIO-479] - xml-security-cpp compilation errors

Improvement

    [SANTUARIO-460] - Support for OpenSSL 1.1
    [SANTUARIO-461] - Internal key store should be deleted on any CryptoAcquireContext() error
    [SANTUARIO-472] - Conditional inclusion of XMKS code in library
    [SANTUARIO-476] - Change default behavior for inferring attribute IDness by name


(nia)
diff -r1.19 -r1.20 pkgsrc/security/xml-security-c/Makefile
diff -r1.4 -r1.5 pkgsrc/security/xml-security-c/PLIST
diff -r1.10 -r1.11 pkgsrc/security/xml-security-c/distinfo
diff -r1.3 -r1.4 pkgsrc/security/xml-security-c/patches/patch-xsec_tools_checksig_InteropResolver.cpp

cvs diff -r1.19 -r1.20 pkgsrc/security/xml-security-c/Makefile (expand / switch to unified diff)

--- pkgsrc/security/xml-security-c/Makefile 2018/04/30 06:52:06 1.19
+++ pkgsrc/security/xml-security-c/Makefile 2018/12/16 22:19:25 1.20
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.19 2018/04/30 06:52:06 ryoon Exp $ 1# $NetBSD: Makefile,v 1.20 2018/12/16 22:19:25 nia Exp $
2 2
3DISTNAME= xml-security-c-1.7.3 3DISTNAME= xml-security-c-2.0.2
4CATEGORIES= security devel 4CATEGORIES= security devel
5MASTER_SITES= ${MASTER_SITE_APACHE:=/santuario/c-library/} 5MASTER_SITES= ${MASTER_SITE_APACHE:=/santuario/c-library/}
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://santuario.apache.org/ 8HOMEPAGE= http://santuario.apache.org/
9COMMENT= XML Digital Signature specification implementation 9COMMENT= XML Digital Signature specification implementation
10LICENSE= apache-2.0 10LICENSE= apache-2.0
11 11
12USE_LANGUAGES= c c++11 12USE_LANGUAGES= c c++11
13USE_LIBTOOL= yes 13USE_LIBTOOL= yes
14USE_TOOLS+= gmake pkg-config 14USE_TOOLS+= gmake pkg-config
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16CONFIGURE_ENV+= XERCESCROOT="${BUILDLINK_PREFIX.xerces-c}" 16CONFIGURE_ENV+= XERCESCROOT="${BUILDLINK_PREFIX.xerces-c}"

cvs diff -r1.4 -r1.5 pkgsrc/security/xml-security-c/PLIST (expand / switch to unified diff)

--- pkgsrc/security/xml-security-c/PLIST 2011/02/23 09:02:07 1.4
+++ pkgsrc/security/xml-security-c/PLIST 2018/12/16 22:19:25 1.5
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1@comment $NetBSD: PLIST,v 1.4 2011/02/23 09:02:07 adam Exp $ 1@comment $NetBSD: PLIST,v 1.5 2018/12/16 22:19:25 nia Exp $
2bin/c14n 2bin/xsec-c14n
3bin/checksig 3bin/xsec-checksig
4bin/cipher 4bin/xsec-cipher
5bin/siginf 5bin/xsec-siginf
6bin/templatesign 6bin/xsec-templatesign
7bin/txfmout 7bin/xsec-txfmout
8bin/xklient 8bin/xsec-xklient
9bin/xtest 9bin/xsec-xtest
10include/xsec/canon/XSECC14n20010315.hpp 10include/xsec/canon/XSECC14n20010315.hpp
11include/xsec/canon/XSECCanon.hpp 11include/xsec/canon/XSECCanon.hpp
12include/xsec/canon/XSECXMLNSStack.hpp 12include/xsec/canon/XSECXMLNSStack.hpp
13include/xsec/dsig/DSIGAlgorithmHandlerDefault.hpp 13include/xsec/dsig/DSIGAlgorithmHandlerDefault.hpp
14include/xsec/dsig/DSIGConstants.hpp 14include/xsec/dsig/DSIGConstants.hpp
15include/xsec/dsig/DSIGKeyInfo.hpp 15include/xsec/dsig/DSIGKeyInfo.hpp
16include/xsec/dsig/DSIGKeyInfoDEREncoded.hpp 16include/xsec/dsig/DSIGKeyInfoDEREncoded.hpp
17include/xsec/dsig/DSIGKeyInfoExt.hpp 17include/xsec/dsig/DSIGKeyInfoExt.hpp
18include/xsec/dsig/DSIGKeyInfoList.hpp 18include/xsec/dsig/DSIGKeyInfoList.hpp
19include/xsec/dsig/DSIGKeyInfoMgmtData.hpp 19include/xsec/dsig/DSIGKeyInfoMgmtData.hpp
20include/xsec/dsig/DSIGKeyInfoName.hpp 20include/xsec/dsig/DSIGKeyInfoName.hpp
21include/xsec/dsig/DSIGKeyInfoPGPData.hpp 21include/xsec/dsig/DSIGKeyInfoPGPData.hpp
22include/xsec/dsig/DSIGKeyInfoSPKIData.hpp 22include/xsec/dsig/DSIGKeyInfoSPKIData.hpp
@@ -45,26 +45,27 @@ include/xsec/enc/NSS/NSSCryptoKeyRSA.hpp @@ -45,26 +45,27 @@ include/xsec/enc/NSS/NSSCryptoKeyRSA.hpp
45include/xsec/enc/NSS/NSSCryptoProvider.hpp 45include/xsec/enc/NSS/NSSCryptoProvider.hpp
46include/xsec/enc/NSS/NSSCryptoSymmetricKey.hpp 46include/xsec/enc/NSS/NSSCryptoSymmetricKey.hpp
47include/xsec/enc/NSS/NSSCryptoX509.hpp 47include/xsec/enc/NSS/NSSCryptoX509.hpp
48include/xsec/enc/OpenSSL/OpenSSLCryptoBase64.hpp 48include/xsec/enc/OpenSSL/OpenSSLCryptoBase64.hpp
49include/xsec/enc/OpenSSL/OpenSSLCryptoHash.hpp 49include/xsec/enc/OpenSSL/OpenSSLCryptoHash.hpp
50include/xsec/enc/OpenSSL/OpenSSLCryptoHashHMAC.hpp 50include/xsec/enc/OpenSSL/OpenSSLCryptoHashHMAC.hpp
51include/xsec/enc/OpenSSL/OpenSSLCryptoKeyDSA.hpp 51include/xsec/enc/OpenSSL/OpenSSLCryptoKeyDSA.hpp
52include/xsec/enc/OpenSSL/OpenSSLCryptoKeyEC.hpp 52include/xsec/enc/OpenSSL/OpenSSLCryptoKeyEC.hpp
53include/xsec/enc/OpenSSL/OpenSSLCryptoKeyHMAC.hpp 53include/xsec/enc/OpenSSL/OpenSSLCryptoKeyHMAC.hpp
54include/xsec/enc/OpenSSL/OpenSSLCryptoKeyRSA.hpp 54include/xsec/enc/OpenSSL/OpenSSLCryptoKeyRSA.hpp
55include/xsec/enc/OpenSSL/OpenSSLCryptoProvider.hpp 55include/xsec/enc/OpenSSL/OpenSSLCryptoProvider.hpp
56include/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp 56include/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
57include/xsec/enc/OpenSSL/OpenSSLCryptoX509.hpp 57include/xsec/enc/OpenSSL/OpenSSLCryptoX509.hpp
 58include/xsec/enc/OpenSSL/OpenSSLSupport.hpp
58include/xsec/enc/XSCrypt/XSCryptCryptoBase64.hpp 59include/xsec/enc/XSCrypt/XSCryptCryptoBase64.hpp
59include/xsec/enc/XSECCryptoBase64.hpp 60include/xsec/enc/XSECCryptoBase64.hpp
60include/xsec/enc/XSECCryptoException.hpp 61include/xsec/enc/XSECCryptoException.hpp
61include/xsec/enc/XSECCryptoHash.hpp 62include/xsec/enc/XSECCryptoHash.hpp
62include/xsec/enc/XSECCryptoKey.hpp 63include/xsec/enc/XSECCryptoKey.hpp
63include/xsec/enc/XSECCryptoKeyDSA.hpp 64include/xsec/enc/XSECCryptoKeyDSA.hpp
64include/xsec/enc/XSECCryptoKeyEC.hpp 65include/xsec/enc/XSECCryptoKeyEC.hpp
65include/xsec/enc/XSECCryptoKeyHMAC.hpp 66include/xsec/enc/XSECCryptoKeyHMAC.hpp
66include/xsec/enc/XSECCryptoKeyRSA.hpp 67include/xsec/enc/XSECCryptoKeyRSA.hpp
67include/xsec/enc/XSECCryptoProvider.hpp 68include/xsec/enc/XSECCryptoProvider.hpp
68include/xsec/enc/XSECCryptoSymmetricKey.hpp 69include/xsec/enc/XSECCryptoSymmetricKey.hpp
69include/xsec/enc/XSECCryptoUtils.hpp 70include/xsec/enc/XSECCryptoUtils.hpp
70include/xsec/enc/XSECCryptoX509.hpp 71include/xsec/enc/XSECCryptoX509.hpp
@@ -76,52 +77,48 @@ include/xsec/framework/XSECConfig.hpp @@ -76,52 +77,48 @@ include/xsec/framework/XSECConfig.hpp
76include/xsec/framework/XSECDefs.hpp 77include/xsec/framework/XSECDefs.hpp
77include/xsec/framework/XSECEnv.hpp 78include/xsec/framework/XSECEnv.hpp
78include/xsec/framework/XSECError.hpp 79include/xsec/framework/XSECError.hpp
79include/xsec/framework/XSECException.hpp 80include/xsec/framework/XSECException.hpp
80include/xsec/framework/XSECProvider.hpp 81include/xsec/framework/XSECProvider.hpp
81include/xsec/framework/XSECURIResolver.hpp 82include/xsec/framework/XSECURIResolver.hpp
82include/xsec/framework/XSECURIResolverXerces.hpp 83include/xsec/framework/XSECURIResolverXerces.hpp
83include/xsec/framework/XSECVersion.hpp 84include/xsec/framework/XSECVersion.hpp
84include/xsec/framework/XSECW32Config.hpp 85include/xsec/framework/XSECW32Config.hpp
85include/xsec/transformers/TXFMBase.hpp 86include/xsec/transformers/TXFMBase.hpp
86include/xsec/transformers/TXFMBase64.hpp 87include/xsec/transformers/TXFMBase64.hpp
87include/xsec/transformers/TXFMC14n.hpp 88include/xsec/transformers/TXFMC14n.hpp
88include/xsec/transformers/TXFMChain.hpp 89include/xsec/transformers/TXFMChain.hpp
 90include/xsec/transformers/TXFMChar.hpp
89include/xsec/transformers/TXFMCipher.hpp 91include/xsec/transformers/TXFMCipher.hpp
90include/xsec/transformers/TXFMConcatChains.hpp 92include/xsec/transformers/TXFMConcatChains.hpp
91include/xsec/transformers/TXFMDocObject.hpp 93include/xsec/transformers/TXFMDocObject.hpp
92include/xsec/transformers/TXFMEnvelope.hpp 94include/xsec/transformers/TXFMEnvelope.hpp
93include/xsec/transformers/TXFMMD5.hpp 95include/xsec/transformers/TXFMHash.hpp
94include/xsec/transformers/TXFMOutputFile.hpp 96include/xsec/transformers/TXFMOutputFile.hpp
95include/xsec/transformers/TXFMParser.hpp 97include/xsec/transformers/TXFMParser.hpp
96include/xsec/transformers/TXFMSB.hpp 98include/xsec/transformers/TXFMSB.hpp
97include/xsec/transformers/TXFMSHA1.hpp 
98include/xsec/transformers/TXFMURL.hpp 99include/xsec/transformers/TXFMURL.hpp
99include/xsec/transformers/TXFMXPath.hpp 100include/xsec/transformers/TXFMXPath.hpp
100include/xsec/transformers/TXFMXPathFilter.hpp 101include/xsec/transformers/TXFMXPathFilter.hpp
101include/xsec/transformers/TXFMXSL.hpp 102include/xsec/transformers/TXFMXSL.hpp
102include/xsec/utils/XSECAutoPtr.hpp 
103include/xsec/utils/XSECBinTXFMInputStream.hpp 103include/xsec/utils/XSECBinTXFMInputStream.hpp
104include/xsec/utils/XSECDOMUtils.hpp 
105include/xsec/utils/XSECNameSpaceExpander.hpp 104include/xsec/utils/XSECNameSpaceExpander.hpp
106include/xsec/utils/XSECPlatformUtils.hpp 105include/xsec/utils/XSECPlatformUtils.hpp
107include/xsec/utils/XSECSOAPRequestor.hpp 106include/xsec/utils/XSECSOAPRequestor.hpp
108include/xsec/utils/XSECSOAPRequestorSimple.hpp 107include/xsec/utils/XSECSOAPRequestorSimple.hpp
109include/xsec/utils/XSECSafeBuffer.hpp 108include/xsec/utils/XSECSafeBuffer.hpp
110include/xsec/utils/XSECSafeBufferFormatter.hpp 109include/xsec/utils/XSECSafeBufferFormatter.hpp
111include/xsec/utils/XSECTXFMInputSource.hpp 110include/xsec/utils/XSECTXFMInputSource.hpp
112include/xsec/utils/XSECXPathNodeList.hpp 111include/xsec/utils/XSECXPathNodeList.hpp
113include/xsec/utils/unixutils/XSECBinHTTPURIInputStream.hpp 
114include/xsec/utils/unixutils/XSECURIResolverGenericUnix.hpp 
115include/xsec/xenc/XENCCipher.hpp 112include/xsec/xenc/XENCCipher.hpp
116include/xsec/xenc/XENCCipherData.hpp 113include/xsec/xenc/XENCCipherData.hpp
117include/xsec/xenc/XENCCipherReference.hpp 114include/xsec/xenc/XENCCipherReference.hpp
118include/xsec/xenc/XENCCipherValue.hpp 115include/xsec/xenc/XENCCipherValue.hpp
119include/xsec/xenc/XENCEncryptedData.hpp 116include/xsec/xenc/XENCEncryptedData.hpp
120include/xsec/xenc/XENCEncryptedKey.hpp 117include/xsec/xenc/XENCEncryptedKey.hpp
121include/xsec/xenc/XENCEncryptedType.hpp 118include/xsec/xenc/XENCEncryptedType.hpp
122include/xsec/xenc/XENCEncryptionMethod.hpp 119include/xsec/xenc/XENCEncryptionMethod.hpp
123include/xsec/xkms/XKMSAuthentication.hpp 120include/xsec/xkms/XKMSAuthentication.hpp
124include/xsec/xkms/XKMSCompoundRequest.hpp 121include/xsec/xkms/XKMSCompoundRequest.hpp
125include/xsec/xkms/XKMSCompoundResult.hpp 122include/xsec/xkms/XKMSCompoundResult.hpp
126include/xsec/xkms/XKMSConstants.hpp 123include/xsec/xkms/XKMSConstants.hpp
127include/xsec/xkms/XKMSKeyBinding.hpp 124include/xsec/xkms/XKMSKeyBinding.hpp
@@ -150,13 +147,14 @@ include/xsec/xkms/XKMSResult.hpp @@ -150,13 +147,14 @@ include/xsec/xkms/XKMSResult.hpp
150include/xsec/xkms/XKMSResultType.hpp 147include/xsec/xkms/XKMSResultType.hpp
151include/xsec/xkms/XKMSRevokeKeyBinding.hpp 148include/xsec/xkms/XKMSRevokeKeyBinding.hpp
152include/xsec/xkms/XKMSRevokeRequest.hpp 149include/xsec/xkms/XKMSRevokeRequest.hpp
153include/xsec/xkms/XKMSRevokeResult.hpp 150include/xsec/xkms/XKMSRevokeResult.hpp
154include/xsec/xkms/XKMSStatus.hpp 151include/xsec/xkms/XKMSStatus.hpp
155include/xsec/xkms/XKMSStatusRequest.hpp 152include/xsec/xkms/XKMSStatusRequest.hpp
156include/xsec/xkms/XKMSStatusResult.hpp 153include/xsec/xkms/XKMSStatusResult.hpp
157include/xsec/xkms/XKMSUnverifiedKeyBinding.hpp 154include/xsec/xkms/XKMSUnverifiedKeyBinding.hpp
158include/xsec/xkms/XKMSUseKeyWith.hpp 155include/xsec/xkms/XKMSUseKeyWith.hpp
159include/xsec/xkms/XKMSValidateRequest.hpp 156include/xsec/xkms/XKMSValidateRequest.hpp
160include/xsec/xkms/XKMSValidateResult.hpp 157include/xsec/xkms/XKMSValidateResult.hpp
161include/xsec/xkms/XKMSValidityInterval.hpp 158include/xsec/xkms/XKMSValidityInterval.hpp
162lib/libxml-security-c.la 159lib/libxml-security-c.la
 160lib/pkgconfig/xml-security-c.pc

cvs diff -r1.10 -r1.11 pkgsrc/security/xml-security-c/distinfo (expand / switch to unified diff)

--- pkgsrc/security/xml-security-c/distinfo 2018/04/30 06:50:58 1.10
+++ pkgsrc/security/xml-security-c/distinfo 2018/12/16 22:19:25 1.11
@@ -1,8 +1,6 @@ @@ -1,8 +1,6 @@
1$NetBSD: distinfo,v 1.10 2018/04/30 06:50:58 ryoon Exp $ 1$NetBSD: distinfo,v 1.11 2018/12/16 22:19:25 nia Exp $
2 2
3SHA1 (xml-security-c-1.7.3.tar.gz) = bcbe98e0bd3695a0b961a223cce53e2f35c4681b 3SHA1 (xml-security-c-2.0.2.tar.gz) = 281efe6701397036af420244be26815589cec982
4RMD160 (xml-security-c-1.7.3.tar.gz) = f0c9c3668a3ff2e13647909b926e20fdba828ad2 4RMD160 (xml-security-c-2.0.2.tar.gz) = dec0d113943e48495cc4a5a33a1d892f793a08f0
5SHA512 (xml-security-c-1.7.3.tar.gz) = ea46709d6706edf345e19132d9998774e50dc7b5947a7b4a55e3627998f5ac66f976fdff0a5015ef3cee73c03c04f3c4cf993efd397082491c2000c6548b89d2 5SHA512 (xml-security-c-2.0.2.tar.gz) = bebadee2daf27181f5bcc955a909397976e8fd2e67f5e546f5adbede0ca790647cbec9181b0b609da59d525ff3baa9f899af2a3d815bc7a2f3a57bd8b30c011b
6Size (xml-security-c-1.7.3.tar.gz) = 909320 bytes 6Size (xml-security-c-2.0.2.tar.gz) = 904933 bytes
7SHA1 (patch-xsec_Makefile.in) = f610c63b888f8f744a5de5b47975eb7dc4aee55b 
8SHA1 (patch-xsec_tools_checksig_InteropResolver.cpp) = bdc668a7f0212113d0efbaf189e7021a44108e26 

cvs diff -r1.3 -r1.4 pkgsrc/security/xml-security-c/patches/Attic/patch-xsec_tools_checksig_InteropResolver.cpp (expand / switch to unified diff)

--- pkgsrc/security/xml-security-c/patches/Attic/patch-xsec_tools_checksig_InteropResolver.cpp 2018/04/30 06:50:58 1.3
+++ pkgsrc/security/xml-security-c/patches/Attic/patch-xsec_tools_checksig_InteropResolver.cpp 2018/12/16 22:19:25 1.4
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
1$NetBSD: patch-xsec_tools_checksig_InteropResolver.cpp,v 1.3 2018/04/30 06:50:58 ryoon Exp $ 
2 
3false is a bad pointer value. 
4 
5--- xsec/tools/checksig/InteropResolver.cpp.orig 2017-09-23 12:23:36.663288313 +0000 
6+++ xsec/tools/checksig/InteropResolver.cpp 
7@@ -645,7 +645,7 @@ XSECCryptoKey * InteropResolver::resolve 
8  
9 } 
10  
11- return false; 
12+ return NULL; 
13  
14 } 
15