Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2019 00:57:10 +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: r505533 - in head/security/sshguard: . files
Message-ID:  <201907010057.x610vAoT064598@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Jul  1 00:57:09 2019
New Revision: 505533
URL: https://svnweb.freebsd.org/changeset/ports/505533

Log:
  Fix rc(8) script process detection
  
  The pidfile points to a process named sh, not sshg-blocker
  
  PR:		238458

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

Modified: head/security/sshguard/Makefile
==============================================================================
--- head/security/sshguard/Makefile	Mon Jul  1 00:50:47 2019	(r505532)
+++ head/security/sshguard/Makefile	Mon Jul  1 00:57:09 2019	(r505533)
@@ -3,6 +3,7 @@
 
 PORTNAME=	sshguard
 PORTVERSION=	2.4.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/sshguard/sshguard/${PORTVERSION}
 

Modified: head/security/sshguard/files/sshguard.in
==============================================================================
--- head/security/sshguard/files/sshguard.in	Mon Jul  1 00:50:47 2019	(r505532)
+++ head/security/sshguard/files/sshguard.in	Mon Jul  1 00:57:09 2019	(r505533)
@@ -78,7 +78,7 @@ pidfile=${sshguard_pidfile:="/var/run/sshguard.pid"}
 
 command=/usr/sbin/daemon
 actual_command="%%PREFIX%%/sbin/sshguard"
-procname="%%PREFIX%%/libexec/sshg-blocker"
+procname="/bin/sh"
 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?201907010057.x610vAoT064598>