# HG changeset patch # User Hans-G?nter Theisgen # Date 1593181570 -3600 # Node ID 12592b0537072746c94227569d8e5f4954099af8 # Parent e9d308b0009b8ad3219515491ff6bdf5c0c3ad5f updated fail2ban (0.9.0 -> 0.11.1) diff -r e9d308b0009b -r 12592b053707 f2fs-tools/receipt --- a/f2fs-tools/receipt Fri Jun 26 11:18:23 2020 +0100 +++ b/f2fs-tools/receipt Fri Jun 26 15:26:10 2020 +0100 @@ -11,7 +11,7 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/$TARBALL" -BUILD_DEPENDS="automake libtool util-linux-uuid-dev" +BUILD_DEPENDS="automake libtool util-linux-blkid-dev util-linux-uuid-dev" SPLIT="$PACKAGE-dev" compile_rules() diff -r e9d308b0009b -r 12592b053707 fail2ban/receipt --- a/fail2ban/receipt Fri Jun 26 11:18:23 2020 +0100 +++ b/fail2ban/receipt Fri Jun 26 15:26:10 2020 +0100 @@ -1,15 +1,16 @@ # SliTaz package receipt. PACKAGE="fail2ban" -VERSION="0.9.0" +VERSION="0.11.1" CATEGORY="network" -SHORT_DESC="Scans log files to bans IP that makes too many password failures" +TAGS="monitor network" +SHORT_DESC="Scans log files to ban IP that makes too many password failures" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.fail2ban.org/wiki/index.php/Main_Page" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.fail2ban.org/wiki/index.php/Main_Page" WGET_URL="https://codeload.github.com/$PACKAGE/$PACKAGE/tar.gz/$VERSION" -TAGS="monitor network" CONFIG_FILES="/etc/fail2ban" COOKOPTS="force-arch" # different .egg-info (file/dir) ? @@ -17,19 +18,25 @@ DEPENDS="iptables" BUILD_DEPENDS="python" -compile_rules() { +compile_rules() +{ python -B setup.py install --root=$install } -genpkg_rules() { - mkdir -p $fs/etc/logrotate.d $fs/etc/init.d - cp -a $install/* $fs - sed -i 's/= \\s\*(/= \\s*\\S+\\s\*(/' $fs/etc/fail2ban/filter.d/common.conf - sed -i -e 's|127.0.0.1|& 192.168.0.0/16|;s|sshd.log|messages|' \ - -e '/ssh-iptables/{nn;s/false/true/}' $fs/etc/fail2ban/jail.conf +genpkg_rules() +{ + mkdir -p $fs/etc/logrotate.d + mkdir -p $fs/etc/init.d - cp -a $stuff/etc/fail2ban/ $fs/etc/ - cp -a $stuff/etc/init.d $fs/etc/ + cp -a $install/* $fs + sed -i 's/= \\s\*(/= \\s*\\S+\\s\*(/' \ + $fs/etc/fail2ban/filter.d/common.conf + sed -i -e 's|127.0.0.1|& 192.168.0.0/16|;s|sshd.log|messages|' \ + -e '/ssh-iptables/{nn;s/false/true/}' \ + $fs/etc/fail2ban/jail.conf + + cp -a $stuff/etc/fail2ban $fs/etc + cp -a $stuff/etc/init.d $fs/etc cat >> $fs/etc/fail2ban/jail.conf <