mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
main/fail2ban: specifiy license and minor layout changes
This commit is contained in:
parent
92fc27fa11
commit
20df3ee1e9
@ -7,20 +7,21 @@ pkgrel=0
|
||||
pkgdesc="Scans log files for login failures then updates iptables to reject originating ip address"
|
||||
url="http://www.fail2ban.org"
|
||||
arch="noarch"
|
||||
license="GPLv2"
|
||||
license="GPL2+"
|
||||
depends="python iptables logrotate"
|
||||
makedepends="python-dev"
|
||||
makedepends="python-dev python-dev py-setuptools"
|
||||
source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/fail2ban/fail2ban/tar.gz/$pkgver
|
||||
fail2ban.confd
|
||||
fail2ban.logrotate"
|
||||
fail2ban.confd
|
||||
fail2ban.logrotate"
|
||||
|
||||
_builddir="$srcdir"/$pkgname-$pkgver
|
||||
build() {
|
||||
return 0
|
||||
cd "$_builddir"
|
||||
python setup.py build || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/fail2ban-$pkgver
|
||||
|
||||
cd "$_builddir"
|
||||
python setup.py install --root "$pkgdir" || return 1
|
||||
install -Dm755 files/gentoo-initd "$pkgdir"/etc/init.d/fail2ban \
|
||||
|| return 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user