wok rev 1809

Add fail2ban
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 04 09:37:52 2008 +0000 (2008-12-04)
parents 37bb75372dba
children a6e317ac75fe
files fail2ban/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fail2ban/receipt	Thu Dec 04 09:37:52 2008 +0000
     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 +