Natanael Copa c2ad54cf99 main/shorewall-shell: fix redirect excludes
Fixes this error:

Setting up Rules...
Bad argument `10.12.96.1'
Try `iptables -h' or 'iptables --help' for more information.
   ERROR: Command "/sbin/iptables -t nat -A D_96_dnat -p tcp -d ! 10.12.96.1 --dport 80 -j REDIRECT --to-port 8080" Failed

on rule:
REDIRECT:info D_96      8080    tcp     80 -    !10.12.96.1
2012-07-11 08:34:39 +00:00

43 lines
1.3 KiB
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shorewall-shell
_v=4.2.11
pkgver=4.2.11
pkgrel=6
pkgdesc="Shoreline Firewall shell-based compiler."
url="http://www.shorewall.net/"
arch="noarch"
license="GPL-2"
depends="shorewall-common"
#subpackages="$pkgname-doc"
source="http://www.shorewall.net/pub/shorewall/${_v%.*}/shorewall-$_v/$pkgname-$pkgver.tar.bz2
shorewall-policyrouting.patch
shorewall-shell-ipset.patch
shorewall-shell-providers-gateway-none.patch
shorewall-shell-rp_filter.patch
restore-default-route.patch
redirect-excludes.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$srcdir"/$pkgname-$pkgver
PREFIX="$pkgdir" ./install.sh || return 1
}
md5sums="518a7f389a6f606c109acb7dfbe18372 shorewall-shell-4.2.11.tar.bz2
64c01bc4f57203fb877bb334994eac38 shorewall-policyrouting.patch
79745ea284a08cb167b9a356ee0bff3b shorewall-shell-ipset.patch
0c6106a8cbb95d21c0c878a6235a65ac shorewall-shell-providers-gateway-none.patch
d5eadb6be45aa41f80669452baa853a6 shorewall-shell-rp_filter.patch
c971270086d5de15327f498d1be64fcb restore-default-route.patch
90e54cbb55213a2b3dcb6f57d20d1490 redirect-excludes.patch"