[arch-commits] Commit in sshguard/trunk (3 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Sep 9 09:40:25 UTC 2013
Date: Monday, September 9, 2013 @ 11:40:24
Author: spupykin
Revision: 96954
Modified:
sshguard/trunk/PKGBUILD
sshguard/trunk/sshguard-journalctl
sshguard/trunk/sshguard.service
---------------------+
PKGBUILD | 5 ++++-
sshguard-journalctl | 4 +++-
sshguard.service | 2 +-
3 files changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-09 09:26:33 UTC (rev 96953)
+++ PKGBUILD 2013-09-09 09:40:24 UTC (rev 96954)
@@ -4,7 +4,7 @@
pkgname=sshguard
pkgver=1.5
-pkgrel=13
+pkgrel=14
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/"
@@ -19,6 +19,9 @@
sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19'
'e9713a067b33b8ea91d203853a033c0b9f6d40ebebd77f2e72903ed4fd355ebd'
'7423224107b28cabb69489056968581f1c9e94f3edc6a1d189e56a9df0bab4f7')
+sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19'
+ '4ee4ce27210753a9068d5107e21bd0c49910cddd462aa313cf539c82cbc02c57'
+ 'f7b307fe9dbbe8c18fe91ca751679d62b2a3ade03cfe164e76ca411cfafffca6')
build() {
cd "$srcdir/$pkgname-$pkgver"
Modified: sshguard-journalctl
===================================================================
--- sshguard-journalctl 2013-09-09 09:26:33 UTC (rev 96953)
+++ sshguard-journalctl 2013-09-09 09:40:24 UTC (rev 96954)
@@ -1,2 +1,4 @@
#!/bin/sh
-/usr/bin/journalctl -afb -p info -n1 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 SYSLOG_IDENTIFIER=sshd | /usr/bin/sshguard -l- "$@"
+DBFILE=$1
+shift
+/usr/bin/journalctl -afb -p info -n1 "$@" | /usr/bin/sshguard -l- -b $DBFILE
Modified: sshguard.service
===================================================================
--- sshguard.service 2013-09-09 09:26:33 UTC (rev 96953)
+++ sshguard.service 2013-09-09 09:40:24 UTC (rev 96954)
@@ -4,7 +4,7 @@
Wants=iptables.service ip6tables.service
[Service]
-ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db
+ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl /var/db/sshguard/blacklist.db SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 SYSLOG_IDENTIFIER=sshd
[Install]
WantedBy=multi-user.target
More information about the arch-commits
mailing list