summaryrefslogtreecommitdiffstats
path: root/extra/iptables/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/iptables/Pkgfile')
-rwxr-xr-xextra/iptables/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/iptables/Pkgfile b/extra/iptables/Pkgfile
new file mode 100755
index 000000000..6ab112c4a
--- /dev/null
+++ b/extra/iptables/Pkgfile
@@ -0,0 +1,28 @@
+# 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 )
+
+
+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 \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib \
+ --enable-libipq
+ make
+ make DESTDIR=$PKG install
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-$name
+
+}