[arch-commits] Commit in fail2ban/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sat Dec 4 01:01:34 UTC 2021
Date: Saturday, December 4, 2021 @ 01:01:34
Author: foutrelis
Revision: 1064987
Add import fixes for Python 3.10
Modified:
fail2ban/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++++
1 file changed, 9 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-04 00:53:30 UTC (rev 1064986)
+++ PKGBUILD 2021-12-04 01:01:34 UTC (rev 1064987)
@@ -18,9 +18,15 @@
etc/fail2ban/jail.conf
etc/logrotate.d/fail2ban)
source=("$pkgname-$pkgver.tar.gz::https://github.com/fail2ban/$pkgname/archive/$pkgver.tar.gz"
+ "$pkgname-python310-server-action.patch::https://github.com/fail2ban/fail2ban/commit/2b6bb2c1bed8.patch"
+ "$pkgname-python310-server-actions.patch::https://github.com/fail2ban/fail2ban/commit/42dee38ad2ac.patch"
+ "$pkgname-python310-server-jails.patch::https://github.com/fail2ban/fail2ban/commit/9f1d1f4fbd08.patch"
"fail2ban-0.11.2_fix-test-suite.patch::https://github.com/fail2ban/fail2ban/commit/747d4683221b5584f9663695fb48145689b42ceb.patch"
"fail2ban-0.11.2_CVE-2021-32749.patch::https://github.com/fail2ban/fail2ban/commit/410a6ce5c80dd981c22752da034f2529b5eee844.patch")
sha512sums=('46b27abd947b00ea64106dbac563ef8afef38eec86684024d47d9a0e8c1969ff864ad6df7f4f8de2aa3eb1af6d769fb6796592d9f0e35521d5f95f17b8cade97'
+ 'b70c99f665ce93f8c550e9d9f78deccbc2a71a177d159af8c31b0ab61cc8d0c5362e3983d90977bea65bd004c6ef65d2d109e3cd9db6b25834e1be85d050a33f'
+ 'a35b152c50dfca76c27d6029bc80f0023ba8328156d509c6a44ca314906528b4ef3d52043df737585dd853683c4a36d4c378dc78fa7ac7b3f101413237cb86c2'
+ 'a79ff12367a21f92455190802e55d501cab26bccb02afe4ed69f5015fad2117146b405f922bf6a290eb4b8b6ec297a78c1a21e14a6381900120e260bc4aeba4d'
'5c0748c048031d88bc8fd2519bf99a35437b78a08fa942dbccdd2c0e4e9125560a847a8f1dc4414691c922dff558acff988492250be6a1f443a139b0e3762898'
'994de8a4fdd4535607cd1b21553266de015b57bdb7f84f931973cb4b3cadd93fb2fda2d402a4ecccf505dffabf146cd9eae2cd0b635c3cb3dfa2d312539d41be')
@@ -29,6 +35,9 @@
sed -i 's|self.install_dir|"/usr/bin"|' setup.py
sed -i 's/^before = paths-debian.conf/before = paths-arch.conf/' config/jail.conf
+ patch -Np1 -i "$srcdir/$pkgname-python310-server-action.patch"
+ patch -Np1 -i "$srcdir/$pkgname-python310-server-actions.patch"
+ patch -Np1 -i "$srcdir/$pkgname-python310-server-jails.patch"
patch -Np1 -i "$srcdir/fail2ban-0.11.2_fix-test-suite.patch"
patch -Np1 -i "$srcdir/fail2ban-0.11.2_CVE-2021-32749.patch"
}
More information about the arch-commits
mailing list