[arch-commits] Commit in sshguard/trunk (4 files)

Sergej Pupykin spupykin at archlinux.org
Fri Mar 10 09:28:49 UTC 2017


    Date: Friday, March 10, 2017 @ 09:28:49
  Author: spupykin
Revision: 215565

upgpkg: sshguard 2.0.0-2

upd

Modified:
  sshguard/trunk/PKGBUILD
  sshguard/trunk/sshguard-journalctl
  sshguard/trunk/sshguard.install
  sshguard/trunk/sshguard.service

---------------------+
 PKGBUILD            |    4 ++--
 sshguard-journalctl |    4 +---
 sshguard.install    |   10 ----------
 sshguard.service    |    2 +-
 4 files changed, 4 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-10 09:23:38 UTC (rev 215564)
+++ PKGBUILD	2017-03-10 09:28:49 UTC (rev 215565)
@@ -16,8 +16,8 @@
 	"sshguard.service"
 	"sshguard-journalctl")
 sha256sums=('e87c6c4a6dddf06f440ea76464eb6197869c0293f0a60ffa51f8a6a0d7b0cb06'
-            '77b5cb4d00a34f1a0f03272464bac66793389ba05e89be6b7bfb78bdff0b0e92'
-            'ce7c3f56edb1b43e0a1629ed646d667d7196808ba82edf7c9e1c3c9c03fca2ba')
+            '299b41c68e3c97535c1eb0f579903303383084a788edc46e6f447c13eacc8352'
+            '58afcafe81d7e6af0ccd37471c6317bb76933bf618202ab76eed45eb931a14b7')
 
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"

Modified: sshguard-journalctl
===================================================================
--- sshguard-journalctl	2017-03-10 09:23:38 UTC (rev 215564)
+++ sshguard-journalctl	2017-03-10 09:28:49 UTC (rev 215565)
@@ -1,4 +1,2 @@
 #!/bin/sh
-SSHGUARD_OPTS=$1
-shift
-LANG=C /usr/bin/journalctl -afb -p info -n1 -o cat "$@" | /usr/bin/sshguard $SSHGUARD_OPTS
+LANG=C /usr/bin/journalctl -afb -p info -n1 -o cat "$@" | /usr/bin/sshguard

Modified: sshguard.install
===================================================================
--- sshguard.install	2017-03-10 09:23:38 UTC (rev 215564)
+++ sshguard.install	2017-03-10 09:28:49 UTC (rev 215565)
@@ -1,14 +1,4 @@
 post_install() {
   mkdir -p var/db/sshguard
-  echo "-- You should add chains to your firewall:"
-  echo "--   iptables -N sshguard"
-  echo "--   iptables -A INPUT -p tcp --dport 22 -j sshguard"
-  echo "--   ip6tables -N sshguard"
-  echo "--   ip6tables -A INPUT -p tcp --dport 22 -j sshguard"
-  echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6"
   echo "-- For more information, see https://wiki.archlinux.org/index.php/Sshguard"
 }
-
-post_upgrade() {
-  echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6"
-}

Modified: sshguard.service
===================================================================
--- sshguard.service	2017-03-10 09:23:38 UTC (rev 215564)
+++ sshguard.service	2017-03-10 09:28:49 UTC (rev 215565)
@@ -3,7 +3,7 @@
 After=iptables.service ip6tables.service ufw.service shorewall.service shorewall6.service network.target
 
 [Service]
-ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl "-b 120:/var/db/sshguard/blacklist.db" SYSLOG_FACILITY=4 SYSLOG_FACILITY=10
+ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl SYSLOG_FACILITY=4 SYSLOG_FACILITY=10
 
 [Install]
 WantedBy=multi-user.target



More information about the arch-commits mailing list