--- b/security/sshguard/Makefile +++ b/security/sshguard/Makefile @@ -1,7 +1,7 @@ # Created by: Mij PORTNAME= sshguard -PORTVERSION= 2.4.1 +PORTVERSION= 2.4.2 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION} --- b/security/sshguard/distinfo +++ b/security/sshguard/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1596260072 -SHA256 (sshguard-2.4.1.tar.gz) = 875d02e6e67dced614790ed5e36aef1160edea940f353a79306cbb1852af3c67 -SIZE (sshguard-2.4.1.tar.gz) = 723940 +TIMESTAMP = 1622991099 +SHA256 (sshguard-2.4.2.tar.gz) = 2770b776e5ea70a9bedfec4fd84d57400afa927f0f7522870d2dcbbe1ace37e8 +SIZE (sshguard-2.4.2.tar.gz) = 835431 --- b/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.