wok diff fail2ban/receipt @ rev 25017

updated openjpeg, openjpeg-dev and openjpeg-tools (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 06:55:41 2022 +0100 (2022-05-18)
parents 5ea0ce1cecc0
children 20ad21d5532c
line diff
     1.1 --- a/fail2ban/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/fail2ban/receipt	Wed May 18 06:55:41 2022 +0100
     1.3 @@ -1,19 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fail2ban"
     1.7 -VERSION="0.10.4"
     1.8 +VERSION="0.11.2"
     1.9  CATEGORY="network"
    1.10  TAGS="monitor network"
    1.11  SHORT_DESC="Scans log files to ban IPs that make too many password failures."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://www.fail2ban.org/wiki/index.php/Main_Page"
    1.15 +WEB_SITE="https://www.fail2ban.org/wiki/index.php/Main_Page"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
    1.19  
    1.20 -DEPENDS="iptables"
    1.21 +DEPENDS="iptables python"
    1.22  BUILD_DEPENDS="python"
    1.23 +
    1.24  CONFIG_FILES="/etc/fail2ban"
    1.25  
    1.26  current_version()
    1.27 @@ -31,13 +32,16 @@
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/etc/logrotate.d $fs/etc/init.d
    1.32 -	cp -a $install/* $fs
    1.33 -	sed -i -e 's|127.0.0.1.*|& 192.168.0.0/16|;s|sshd.log|messages|' \
    1.34 -		-e '/ssh-iptables/{nn;s/false/true/}' $fs/etc/fail2ban/jail.conf
    1.35 +	mkdir -p $fs/etc/logrotate.d
    1.36 +	mkdir -p $fs/etc/init.d
    1.37  
    1.38 -	cp -a $stuff/etc/fail2ban/  $fs/etc/
    1.39 -	cp -a $stuff/etc/init.d  $fs/etc/
    1.40 +	cp -a $install/*	$fs
    1.41 +	sed -i	-e 's|127.0.0.1.*|& 192.168.0.0/16|;s|sshd.log|messages|' \
    1.42 +		-e '/ssh-iptables/{nn;s/false/true/}' \
    1.43 +		$fs/etc/fail2ban/jail.conf
    1.44 +
    1.45 +	cp -a $stuff/etc/fail2ban	$fs/etc
    1.46 +	cp -a $stuff/etc/init.d		$fs/etc
    1.47  
    1.48  	cat >> $fs/etc/fail2ban/jail.conf <<EOT
    1.49  [apache-noscript]