aboutsummaryrefslogtreecommitdiffstats
path: root/main/shorewall-core
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.dk>2018-01-28 18:21:53 +0100
committerTimo Teräs <timo.teras@iki.fi>2018-02-05 19:28:28 +0000
commit8fd6a60b691d8fc68ba51a1f1c94cb9bf1b1b462 (patch)
tree91c652d5c8343874ffc1c1bb7eb1b30bf35502db /main/shorewall-core
parentd9572d2098fce887eac49d44d26ffe48dc183cd8 (diff)
downloadaports-8fd6a60b691d8fc68ba51a1f1c94cb9bf1b1b462.tar.bz2
aports-8fd6a60b691d8fc68ba51a1f1c94cb9bf1b1b462.tar.xz
main/shorewall-core: upgrade to 5.1.11.1; modernize
Diffstat (limited to 'main/shorewall-core')
-rw-r--r--main/shorewall-core/APKBUILD29
1 files changed, 13 insertions, 16 deletions
diff --git a/main/shorewall-core/APKBUILD b/main/shorewall-core/APKBUILD
index 00e97d612e..b42aa633a3 100644
--- a/main/shorewall-core/APKBUILD
+++ b/main/shorewall-core/APKBUILD
@@ -1,11 +1,11 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shorewall-core
-pkgver=5.1.8
+pkgver=5.1.11.1
_ver=$pkgver
case $pkgver in
-*.*.*.*) _ver=${pkgver%.*};;
+ *.*.*.*) _ver=${pkgver%.*};;
esac
pkgrel=0
@@ -13,36 +13,33 @@ pkgdesc="Core libraries for Shorewall"
url="http://www.shorewall.net/"
arch="noarch"
license="GPL-2.0"
+options="!check"
depends=""
# coreutils for install -T
makedepends="coreutils bash"
-replaces=""
subpackages="$pkgname-doc"
source="http://www.shorewall.net/pub/shorewall/${_ver%.*}/shorewall-$_ver/shorewall-core-$pkgver.tar.bz2
shorewallrc.alpine
"
+builddir="$srcdir/$pkgname-$pkgver"
-_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+
+ default_prepare
+
cp "$srcdir"/shorewallrc.alpine .
}
build() {
- cd "$_builddir"
- ./configure || return 1
+ cd "$builddir"
+ ./configure
}
package() {
- cd "$_builddir"
- DESTDIR="$pkgdir" ./install.sh shorewallrc.alpine || return 1
+ cd "$builddir"
+ DESTDIR="$pkgdir" ./install.sh shorewallrc.alpine
}
-sha512sums="08b3a27dd421d25bfec8a7678731a664d034cb55d74fb47f35fe2aa8cbf1734a21f8bbf3f6fc3e0c3c90649dd20b692f903606220b424f40f69ecc9a3c0b134a shorewall-core-5.1.8.tar.bz2
+sha512sums="a87b857db961d001fc0ffe2f504df01e8b08ba05014986132e63dbe01e07411983a0c0b16b1e3618f2551d3d3a3fbb02d20569cb295ffd8ffc77ad65ff745b0b shorewall-core-5.1.11.1.tar.bz2
c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"