wok-6.x rev 4530
Add ebtables
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 30 11:04:28 2009 +0100 (2009-11-30) |
parents | be5bba285abe |
children | cf9b6575e973 |
files | ebtables/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ebtables/receipt Mon Nov 30 11:04:28 2009 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ebtables" 1.7 +VERSION="v2.0.9-1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Filtering tool for a Linux-based bridging firewall." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://ebtables.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + mkdir -p _pkg/etc/rc.d/init.d/ _pkg/etc/sysconfig/ 1.20 + make && make DESTDIR=$PWD/_pkg install 1.21 +} 1.22 + 1.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 +genpkg_rules() 1.25 +{ 1.26 + mkdir -p $fs/usr $fs/etc 1.27 + cp -a $_pkg/etc/ethertypes $fs/etc 1.28 + cp -a $_pkg/etc/sysconfig $fs/etc 1.29 + cp -a $_pkg/usr/local/sbin $fs/usr 1.30 + cp -a $_pkg/usr/lib $fs/usr 1.31 +} 1.32 +