mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update to xmlsec-1.3.9
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
COMMENT-main= XML security library
|
COMMENT-main= XML security library
|
||||||
COMMENT-docs= XML security library documentation
|
COMMENT-docs= XML security library documentation
|
||||||
|
|
||||||
VERSION= 1.3.8
|
VERSION= 1.3.9
|
||||||
DISTNAME= xmlsec1-${VERSION}
|
DISTNAME= xmlsec1-${VERSION}
|
||||||
PKGNAME-main= xmlsec-${VERSION}
|
PKGNAME-main= xmlsec-${VERSION}
|
||||||
PKGNAME-docs= xmlsec-docs-${VERSION}
|
PKGNAME-docs= xmlsec-docs-${VERSION}
|
||||||
@@ -9,7 +9,7 @@ PKGNAME-docs= xmlsec-docs-${VERSION}
|
|||||||
CATEGORIES= security
|
CATEGORIES= security
|
||||||
SHARED_LIBS= xmlsec1-gnutls 7.0 \
|
SHARED_LIBS= xmlsec1-gnutls 7.0 \
|
||||||
xmlsec1-openssl 7.0 \
|
xmlsec1-openssl 7.0 \
|
||||||
xmlsec1 10.0
|
xmlsec1 11.0
|
||||||
|
|
||||||
HOMEPAGE= https://www.aleksey.com/xmlsec/
|
HOMEPAGE= https://www.aleksey.com/xmlsec/
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
SHA256 (xmlsec1-1.3.8.tar.gz) = 0BgJFq5xvihBWm+pGaBoRDPsnsO6HMCGaRCwLl4T9b0=
|
SHA256 (xmlsec1-1.3.9.tar.gz) = pjHIzXprhuatufW5NdRanPl2izywkNRh6OudBDz5ti8=
|
||||||
SIZE (xmlsec1-1.3.8.tar.gz) = 2476028
|
SIZE (xmlsec1-1.3.9.tar.gz) = 2377806
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
Index: Makefile.in
|
Index: Makefile.in
|
||||||
--- Makefile.in.orig
|
--- Makefile.in.orig
|
||||||
+++ Makefile.in
|
+++ Makefile.in
|
||||||
@@ -1208,7 +1208,7 @@ check: check-all check-info
|
@@ -1217,7 +1217,7 @@ check-unit-tests: $(UNIT_TEST_APP)
|
||||||
|
|
||||||
check-all: $(TEST_APP)
|
check-all: $(TEST_APP) check-unit-tests
|
||||||
for crypto in $(CHECK_CRYPTO_LIST) ; do \
|
for crypto in $(CHECK_CRYPTO_LIST) ; do \
|
||||||
- make check-crypto-$$crypto || exit 1 ; \
|
- make check-crypto-$$crypto || exit 1 ; \
|
||||||
+ $(MAKE) check-crypto-$$crypto || exit 1 ; \
|
+ $(MAKE) check-crypto-$$crypto || exit 1 ; \
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
From 23463d9d90e69d75c6d456268882e36ea134ae8b Mon Sep 17 00:00:00 2001
|
|
||||||
From: lsh123 <aleksey@aleksey.com>
|
|
||||||
Date: Sun, 26 Oct 2025 15:57:36 -0700
|
|
||||||
Subject: [PATCH] Cleanup errors (#976)
|
|
||||||
|
|
||||||
Index: src/gnutls/kt_rsa.c
|
|
||||||
--- src/gnutls/kt_rsa.c.orig
|
|
||||||
+++ src/gnutls/kt_rsa.c
|
|
||||||
@@ -108,7 +108,7 @@ xmlSecGnuTLSKeyTransportInitialize(xmlSecTransformPtr
|
|
||||||
|
|
||||||
/* not found */
|
|
||||||
{
|
|
||||||
- xmlSecNotImplementedError(xmlSecErrorsSafeString(xmlSecTransformGetName(transform)));
|
|
||||||
+ xmlSecInvalidTransfromError(transform);
|
|
||||||
return(-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
From 23463d9d90e69d75c6d456268882e36ea134ae8b Mon Sep 17 00:00:00 2001
|
|
||||||
From: lsh123 <aleksey@aleksey.com>
|
|
||||||
Date: Sun, 26 Oct 2025 15:57:36 -0700
|
|
||||||
Subject: [PATCH] Cleanup errors (#976)
|
|
||||||
|
|
||||||
Index: src/mscrypto/crypto.c
|
|
||||||
--- src/mscrypto/crypto.c.orig
|
|
||||||
+++ src/mscrypto/crypto.c
|
|
||||||
@@ -306,7 +306,7 @@ xmlSecMSCryptoInit (void) {
|
|
||||||
*/
|
|
||||||
int
|
|
||||||
xmlSecMSCryptoShutdown(void) {
|
|
||||||
- /* TODO: if necessary, do additional shutdown here */
|
|
||||||
+ /* if necessary, do additional shutdown here */
|
|
||||||
return(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
From 23463d9d90e69d75c6d456268882e36ea134ae8b Mon Sep 17 00:00:00 2001
|
|
||||||
From: lsh123 <aleksey@aleksey.com>
|
|
||||||
Date: Sun, 26 Oct 2025 15:57:36 -0700
|
|
||||||
Subject: [PATCH] Cleanup errors (#976)
|
|
||||||
|
|
||||||
Index: src/nss/keytrans.c
|
|
||||||
--- src/nss/keytrans.c.orig
|
|
||||||
+++ src/nss/keytrans.c
|
|
||||||
@@ -140,7 +140,7 @@ xmlSecNssKeyTransportInitialize(xmlSecTransformPtr tra
|
|
||||||
|
|
||||||
/* not found */
|
|
||||||
{
|
|
||||||
- xmlSecNotImplementedError(xmlSecErrorsSafeString(xmlSecTransformGetName(transform)));
|
|
||||||
+ xmlSecInvalidTransfromError(transform);
|
|
||||||
return(-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
kt_rsa.c:697:56: error: use of undeclared identifier 'pKey'
|
|
||||||
697 | xmlSecAssert2(xmlSecOpenSSLKeyValueRsaCheckKeyType(pKey) == 0, -1);
|
|
||||||
|
|
||||||
Index: src/openssl/kt_rsa.c
|
|
||||||
--- src/openssl/kt_rsa.c.orig
|
|
||||||
+++ src/openssl/kt_rsa.c
|
|
||||||
@@ -694,7 +694,7 @@ xmlSecOpenSSLRsaOaepProcessImpl(xmlSecOpenSSLRsaOaepCt
|
|
||||||
|
|
||||||
xmlSecAssert2(ctx != NULL, -1);
|
|
||||||
xmlSecAssert2(ctx->pKey != NULL, -1);
|
|
||||||
- xmlSecAssert2(xmlSecOpenSSLKeyValueRsaCheckKeyType(pKey) == 0, -1);
|
|
||||||
+ xmlSecAssert2(xmlSecOpenSSLKeyValueRsaCheckKeyType(ctx->pKey) == 0, -1);
|
|
||||||
xmlSecAssert2(inBuf != NULL, -1);
|
|
||||||
xmlSecAssert2(inSize > 0, -1);
|
|
||||||
xmlSecAssert2(outBuf != NULL, -1);
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
From 23463d9d90e69d75c6d456268882e36ea134ae8b Mon Sep 17 00:00:00 2001
|
|
||||||
From: lsh123 <aleksey@aleksey.com>
|
|
||||||
Date: Sun, 26 Oct 2025 15:57:36 -0700
|
|
||||||
Subject: [PATCH] Cleanup errors (#976)
|
|
||||||
|
|
||||||
Index: src/parser.c
|
|
||||||
--- src/parser.c.orig
|
|
||||||
+++ src/parser.c
|
|
||||||
@@ -199,8 +199,7 @@ xmlSecParserPushBin(xmlSecTransformPtr transform, cons
|
|
||||||
}
|
|
||||||
|
|
||||||
/* todo: check that document is well formed? */
|
|
||||||
- transform->outNodes = xmlSecNodeSetCreate(ctx->parserCtx->myDoc,
|
|
||||||
- NULL, xmlSecNodeSetTree);
|
|
||||||
+ transform->outNodes = xmlSecNodeSetCreate(ctx->parserCtx->myDoc, NULL, xmlSecNodeSetTree);
|
|
||||||
if(transform->outNodes == NULL) {
|
|
||||||
xmlSecInternalError("xmlSecNodeSetCreate", xmlSecTransformGetName(transform));
|
|
||||||
xmlFreeDoc(ctx->parserCtx->myDoc);
|
|
||||||
@@ -13,7 +13,7 @@ Index: tests/testrun.sh
|
|||||||
OS_KERNEL=`uname -s`
|
OS_KERNEL=`uname -s`
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -884,7 +884,9 @@ execEncTestWithCryptoConfig() {
|
@@ -913,7 +913,9 @@ execEncTestWithCryptoConfig() {
|
||||||
cat $tmpfile | $outputTransform > $tmpfile.2
|
cat $tmpfile | $outputTransform > $tmpfile.2
|
||||||
mv $tmpfile.2 $tmpfile
|
mv $tmpfile.2 $tmpfile
|
||||||
fi
|
fi
|
||||||
@@ -24,7 +24,7 @@ Index: tests/testrun.sh
|
|||||||
printRes $expected_res $?
|
printRes $expected_res $?
|
||||||
else
|
else
|
||||||
printRes $expected_res $res
|
printRes $expected_res $res
|
||||||
@@ -916,7 +918,9 @@ execEncTestWithCryptoConfig() {
|
@@ -945,7 +947,9 @@ execEncTestWithCryptoConfig() {
|
||||||
cat $tmpfile.2 | $outputTransform > $tmpfile
|
cat $tmpfile.2 | $outputTransform > $tmpfile
|
||||||
mv $tmpfile $tmpfile.2
|
mv $tmpfile $tmpfile.2
|
||||||
fi
|
fi
|
||||||
@@ -35,7 +35,7 @@ Index: tests/testrun.sh
|
|||||||
printRes $res_success $?
|
printRes $res_success $?
|
||||||
else
|
else
|
||||||
printRes $res_success $res
|
printRes $res_success $res
|
||||||
@@ -940,7 +944,7 @@ execEncTestWithCryptoConfig() {
|
@@ -969,7 +973,7 @@ execEncTestWithCryptoConfig() {
|
||||||
rm -rf $tmpfile $tmpfile.2 $tmpfile.3
|
rm -rf $tmpfile $tmpfile.2 $tmpfile.3
|
||||||
|
|
||||||
# run tests
|
# run tests
|
||||||
|
|||||||
Reference in New Issue
Block a user