summaryrefslogtreecommitdiffstats
path: root/iptables/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /iptables/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et 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
+
+}