svn commit: r530887 - in head/net/chrony: . files

Matthias Andree mandree at FreeBSD.org
Mon Apr 6 16:27:49 UTC 2020


Author: mandree
Date: Mon Apr  6 16:27:48 2020
New Revision: 530887
URL: https://svnweb.freebsd.org/changeset/ports/530887

Log:
  net/chrony: fix regression, remove pidfile= from rc.d script
  
  chrony handles its own pidfile, and still our status method works,
  so avoid missing chrony's own lock management.
  
  PR:		245399
  Reported by:	Peter Putzer

Modified:
  head/net/chrony/Makefile
  head/net/chrony/files/chronyd.in

Modified: head/net/chrony/Makefile
==============================================================================
--- head/net/chrony/Makefile	Mon Apr  6 16:07:36 2020	(r530886)
+++ head/net/chrony/Makefile	Mon Apr  6 16:27:48 2020	(r530887)
@@ -3,7 +3,7 @@
 
 PORTNAME=	chrony
 PORTVERSION=	3.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://download.tuxfamily.org/chrony/
 

Modified: head/net/chrony/files/chronyd.in
==============================================================================
--- head/net/chrony/files/chronyd.in	Mon Apr  6 16:07:36 2020	(r530886)
+++ head/net/chrony/files/chronyd.in	Mon Apr  6 16:27:48 2020	(r530887)
@@ -28,8 +28,7 @@ load_rc_config ${name}
 : ${chronyd_config:="%%PREFIX%%/etc/chrony.conf"}
 
 command=%%PREFIX%%/sbin/${name}
-command_args="-f ${chronyd_config}"
-pidfile=/var/run/chrony/${name}.pid
-required_files=${chronyd_config}
+command_args="-f \"${chronyd_config}\""
+required_files="${chronyd_config}"
 
 run_rc_command "$1"


More information about the svn-ports-head mailing list