PKGBUILDs/community/sshguard/PKGBUILD

24 lines
721 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=sshguard
pkgver=1.4rc4
pkgrel=1
pkgdesc="SSH brute force detector. Blocks by ip with iptables"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/sshguard/"
license=('GPL')
depends=('glibc')
options=(zipman)
install=sshguard.install
source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.bz2")
md5sums=('24eb73b7c012ada5407cb6c8b93c9139')
build () {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --with-firewall=iptables
make || return 1
make prefix=$startdir/pkg/usr install || return 1
}