wok-next rev 21638

updated fail2ban (0.9.0 -> 0.11.1)
author Hans-G?nter Theisgen
date Fri Jun 26 15:26:10 2020 +0100 (2020-06-26)
parents e9d308b0009b
children c3a3f8c1e40b
files f2fs-tools/receipt fail2ban/receipt
line diff
     1.1 --- a/f2fs-tools/receipt	Fri Jun 26 11:18:23 2020 +0100
     1.2 +++ b/f2fs-tools/receipt	Fri Jun 26 15:26:10 2020 +0100
     1.3 @@ -11,7 +11,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/$TARBALL"
     1.6  
     1.7 -BUILD_DEPENDS="automake libtool util-linux-uuid-dev"
     1.8 +BUILD_DEPENDS="automake libtool util-linux-blkid-dev util-linux-uuid-dev"
     1.9  SPLIT="$PACKAGE-dev"
    1.10  
    1.11  compile_rules()
     2.1 --- a/fail2ban/receipt	Fri Jun 26 11:18:23 2020 +0100
     2.2 +++ b/fail2ban/receipt	Fri Jun 26 15:26:10 2020 +0100
     2.3 @@ -1,15 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="fail2ban"
     2.7 -VERSION="0.9.0"
     2.8 +VERSION="0.11.1"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="Scans log files to bans IP that makes too many password failures"
    2.11 +TAGS="monitor network"
    2.12 +SHORT_DESC="Scans log files to ban IP that makes too many password failures"
    2.13  MAINTAINER="pascal.bellard@slitaz.org"
    2.14  LICENSE="GPL2"
    2.15 +WEB_SITE="http://www.fail2ban.org/wiki/index.php/Main_Page"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 -WEB_SITE="http://www.fail2ban.org/wiki/index.php/Main_Page"
    2.19  WGET_URL="https://codeload.github.com/$PACKAGE/$PACKAGE/tar.gz/$VERSION"
    2.20 -TAGS="monitor network"
    2.21  CONFIG_FILES="/etc/fail2ban"
    2.22  
    2.23  COOKOPTS="force-arch" # different .egg-info (file/dir) ?
    2.24 @@ -17,19 +18,25 @@
    2.25  DEPENDS="iptables"
    2.26  BUILD_DEPENDS="python"
    2.27  
    2.28 -compile_rules() {
    2.29 +compile_rules()
    2.30 +{
    2.31  	python -B setup.py install --root=$install
    2.32  }
    2.33  
    2.34 -genpkg_rules() {
    2.35 -	mkdir -p $fs/etc/logrotate.d $fs/etc/init.d
    2.36 -	cp -a $install/* $fs
    2.37 -	sed -i 's/= \\s\*(/= \\s*\\S+\\s\*(/'  $fs/etc/fail2ban/filter.d/common.conf
    2.38 -	sed -i -e 's|127.0.0.1|& 192.168.0.0/16|;s|sshd.log|messages|' \
    2.39 -		-e '/ssh-iptables/{nn;s/false/true/}' $fs/etc/fail2ban/jail.conf
    2.40 +genpkg_rules()
    2.41 +{
    2.42 +	mkdir -p $fs/etc/logrotate.d
    2.43 +	mkdir -p $fs/etc/init.d
    2.44  
    2.45 -	cp -a $stuff/etc/fail2ban/  $fs/etc/
    2.46 -	cp -a $stuff/etc/init.d  $fs/etc/
    2.47 +	cp -a $install/*	$fs
    2.48 +	sed -i 's/= \\s\*(/= \\s*\\S+\\s\*(/' \
    2.49 +		$fs/etc/fail2ban/filter.d/common.conf
    2.50 +	sed -i	-e 's|127.0.0.1|& 192.168.0.0/16|;s|sshd.log|messages|' \
    2.51 +		-e '/ssh-iptables/{nn;s/false/true/}' \
    2.52 +		$fs/etc/fail2ban/jail.conf
    2.53 +
    2.54 +	cp -a $stuff/etc/fail2ban	$fs/etc
    2.55 +	cp -a $stuff/etc/init.d		$fs/etc
    2.56  
    2.57  	cat >> $fs/etc/fail2ban/jail.conf <<EOT
    2.58  [apache-noscript]