svn commit: r447003 - in head/net-mgmt/smokeping: . files

Rodrigo Osorio rodrigo at FreeBSD.org
Mon Jul 31 22:15:05 UTC 2017


Author: rodrigo
Date: Mon Jul 31 22:15:03 2017
New Revision: 447003
URL: https://svnweb.freebsd.org/changeset/ports/447003

Log:
  Add a wait_for_pids at the end of the rc script stop function, waiting for the
  daemon to stops. With smokeping busy pinging a few hundred hosts it often occurs
  that the daemon stops after the rc call completion failing a restart.
  Bump PORTREVISION.
  
  PR:		221009
  Submitted by:	vegeta at tuxpowered.net

Modified:
  head/net-mgmt/smokeping/Makefile
  head/net-mgmt/smokeping/files/smokeping.in

Modified: head/net-mgmt/smokeping/Makefile
==============================================================================
--- head/net-mgmt/smokeping/Makefile	Mon Jul 31 22:09:32 2017	(r447002)
+++ head/net-mgmt/smokeping/Makefile	Mon Jul 31 22:15:03 2017	(r447003)
@@ -3,7 +3,7 @@
 
 PORTNAME=	smokeping
 PORTVERSION=	2.6.11
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	net-mgmt www
 MASTER_SITES=	http://oss.oetiker.ch/smokeping/pub/ \
 		http://smokeping.cs.pu.edu.tw/pub/

Modified: head/net-mgmt/smokeping/files/smokeping.in
==============================================================================
--- head/net-mgmt/smokeping/files/smokeping.in	Mon Jul 31 22:09:32 2017	(r447002)
+++ head/net-mgmt/smokeping/files/smokeping.in	Mon Jul 31 22:15:03 2017	(r447003)
@@ -104,6 +104,7 @@ smokeping_stop()
 	else
 		echo "Stopping ${name}."
 		kill -TERM $rc_pid
+		wait_for_pids $rc_pid
 	fi
 }
 


More information about the svn-ports-all mailing list