aboutsummaryrefslogtreecommitdiffstats
path: root/main/shorewall6
diff options
context:
space:
mode:
Diffstat (limited to 'main/shorewall6')
-rw-r--r--main/shorewall6/APKBUILD29
1 files changed, 17 insertions, 12 deletions
diff --git a/main/shorewall6/APKBUILD b/main/shorewall6/APKBUILD
index 13fc41e125..05d0fa6551 100644
--- a/main/shorewall6/APKBUILD
+++ b/main/shorewall6/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shorewall6
-pkgver=4.6.2.1
+pkgver=4.6.3.1
_ver=$pkgver
case $pkgver in
@@ -10,7 +10,7 @@ esac
pkgrel=0
pkgdesc="Files for the IPV6 Shorewall Firewall"
url="http://www.shorewall.net/"
-arch=""
+arch="noarch"
license="GPL-2"
depends="shorewall-core perl ip6tables iproute2"
# coreutils for install -T
@@ -19,6 +19,7 @@ replaces=""
subpackages="$pkgname-doc"
source="http://www1.shorewall.net/pub/shorewall/${_ver%.*}/shorewall-$_ver/$pkgname-$pkgver.tar.bz2
shorewall6.initd
+ shorewallrc.alpine
"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -30,23 +31,27 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ cp "$srcdir"/shorewallrc.alpine .
}
build() {
cd "$_builddir"
- ./configure MANDIR=/usr/share/man SBINDIR=/usr/sbin || return 1
+ ./configure || return 1
}
package() {
cd "$_builddir"
- DESTDIR="$pkgdir" ./install.sh || return 1
- rm -f "$pkgdir"/etc/init.d/shorewall6 || return 1
- install -m755 "$srcdir"/shorewall6.initd "$pkgdir"/etc/init.d/shorewall6
+ DESTDIR="$pkgdir" ./install.sh shorewallrc.alpine || return 1
+ install -Dm755 "$srcdir"/shorewall6.initd \
+ "$pkgdir"/etc/init.d/shorewall6
}
-md5sums="04b47a2a267e854d85ec0ec07b85a8f6 shorewall6-4.6.2.1.tar.bz2
-685f7d32ff6ce1251658365e7d7076ee shorewall6.initd"
-sha256sums="76e14b49b175cefdea573bf84edfc2c366294f4fd7af38dcd6bb1af7fedb5306 shorewall6-4.6.2.1.tar.bz2
-a0c9a30cebee098e05d38626d6124398947d4b6cac15d278b1d383bfcc29bcda shorewall6.initd"
-sha512sums="b8d38b5627d57b3c0f7f8b5f28fb6e1dbd57365fb2b6d2f586fc168c5609a4383b2661a8c7cfb3a7e22e9c8eaca124a3d8b72bbab4c8be0195da4552f1826c95 shorewall6-4.6.2.1.tar.bz2
-ef7c3fb6080cd8f49ad8fef5221cf9e43701aa5838e30ddba73bc2fe1499bb2487a45d020c6b26bde36366cc9fb87a321955a6b5bfe8f844060f462e2d1bac2b shorewall6.initd"
+md5sums="44cd6d37713edf0207050e3445690fcb shorewall6-4.6.3.1.tar.bz2
+685f7d32ff6ce1251658365e7d7076ee shorewall6.initd
+422c5d36fcee177acba58756b0fec7e2 shorewallrc.alpine"
+sha256sums="705a66c4b9332af13488a7c3c4987262933aaa81eccfb0e9c2e9da38f6c8f27b shorewall6-4.6.3.1.tar.bz2
+a0c9a30cebee098e05d38626d6124398947d4b6cac15d278b1d383bfcc29bcda shorewall6.initd
+99f588523594b5a8062b2f43ab9f59daf91f12634b178f30dd7cb61786bd8220 shorewallrc.alpine"
+sha512sums="10deb4ad3089d49330e1803548fa2aa3136e9e5a5e318b3bbd4b37dcea7e2ac6bc920127d6e4f77c97d3337ee56070cb9e4b5682bc3f632d68121cdd0cdc5338 shorewall6-4.6.3.1.tar.bz2
+ef7c3fb6080cd8f49ad8fef5221cf9e43701aa5838e30ddba73bc2fe1499bb2487a45d020c6b26bde36366cc9fb87a321955a6b5bfe8f844060f462e2d1bac2b shorewall6.initd
+c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"