[arch-commits] Commit in libxslt/repos/extra-x86_64 (3 files)

Jan de Groot jgc at archlinux.org
Thu May 26 21:05:23 UTC 2016


    Date: Thursday, May 26, 2016 @ 23:05:23
  Author: jgc
Revision: 268622

archrelease: copy trunk to extra-x86_64

Added:
  libxslt/repos/extra-x86_64/PKGBUILD
    (from rev 268621, libxslt/trunk/PKGBUILD)
Deleted:
  libxslt/repos/extra-x86_64/CVE-2015-7995.patch
  libxslt/repos/extra-x86_64/PKGBUILD

---------------------+
 CVE-2015-7995.patch |   29 ---------------
 PKGBUILD            |   92 +++++++++++++++++++++++---------------------------
 2 files changed, 44 insertions(+), 77 deletions(-)

Deleted: CVE-2015-7995.patch
===================================================================
--- CVE-2015-7995.patch	2016-05-26 21:05:18 UTC (rev 268621)
+++ CVE-2015-7995.patch	2016-05-26 21:05:23 UTC (rev 268622)
@@ -1,29 +0,0 @@
-From 7ca19df892ca22d9314e95d59ce2abdeff46b617 Mon Sep 17 00:00:00 2001
-From: Daniel Veillard <veillard at redhat.com>
-Date: Thu, 29 Oct 2015 19:33:23 +0800
-Subject: Fix for type confusion in preprocessing attributes
-
-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
----
- libxslt/preproc.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/libxslt/preproc.c b/libxslt/preproc.c
-index 0eb80a0..7f69325 100644
---- a/libxslt/preproc.c
-+++ b/libxslt/preproc.c
-@@ -2249,7 +2249,8 @@ xsltStylePreCompute(xsltStylesheetPtr style, xmlNodePtr inst) {
- 	} else if (IS_XSLT_NAME(inst, "attribute")) {
- 	    xmlNodePtr parent = inst->parent;
- 
--	    if ((parent == NULL) || (parent->ns == NULL) ||
-+	    if ((parent == NULL) ||
-+	        (parent->type != XML_ELEMENT_NODE) || (parent->ns == NULL) ||
- 		((parent->ns != inst->ns) &&
- 		 (!xmlStrEqual(parent->ns->href, inst->ns->href))) ||
- 		(!xmlStrEqual(parent->name, BAD_CAST "attribute-set"))) {
--- 
-cgit v0.11.2
-

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-26 21:05:18 UTC (rev 268621)
+++ PKGBUILD	2016-05-26 21:05:23 UTC (rev 268622)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
-# Contributor: John Proctor <jproctor at prium.net>
-
-pkgname=libxslt
-pkgver=1.1.28
-pkgrel=4
-pkgdesc="XML stylesheet transformation library"
-arch=('i686' 'x86_64')
-url="http://xmlsoft.org/XSLT/"
-license=('custom')
-depends=('libxml2' 'libgcrypt')
-makedepends=('python2')
-checkdepends=('docbook-xml')
-source=(http://xmlsoft.org/sources/${pkgname}-${pkgver}.tar.gz
-        CVE-2015-7995.patch)
-md5sums=('9667bf6f9310b957254fdcf6596600b7'
-         'b97b695cbe4171f8cb10df41f652aba5')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../CVE-2015-7995.patch
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -e 's|/usr/bin/python -u|/usr/bin/python2 -u|g' -e 's|/usr/bin/python$|/usr/bin/python2|g' -i python/tests/*.py
-  ./configure --prefix=/usr --with-python=/usr/bin/python2
-
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-
-  make
-}
-
-check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make check
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-
-  rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.a
-}

Copied: libxslt/repos/extra-x86_64/PKGBUILD (from rev 268621, libxslt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-05-26 21:05:23 UTC (rev 268622)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=libxslt
+pkgver=1.1.29
+pkgrel=1
+pkgdesc="XML stylesheet transformation library"
+arch=('i686' 'x86_64')
+url="http://xmlsoft.org/XSLT/"
+license=('custom')
+depends=('libxml2' 'libgcrypt')
+makedepends=('python2')
+checkdepends=('docbook-xml' 'python')
+source=(http://xmlsoft.org/sources/${pkgname}-${pkgver}.tar.gz)
+md5sums=('a129d3c44c022de3b9dcf6d6f288d72e')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|/usr/bin/python -u|/usr/bin/python2 -u|g' -e 's|/usr/bin/python$|/usr/bin/python2|g' -i python/tests/*.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-python=/usr/bin/python2
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="${pkgdir}" install
+
+  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.a
+}



More information about the arch-commits mailing list