wok-next diff fail2ban/receipt @ rev 4447
tazbb: generate flavors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 07 16:24:17 2009 +0100 (2009-11-07) |
parents | |
children | fb8aceda65ff |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fail2ban/receipt Sat Nov 07 16:24:17 2009 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fail2ban" 1.7 +VERSION="0.8.3" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Scans log files to bans IP that makes too many password failures.." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://www.fail2ban.org/wiki/index.php/Main_Page" 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 + python setup.py install --root=$PWD/_pkg 1.20 +} 1.21 + 1.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 +genpkg_rules() 1.24 +{ 1.25 + cp -a $_pkg/* $fs 1.26 +} 1.27 +