diff options
Diffstat (limited to 'community/sshguard/PKGBUILD')
-rw-r--r-- | community/sshguard/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/community/sshguard/PKGBUILD b/community/sshguard/PKGBUILD index 758fa96da..2fe9dfbb9 100644 --- a/community/sshguard/PKGBUILD +++ b/community/sshguard/PKGBUILD @@ -1,13 +1,12 @@ -# $Id: PKGBUILD 92088 2013-05-31 11:33:59Z mtorromeo $ +# $Id: PKGBUILD 96970 2013-09-09 14:29:18Z mtorromeo $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> pkgname=sshguard pkgver=1.5 -pkgrel=13 +pkgrel=15 pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" arch=('i686' 'x86_64') -#url="http://sourceforge.net/projects/sshguard/" url="http://www.sshguard.net/" license=('GPL') depends=('iptables') @@ -17,12 +16,16 @@ source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver. sshguard.service sshguard-journalctl) sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19' - 'e9713a067b33b8ea91d203853a033c0b9f6d40ebebd77f2e72903ed4fd355ebd' - '7423224107b28cabb69489056968581f1c9e94f3edc6a1d189e56a9df0bab4f7') + '3185cd3ceeee0bbb1f1df54baf025857200f39bd1eb747a59d6f46c562be4a51' + 'f7b307fe9dbbe8c18fe91ca751679d62b2a3ade03cfe164e76ca411cfafffca6') -build() { +prepare() { cd "$srcdir/$pkgname-$pkgver" sed -i 's|^DAYNO.*|DAYNO [0-9]?[1-9]|' src/parser/attack_scanner.l +} + +build() { + cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sbindir=/usr/bin --with-firewall=iptables make } |