wok rev 13197

Up: fail2ban to 0.8.7.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Aug 05 11:03:51 2012 +0000 (2012-08-05)
parents 75c0995b510f
children 08a7b3161b95
files fail2ban/receipt
line diff
     1.1 --- a/fail2ban/receipt	Sun Aug 05 10:14:57 2012 +0200
     1.2 +++ b/fail2ban/receipt	Sun Aug 05 11:03:51 2012 +0000
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fail2ban"
     1.7 -VERSION="0.8.4"
     1.8 +VERSION="0.8.7.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Scans log files to bans IP that makes too many password failures."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
    1.14  WEB_SITE="http://www.fail2ban.org/wiki/index.php/Main_Page"
    1.15  DEPENDS="iptables"
    1.16  BUILD_DEPENDS="python"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 +WGET_URL="https://github.com/downloads/$PACKAGE/$PACKAGE/$TARBALL"
    1.19  TAGS="monitor network"
    1.20  CONFIG_FILES="/etc/fail2ban"
    1.21  
    1.22 @@ -23,8 +23,8 @@
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 -	mkdir -p $fs/etc/logrotate.d
    1.27 -	cp -a $_pkg/* $fs
    1.28 +	mkdir -p $fs/etc/logrotate.d $fs/etc/init.d
    1.29 +	cp -a $install/* $fs
    1.30  	sed -i -e 's|127.0.0.1|& 192.168.0.0/16|;s|sshd.log|messages|' \
    1.31  		-e '/ssh-iptables/{nn;s/false/true/}' $fs/etc/fail2ban/jail.conf
    1.32  	cat >> $fs/etc/fail2ban/jail.conf <<EOT