Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2019 17:56:48 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505626 - in head/security/sshguard: . files
Message-ID:  <201907011756.x61HumfP006301@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Jul  1 17:56:48 2019
New Revision: 505626
URL: https://svnweb.freebsd.org/changeset/ports/505626

Log:
  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

Modified:
  head/security/sshguard/Makefile
  head/security/sshguard/distinfo
  head/security/sshguard/files/sshguard.in

Modified: head/security/sshguard/Makefile
==============================================================================
--- head/security/sshguard/Makefile	Mon Jul  1 17:55:32 2019	(r505625)
+++ head/security/sshguard/Makefile	Mon Jul  1 17:56:48 2019	(r505626)
@@ -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
 

Modified: head/security/sshguard/distinfo
==============================================================================
--- head/security/sshguard/distinfo	Mon Jul  1 17:55:32 2019	(r505625)
+++ head/security/sshguard/distinfo	Mon Jul  1 17:56:48 2019	(r505626)
@@ -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

Modified: head/security/sshguard/files/sshguard.in
==============================================================================
--- head/security/sshguard/files/sshguard.in	Mon Jul  1 17:55:32 2019	(r505625)
+++ head/security/sshguard/files/sshguard.in	Mon Jul  1 17:56:48 2019	(r505626)
@@ -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}"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907011756.x61HumfP006301>