diff options
Diffstat (limited to 'base/iptables/Pkgfile')
-rwxr-xr-x | base/iptables/Pkgfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/base/iptables/Pkgfile b/base/iptables/Pkgfile new file mode 100755 index 000000000..72b6727ba --- /dev/null +++ b/base/iptables/Pkgfile @@ -0,0 +1,34 @@ +# 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 \ + rc.iptables ) + + +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 \ + --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 -m644 $SRC/rc.iptables \ + $PKG/etc/rc.d/rc.iptables + +} |