aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2019-07-01 17:56:48 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2019-07-01 17:56:48 +0000
commitc8a585633482ecc16efd2a43f5f0c4bf362a4565 (patch)
tree493b2ea99867796134d1278953e38a2560cdbcf9 /security
parenta948a437fefe0224940a7ae3fd55cb43b064f891 (diff)
downloadports-c8a585633482ecc16efd2a43f5f0c4bf362a4565.tar.gz
ports-c8a585633482ecc16efd2a43f5f0c4bf362a4565.zip
Back out r505456. sshguard 2.4.0 misbehaves
SSHGuard has always exited cleanly on FreeBSD. In 2.4.0, sshguard fixed that. It is impossible to terminate sshguard without manually killing each process. So, apologies to everyone who's already updated, but you'll have to manually kill all the processes: pkill -f sshguard pkill -f sshg- pkill -f tail rm /var/run/sshguard.pid So, back this out while awaiting upstream fix. PR: 238458
Notes
Notes: svn path=/head/; revision=505626
Diffstat (limited to 'security')
-rw-r--r--security/sshguard/Makefile6
-rw-r--r--security/sshguard/distinfo6
-rw-r--r--security/sshguard/files/sshguard.in2
3 files changed, 7 insertions, 7 deletions
diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile
index f7392f2bc7f4..c6e2447a22be 100644
--- a/security/sshguard/Makefile
+++ b/security/sshguard/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= sshguard
-PORTVERSION= 2.4.0
-PORTREVISION= 1
+PORTVERSION= 2.3.1
+PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION}
@@ -24,7 +24,7 @@ post-patch:
${WRKSRC}/examples/sshguard.conf.sample
post-install:
- ${INSTALL} -d ${STAGEDIR}${PREFIX}/etc
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/examples/sshguard.conf.sample \
${STAGEDIR}${PREFIX}/etc
diff --git a/security/sshguard/distinfo b/security/sshguard/distinfo
index ace8de7b81ba..10cb3df07f08 100644
--- a/security/sshguard/distinfo
+++ b/security/sshguard/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1560183055
-SHA256 (sshguard-2.4.0.tar.gz) = 065ca4091b3a96802714b560dbbc3d9f0e67574e99e2b6e8857aa1027d17d6c0
-SIZE (sshguard-2.4.0.tar.gz) = 771506
+TIMESTAMP = 1562003151
+SHA256 (sshguard-2.3.1.tar.gz) = 769055e26df78f4bca34c9a7acf265dfa224c055b33ced47f53d55bf659d20a2
+SIZE (sshguard-2.3.1.tar.gz) = 765330
diff --git a/security/sshguard/files/sshguard.in b/security/sshguard/files/sshguard.in
index cbde126ff03f..1233a855604f 100644
--- a/security/sshguard/files/sshguard.in
+++ b/security/sshguard/files/sshguard.in
@@ -78,7 +78,7 @@ pidfile=${sshguard_pidfile:="/var/run/sshguard.pid"}
command=/usr/sbin/daemon
actual_command="%%PREFIX%%/sbin/sshguard"
-procname="/bin/sh"
+procname="%%PREFIX%%/libexec/sshg-blocker"
start_precmd=sshguard_prestart
command_args="-c ${actual_command} \${sshguard_flags} \${sshguard_blacklist_params} \${sshguard_watch_params} \${sshguard_danger_params} \${sshguard_release_params} \${sshguard_reset_params} \${sshguard_whitelist_params} -i ${pidfile}"