aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-11-06 13:32:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-06 13:46:22 +0000
commit18d8b7e7297a0e9e6505f766c2514152f6505098 (patch)
treed2e22995f345fdaa7952e97acb13d95da681aec9
parentf3c44ec7f49a7ef266f92b4a377e96ab03f5dbbb (diff)
downloadaports-18d8b7e7297a0e9e6505f766c2514152f6505098.tar.bz2
aports-18d8b7e7297a0e9e6505f766c2514152f6505098.tar.xz
main/shorewall: upgrade to 4.5.21.3
-rw-r--r--testing/shorewall/APKBUILD22
-rw-r--r--testing/shorewall/shorewall.initd2
2 files changed, 15 insertions, 9 deletions
diff --git a/testing/shorewall/APKBUILD b/testing/shorewall/APKBUILD
index e825ab2e77..4a01321a44 100644
--- a/testing/shorewall/APKBUILD
+++ b/testing/shorewall/APKBUILD
@@ -1,6 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shorewall
-pkgver=4.5.21
+pkgver=4.5.21.3
+
+_ver=$pkgver
+case $pkgver in
+*.*.*.*) _ver=${pkgver%.*};;
+esac
+
pkgrel=0
pkgdesc="An iptables front end for firewall configuration"
url="http://www.shorewall.net/"
@@ -11,7 +17,7 @@ depends="shorewall-core perl iptables iproute2"
makedepends="coreutils bash"
replaces=""
subpackages="$pkgname-doc"
-source="http://www1.shorewall.net/pub/shorewall/${pkgver%.*}/shorewall-$pkgver/$pkgname-$pkgver.tar.bz2
+source="http://www1.shorewall.net/pub/shorewall/${_ver%.*}/shorewall-$_ver/$pkgname-$pkgver.tar.bz2
shorewall.initd
"
@@ -38,9 +44,9 @@ package() {
install -m755 "$srcdir"/shorewall.initd "$pkgdir"/etc/init.d/shorewall
}
-md5sums="41773c809975b6bfbc652d674c7f26cb shorewall-4.5.21.tar.bz2
-ac29ec1138be791eeed8437d1573c5c3 shorewall.initd"
-sha256sums="76bf9e24ec2ae3fb7ffe4f536861ca7f85fc9f2bb57fba2f0a553102e7085bcb shorewall-4.5.21.tar.bz2
-917469b5283d3a8b98628436d1ab789d05c91a0ae8b51c302e3d3a2287432770 shorewall.initd"
-sha512sums="64945c02f964ff93006883a2d65c3800381191e2f2b00611abef68549397abd2a28310b6daab1f5ae36da0c1c2b661d2e778abb08906ec72f24b802faf44d329 shorewall-4.5.21.tar.bz2
-603aaed777930e4a37bc45e2cb5893b7d1919ead02658cfba1a6f09f57661c1de0e4dadcf0f51d59bb95feaffc335c4ec66eb3d61576139962fad49eefc3452b shorewall.initd"
+md5sums="baa980022dc7b5ec9b0a8dcede074779 shorewall-4.5.21.3.tar.bz2
+ac54901de1e876a18d1938df1512ce0d shorewall.initd"
+sha256sums="dd1160c077112264094478ee81d83c2757d6d72d0d8e7fe6bf000427282a8356 shorewall-4.5.21.3.tar.bz2
+8a69643e09f71044b4f733263ea7120c4f6147a9d6d9b814b43e94ea64791a0f shorewall.initd"
+sha512sums="e7bc8b8f0b91ec87d2e9c51472bbe9f1e3dd367faac83d0884e4479aab94d3d742535913241d79f63c39ceb0be451ad165939145ec16cfa8e3d05ffa373c012b shorewall-4.5.21.3.tar.bz2
+c4c3a1137740fd1098680e4b362d707378a263aeeda19a846ba3007614b1b5021ee4a492a5439066b433ce1c27c5a5069a4497ac08d36959a6e1a48cb44422f4 shorewall.initd"
diff --git a/testing/shorewall/shorewall.initd b/testing/shorewall/shorewall.initd
index 5f53971151..b2809757f0 100644
--- a/testing/shorewall/shorewall.initd
+++ b/testing/shorewall/shorewall.initd
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/files/shorewall.initd,v 1.4 2013/07/13 14:09:09 constanze Exp $
-command=/sbin/shorewall
+command=/usr/sbin/shorewall
extra_commands="check clear"
extra_started_commands="refresh reset safe_restart"