summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/libxml2/APKBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/system/libxml2/APKBUILD b/system/libxml2/APKBUILD
index 57845daa8..237d7f179 100644
--- a/system/libxml2/APKBUILD
+++ b/system/libxml2/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxml2
-pkgver=2.9.13
+pkgver=2.10.3
pkgrel=0
pkgdesc="XML parsing library"
url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
@@ -12,13 +12,16 @@ depends=""
depends_dev="zlib-dev icu-dev"
checkdepends="perl libarchive"
makedepends="$depends_dev python3-dev"
-subpackages="$pkgname-doc $pkgname-dev py-libxml2:py"
+subpackages="$pkgname-doc $pkgname-dev py3-libxml2:py"
provides="$pkgname-utils=$pkgver-r$pkgrel"
-source="https://download.gnome.org/sources/libxml2/2.9/libxml2-$pkgver.tar.xz
+source="https://download.gnome.org/sources/libxml2/${pkgver%.*}/libxml2-$pkgver.tar.xz
python-segfault-fix.patch
"
# secfixes:
+# 2.10.0-r0:
+# - CVE-2022-29824
+# - CVE-2022-2309
# 2.9.4-r1:
# - CVE-2016-5131
# 2.9.4-r2:
@@ -55,17 +58,11 @@ package() {
make -j1 DESTDIR="$pkgdir" install
}
-dev() {
- default_dev
- mv "$pkgdir"/usr/lib/*.sh "$subpkgdir"/usr/lib/
-}
-
py() {
pkgdesc="$pkgname Python bindings"
- provides="py3-libxml2=$pkgver-r$pkgrel"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib/
}
-sha512sums="fc51980cb9222bd3b5242f73d28b55fa15a80e68e52e1c45274f1eda11500ed385853209edb3b2a1f06b9de0be304c159a9bd898c7d84b0899eacb00723d98b5 libxml2-2.9.13.tar.xz
+sha512sums="33bb87ae9a45c475c3de09477e5d94840d8f687f893ef7839408bc7267e57611c4f2b863ed8ec819a4b5f1ebd6a122db9f6054c73bceed427d37f3e67f62620c libxml2-2.10.3.tar.xz
384b3d2031cd8f77528190bbb7652faa9ccb22bc604bcf4927e59046d38830dac38010828fe1568b6514976f725981a6d3ac1aa595d31477a36db2afe491452c python-segfault-fix.patch"