summaryrefslogtreecommitdiff
path: root/community/sshguard/PKGBUILD
blob: 659c21b0e11cdadfe830bf92c4f23b1e075e0652 (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' 'mips64el')
#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
}