wok-6.x annotate fail2ban/receipt @ rev 8323
tazdev: add experimental
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 01 22:09:33 2011 +0100 (2011-02-01) |
parents | fb8aceda65ff |
children | 59009b1c6878 |
rev | line source |
---|---|
pascal@1809 | 1 # SliTaz package receipt. |
pascal@1809 | 2 |
pascal@1809 | 3 PACKAGE="fail2ban" |
slaxemulator@7152 | 4 VERSION="0.8.4" |
pascal@1809 | 5 CATEGORY="network" |
pascal@1809 | 6 SHORT_DESC="Scans log files to bans IP that makes too many password failures.." |
pascal@1809 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1809 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1809 | 9 WEB_SITE="http://www.fail2ban.org/wiki/index.php/Main_Page" |
pascal@1809 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4936 | 11 TAGS="monitor network" |
pascal@1809 | 12 |
pascal@1809 | 13 # Rules to configure and make the package. |
pascal@1809 | 14 compile_rules() |
pascal@1809 | 15 { |
pascal@1809 | 16 cd $src |
pascal@1809 | 17 python setup.py install --root=$PWD/_pkg |
pascal@1809 | 18 } |
pascal@1809 | 19 |
pascal@1809 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1809 | 21 genpkg_rules() |
pascal@1809 | 22 { |
pascal@1809 | 23 cp -a $_pkg/* $fs |
pascal@1809 | 24 } |
pascal@1809 | 25 |