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

Felix Yan felixonmars at archlinux.org
Fri Nov 3 08:39:42 UTC 2017


    Date: Friday, November 3, 2017 @ 08:39:41
  Author: felixonmars
Revision: 265270

upgpkg: fail2ban 0.10.1-2

add a patch to fix missing variables

Modified:
  fail2ban/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-03 08:35:35 UTC (rev 265269)
+++ PKGBUILD	2017-11-03 08:39:41 UTC (rev 265270)
@@ -7,7 +7,7 @@
 
 pkgname=fail2ban
 pkgver=0.10.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Bans IPs after too many failed authentication attempts'
 url='http://www.fail2ban.org/'
 license=('GPL')
@@ -18,13 +18,17 @@
 backup=(etc/fail2ban/fail2ban.conf
         etc/fail2ban/jail.conf
         etc/logrotate.d/fail2ban)
-source=($pkgname-$pkgver.tar.gz::https://github.com/fail2ban/$pkgname/archive/$pkgver.tar.gz)
-sha512sums=('556e071e439454ef369e7e323cae9652bbfb8e43d697e9b6c19d710e9d59838db489ffe07125443c86837b0a9f0688b7567135178591d1817caaab954ce40366')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/fail2ban/$pkgname/archive/$pkgver.tar.gz"
+        https://github.com/felixonmars/fail2ban/commit/b4d601658209237d932ca3a6574eeb743be1ede9.patch)
+sha512sums=('556e071e439454ef369e7e323cae9652bbfb8e43d697e9b6c19d710e9d59838db489ffe07125443c86837b0a9f0688b7567135178591d1817caaab954ce40366'
+            'ac0220d10164fd7eb6247d6ca383417911c8bf8b5c1463e32cf3d7ca9c1367215c0d45141f6e53e849e54b63beaf9122ff6cd6bfc841d4a880f0bfe27224e3ad')
 
 prepare() {
   cd $pkgname-$pkgver
   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 -p1 -i ../b4d601658209237d932ca3a6574eeb743be1ede9.patch
 }
 
 check() {



More information about the arch-commits mailing list