From owner-svn-ports-head@freebsd.org Wed Feb 7 14:29:10 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4365F0A03B; Wed, 7 Feb 2018 14:29:10 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63A4B6B84B; Wed, 7 Feb 2018 14:29:10 +0000 (UTC) (envelope-from mat@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A0A327FBC; Wed, 7 Feb 2018 14:29:10 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w17ETAfH023113; Wed, 7 Feb 2018 14:29:10 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w17ET9L3023102; Wed, 7 Feb 2018 14:29:09 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201802071429.w17ET9L3023102@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 7 Feb 2018 14:29:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461145 - in head/dns: bind9-devel bind9-devel/files bind910 bind910/files bind911 bind911/files bind912 bind912/files bind99 bind99/files X-SVN-Group: ports-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: in head/dns: bind9-devel bind9-devel/files bind910 bind910/files bind911 bind911/files bind912 bind912/files bind99 bind99/files X-SVN-Commit-Revision: 461145 X-SVN-Commit-Repository: ports 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.25 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: Wed, 07 Feb 2018 14:29:10 -0000 Author: mat Date: Wed Feb 7 14:29:08 2018 New Revision: 461145 URL: https://svnweb.freebsd.org/changeset/ports/461145 Log: Teach named where its pid file should be by default, to be consistent with the default configuration, rc script, man pages... PR: 225687 Reported by: John W. O'Brien Sponsored by: Absolight Added: head/dns/bind9-devel/files/patch-bin_named_include_named_globals.h (contents, props changed) head/dns/bind910/files/patch-bin_named_include_named_globals.h (contents, props changed) head/dns/bind911/files/patch-bin_named_include_named_globals.h (contents, props changed) head/dns/bind912/files/patch-bin_named_include_named_globals.h (contents, props changed) head/dns/bind99/files/patch-bin_named_include_named_globals.h (contents, props changed) Modified: head/dns/bind9-devel/Makefile (contents, props changed) head/dns/bind910/Makefile (contents, props changed) head/dns/bind911/Makefile (contents, props changed) head/dns/bind912/Makefile (contents, props changed) head/dns/bind99/Makefile (contents, props changed) Modified: head/dns/bind9-devel/Makefile ============================================================================== --- head/dns/bind9-devel/Makefile Wed Feb 7 13:58:19 2018 (r461144) +++ head/dns/bind9-devel/Makefile Wed Feb 7 14:29:08 2018 (r461145) @@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc PORTREVISION= 0 .else # dns/bind9xx here -PORTREVISION= 1 +PORTREVISION= 2 .endif CATEGORIES= dns net ipv6 MASTER_SITES= LOCAL/mat/bind Added: head/dns/bind9-devel/files/patch-bin_named_include_named_globals.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/bind9-devel/files/patch-bin_named_include_named_globals.h Wed Feb 7 14:29:08 2018 (r461145) @@ -0,0 +1,13 @@ +We reference the pid file as being run/named/pid everywere else. + +--- bin/named/include/named/globals.h.orig 2018-01-17 06:56:09 UTC ++++ bin/named/include/named/globals.h +@@ -125,7 +125,7 @@ EXTERN isc_boolean_t named_g_forcelock + #if NAMED_RUN_PID_DIR + EXTERN const char * named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR + "/run/named/" +- "named.pid"); ++ "pid"); + #else + EXTERN const char * named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR + "/run/named.pid"); Modified: head/dns/bind910/Makefile ============================================================================== --- head/dns/bind910/Makefile Wed Feb 7 13:58:19 2018 (r461144) +++ head/dns/bind910/Makefile Wed Feb 7 14:29:08 2018 (r461145) @@ -3,7 +3,7 @@ PORTNAME= bind PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} PKGNAMESUFFIX= 910 Added: head/dns/bind910/files/patch-bin_named_include_named_globals.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/bind910/files/patch-bin_named_include_named_globals.h Wed Feb 7 14:29:08 2018 (r461145) @@ -0,0 +1,13 @@ +We reference the pid file as being run/named/pid everywere else. + +--- bin/named/include/named/globals.h.orig 2018-01-04 05:35:08 UTC ++++ bin/named/include/named/globals.h +@@ -136,7 +136,7 @@ EXTERN const char * ns_g_defaultsession + #if NS_RUN_PID_DIR + EXTERN const char * ns_g_defaultpidfile INIT(NS_LOCALSTATEDIR + "/run/named/" +- "named.pid"); ++ "pid"); + EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR + "/run/lwresd/" + "lwresd.pid"); Modified: head/dns/bind911/Makefile ============================================================================== --- head/dns/bind911/Makefile Wed Feb 7 13:58:19 2018 (r461144) +++ head/dns/bind911/Makefile Wed Feb 7 14:29:08 2018 (r461145) @@ -3,7 +3,7 @@ PORTNAME= bind PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} PKGNAMESUFFIX= 911 Added: head/dns/bind911/files/patch-bin_named_include_named_globals.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/bind911/files/patch-bin_named_include_named_globals.h Wed Feb 7 14:29:08 2018 (r461145) @@ -0,0 +1,13 @@ +We reference the pid file as being run/named/pid everywere else. + +--- bin/named/include/named/globals.h.orig 2018-01-04 05:28:11 UTC ++++ bin/named/include/named/globals.h +@@ -135,7 +135,7 @@ EXTERN isc_boolean_t ns_g_forcelock IN + #if NS_RUN_PID_DIR + EXTERN const char * ns_g_defaultpidfile INIT(NS_LOCALSTATEDIR + "/run/named/" +- "named.pid"); ++ "pid"); + EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR + "/run/lwresd/" + "lwresd.pid"); Modified: head/dns/bind912/Makefile ============================================================================== --- head/dns/bind912/Makefile Wed Feb 7 13:58:19 2018 (r461144) +++ head/dns/bind912/Makefile Wed Feb 7 14:29:08 2018 (r461145) @@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc PORTREVISION= 0 .else # dns/bind912 here -PORTREVISION= 2 +PORTREVISION= 3 .endif CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} Added: head/dns/bind912/files/patch-bin_named_include_named_globals.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/bind912/files/patch-bin_named_include_named_globals.h Wed Feb 7 14:29:08 2018 (r461145) @@ -0,0 +1,13 @@ +We reference the pid file as being run/named/pid everywere else. + +--- bin/named/include/named/globals.h.orig 2018-01-17 06:56:09 UTC ++++ bin/named/include/named/globals.h +@@ -125,7 +125,7 @@ EXTERN isc_boolean_t named_g_forcelock + #if NAMED_RUN_PID_DIR + EXTERN const char * named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR + "/run/named/" +- "named.pid"); ++ "pid"); + #else + EXTERN const char * named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR + "/run/named.pid"); Modified: head/dns/bind99/Makefile ============================================================================== --- head/dns/bind99/Makefile Wed Feb 7 13:58:19 2018 (r461144) +++ head/dns/bind99/Makefile Wed Feb 7 14:29:08 2018 (r461145) @@ -3,7 +3,7 @@ PORTNAME= bind PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} PKGNAMESUFFIX= 99 Added: head/dns/bind99/files/patch-bin_named_include_named_globals.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/bind99/files/patch-bin_named_include_named_globals.h Wed Feb 7 14:29:08 2018 (r461145) @@ -0,0 +1,13 @@ +We reference the pid file as being run/named/pid everywere else. + +--- bin/named/include/named/globals.h.orig 2018-01-04 05:41:15 UTC ++++ bin/named/include/named/globals.h +@@ -134,7 +134,7 @@ EXTERN const char * ns_g_defaultsession + #if NS_RUN_PID_DIR + EXTERN const char * ns_g_defaultpidfile INIT(NS_LOCALSTATEDIR + "/run/named/" +- "named.pid"); ++ "pid"); + EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR + "/run/lwresd/" + "lwresd.pid");