Index: Makefile
===================================================================
RCS file: /cvs/ports/security/sshguard/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile 18 Aug 2020 05:06:29 -0000 1.16
+++ Makefile 23 Mar 2021 11:07:18 -0000
@@ -5,6 +5,8 @@ COMMENT= protect against brute force att
DISTNAME= sshguard-2.4.1
CATEGORIES= security
+REVISION= 1
+
HOMEPAGE= https://www.sshguard.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sshguard/}
Index: pkg/sshguard.rc
===================================================================
RCS file: /cvs/ports/security/sshguard/pkg/sshguard.rc,v
retrieving revision 1.6
diff -u -p -r1.6 sshguard.rc
--- pkg/sshguard.rc 18 Aug 2020 05:06:29 -0000 1.6
+++ pkg/sshguard.rc 23 Mar 2021 11:07:18 -0000
@@ -6,7 +6,7 @@ daemon="${TRUEPREFIX}/sbin/sshguard"
. /etc/rc.d/rc.subr
-pexp="/bin/sh $daemon"
+pexp="/bin/sh $daemon${daemon_flags:+ $daemon_flags}"
rc_bg=YES
rc_reload=NO
A user contacted me about the security/sshguard port. They wanted to
use daemon_flags with the port, which means this needs to be added to
the pexp expression in the rc.d file.
The attached patch does this in the similar manner as is done for e.g.
sshd and unbound.
Regards,
Andreas (port maintainer)
--
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden
.
No comments:
Post a Comment