summaryrefslogtreecommitdiff
path: root/community/sshguard/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sshguard/PKGBUILD')
-rw-r--r--community/sshguard/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/sshguard/PKGBUILD b/community/sshguard/PKGBUILD
new file mode 100644
index 000000000..f98609e15
--- /dev/null
+++ b/community/sshguard/PKGBUILD
@@ -0,0 +1,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
+}