summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-06-22 03:02:43 +0000
committerDan Theisen <djt@hxx.in>2018-06-22 03:49:13 +0000
commit2a2a2dbee6bf15a28f5d53b1e5bb143a64742b5a (patch)
tree19daff17e0b161e69c0f9c776884660d0227fca6 /system
parent7fb5c57c9a7573a1aeb881d5a3a6f0437292fa11 (diff)
downloadpackages-2a2a2dbee6bf15a28f5d53b1e5bb143a64742b5a.tar.gz
packages-2a2a2dbee6bf15a28f5d53b1e5bb143a64742b5a.tar.bz2
packages-2a2a2dbee6bf15a28f5d53b1e5bb143a64742b5a.tar.xz
packages-2a2a2dbee6bf15a28f5d53b1e5bb143a64742b5a.zip
system/unzip: [PD] fix maintainer and add tests
Diffstat (limited to 'system')
-rw-r--r--system/unzip/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/system/unzip/APKBUILD b/system/unzip/APKBUILD
index 07e303361..22a657021 100644
--- a/system/unzip/APKBUILD
+++ b/system/unzip/APKBUILD
@@ -1,17 +1,17 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Maintainer: Timo Teräs <timo.teras@iki.fi>
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=unzip
pkgver=6.0
_pkgver=${pkgver//./}
-pkgrel=2
+pkgrel=3
pkgdesc="Extract PKZIP-compatible .zip files"
url="http://www.info-zip.org/UnZip.html"
arch="all"
license="custom"
subpackages="$pkgname-doc"
-options="!check"
-# normally ftp://ftp.info-zip.org/pub/infozip/src/$pkgname$_pkgver.zip
-source="https://dev.alpinelinux.org/archive/unzip/$pkgname$_pkgver.tgz
+# normally ftp://ftp.info-zip.org/pub/infozip/src/$pkgname$_pkgver.zip
+source="$pkgname-$pkgver.tgz::https://distfiles.adelielinux.org/source/$pkgname$_pkgver.tgz
10-unzip-handle-pkware-verify.patch
20-unzip-uidgid-fix.patch
unzip-6.0-heap-overflow-infloop.patch
@@ -27,6 +27,11 @@ build() {
prefix=/usr generic
}
+check() {
+ cd "$builddir"
+ make -f unix/Makefile check
+}
+
package() {
cd "$builddir"
@@ -37,7 +42,7 @@ package() {
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-sha512sums="0694e403ebc57b37218e00ec1a406cae5cc9c5b52b6798e0d4590840b6cdbf9ddc0d9471f67af783e960f8fa2e620394d51384257dca23d06bcd90224a80ce5d unzip60.tgz
+sha512sums="0694e403ebc57b37218e00ec1a406cae5cc9c5b52b6798e0d4590840b6cdbf9ddc0d9471f67af783e960f8fa2e620394d51384257dca23d06bcd90224a80ce5d unzip-6.0.tgz
9d2914f22fb0075a2b6f72825c235f46eafd8d47b6fb6fcc8303fc69336e256b15923c002d2615bb6af733344c2315e4a8504d77bae301e10c11d4736faa2c81 10-unzip-handle-pkware-verify.patch
57699582e9056af0817dcb67f8db67e6a1ff8208c137fbebcf559429e5f12b471b75d7e1ef938e5bbb5416074a51ac7342e4ce8057f4bbdcb0bf079b8d7832af 20-unzip-uidgid-fix.patch
b1e3fac6a787828efaaef8ec7cc52e1573aea27a6f29830af37ec4ba8bcd2a6488c953ab10eee0561c78e82c7401833ef172bebee793405d93632ce788756301 unzip-6.0-heap-overflow-infloop.patch"