Date: Wednesday, May 17, 2023 @ 07:09:20
  Author: polyzen
Revision: 1462918

upgpkg: fail2ban 1.0.2-3: Firewall optdeps

Fixes FS#72075

Modified:
  fail2ban/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-17 06:58:15 UTC (rev 1462917)
+++ PKGBUILD    2023-05-17 07:09:20 UTC (rev 1462918)
@@ -7,16 +7,24 @@
 
 pkgname=fail2ban
 pkgver=1.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Bans IPs after too many failed authentication attempts'
 url='https://www.fail2ban.org/'
 license=('GPL')
 arch=('any')
-depends=('iptables' 'python-pyinotify' 'whois' 'sqlite' 'python-systemd')
+depends=('python-pyinotify' 'whois' 'sqlite' 'python-systemd')
 makedepends=('python-setuptools')
-backup=(etc/fail2ban/fail2ban.conf
-        etc/fail2ban/jail.conf
-        etc/logrotate.d/fail2ban)
+optdepends=(
+  'firewalld: for a firewall backend'
+  'ipset: for a firewall backend'
+  'iptables: for a firewall backend'
+  'nftables: for a firewall backend'
+)
+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=('688a84361b5794e1658f53d2d200ce752fe1e3320ddb1742c32c4b4b82a79ace16ae464e7ea3eeb94a0e862bcac73c2d3a0e61dd7b28e179a4c857f950d74dbb')
 

Reply via email to