wok-4.x annotate fail2ban/receipt @ rev 1809
Add fail2ban
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 04 09:37:52 2008 +0000 (2008-12-04) |
parents | |
children | fb8aceda65ff |
rev | line source |
---|---|
pascal@1809 | 1 # SliTaz package receipt. |
pascal@1809 | 2 |
pascal@1809 | 3 PACKAGE="fail2ban" |
pascal@1809 | 4 VERSION="0.8.3" |
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" |
pascal@1809 | 11 |
pascal@1809 | 12 # Rules to configure and make the package. |
pascal@1809 | 13 compile_rules() |
pascal@1809 | 14 { |
pascal@1809 | 15 cd $src |
pascal@1809 | 16 python setup.py install --root=$PWD/_pkg |
pascal@1809 | 17 } |
pascal@1809 | 18 |
pascal@1809 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1809 | 20 genpkg_rules() |
pascal@1809 | 21 { |
pascal@1809 | 22 cp -a $_pkg/* $fs |
pascal@1809 | 23 } |
pascal@1809 | 24 |