summaryrefslogtreecommitdiff
path: root/community/sshguard/PKGBUILD
blob: d49e1f99ac69b1d560b20dd3e38bc1f9908946cf (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
28
29
30
# $Id: PKGBUILD 55622 2011-09-16 11:14:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=sshguard
pkgver=1.5
pkgrel=2
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
	sshguard.conf.d)
md5sums=('11b9f47f9051e25bdfe84a365c961ec1'
         '07bffbbfbf452d09cda10a1bab8cc03b'
         '1dc6604975d3cd51321a8ad7cd53947c')

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