summaryrefslogtreecommitdiffstats
path: root/main/libxslt/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-04-10 08:42:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-04-11 09:31:53 +0000
commitd6422a55cb45a443a665ae96737b0945cfc1a3f6 (patch)
tree9ac9246a685ae5c5af7d408fc343b77fbb220d8f /main/libxslt/APKBUILD
parent2b611ca929c8b739fe7e6a1909137594439a1e80 (diff)
downloadaports-d6422a55cb45a443a665ae96737b0945cfc1a3f6.tar.bz2
aports-d6422a55cb45a443a665ae96737b0945cfc1a3f6.tar.xz
main/libxslt: upgrade to 1.1.28 (CVE-2012-6139)
fixes #1755
Diffstat (limited to 'main/libxslt/APKBUILD')
-rw-r--r--main/libxslt/APKBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/main/libxslt/APKBUILD b/main/libxslt/APKBUILD
index 708df73a1..cf9d1c322 100644
--- a/main/libxslt/APKBUILD
+++ b/main/libxslt/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxslt
-pkgver=1.1.27
-pkgrel=1
+pkgver=1.1.28
+pkgrel=0
pkgdesc="XML stylesheet transformation library"
url="http://xmlsoft.org/XSLT/"
arch="all"
@@ -9,16 +9,15 @@ license="custom"
depends=
makedepends="libxml2-dev libgcrypt-dev libgpg-error-dev python-dev"
subpackages="$pkgname-dev $pkgname-doc py-$pkgname:py"
-patches="libxslt-Fix-regression-Default-namespace-not-correctly-used.patch"
-source="ftp://xmlsoft.org/$pkgname/$pkgname-$pkgver.tar.gz
- $patches"
+source="ftp://xmlsoft.org/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- for i in $patches; do
- msg $i
- patch -p1 -i "$srcdir"/$i || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
done
}
@@ -41,5 +40,6 @@ py() {
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
-md5sums="4d01ff464b9ea7236925a1adf147c7f8 libxslt-1.1.27.tar.gz
-4009f95496a7e97dd4269e7e43544e9c libxslt-Fix-regression-Default-namespace-not-correctly-used.patch"
+md5sums="9667bf6f9310b957254fdcf6596600b7 libxslt-1.1.28.tar.gz"
+sha256sums="5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c libxslt-1.1.28.tar.gz"
+sha512sums="20b65bdaceaac5bd11d509bf683ce8e344030bc95164639266ae705d41659bcba47b5be1b059d0d67681e6428b0710db675d1749c06aa531bc2212ed3d0511b1 libxslt-1.1.28.tar.gz"