summaryrefslogtreecommitdiffstats
path: root/extra/iptables/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:21:57 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:21:57 +0200
commitad4808a11447f2ffafa616e7ecfc870df42e20ef (patch)
treea8c6322acc9dd98a70770bca3cd1f8b59c8491c0 /extra/iptables/Pkgfile
parent9623873337e84bfd7dd1444b526557741e47455e (diff)
downloadnutyx-extra-ad4808a11447f2ffafa616e7ecfc870df42e20ef.tar.gz
nutyx-extra-ad4808a11447f2ffafa616e7ecfc870df42e20ef.tar.bz2
nutyx-extra-ad4808a11447f2ffafa616e7ecfc870df42e20ef.tar.xz
nutyx-extra-ad4808a11447f2ffafa616e7ecfc870df42e20ef.zip
Ajout de iptables#1.4.4-1
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
+
+}