git: 174eab9a9ae4 - 2026Q3 - security/sshguard: Add default "NO" to rcvar
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Sep 2026 20:39:25 UTC
The branch 2026Q3 has been updated by nxjoseph:
URL: https://cgit.FreeBSD.org/ports/commit/?id=174eab9a9ae496afe2ebc5259f35033eb1d00d27
commit 174eab9a9ae496afe2ebc5259f35033eb1d00d27
Author: Kevin Zheng <kevinz5000@gmail.com>
AuthorDate: 2026-09-23 05:27:23 +0000
Commit: Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-09-23 20:39:18 +0000
security/sshguard: Add default "NO" to rcvar
Without a default rcvar set to NO, there are warnings like this:
/etc/rc: WARNING: $sshguard_enable is not set properly - see rc.conf(5)?
PR: 298781
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q3
(cherry picked from commit 79e6862d9b008738beec5da53a29a61df69ef60d)
---
security/sshguard/Makefile | 2 +-
security/sshguard/files/sshguard.in | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile
index ea8bec0be11b..b514eb48943e 100644
--- a/security/sshguard/Makefile
+++ b/security/sshguard/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sshguard
PORTVERSION= 2.5.1
-PORTREVISION= 0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION}
diff --git a/security/sshguard/files/sshguard.in b/security/sshguard/files/sshguard.in
index f40c7bb6ba16..36c1faf335d7 100644
--- a/security/sshguard/files/sshguard.in
+++ b/security/sshguard/files/sshguard.in
@@ -59,6 +59,7 @@
name=sshguard
rcvar=sshguard_enable
+: ${sshguard_enable:="NO"}
set_rcvar sshguard_blacklist "" "Blacklisting threshold and path to blacklist file (colon-separated)"
set_rcvar sshguard_danger_thresh "" "Attack threshold"