aboutsummaryrefslogtreecommitdiffstats
path: root/main/fail2ban
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2012-08-04 10:43:17 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2012-08-04 11:32:22 +0200
commita66335a23e7f459feb3b12ded0652e61364e2c15 (patch)
tree75659d8ccbb2bb8980b5117dbc38ab417369b0c5 /main/fail2ban
parentc9b2d064af705ec393d5bbc7c3dbe1488a5d2865 (diff)
downloadaports-a66335a23e7f459feb3b12ded0652e61364e2c15.tar.bz2
aports-a66335a23e7f459feb3b12ded0652e61364e2c15.tar.xz
main/fail2ban: upgrade to 0.8.7.1
Diffstat (limited to 'main/fail2ban')
-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"