[arch-commits] Commit in fail2ban/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 13 20:01:43 UTC 2020


    Date: Friday, November 13, 2020 @ 20:01:42
  Author: felixonmars
Revision: 753976

add fixes for python 3.9

Modified:
  fail2ban/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-13 19:48:12 UTC (rev 753975)
+++ PKGBUILD	2020-11-13 20:01:42 UTC (rev 753976)
@@ -19,15 +19,18 @@
         etc/logrotate.d/fail2ban)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/fail2ban/$pkgname/archive/$pkgver.tar.gz"
         fail2ban-fix-nginx-rule.patch::https://github.com/fail2ban/fail2ban/commit/ec37b1942c4da76f7a0f71efe81bea6835466648.patch
-        fail2ban-test-fixes.patch::https://github.com/fail2ban/fail2ban/commit/8dc6f30cdd855c41b80ebdde3fe2bc91cc94e594.patch)
+        fail2ban-test-fixes.patch::https://github.com/fail2ban/fail2ban/commit/8dc6f30cdd855c41b80ebdde3fe2bc91cc94e594.patch
+        fail2ban-python3.9.patch::https://github.com/fail2ban/fail2ban/pull/2651.patch)
 sha512sums=('019b088aa6375f98742ed101ef6f65adabca3324444d71d5b8597a8d1d22fa76b9f503660f0498643fe24a3b8e4368de916072a1ab77b8e2ea3eda41c3e0c8c6'
             '2d57fe7a7e3d1889dfa00ac33f5071069ed62f5fc0edb1e1827aedc47fae3a36d19c568b1721ba3a8e117f4ba6b3756d11942f2320b42864d45203f45761c7b6'
-            '76fa1b43cd082933d06ed2964ebf40799ebea77a5b1c94d1e8668bb3d7bc070361d1a25124169e2d69643056f84767d9c9822a8838f3ea6950b562ce467b242d')
+            '76fa1b43cd082933d06ed2964ebf40799ebea77a5b1c94d1e8668bb3d7bc070361d1a25124169e2d69643056f84767d9c9822a8838f3ea6950b562ce467b242d'
+            '83b2192c6fa45b0fdb230b4e8f9547151462178d771addb013e32712f1560b2e1d70969ae378dfa39de9cf9d84188d073e4dcd1d7812c694e19f4a156d62cc66')
 
 prepare() {
   cd $pkgname-$pkgver
   patch -p1 -i ../fail2ban-fix-nginx-rule.patch
   patch -p1 -i ../fail2ban-test-fixes.patch
+  patch -p1 -i ../fail2ban-python3.9.patch || :
   sed -i 's|self.install_dir|"/usr/bin"|' setup.py
   sed -i 's/^before = paths-debian.conf/before = paths-arch.conf/' config/jail.conf
 }



More information about the arch-commits mailing list