aboutsummaryrefslogtreecommitdiffstats
path: root/main/fail2ban/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/fail2ban/APKBUILD')
-rw-r--r--main/fail2ban/APKBUILD21
1 files changed, 5 insertions, 16 deletions
diff --git a/main/fail2ban/APKBUILD b/main/fail2ban/APKBUILD
index 8ca1be39bb..bebb78f1e4 100644
--- a/main/fail2ban/APKBUILD
+++ b/main/fail2ban/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Jeff Bilyk <jbilyk@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fail2ban
-pkgver=0.8.6
+pkgver=0.8.7.1
pkgrel=0
pkgdesc="Scans log files for login failures then updates iptables to reject originating ip address"
url="http://www.fail2ban.org"
@@ -9,28 +9,17 @@ arch="noarch"
license="GPLv2"
depends="python iptables logrotate"
makedepends="python-dev"
-install=""
source="https://github.com/downloads/fail2ban/fail2ban/fail2ban_${pkgver}.orig.tar.gz
fail2ban.confd
- fail2ban.logrotate
- "
-
-prepare() {
- local i
- cd "$srcdir"/fail2ban-*
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+ fail2ban.logrotate"
build() {
return 0
}
package() {
- cd "$srcdir"/fail2ban-*
+ cd "$srcdir"/$pkgname-$pkgver
+
python setup.py install --root "$pkgdir" || return 1
install -Dm755 files/gentoo-initd "$pkgdir"/etc/init.d/fail2ban \
|| return 1
@@ -40,6 +29,6 @@ package() {
"$pkgdir"/etc/logrotate.d/fail2ban || return 1
}
-md5sums="a5f08a67fe6bfb0580043d90c6f81cfd fail2ban_0.8.6.orig.tar.gz
+md5sums="39ae20deafbd0441ad385204d532e423 fail2ban_0.8.7.1.orig.tar.gz
b209a04f9314dd064a4aa0ee505c8a4d fail2ban.confd
6d1af6ceebd15c8ae3938bc675efe553 fail2ban.logrotate"