[arch-commits] Commit in sshguard/repos (28 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Feb 11 15:20:19 UTC 2013


    Date: Monday, February 11, 2013 @ 16:20:18
  Author: spupykin
Revision: 84143

archrelease: copy trunk to community-i686, community-x86_64

Added:
  sshguard/repos/community-i686/ChangeLog
    (from rev 84142, sshguard/trunk/ChangeLog)
  sshguard/repos/community-i686/PKGBUILD
    (from rev 84142, sshguard/trunk/PKGBUILD)
  sshguard/repos/community-i686/sshguard-journalctl
    (from rev 84142, sshguard/trunk/sshguard-journalctl)
  sshguard/repos/community-i686/sshguard.conf.d
    (from rev 84142, sshguard/trunk/sshguard.conf.d)
  sshguard/repos/community-i686/sshguard.install
    (from rev 84142, sshguard/trunk/sshguard.install)
  sshguard/repos/community-i686/sshguard.rc
    (from rev 84142, sshguard/trunk/sshguard.rc)
  sshguard/repos/community-i686/sshguard.service
    (from rev 84142, sshguard/trunk/sshguard.service)
  sshguard/repos/community-x86_64/ChangeLog
    (from rev 84142, sshguard/trunk/ChangeLog)
  sshguard/repos/community-x86_64/PKGBUILD
    (from rev 84142, sshguard/trunk/PKGBUILD)
  sshguard/repos/community-x86_64/sshguard-journalctl
    (from rev 84142, sshguard/trunk/sshguard-journalctl)
  sshguard/repos/community-x86_64/sshguard.conf.d
    (from rev 84142, sshguard/trunk/sshguard.conf.d)
  sshguard/repos/community-x86_64/sshguard.install
    (from rev 84142, sshguard/trunk/sshguard.install)
  sshguard/repos/community-x86_64/sshguard.rc
    (from rev 84142, sshguard/trunk/sshguard.rc)
  sshguard/repos/community-x86_64/sshguard.service
    (from rev 84142, sshguard/trunk/sshguard.service)
Deleted:
  sshguard/repos/community-i686/ChangeLog
  sshguard/repos/community-i686/PKGBUILD
  sshguard/repos/community-i686/sshguard-journalctl
  sshguard/repos/community-i686/sshguard.conf.d
  sshguard/repos/community-i686/sshguard.install
  sshguard/repos/community-i686/sshguard.rc
  sshguard/repos/community-i686/sshguard.service
  sshguard/repos/community-x86_64/ChangeLog
  sshguard/repos/community-x86_64/PKGBUILD
  sshguard/repos/community-x86_64/sshguard-journalctl
  sshguard/repos/community-x86_64/sshguard.conf.d
  sshguard/repos/community-x86_64/sshguard.install
  sshguard/repos/community-x86_64/sshguard.rc
  sshguard/repos/community-x86_64/sshguard.service

--------------------------------------+
 community-i686/ChangeLog             |    6 +-
 community-i686/PKGBUILD              |   91 ++++++++++++++++-----------------
 community-i686/sshguard-journalctl   |    4 -
 community-i686/sshguard.conf.d       |    8 +-
 community-i686/sshguard.install      |   16 ++---
 community-i686/sshguard.rc           |   54 +++++++++----------
 community-i686/sshguard.service      |   20 +++----
 community-x86_64/ChangeLog           |    6 +-
 community-x86_64/PKGBUILD            |   91 ++++++++++++++++-----------------
 community-x86_64/sshguard-journalctl |    4 -
 community-x86_64/sshguard.conf.d     |    8 +-
 community-x86_64/sshguard.install    |   16 ++---
 community-x86_64/sshguard.rc         |   54 +++++++++----------
 community-x86_64/sshguard.service    |   20 +++----
 14 files changed, 200 insertions(+), 198 deletions(-)

Deleted: community-i686/ChangeLog
===================================================================
--- community-i686/ChangeLog	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-i686/ChangeLog	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,3 +0,0 @@
-2007-06-28 tardo <tardo at nagi-fanboi.net>
-* Built for x86_64
-

Copied: sshguard/repos/community-i686/ChangeLog (from rev 84142, sshguard/trunk/ChangeLog)
===================================================================
--- community-i686/ChangeLog	                        (rev 0)
+++ community-i686/ChangeLog	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,3 @@
+2007-06-28 tardo <tardo at nagi-fanboi.net>
+* Built for x86_64
+

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-i686/PKGBUILD	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=sshguard
-pkgver=1.5
-pkgrel=9
-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.rc
-	sshguard.conf.d
-	sshguard.service
-	sshguard-journalctl)
-sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19'
-            'a810da878e40be8616a93c9984e7dbd3700367d665b78b8aa2498228bb33cb6e'
-            '66f28e2cc81e5686f8fd5c0d5a5015d7feecbe018a259f4032cfbacf6fe8d1c3'
-            '2b2a3c1140349296c3629e77f74c3b29f4ef2ce5f77cb3a811cbed5b46d23028'
-            '9491c4cd23d789dd04af551e16dc123f1517ca02ad3539f25715bbeec70ee21e')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --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 prefix="$pkgdir/usr" install
-  install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service"
-  install -Dm0755 "$srcdir/sshguard.rc" "$pkgdir/etc/rc.d/sshguard"
-  install -Dm0644 "$srcdir/sshguard.conf.d" "$pkgdir/etc/conf.d/sshguard"
-  install -Dm0755 "$srcdir/sshguard-journalctl" "$pkgdir/usr/lib/systemd/scripts/sshguard-journalctl"
-}

Copied: sshguard/repos/community-i686/PKGBUILD (from rev 84142, sshguard/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=sshguard
+pkgver=1.5
+pkgrel=10
+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.rc
+	sshguard.conf.d
+	sshguard.service
+	sshguard-journalctl)
+sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19'
+            'a810da878e40be8616a93c9984e7dbd3700367d665b78b8aa2498228bb33cb6e'
+            '66f28e2cc81e5686f8fd5c0d5a5015d7feecbe018a259f4032cfbacf6fe8d1c3'
+            '2b2a3c1140349296c3629e77f74c3b29f4ef2ce5f77cb3a811cbed5b46d23028'
+            '9491c4cd23d789dd04af551e16dc123f1517ca02ad3539f25715bbeec70ee21e')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's|^DAYNO.*|DAYNO       [0-9]?[1-9]|' src/parser/attack_scanner.l
+  ./configure --prefix=/usr --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 prefix="$pkgdir/usr" install
+  install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service"
+  install -Dm0755 "$srcdir/sshguard.rc" "$pkgdir/etc/rc.d/sshguard"
+  install -Dm0644 "$srcdir/sshguard.conf.d" "$pkgdir/etc/conf.d/sshguard"
+  install -Dm0755 "$srcdir/sshguard-journalctl" "$pkgdir/usr/lib/systemd/scripts/sshguard-journalctl"
+}

Deleted: community-i686/sshguard-journalctl
===================================================================
--- community-i686/sshguard-journalctl	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-i686/sshguard-journalctl	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,2 +0,0 @@
-#!/bin/sh
-/usr/bin/journalctl -afbp info -n1 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 | /usr/sbin/sshguard -l- "$@"

Copied: sshguard/repos/community-i686/sshguard-journalctl (from rev 84142, sshguard/trunk/sshguard-journalctl)
===================================================================
--- community-i686/sshguard-journalctl	                        (rev 0)
+++ community-i686/sshguard-journalctl	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/journalctl -afbp info -n1 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 | /usr/sbin/sshguard -l- "$@"

Deleted: community-i686/sshguard.conf.d
===================================================================
--- community-i686/sshguard.conf.d	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-i686/sshguard.conf.d	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,4 +0,0 @@
-#
-# Arguments to be passed to sshguard
-#
-SSHGUARD_ARGS=""

Copied: sshguard/repos/community-i686/sshguard.conf.d (from rev 84142, sshguard/trunk/sshguard.conf.d)
===================================================================
--- community-i686/sshguard.conf.d	                        (rev 0)
+++ community-i686/sshguard.conf.d	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,4 @@
+#
+# Arguments to be passed to sshguard
+#
+SSHGUARD_ARGS=""

Deleted: community-i686/sshguard.install
===================================================================
--- community-i686/sshguard.install	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-i686/sshguard.install	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,8 +0,0 @@
-post_install() {
-  mkdir -p /var/db/sshguard
-  echo "-- You should add chain to your firewall:"
-  echo "--   iptables -N sshguard"
-  echo "--   iptables -A INPUT -p tcp --dport 22 -j sshguard"
-  echo "-- For more information, see http://www.sshguard.net/doc/"
-  /bin/true
-}

Copied: sshguard/repos/community-i686/sshguard.install (from rev 84142, sshguard/trunk/sshguard.install)
===================================================================
--- community-i686/sshguard.install	                        (rev 0)
+++ community-i686/sshguard.install	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,8 @@
+post_install() {
+  mkdir -p /var/db/sshguard
+  echo "-- You should add chain to your firewall:"
+  echo "--   iptables -N sshguard"
+  echo "--   iptables -A INPUT -p tcp --dport 22 -j sshguard"
+  echo "-- For more information, see http://www.sshguard.net/doc/"
+  /bin/true
+}

Deleted: community-i686/sshguard.rc
===================================================================
--- community-i686/sshguard.rc	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-i686/sshguard.rc	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-[ -f /etc/conf.d/sshguard ] && . /etc/conf.d/sshguard
-
-case "$1" in
-  start)
-    stat_busy "Starting SSHGuard"
-    /usr/sbin/sshguard -l /var/log/auth.log -b /var/db/sshguard/blacklist.db ${SSHGUARD_ARGS} &> /dev/null &
-    add_daemon sshguard
-    stat_done
-    ;;
-  stop)
-    stat_busy "Stopping SSHGuard"
-    kill `pidof sshguard` &> /dev/null
-    rm_daemon sshguard
-    stat_done
-    ;;
-  restart)
-  $0 stop
-  $0 start
-  ;;
-*)
-    echo "usage: $0 {start|stop|restart}"
-esac
-exit 0

Copied: sshguard/repos/community-i686/sshguard.rc (from rev 84142, sshguard/trunk/sshguard.rc)
===================================================================
--- community-i686/sshguard.rc	                        (rev 0)
+++ community-i686/sshguard.rc	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+[ -f /etc/conf.d/sshguard ] && . /etc/conf.d/sshguard
+
+case "$1" in
+  start)
+    stat_busy "Starting SSHGuard"
+    /usr/sbin/sshguard -l /var/log/auth.log -b /var/db/sshguard/blacklist.db ${SSHGUARD_ARGS} &> /dev/null &
+    add_daemon sshguard
+    stat_done
+    ;;
+  stop)
+    stat_busy "Stopping SSHGuard"
+    kill `pidof sshguard` &> /dev/null
+    rm_daemon sshguard
+    stat_done
+    ;;
+  restart)
+  $0 stop
+  $0 start
+  ;;
+*)
+    echo "usage: $0 {start|stop|restart}"
+esac
+exit 0

Deleted: community-i686/sshguard.service
===================================================================
--- community-i686/sshguard.service	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-i686/sshguard.service	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Block hacking attempts
-After=iptables.service network.target
-Wants=iptables.service
-
-[Service]
-ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db
-
-[Install]
-WantedBy=multi-user.target

Copied: sshguard/repos/community-i686/sshguard.service (from rev 84142, sshguard/trunk/sshguard.service)
===================================================================
--- community-i686/sshguard.service	                        (rev 0)
+++ community-i686/sshguard.service	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Block hacking attempts
+After=iptables.service network.target
+Wants=iptables.service
+
+[Service]
+ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/ChangeLog
===================================================================
--- community-x86_64/ChangeLog	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-x86_64/ChangeLog	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,3 +0,0 @@
-2007-06-28 tardo <tardo at nagi-fanboi.net>
-* Built for x86_64
-

Copied: sshguard/repos/community-x86_64/ChangeLog (from rev 84142, sshguard/trunk/ChangeLog)
===================================================================
--- community-x86_64/ChangeLog	                        (rev 0)
+++ community-x86_64/ChangeLog	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,3 @@
+2007-06-28 tardo <tardo at nagi-fanboi.net>
+* Built for x86_64
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-x86_64/PKGBUILD	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=sshguard
-pkgver=1.5
-pkgrel=9
-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.rc
-	sshguard.conf.d
-	sshguard.service
-	sshguard-journalctl)
-sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19'
-            'a810da878e40be8616a93c9984e7dbd3700367d665b78b8aa2498228bb33cb6e'
-            '66f28e2cc81e5686f8fd5c0d5a5015d7feecbe018a259f4032cfbacf6fe8d1c3'
-            '2b2a3c1140349296c3629e77f74c3b29f4ef2ce5f77cb3a811cbed5b46d23028'
-            '9491c4cd23d789dd04af551e16dc123f1517ca02ad3539f25715bbeec70ee21e')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --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 prefix="$pkgdir/usr" install
-  install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service"
-  install -Dm0755 "$srcdir/sshguard.rc" "$pkgdir/etc/rc.d/sshguard"
-  install -Dm0644 "$srcdir/sshguard.conf.d" "$pkgdir/etc/conf.d/sshguard"
-  install -Dm0755 "$srcdir/sshguard-journalctl" "$pkgdir/usr/lib/systemd/scripts/sshguard-journalctl"
-}

Copied: sshguard/repos/community-x86_64/PKGBUILD (from rev 84142, sshguard/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=sshguard
+pkgver=1.5
+pkgrel=10
+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.rc
+	sshguard.conf.d
+	sshguard.service
+	sshguard-journalctl)
+sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19'
+            'a810da878e40be8616a93c9984e7dbd3700367d665b78b8aa2498228bb33cb6e'
+            '66f28e2cc81e5686f8fd5c0d5a5015d7feecbe018a259f4032cfbacf6fe8d1c3'
+            '2b2a3c1140349296c3629e77f74c3b29f4ef2ce5f77cb3a811cbed5b46d23028'
+            '9491c4cd23d789dd04af551e16dc123f1517ca02ad3539f25715bbeec70ee21e')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's|^DAYNO.*|DAYNO       [0-9]?[1-9]|' src/parser/attack_scanner.l
+  ./configure --prefix=/usr --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 prefix="$pkgdir/usr" install
+  install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service"
+  install -Dm0755 "$srcdir/sshguard.rc" "$pkgdir/etc/rc.d/sshguard"
+  install -Dm0644 "$srcdir/sshguard.conf.d" "$pkgdir/etc/conf.d/sshguard"
+  install -Dm0755 "$srcdir/sshguard-journalctl" "$pkgdir/usr/lib/systemd/scripts/sshguard-journalctl"
+}

Deleted: community-x86_64/sshguard-journalctl
===================================================================
--- community-x86_64/sshguard-journalctl	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-x86_64/sshguard-journalctl	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,2 +0,0 @@
-#!/bin/sh
-/usr/bin/journalctl -afbp info -n1 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 | /usr/sbin/sshguard -l- "$@"

Copied: sshguard/repos/community-x86_64/sshguard-journalctl (from rev 84142, sshguard/trunk/sshguard-journalctl)
===================================================================
--- community-x86_64/sshguard-journalctl	                        (rev 0)
+++ community-x86_64/sshguard-journalctl	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/journalctl -afbp info -n1 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 | /usr/sbin/sshguard -l- "$@"

Deleted: community-x86_64/sshguard.conf.d
===================================================================
--- community-x86_64/sshguard.conf.d	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-x86_64/sshguard.conf.d	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,4 +0,0 @@
-#
-# Arguments to be passed to sshguard
-#
-SSHGUARD_ARGS=""

Copied: sshguard/repos/community-x86_64/sshguard.conf.d (from rev 84142, sshguard/trunk/sshguard.conf.d)
===================================================================
--- community-x86_64/sshguard.conf.d	                        (rev 0)
+++ community-x86_64/sshguard.conf.d	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,4 @@
+#
+# Arguments to be passed to sshguard
+#
+SSHGUARD_ARGS=""

Deleted: community-x86_64/sshguard.install
===================================================================
--- community-x86_64/sshguard.install	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-x86_64/sshguard.install	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,8 +0,0 @@
-post_install() {
-  mkdir -p /var/db/sshguard
-  echo "-- You should add chain to your firewall:"
-  echo "--   iptables -N sshguard"
-  echo "--   iptables -A INPUT -p tcp --dport 22 -j sshguard"
-  echo "-- For more information, see http://www.sshguard.net/doc/"
-  /bin/true
-}

Copied: sshguard/repos/community-x86_64/sshguard.install (from rev 84142, sshguard/trunk/sshguard.install)
===================================================================
--- community-x86_64/sshguard.install	                        (rev 0)
+++ community-x86_64/sshguard.install	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,8 @@
+post_install() {
+  mkdir -p /var/db/sshguard
+  echo "-- You should add chain to your firewall:"
+  echo "--   iptables -N sshguard"
+  echo "--   iptables -A INPUT -p tcp --dport 22 -j sshguard"
+  echo "-- For more information, see http://www.sshguard.net/doc/"
+  /bin/true
+}

Deleted: community-x86_64/sshguard.rc
===================================================================
--- community-x86_64/sshguard.rc	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-x86_64/sshguard.rc	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-[ -f /etc/conf.d/sshguard ] && . /etc/conf.d/sshguard
-
-case "$1" in
-  start)
-    stat_busy "Starting SSHGuard"
-    /usr/sbin/sshguard -l /var/log/auth.log -b /var/db/sshguard/blacklist.db ${SSHGUARD_ARGS} &> /dev/null &
-    add_daemon sshguard
-    stat_done
-    ;;
-  stop)
-    stat_busy "Stopping SSHGuard"
-    kill `pidof sshguard` &> /dev/null
-    rm_daemon sshguard
-    stat_done
-    ;;
-  restart)
-  $0 stop
-  $0 start
-  ;;
-*)
-    echo "usage: $0 {start|stop|restart}"
-esac
-exit 0

Copied: sshguard/repos/community-x86_64/sshguard.rc (from rev 84142, sshguard/trunk/sshguard.rc)
===================================================================
--- community-x86_64/sshguard.rc	                        (rev 0)
+++ community-x86_64/sshguard.rc	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+[ -f /etc/conf.d/sshguard ] && . /etc/conf.d/sshguard
+
+case "$1" in
+  start)
+    stat_busy "Starting SSHGuard"
+    /usr/sbin/sshguard -l /var/log/auth.log -b /var/db/sshguard/blacklist.db ${SSHGUARD_ARGS} &> /dev/null &
+    add_daemon sshguard
+    stat_done
+    ;;
+  stop)
+    stat_busy "Stopping SSHGuard"
+    kill `pidof sshguard` &> /dev/null
+    rm_daemon sshguard
+    stat_done
+    ;;
+  restart)
+  $0 stop
+  $0 start
+  ;;
+*)
+    echo "usage: $0 {start|stop|restart}"
+esac
+exit 0

Deleted: community-x86_64/sshguard.service
===================================================================
--- community-x86_64/sshguard.service	2013-02-11 15:19:42 UTC (rev 84142)
+++ community-x86_64/sshguard.service	2013-02-11 15:20:18 UTC (rev 84143)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Block hacking attempts
-After=iptables.service network.target
-Wants=iptables.service
-
-[Service]
-ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db
-
-[Install]
-WantedBy=multi-user.target

Copied: sshguard/repos/community-x86_64/sshguard.service (from rev 84142, sshguard/trunk/sshguard.service)
===================================================================
--- community-x86_64/sshguard.service	                        (rev 0)
+++ community-x86_64/sshguard.service	2013-02-11 15:20:18 UTC (rev 84143)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Block hacking attempts
+After=iptables.service network.target
+Wants=iptables.service
+
+[Service]
+ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list