summaryrefslogtreecommitdiff
path: root/libxslt/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2016-03-08 19:26:49 +1100
committerDanny Rawlins <monster.romster@gmail.com>2016-03-08 19:26:49 +1100
commit100aad8dbc167d0ff4321a35750f092efe9a15e5 (patch)
tree57938e08f8834132a2a47f0d8a79d1ad4463edd6 /libxslt/Pkgfile
parentac841119201fd20e46aa5ccef814d0e1fe4b04ed (diff)
downloadopt-100aad8dbc167d0ff4321a35750f092efe9a15e5.tar.gz
opt-100aad8dbc167d0ff4321a35750f092efe9a15e5.tar.xz
[notify]: libxslt: CVE-2015-7995 http://www.openwall.com/lists/oss-security/2015/10/27/10
We need to check that the parent node is an element before dereferencing its namespace
Diffstat (limited to 'libxslt/Pkgfile')
-rw-r--r--libxslt/Pkgfile14
1 files changed, 5 insertions, 9 deletions
diff --git a/libxslt/Pkgfile b/libxslt/Pkgfile
index fca810a02..6543779f9 100644
--- a/libxslt/Pkgfile
+++ b/libxslt/Pkgfile
@@ -6,12 +6,15 @@
name=libxslt
version=1.1.28
-release=2
-source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz)
+release=3
+source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz
+ CVE-2015-7995.patch)
build() {
cd $name-$version
+ patch -p1 -i $SRC/CVE-2015-7995.patch
+
./configure \
--prefix=/usr \
--without-python \
@@ -21,11 +24,4 @@ build() {
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
-
- # move manpages
- if [ -e $PKG/usr/share/man/man4/libxslt.4 ]; then
- (cd $PKG/usr/share/man
- install -d man3
- mv man4/libxslt.4 man3/libxslt.3)
- fi
}

Generated by cgit