summaryrefslogtreecommitdiff
path: root/fail2ban/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'fail2ban/Pkgfile')
-rw-r--r--fail2ban/Pkgfile13
1 files changed, 3 insertions, 10 deletions
diff --git a/fail2ban/Pkgfile b/fail2ban/Pkgfile
index 6ca95fac3..3673d4c67 100644
--- a/fail2ban/Pkgfile
+++ b/fail2ban/Pkgfile
@@ -4,21 +4,14 @@
# Depends on: python3-setuptools
name=fail2ban
-version=0.11.2
-release=3
+version=1.0.1
+release=1
source=(https://github.com/fail2ban/$name/archive/$version/$name-$version.tar.gz
- fail2ban.rc paths-crux.conf
- fail2ban-0.11.2_CVE-2021-32749.patch
- gh-3020.patch
- 2to3.patch)
+ fail2ban.rc paths-crux.conf)
build() {
cd $name-$version
- patch -Np1 -i $SRC/fail2ban-0.11.2_CVE-2021-32749.patch
- patch -Np1 -i $SRC/2to3.patch
- patch -Np1 -i $SRC/gh-3020.patch
-
./fail2ban-2to3
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --prefix=/usr --skip-build

Generated by cgit