summaryrefslogtreecommitdiffstats
path: root/iptables/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
committerpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
commit50e5ce5b17e69be13228e2393c5804b0a79acfab (patch)
tree9845fa9af128d7fdd791755bb2be320f3ba2be4e /iptables/Pkgfile
parent9626427c1a1d9c292fc519810c13b9a8073e777f (diff)
parent8548e8d6882b55dfb509b18dedfb7db17630037d (diff)
downloadnutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
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
+
+}