aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmspack/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-08-22 13:25:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-22 13:28:16 +0000
commit214cb233279c7ef0221557f24d0d0af79a46d3b7 (patch)
tree005dd4d43f7f2fab40c518cfd3d6d983cd223bbd /main/libmspack/APKBUILD
parentecca30772574fd370fdcd57cc0aaf1c052ca2768 (diff)
downloadaports-214cb233279c7ef0221557f24d0d0af79a46d3b7.tar.bz2
aports-214cb233279c7ef0221557f24d0d0af79a46d3b7.tar.xz
main/libmspack: security upgrade to 0.7.1alpha
fixes #9225
Diffstat (limited to 'main/libmspack/APKBUILD')
-rw-r--r--main/libmspack/APKBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/main/libmspack/APKBUILD b/main/libmspack/APKBUILD
index afc0f38fad..2445406957 100644
--- a/main/libmspack/APKBUILD
+++ b/main/libmspack/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmspack
-pkgver=0.5_alpha
+pkgver=0.7.1_alpha
_ver=${pkgver/_/}
-pkgrel=1
+pkgrel=0
pkgdesc="Library for CAB and related files compression and decompression"
url="https://www.cabextract.org.uk/libmspack/"
arch="all"
@@ -12,13 +12,16 @@ depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
-source="https://www.cabextract.org.uk/libmspack/libmspack-$_ver.tar.gz
- CVE-2017-6419.patch
- CVE-2017-11423.patch"
+source="https://www.cabextract.org.uk/libmspack/libmspack-$_ver.tar.gz"
_builddir="$srcdir"/libmspack-$_ver
# secfixes:
+# 0.7.1_alpha-r0:
+# - CVE-2018-14679
+# - CVE-2018-14680
+# - CVE-2018-14681
+# - CVE-2018-14682
# 0.5_alpha-r1:
# - CVE-2017-6419
# - CVE-2017-11423
@@ -44,7 +47,9 @@ build() {
--localstatedir=/var \
--disable-static \
|| return 1
- make || return 1
+ # parallel build workaround
+ make libmspack.la libmscabd.la libmschmd.la
+ make
}
package() {
@@ -52,12 +57,4 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="3aa3f6b9ef101463270c085478fda1da libmspack-0.5alpha.tar.gz
-a88236b4e1b9bb265945a455123648ed CVE-2017-6419.patch
-e29cb11b947c191dbec80932f16b5d70 CVE-2017-11423.patch"
-sha256sums="8967f275525f5067b364cee43b73e44d0433668c39f9376dfff19f653d1c8110 libmspack-0.5alpha.tar.gz
-fed2f79b41b326ca0b5f1f968027ee320e9f3d14f14fc67a7b1bcf5650884dd8 CVE-2017-6419.patch
-164b7bbbc08abce0e7f995938b3b74084dcc71cc8871c9ab1e14dcadc8df6a58 CVE-2017-11423.patch"
-sha512sums="6d4efa0f43c43185ef91c97c1518aa70f09109d7332cda7e12019e146ec9cb0f2065fb1b57683b48bae9a7eaf8e82eb94096644c6d25c56d45878f630b719231 libmspack-0.5alpha.tar.gz
-5b40a114c8449f0c9f38536cb148c684a94e51607ec806da1a4a4466550202d63edbcd26e4a6cdec7b20483f3384f732ba952945e752a975be2e9a6653e036e0 CVE-2017-6419.patch
-b426584d967c53f61491f1d47205a8db0bab5ca0a9ba75868f0437d697f5c81df20652c6eedf7825d00851555ff10f4a388275024fdc41d638d1d6ee9387dad2 CVE-2017-11423.patch"
+sha512sums="e903629a34c29099a261a108e4eb9cda485ab999bbc3383e3cd6a39715077d00b26a1c641b0f3df0eef60d2e15a7ef623379df0cfe25b99d4eda080529ffec7b libmspack-0.7.1alpha.tar.gz"