summaryrefslogtreecommitdiff
path: root/user/xmlsec
diff options
context:
space:
mode:
Diffstat (limited to 'user/xmlsec')
-rw-r--r--user/xmlsec/APKBUILD10
-rw-r--r--user/xmlsec/testrun.patch11
2 files changed, 17 insertions, 4 deletions
diff --git a/user/xmlsec/APKBUILD b/user/xmlsec/APKBUILD
index 0d20b20f7..c359e0f10 100644
--- a/user/xmlsec/APKBUILD
+++ b/user/xmlsec/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=xmlsec
-pkgver=1.2.30
+pkgver=1.3.3
_pkgname="$pkgname${pkgver%%.*}"
-pkgrel=1
+pkgrel=0
pkgdesc="C-based XML signature and encryption syntax and processing library"
url="https://www.aleksey.com/xmlsec/"
arch="all"
@@ -13,7 +13,8 @@ makedepends="gnutls-dev libgcrypt-dev libtool libxml2-dev libxslt-dev
nss-dev openssl-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-gcrypt $pkgname-gnutls
$pkgname-nss"
-source="https://www.aleksey.com/xmlsec/download/$_pkgname-$pkgver.tar.gz"
+source="https://www.aleksey.com/xmlsec/download/$_pkgname-$pkgver.tar.gz
+ testrun.patch"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
@@ -69,4 +70,5 @@ nss() {
mv "$pkgdir"/usr/lib/libxmlsec1-nss.so* "$subpkgdir"/usr/lib/
}
-sha512sums="07152470a9fe5d077f8a358608ca1d8a79ee0d2777660f61ed5717dc640714a3adfe66843e6a4023898eb0f5ed79771d70c41132571f3a1aeda82c1894b69c98 xmlsec1-1.2.30.tar.gz"
+sha512sums="1535b6f878259914ab9574892d05c927fbcd548986cf7bcf91e435acb2cb74eb11e58163f797038ee13a11444882814b2b4318cd677053fbe52557a2e4acf68a xmlsec1-1.3.3.tar.gz
+d29fad9689d6c8d9583802143bdfa38b27fbcc2e54232a052138da08f495b40de677849e3c1062070ef2d2efe59357d6efa6b7df429ea6563ea6b6cb126c3b6f testrun.patch"
diff --git a/user/xmlsec/testrun.patch b/user/xmlsec/testrun.patch
new file mode 100644
index 000000000..6666f7d28
--- /dev/null
+++ b/user/xmlsec/testrun.patch
@@ -0,0 +1,11 @@
+--- xmlsec1-1.3.3/tests/testrun.sh 2024-04-05 18:19:20.980000000 +0000
++++ xmlsec1-1.3.3/tests/testrun.sh 2024-04-05 18:19:36.110000000 +0000
+@@ -769,7 +769,7 @@
+ rm -rf $tmpfile $tmpfile.2 tmpfile.3
+
+ # run tests
+-source "$testfile"
++. "$testfile"
+
+ # calculate success
+ percent_success=0