From owner-svn-ports-all@FreeBSD.ORG Thu Apr 17 16:43:50 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5894EC32; Thu, 17 Apr 2014 16:43:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 44F351609; Thu, 17 Apr 2014 16:43:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3HGhoOk038848; Thu, 17 Apr 2014 16:43:50 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3HGhnvY038842; Thu, 17 Apr 2014 16:43:49 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201404171643.s3HGhnvY038842@svn.freebsd.org> From: Mathieu Arnold Date: Thu, 17 Apr 2014 16:43:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351487 - in head/dns: bind910 bind910/files bind98 bind98/files bind99 bind99/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-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 16:43:50 -0000 Author: mat Date: Thu Apr 17 16:43:48 2014 New Revision: 351487 URL: http://svnweb.freebsd.org/changeset/ports/351487 QAT: https://qat.redports.org/buildarchive/r351487/ Log: Fix the rc script reload command. Noticed by: David Samms Sponsored by: Absolight Modified: head/dns/bind910/Makefile head/dns/bind910/files/named.in head/dns/bind98/Makefile head/dns/bind98/files/named.in head/dns/bind99/Makefile head/dns/bind99/files/named.in Modified: head/dns/bind910/Makefile ============================================================================== --- head/dns/bind910/Makefile Thu Apr 17 16:43:31 2014 (r351486) +++ head/dns/bind910/Makefile Thu Apr 17 16:43:48 2014 (r351487) @@ -2,7 +2,7 @@ PORTNAME= bind PORTVERSION= 9.10.0rc1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns net ipv6 MASTER_SITES= ${MASTER_SITE_ISC} MASTER_SITE_SUBDIR= bind9/${ISCVERSION} Modified: head/dns/bind910/files/named.in ============================================================================== --- head/dns/bind910/files/named.in Thu Apr 17 16:43:31 2014 (r351486) +++ head/dns/bind910/files/named.in Thu Apr 17 16:43:48 2014 (r351487) @@ -19,7 +19,7 @@ extra_commands=reload start_precmd=named_prestart start_postcmd=named_poststart -reload_cmd="${command%/named}/rndc reload" +reload_cmd=named_reload stop_cmd=named_stop named_enable=${named_enable:-"NO"} # Run named, the DNS server (or NO). @@ -44,6 +44,13 @@ named_poststart() fi } +named_reload() +{ + # This is a one line function, but ${command} is not defined early + # enough to be there when the reload_cmd variable is defined up there. + ${command%/named}/rndc reload +} + find_pidfile() { if get_pidfile_from_conf pid-file $named_conf; then Modified: head/dns/bind98/Makefile ============================================================================== --- head/dns/bind98/Makefile Thu Apr 17 16:43:31 2014 (r351486) +++ head/dns/bind98/Makefile Thu Apr 17 16:43:48 2014 (r351487) @@ -2,7 +2,7 @@ PORTNAME= bind PORTVERSION= 9.8.7 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= dns net ipv6 MASTER_SITES= ${MASTER_SITE_ISC} MASTER_SITE_SUBDIR= bind9/${ISCVERSION} Modified: head/dns/bind98/files/named.in ============================================================================== --- head/dns/bind98/files/named.in Thu Apr 17 16:43:31 2014 (r351486) +++ head/dns/bind98/files/named.in Thu Apr 17 16:43:48 2014 (r351487) @@ -19,7 +19,7 @@ extra_commands=reload start_precmd=named_prestart start_postcmd=named_poststart -reload_cmd="${command%/named}/rndc reload" +reload_cmd=named_reload stop_cmd=named_stop named_enable=${named_enable:-"NO"} # Run named, the DNS server (or NO). @@ -43,6 +43,13 @@ named_poststart() fi } +named_reload() +{ + # This is a one line function, but ${command} is not defined early + # enough to be there when the reload_cmd variable is defined up there. + ${command%/named}/rndc reload +} + find_pidfile() { if get_pidfile_from_conf pid-file $named_conf; then Modified: head/dns/bind99/Makefile ============================================================================== --- head/dns/bind99/Makefile Thu Apr 17 16:43:31 2014 (r351486) +++ head/dns/bind99/Makefile Thu Apr 17 16:43:48 2014 (r351487) @@ -2,7 +2,7 @@ PORTNAME= bind PORTVERSION= 9.9.5 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= dns net ipv6 MASTER_SITES= ${MASTER_SITE_ISC} MASTER_SITE_SUBDIR= bind9/${ISCVERSION} Modified: head/dns/bind99/files/named.in ============================================================================== --- head/dns/bind99/files/named.in Thu Apr 17 16:43:31 2014 (r351486) +++ head/dns/bind99/files/named.in Thu Apr 17 16:43:48 2014 (r351487) @@ -19,7 +19,7 @@ extra_commands=reload start_precmd=named_prestart start_postcmd=named_poststart -reload_cmd="${command%/named}/rndc reload" +reload_cmd=named_reload stop_cmd=named_stop named_enable=${named_enable:-"NO"} # Run named, the DNS server (or NO). @@ -43,6 +43,13 @@ named_poststart() fi } +named_reload() +{ + # This is a one line function, but ${command} is not defined early + # enough to be there when the reload_cmd variable is defined up there. + ${command%/named}/rndc reload +} + find_pidfile() { if get_pidfile_from_conf pid-file $named_conf; then