svn commit: r420941 - in head/dns/gdnsd2: . files
Allan Jude
allanjude at FreeBSD.org
Fri Aug 26 19:44:59 UTC 2016
Author: allanjude (src,doc committer)
Date: Fri Aug 26 19:44:57 2016
New Revision: 420941
URL: https://svnweb.freebsd.org/changeset/ports/420941
Log:
gdnsd2: run checkconf before reload/restart
Submitted by: Andrew Fengler <andrew.fengler at scaleengine.com>
Reviewed by: matthew
Approved by: zi (maintainer)
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D7488
Modified:
head/dns/gdnsd2/Makefile
head/dns/gdnsd2/files/gdnsd.in
Modified: head/dns/gdnsd2/Makefile
==============================================================================
--- head/dns/gdnsd2/Makefile Fri Aug 26 18:29:46 2016 (r420940)
+++ head/dns/gdnsd2/Makefile Fri Aug 26 19:44:57 2016 (r420941)
@@ -3,6 +3,7 @@
PORTNAME= gdnsd
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= https://github.com/gdnsd/gdnsd/releases/download/v${PORTVERSION}/ \
http://mirrors.rit.edu/zi/ \
Modified: head/dns/gdnsd2/files/gdnsd.in
==============================================================================
--- head/dns/gdnsd2/files/gdnsd.in Fri Aug 26 18:29:46 2016 (r420940)
+++ head/dns/gdnsd2/files/gdnsd.in Fri Aug 26 19:44:57 2016 (r420941)
@@ -28,7 +28,9 @@ load_rc_config $name
command="%%PREFIX%%/sbin/gdnsd"
command_args="start"
procname=${command}
+restart_precmd="gdnsd_checkconf"
reload_cmd="gdnsd_reload"
+reload_precmd="gdnsd_checkconf"
configtest_cmd="gdnsd_checkconf"
extra_commands="reload configtest"
gdnsd_reload()
More information about the svn-ports-all
mailing list