aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-05-22 18:43:46 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-05-22 23:47:17 +0000
commitc696d09f56655826b69031eab4d70afb72c9cb16 (patch)
tree1d606af7cf7e2683300ea82f013f6f3bc4b2a468
parent0ecf821d01d153f2d65c539af72490d97617af96 (diff)
downloadaports-c696d09f56655826b69031eab4d70afb72c9cb16.tar.gz
aports-c696d09f56655826b69031eab4d70afb72c9cb16.tar.bz2
aports-c696d09f56655826b69031eab4d70afb72c9cb16.tar.xz
main/fail2ban: fix permissions on .egg-info
See #11469
-rw-r--r--main/fail2ban/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/fail2ban/APKBUILD b/main/fail2ban/APKBUILD
index a8019df7f6..46d36b31a4 100644
--- a/main/fail2ban/APKBUILD
+++ b/main/fail2ban/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fail2ban
pkgver=0.11.1
-pkgrel=0
+pkgrel=1
pkgdesc="Scans log files for login failures then updates iptables to reject originating ip address"
url="https://www.fail2ban.org"
arch="noarch !s390x" # test failures
@@ -43,6 +43,8 @@ package() {
"$pkgdir"/etc/fail2ban/filter.d/alpine-sshd.conf
install -Dm644 "$srcdir"/alpine-sshd-ddos.filterd \
"$pkgdir"/etc/fail2ban/filter.d/alpine-sshd-ddos.conf
+
+ chmod o+r "$pkgdir"/usr/lib/python3*/site-packages/fail2ban*.egg-info/*
}
sha512sums="019b088aa6375f98742ed101ef6f65adabca3324444d71d5b8597a8d1d22fa76b9f503660f0498643fe24a3b8e4368de916072a1ab77b8e2ea3eda41c3e0c8c6 fail2ban-0.11.1.tar.gz