aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxml2/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-16 11:33:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-16 11:33:04 +0000
commit9ea0026f1b97a1d6d0220cb4254220c733a579e6 (patch)
tree8fa83a703ee9015a289da92bdaacb92e5a2399a5 /main/libxml2/APKBUILD
parentcf1eed4d24827742d760b5a21d108be4c7e8d58b (diff)
downloadaports-9ea0026f1b97a1d6d0220cb4254220c733a579e6.tar.bz2
aports-9ea0026f1b97a1d6d0220cb4254220c733a579e6.tar.xz
main/libxml2: security fix (CVE-2012-2807)
This should fix the issue for real. fixes #1302
Diffstat (limited to 'main/libxml2/APKBUILD')
-rw-r--r--main/libxml2/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD
index df42cfb7ad..7c31766c11 100644
--- a/main/libxml2/APKBUILD
+++ b/main/libxml2/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=libxml2
pkgver=2.8.0
-pkgrel=0
+pkgrel=1
pkgdesc="XML parsing library, version 2"
url="http://www.xmlsoft.org/"
arch="all"
@@ -11,7 +11,11 @@ depends=
depends_dev="zlib-dev python-dev"
makedepends="zlib-dev python-dev"
subpackages="$pkgname-doc $pkgname-dev py-$pkgname:py $pkgname-utils"
-source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ libxml2-entities-local-buffers-size.patch
+ libxml2-entities-local-buffers-size2.patch
+ libxml2-parser-local-buffers-size.patch
+ "
options="!strip"
@@ -58,4 +62,7 @@ utils() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-md5sums="c62106f02ee00b6437f0fb9d370c1093 libxml2-2.8.0.tar.gz"
+md5sums="c62106f02ee00b6437f0fb9d370c1093 libxml2-2.8.0.tar.gz
+c8c789a4fbdae599a47ecbfa32b889d7 libxml2-entities-local-buffers-size.patch
+cba1201e77dc0f3e337d9ff146a2666e libxml2-entities-local-buffers-size2.patch
+6c5c7a125dddb616feb1b2f4254bf467 libxml2-parser-local-buffers-size.patch"