X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 0F1E4DC0802 for ; Sat, 28 Nov 2015 20:20:23 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 8E6FBDC009C for ; Sat, 28 Nov 2015 20:20:22 +0000 (UTC) Received: by wmuu63 with SMTP id u63so87479021wmu.0 for ; Sat, 28 Nov 2015 12:20:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kampka-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=4GAVKHA1rMaVSz0B+4oJ6a8R23lHRPeyTLX1NL9WRJs=; b=lWJzBASw+F7VnsVgWOnfzUUISZs2WJWt6f7wv3ghXIBeSHPuoXuNwtorv4VABctt0l mBAH65yDBXpZ5S8jgCIHjwK5xsr2oecOHQW59cdEIZmz1ayW7Z2iE4RbQqMpGGhlYkeI BaDUs6Ud+HTXUaduvEaeqkbd5HcdfKxyhOnmu2jj1byos2VqCK1joyHLaeIaMLqfY6Hh bsZw4BM4QV5tt8E7Cmu3QPSY3JBRl7rHcfVtRnJyElS6Q8xKXzBJNVvaF/zMiNQnvaRD QaUipo6/hpvoDPBuediqzrb05qTTuNSyodKwh2vq61SIwAmin0myoH37mhbbO55TontZ wwGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4GAVKHA1rMaVSz0B+4oJ6a8R23lHRPeyTLX1NL9WRJs=; b=gQrugON6EoVHnMMvfzfRpJ4DWoLVw+wpr8MiLzgknNWaKfFGfVN80Xu8wXEmQzf60g cERo1eLaNvyS8DxF/8v5xGVfsz2brcuFn9ekM7ybSO/vLVS6Qdgg58DkP98LQB/l/cEq XF5nmzbCYlFyZk/mseTDCzUfjDPIZ9+FOl9e9rwquZ+G8NlEIEO9vudtGt3DPRRHuRp0 I46uJ2z5XeCW6+qbGwaPc1AQcEDe9+DeBr2PX98Ulx0e6drMbtzekNO5ufRkuY5o8Yxx Fjw5HKFLmqX5cQcWJHA4bUDu+TILkGQZ/jbY+NY9bMVianGb885Vk+re908sBsJJHxIw vB3g== X-Gm-Message-State: ALoCoQnTr+eLHirprgKsXYmZiBefP2aiauz2+TEeQl2bN9IOXj8uUatL41M4p/4jSpWWrRnoanO5 X-Received: by 10.194.105.38 with SMTP id gj6mr73937581wjb.130.1448742020719; Sat, 28 Nov 2015 12:20:20 -0800 (PST) Received: from localhost (pD95780D1.dip0.t-ipconnect.de. [217.87.128.209]) by smtp.gmail.com with ESMTPSA id u134sm13675674wmd.0.2015.11.28.12.20.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Nov 2015 12:20:19 -0800 (PST) From: Christian Kampka To: alpine-aports@lists.alpinelinux.org Cc: Christian Kampka Subject: [alpine-aports] [PATCH] main/libxml: new upstream version 2.9.3 Date: Sat, 28 Nov 2015 21:20:17 +0100 Message-Id: <1448742017-6864-1-git-send-email-christian@kampka.net> X-Mailer: git-send-email 2.6.2 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- main/libxml2/APKBUILD | 23 +++++++---------------- main/libxml2/CVE-2014-0191.patch | 36 ------------------------------------ main/libxml2/libxml2-pthread.patch | 11 ----------- 3 files changed, 7 insertions(+), 63 deletions(-) delete mode 100644 main/libxml2/CVE-2014-0191.patch delete mode 100644 main/libxml2/libxml2-pthread.patch diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD index b8f142c..096d326 100644 --- a/main/libxml2/APKBUILD +++ b/main/libxml2/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=libxml2 -pkgver=2.9.2 -pkgrel=2 +pkgver=2.9.3 +pkgrel=0 pkgdesc="XML parsing library, version 2" url="http://www.xmlsoft.org/" arch="all" @@ -11,10 +11,7 @@ depends= depends_dev="zlib-dev" makedepends="$depends_dev python-dev" subpackages="$pkgname-doc $pkgname-dev py-$pkgname:py $pkgname-utils" -source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz - libxml2-pthread.patch - CVE-2014-0191.patch - " +source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz" options="!strip" @@ -45,7 +42,7 @@ build() { package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install - + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } @@ -69,12 +66,6 @@ utils() { } -md5sums="9e6a9aca9d155737868b3dc5fd82f788 libxml2-2.9.2.tar.gz -cc0da520c5296e87407d24166480da73 libxml2-pthread.patch -e6f432aea642badcb848e5791bcf6df7 CVE-2014-0191.patch" -sha256sums="5178c30b151d044aefb1b08bf54c3003a0ac55c59c866763997529d60770d5bc libxml2-2.9.2.tar.gz -97d5e152580774483c47b28483282a4180c2c375bb7716a807ec859e59c3ec2f libxml2-pthread.patch -288a762e8b115cecc02d920e4b36ebfa5249b8a6713a1a948e344d881d094ea8 CVE-2014-0191.patch" -sha512sums="a4e3b20e2efceed39c20379b32b746d4a1cf65c0cf7719d26c9bf7483c1f04a4e5a442ae2f36dc4ae8a4d011b67cfb58d9f6d0be034fa3e897a49059c9289565 libxml2-2.9.2.tar.gz -bda49c5e09605acc2bb36203521f750903d81345cc38af54b977e3ce71e288267fb3ab98f1813d846ab45461490482337f7af8b0f1a8a5e0b2c09e03bbadc7f7 libxml2-pthread.patch -41b6737b5cfe6392e3d781ebde48db0bf221bde89701742408afe625a88a67f6f6aed5cf04c1983ba2e7e04c2d819a8011908d23060365225571691c5e61cf11 CVE-2014-0191.patch" +md5sums="daece17e045f1c107610e137ab50c179 libxml2-2.9.3.tar.gz" +sha256sums="4de9e31f46b44d34871c22f54bfc54398ef124d6f7cafb1f4a5958fbcd3ba12d libxml2-2.9.3.tar.gz" +sha512sums="078afa65229de4f23e6538767253fb4f9f61d96cb72e445179c71d536b224d54922f22972a2b71434796f83f8c99f6a46c3b8813cb4582ad9fca696d141e0abb libxml2-2.9.3.tar.gz" diff --git a/main/libxml2/CVE-2014-0191.patch b/main/libxml2/CVE-2014-0191.patch deleted file mode 100644 index 4d5fe1a..0000000 --- a/main/libxml2/CVE-2014-0191.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 9cd1c3cfbd32655d60572c0a413e017260c854df Mon Sep 17 00:00:00 2001 -From: Daniel Veillard -Date: Tue, 22 Apr 2014 15:30:56 +0800 -Subject: Do not fetch external parameter entities - -Unless explicitely asked for when validating or replacing entities -with their value. Problem pointed out by Daniel Berrange - -diff --git a/parser.c b/parser.c -index 9347ac9..c0dea05 100644 ---- a/parser.c -+++ b/parser.c -@@ -2598,6 +2598,20 @@ xmlParserHandlePEReference(xmlParserCtxtPtr ctxt) { - xmlCharEncoding enc; - - /* -+ * Note: external parsed entities will not be loaded, it is -+ * not required for a non-validating parser, unless the -+ * option of validating, or substituting entities were -+ * given. Doing so is far more secure as the parser will -+ * only process data coming from the document entity by -+ * default. -+ */ -+ if ((entity->etype == XML_EXTERNAL_PARAMETER_ENTITY) && -+ ((ctxt->options & XML_PARSE_NOENT) == 0) && -+ ((ctxt->options & XML_PARSE_DTDVALID) == 0) && -+ (ctxt->validate == 0)) -+ return; -+ -+ /* - * handle the extra spaces added before and after - * c.f. http://www.w3.org/TR/REC-xml#as-PE - * this is done independently. --- -cgit v0.10.1 - diff --git a/main/libxml2/libxml2-pthread.patch b/main/libxml2/libxml2-pthread.patch deleted file mode 100644 index 77d7b38..0000000 --- a/main/libxml2/libxml2-pthread.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- libxml2-2.9.1/threads.c.orig -+++ libxml2-2.9.1/threads.c -@@ -47,7 +47,7 @@ - #ifdef HAVE_PTHREAD_H - - static int libxml_is_threaded = -1; --#ifdef __GNUC__ -+#if defined(__GNUC__) && defined(__GLIBC__) - #ifdef linux - #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3) - extern int pthread_once (pthread_once_t *__once_control, -- 2.6.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---