diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-06 13:57:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-06 14:00:43 +0000 |
commit | 0eb75c46cc856896ec25325e1d0673b673ee639e (patch) | |
tree | 89eb416cf172e245260b2c8ce6f21f43f36e6fcb /main/shorewall-lite | |
parent | c235d12564297cd356a119bd694624bb85ab23a1 (diff) | |
download | aports-0eb75c46cc856896ec25325e1d0673b673ee639e.tar.bz2 aports-0eb75c46cc856896ec25325e1d0673b673ee639e.tar.xz |
main/shorewall*: upgrade to 4.5.21.3
fixes #1154
Diffstat (limited to 'main/shorewall-lite')
-rw-r--r-- | main/shorewall-lite/APKBUILD | 21 | ||||
-rwxr-xr-x | main/shorewall-lite/shorewall-lite.initd | 66 |
2 files changed, 0 insertions, 87 deletions
diff --git a/main/shorewall-lite/APKBUILD b/main/shorewall-lite/APKBUILD deleted file mode 100644 index 6a3ac266a6..0000000000 --- a/main/shorewall-lite/APKBUILD +++ /dev/null @@ -1,21 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=shorewall-lite -pkgver=4.2.11 -pkgrel=0 -pkgdesc="An iptables-based firewall whose config is handled by a normal Shorewall" -url="http://www.shorewall.net/" -arch="noarch" -license="GPL-2" -depends="iptables iproute2" -#subpackages="$pkgname-doc" -source="http://www1.shorewall.net/pub/shorewall/4.2/shorewall-$pkgver/$pkgname-$pkgver.tar.bz2 - $pkgname.initd - " - -build() { - cd "$srcdir"/$pkgname-$pkgver - PREFIX="$pkgdir" ./install.sh || return 1 - install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname -} -md5sums="cb34824f076fdff6b7457d85e124ea74 shorewall-lite-4.2.11.tar.bz2 -e55f393cd7bf2a12bf4b29fecce9ed71 shorewall-lite.initd" diff --git a/main/shorewall-lite/shorewall-lite.initd b/main/shorewall-lite/shorewall-lite.initd deleted file mode 100755 index bff41d8270..0000000000 --- a/main/shorewall-lite/shorewall-lite.initd +++ /dev/null @@ -1,66 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-lite/files/shorewall-lite,v 1.1 2007/05/20 22:32:36 mjolnir Exp $ - -extra_commands="clear reset" -extra_started_commands="refresh" - -depend() { - need net - provide firewall - after ulogd -} - -start() { - ebegin "Starting firewall" - /sbin/shorewall-lite -f start 1>/dev/null - eend $? -} - -stop() { - ebegin "Stopping firewall" - /sbin/shorewall-lite stop 1>/dev/null - eend $? -} - -restart() { - # shorewall comes with its own control script that includes a - # restart function, so refrain from calling svc_stop/svc_start - # here. Note that this comment is required to fix bug 55576; - # runscript.sh greps this script... (09 Jul 2004 agriffis) - ebegin "Restarting firewall" - if [ -f /var/lib/shorewall-lite/restore ] ; then - /sbin/shorewall-lite restore - else - /sbin/shorewall-lite restart 1>/dev/null - fi - eend $? -} - -clear() { - # clear will remove all the rules and bring the system to an unfirewalled - # state. (21 Nov 2004 eldad) - - ebegin "Clearing all firewall rules and setting policy to ACCEPT" - /sbin/shorewall-lite clear && mark_service_stopped "${SVCNAME}" - eend $? -} - -reset() { - # reset the packet and byte counters in the firewall - - ebegin "Resetting the packet and byte counters in the firewall" - /sbin/shorewall-lite reset - eend $? -} - -refresh() { - # refresh the rules involving the broadcast addresses of firewall - # interfaces, the black list, traffic control rules and - # ECN control rules - - ebegin "Refreshing firewall rules" - /sbin/shorewall-lite refresh - eend $? -} |