aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2013-05-17 08:40:27 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-05-17 08:41:23 +0200
commit2439712e1f393607e7baa2ddb82af06daabb585e (patch)
tree934a0c03fc152caa968b0f76b7abff47ae2ea549 /main
parent066517147bb9ef9c3385fae3bb11d7f44fefe521 (diff)
downloadaports-2439712e1f393607e7baa2ddb82af06daabb585e.tar.bz2
aports-2439712e1f393607e7baa2ddb82af06daabb585e.tar.xz
main/fail2ban: upgrade to 0.8.9
Diffstat (limited to 'main')
-rw-r--r--main/fail2ban/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/fail2ban/APKBUILD b/main/fail2ban/APKBUILD
index cacdadee77..9f8a9ab5f0 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.8
+pkgver=0.8.9
pkgrel=0
pkgdesc="Scans log files for login failures then updates iptables to reject originating ip address"
url="http://www.fail2ban.org"
@@ -9,7 +9,7 @@ arch="noarch"
license="GPLv2"
depends="python iptables logrotate"
makedepends="python-dev"
-source="https://github.com/downloads/fail2ban/fail2ban/fail2ban_${pkgver}.orig.tar.gz
+source="f2b-$pkgver.tar.gz::https://nodeload.github.com/$pkgname/$pkgname/legacy.tar.gz/$pkgver
fail2ban.confd
fail2ban.logrotate"
@@ -18,7 +18,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgname-*
python setup.py install --root "$pkgdir" || return 1
install -Dm755 files/gentoo-initd "$pkgdir"/etc/init.d/fail2ban \
@@ -29,6 +29,12 @@ package() {
"$pkgdir"/etc/logrotate.d/fail2ban || return 1
}
-md5sums="48a7cfa29c30227f0e1361bd3c88ec8e fail2ban_0.8.8.orig.tar.gz
+md5sums="18685696e74988fbc28ba12509b7bcc7 f2b-0.8.9.tar.gz
b209a04f9314dd064a4aa0ee505c8a4d fail2ban.confd
6d1af6ceebd15c8ae3938bc675efe553 fail2ban.logrotate"
+sha256sums="b20c1a074620a1003ec4e48e30ac40a41cc6f4242a37eb6a78fa29daa9165bb7 f2b-0.8.9.tar.gz
+e35f1f820bfe5ecaac2696d60155c348d84af428e8c615e97b900c24a587d233 fail2ban.confd
+4cfe274ec9c71dd0ae0575298f5327230f6e67b2f8fc1a616c645d0f6b3ce02f fail2ban.logrotate"
+sha512sums="b9f695a62541f3df2fd51eaa5779f2b9394927695a4d8898d495b83d7da7177e19c2b5043fb1331a90b4be9431810fde1dac61aadc8da56fd8e1044b3c47d6da f2b-0.8.9.tar.gz
+1e7581dd04e7777d6fd5c40cc842a7ec5f4e6a0374673d020d89dd61bf4093d48934844bee89bcac9084f9ae44f3beb66e714cf3c2763d79c3e8feb790c5e43b fail2ban.confd
+60c80dcf8ced5a0323daef2df702f862d99ac45f56b91015ce39be8471cf9d6a3bb45d776df0330692f40db37638dc3ef2004cfc65f26d50dd67c94fbfdf4ec2 fail2ban.logrotate"