summaryrefslogtreecommitdiffstats
path: root/iptables/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'iptables/Pkgfile')
-rwxr-xr-xiptables/Pkgfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/iptables/Pkgfile b/iptables/Pkgfile
new file mode 100755
index 000000000..e965a394d
--- /dev/null
+++ b/iptables/Pkgfile
@@ -0,0 +1,35 @@
+# 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.10
+release=2
+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
+ wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$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 -m700 $SRC/rc.iptables \
+ $PKG/etc/rc.d/rc.iptables
+
+}