summaryrefslogtreecommitdiff
path: root/security/sshguard/files/patch-src_sshguard.in
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2021-06-14 23:10:46 +0200
committerRodrigo Osorio <rodrigo@FreeBSD.org>2021-06-14 23:20:14 +0200
commit5d22a6665ba6b780de84b398427ba87361952e57 (patch)
tree881821651e24ea3304aca107978f40d22c921559 /security/sshguard/files/patch-src_sshguard.in
parentnet-mgmt/netdata: update to 1.31.0 with... (diff)
security/sshguard: Upgrade to 2.4.2
Major changes: * Recognize rejections from Postfix's postscreen daemon * The parser can now be changed using the PARSER and POST_PARSER options * Remove some false positive attack signatures for SSH and Cyrus * Adjust log verbosity of some log messages * The firewalld backend now uses firewall-cmd instead of iptables to flush block lists Full changelog : https://bitbucket.org/sshguard/sshguard/src/v2.4.2/CHANGELOG.rst PR: 256575 Reported by: <sirdice@gmail.com> Approved by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)
Diffstat (limited to 'security/sshguard/files/patch-src_sshguard.in')
-rw-r--r--security/sshguard/files/patch-src_sshguard.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/sshguard/files/patch-src_sshguard.in b/security/sshguard/files/patch-src_sshguard.in
index 6881e162028f..0a73967144a5 100644
--- a/security/sshguard/files/patch-src_sshguard.in
+++ b/security/sshguard/files/patch-src_sshguard.in
@@ -1,10 +1,10 @@
---- src/sshguard.in.orig 2019-05-23 22:25:17 UTC
+--- src/sshguard.in.orig 2021-06-06 14:54:07 UTC
+++ src/sshguard.in
-@@ -97,14 +97,8 @@ elif [ -z "$tailcmd" ]; then
+@@ -98,14 +98,8 @@ elif [ -z "$tailcmd" ]; then
exit 1
fi
--if [ ! -z "$PID_FILE" ]; then
+-if [ -n "$PID_FILE" ]; then
- if [ ! -e "$PID_FILE" ]; then
- echo "$$" > $PID_FILE
- else
@@ -15,5 +15,5 @@
+# Already checked by rc(8)
+echo "$$" > $PID_FILE
- # Make sure to kill entire process group (subshell) on exit/interrupts.
- trap "clean_and_exit" INT TERM
+ # Select PARSER from configuration file or use default. Add POST_PARSER from
+ # configuration file if it exists.