diff options
Diffstat (limited to 'main/apr-util/APKBUILD')
-rw-r--r-- | main/apr-util/APKBUILD | 46 |
1 files changed, 31 insertions, 15 deletions
diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD index 9e4e25ce38c..8f24097ca52 100644 --- a/main/apr-util/APKBUILD +++ b/main/apr-util/APKBUILD @@ -1,19 +1,35 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=apr-util -pkgver=1.6.1 -pkgrel=10 +pkgver=1.6.3 +pkgrel=1 pkgdesc="The Apache Portable Runtime Utility Library" -url="http://apr.apache.org/" +url="https://apr.apache.org/" arch="all" license="Apache-2.0" -subpackages="$pkgname-dev $pkgname-dbd_pgsql $pkgname-dbd_mysql - $pkgname-dbd_sqlite3 $pkgname-ldap" -depends_dev="expat-dev openldap-dev sqlite-dev libpq-dev - openssl1.1-compat-dev mariadb-dev" -makedepends="$depends_dev apr-dev bash chrpath openssl" +subpackages=" + $pkgname-dev + $pkgname-dbd_pgsql + $pkgname-dbd_mysql + $pkgname-dbd_sqlite3 + $pkgname-ldap + " +depends_dev=" + expat-dev + gdbm-dev + libpq-dev + mariadb-dev + openldap-dev + openssl-dev>3 + sqlite-dev + " +makedepends="$depends_dev apr-dev bash chrpath openssl>3" source="https://www.apache.org/dist/apr/apr-util-$pkgver.tar.bz2 musl-fix-testsuite.patch" +# secfixes: +# 1.6.3-r0: +# - CVE-2022-25147 + build() { ./configure \ --build=$CBUILD \ @@ -27,8 +43,8 @@ build() { --with-crypto \ --with-openssl \ --without-sqlite2 \ - --without-berkeley-db \ - --with-dbm=ndbm + --with-dbm=ndbm \ + --with-ndbm make } @@ -45,9 +61,7 @@ package() { _mv_mod() { pkgdesc="The Apache Portable Runtime Utility Library - $2 driver" depends= - local _moddir="usr/lib/apr-util-1" - mkdir -p "$subpkgdir"/$_moddir - mv "$pkgdir"/$_moddir/apr_$1*.so "$subpkgdir"/$_moddir/ + amove usr/lib/apr-util-1/apr_$1*.so } dbd_pgsql() { _mv_mod dbd_pgsql "PostgreSQL"; } @@ -55,5 +69,7 @@ dbd_mysql() { _mv_mod dbd_mysql "MySQL"; } dbd_sqlite3() { _mv_mod dbd_sqlite "SQLite3"; } ldap() { _mv_mod ldap "LDAP"; } -sha512sums="40eff8a37c0634f7fdddd6ca5e596b38de15fd10767a34c30bbe49c632816e8f3e1e230678034f578dd5816a94f246fb5dfdf48d644829af13bf28de3225205d apr-util-1.6.1.tar.bz2 -4672c55bbe78a401483dd21f29dd1f92d70887191f3d4945a616223c18e39e051609a3b52a5547a9dbcc54e315cf5866e5dfb5ef9507c3914e9d74a67e75a00e musl-fix-testsuite.patch" +sha512sums=" +8050a481eeda7532ef3751dbd8a5aa6c48354d52904a856ef9709484f4b0cc2e022661c49ddf55ec58253db22708ee0607dfa7705d9270e8fee117ae4f06a0fe apr-util-1.6.3.tar.bz2 +4672c55bbe78a401483dd21f29dd1f92d70887191f3d4945a616223c18e39e051609a3b52a5547a9dbcc54e315cf5866e5dfb5ef9507c3914e9d74a67e75a00e musl-fix-testsuite.patch +" |