summaryrefslogtreecommitdiffstats
path: root/base/iptables/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 18:52:10 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 18:52:10 +0200
commitfd415126e0198d2cc4dddd53020b202194f15d65 (patch)
tree7524a1c40db7f340e19bdbe3d5a51fe90c7d0fbc /base/iptables/Pkgfile
parent6e0149992d61f865bd2e49bd405c8e76d0605d73 (diff)
downloadnutyx-extra-fd415126e0198d2cc4dddd53020b202194f15d65.tar.gz
nutyx-extra-fd415126e0198d2cc4dddd53020b202194f15d65.tar.bz2
nutyx-extra-fd415126e0198d2cc4dddd53020b202194f15d65.tar.xz
nutyx-extra-fd415126e0198d2cc4dddd53020b202194f15d65.zip
Ajout de iptables#1.4.4-1
Diffstat (limited to 'base/iptables/Pkgfile')
-rwxr-xr-xbase/iptables/Pkgfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/base/iptables/Pkgfile b/base/iptables/Pkgfile
new file mode 100755
index 000000000..72b6727ba
--- /dev/null
+++ b/base/iptables/Pkgfile
@@ -0,0 +1,34 @@
+# Description: L'outil de contrôle pour le filtrage des paquets de données aux travers des interfaces réseaux
+# URL: http://www.iptables.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=iptables
+version=1.4.4
+release=1
+source=(ftp://ftp.netfilter.org/pub/iptables/$name-$version.tar.bz2 \
+ rc.iptables )
+
+
+build() {
+ source /etc/blfs-bootscripts
+ wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --exec_prefix="" \
+ --libdir=/lib \
+ --bindir=/sbin \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib \
+ --enable-libipq
+ make
+ make DESTDIR=$PKG install
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-$name
+ install -m644 $SRC/rc.iptables \
+ $PKG/etc/rc.d/rc.iptables
+
+}