summaryrefslogtreecommitdiff
path: root/community/sshguard/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/sshguard/PKGBUILD
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/sshguard/PKGBUILD')
-rw-r--r--community/sshguard/PKGBUILD40
1 files changed, 0 insertions, 40 deletions
diff --git a/community/sshguard/PKGBUILD b/community/sshguard/PKGBUILD
deleted file mode 100644
index 758fa96da..000000000
--- a/community/sshguard/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 92088 2013-05-31 11:33:59Z mtorromeo $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
-
-pkgname=sshguard
-pkgver=1.5
-pkgrel=13
-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=('iptables')
-options=(zipman)
-install=sshguard.install
-source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.bz2"
- sshguard.service
- sshguard-journalctl)
-sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19'
- 'e9713a067b33b8ea91d203853a033c0b9f6d40ebebd77f2e72903ed4fd355ebd'
- '7423224107b28cabb69489056968581f1c9e94f3edc6a1d189e56a9df0bab4f7')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's|^DAYNO.*|DAYNO [0-9]?[1-9]|' src/parser/attack_scanner.l
- ./configure --prefix=/usr --sbindir=/usr/bin --with-firewall=iptables
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- strings src/sshguard | grep -E "^`which iptables`[[:space:]]" >/dev/null
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service"
- install -Dm0755 "$srcdir/sshguard-journalctl" "$pkgdir/usr/lib/systemd/scripts/sshguard-journalctl"
-}