aboutsummaryrefslogtreecommitdiff
path: root/network/nft/nft.SlackBuild
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@acslink.net.au>2014-06-30 09:26:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-30 20:10:20 +0700
commit28e7241c8c0c960f0d9077ee2808e7fa4e8417f3 (patch)
treeb84dc2a3dc70c04baf224b57e74ab34b6cb06515 /network/nft/nft.SlackBuild
parent5fad1838a4edc9ffae9e6ea2e68a4c4e2b87180f (diff)
network/nft: Updated for version 0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/nft/nft.SlackBuild')
-rw-r--r--network/nft/nft.SlackBuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/network/nft/nft.SlackBuild b/network/nft/nft.SlackBuild
index 106310f7a4337..3a012f0469d8c 100644
--- a/network/nft/nft.SlackBuild
+++ b/network/nft/nft.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=nft
PKGNAM=nftables
-VERSION=${VERSION:-0.2}
+VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -92,6 +92,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
+mv $PKG/etc/nftables/bridge-filter $PKG/etc/nftables/bridge-filter.new
+mv $PKG/etc/nftables/ipv4-filter $PKG/etc/nftables/ipv4-filter.new
+mv $PKG/etc/nftables/ipv4-mangle $PKG/etc/nftables/ipv4-mangle.new
+mv $PKG/etc/nftables/ipv6-nat $PKG/etc/nftables/ipv6-nat.new
+mv $PKG/etc/nftables/ipv6-mangle $PKG/etc/nftables/ipv6-mangle.new
+mv $PKG/etc/nftables/ipv4-nat $PKG/etc/nftables/ipv4-nat.new
+mv $PKG/etc/nftables/ipv6-filter $PKG/etc/nftables/ipv6-filter.new
+mv $PKG/etc/nftables/inet-filter $PKG/etc/nftables/inet-filter.new
+
DOCSDIR=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $DOCSDIR
cp -a $DOCUMENTATION $DOCSDIR
@@ -99,6 +108,7 @@ cat $CWD/$PRGNAM.SlackBuild > $DOCSDIR/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}