summaryrefslogtreecommitdiff
path: root/community/sshguard/PKGBUILD
blob: f98609e15f6fa19d8063f8211551b5add23205b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 43444 2011-03-26 08:45:23Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=sshguard
pkgver=1.5
pkgrel=1
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=('glibc')
options=(zipman)
install=sshguard.install
source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.bz2"
	sshguard.rc)
md5sums=('11b9f47f9051e25bdfe84a365c961ec1'
         '87977af93930c3867edffe3b2018f56e')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --with-firewall=iptables
  make
  make prefix=$pkgdir/usr install
  install -D -m0755 $srcdir/sshguard.rc $pkgdir/etc/rc.d/sshguard
}