Date: Wednesday, September 26, 2018 @ 19:03:21 Author: jelle Revision: 385588
upgpkg: lib32-libxml2 2.9.8-4 security release Modified: lib32-libxml2/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-09-26 19:00:58 UTC (rev 385587) +++ PKGBUILD 2018-09-26 19:03:21 UTC (rev 385588) @@ -4,7 +4,7 @@ _pkgbasename=libxml2 pkgname=lib32-$_pkgbasename pkgver=2.9.8 -pkgrel=3 +pkgrel=4 pkgdesc="XML parsing library, version 2 (32-bit)" arch=(x86_64) license=('custom') @@ -12,10 +12,12 @@ makedepends=(gcc-multilib git) url="http://www.xmlsoft.org/" _commit=18890f471c420411aa3c989e104d090966ec9dbf # tags/v2.9.8^0 -source=(git+https://git.gnome.org/browse/libxml2#commit=$_commit) -md5sums=('SKIP') +source=(git+https://git.gnome.org/browse/libxml2#commit=$_commit + CVE-2018-9251.patch::https://gitlab.gnome.org/GNOME/libxml2/commit/2240fbf5912054af025fb6e01e26375100275e74.patch) +md5sums=('SKIP' + 'dac448e6a689319afae0008f6e2cf592') -+pkgver() { +pkgver() { cd "${srcdir}/${_pkgbasename}" git describe --tags | sed 's/-rc/rc/;s/^v//;s/-/+/g' } @@ -26,6 +28,9 @@ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" cd "${srcdir}/${_pkgbasename}" + + patch -Np1 -i ${srcdir}/CVE-2018-9251.patch + autoreconf -fi ./configure --prefix=/usr --with-threads --with-history --with-icu --libdir=/usr/lib32 --without-lzma