From owner-svn-ports-head@freebsd.org Fri Aug 26 19:44:59 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3226DB7661E; Fri, 26 Aug 2016 19:44:59 +0000 (UTC) (envelope-from allanjude@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 02E6C3E9; Fri, 26 Aug 2016 19:44:58 +0000 (UTC) (envelope-from allanjude@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7QJiwJo065973; Fri, 26 Aug 2016 19:44:58 GMT (envelope-from allanjude@FreeBSD.org) Received: (from allanjude@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7QJiwHa065971; Fri, 26 Aug 2016 19:44:58 GMT (envelope-from allanjude@FreeBSD.org) Message-Id: <201608261944.u7QJiwHa065971@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: allanjude set sender to allanjude@FreeBSD.org using -f From: Allan Jude Date: Fri, 26 Aug 2016 19:44:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420941 - in head/dns/gdnsd2: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 19:44:59 -0000 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 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()