Mail archive
alpine-aports

[alpine-aports] [PATCH] main/expat: security upgrade to 2.2.1 (CVE-2017-9233)

From: Daniel Sabogal <dsabogalcc_at_gmail.com>
Date: Wed, 21 Jun 2017 22:22:49 -0400

ref #7448
add check()
---
 main/expat/APKBUILD | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/main/expat/APKBUILD b/main/expat/APKBUILD
index 62023e4afe..b1107a93a8 100644
--- a/main/expat/APKBUILD
+++ b/main/expat/APKBUILD
_at_@ -1,35 +1,38 @@
 # Maintainer: Carlo Landmeter <clandmeter_at_gmail.com>
 pkgname=expat
-pkgver=2.2.0
+pkgver=2.2.1
 pkgrel=0
 pkgdesc="An XML Parser library written in C"
 url="http://www.libexpat.org/"
 arch="all"
 license='MIT'
-depends=
-makedepends=
-source="http://downloads.sourceforge.net/project/expat/expat/$pkgver/expat-$pkgver.tar.bz2
-	"
+depends=""
+source="http://downloads.sourceforge.net/project/expat/expat/$pkgver/expat-$pkgver.tar.bz2"
 subpackages="$pkgname-dev $pkgname-doc"
-
 builddir="$srcdir/$pkgname-$pkgver"
 
+# secfixes:
+#   2.2.1-r0:
+#     - CVE-2017-9233
+
 build() {
 	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
 		--prefix=/usr \
-		--mandir=/usr/share/man \
-		|| return 1
-	make || return 1
+		--mandir=/usr/share/man
+	make
+}
+
+check() {
+	cd "$builddir"
+	make check
 }
 
 package() {
 	cd "$builddir"
-	make DESTDIR="$pkgdir/" install || return 1
+	make DESTDIR="$pkgdir/" install
 }
 
-md5sums="2f47841c829facb346eb6e3fab5212e2  expat-2.2.0.tar.bz2"
-sha256sums="d9e50ff2d19b3538bd2127902a89987474e1a4db8e43a66a4d1a712ab9a504ff  expat-2.2.0.tar.bz2"
-sha512sums="2be1a6eea87b439374bfacb1fbb8e814fd8a085d5dfd3ca3be69d1af29b5dc93d36cbdec5f6843ca6d5910843c7ffbc498adc2a561b9dcece488edf3c6f8c7c8  expat-2.2.0.tar.bz2"
+sha512sums="74089b55872df16f214a4baba0143e6353736dfa34063391293bb2760aa3e5118d9ccb3592e07c74c9d52a2a5b91496e15153f28214c4c01242d95b3019b67ea  expat-2.2.1.tar.bz2"
-- 
2.13.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Jun 21 2017 - 22:22:49 GMT