Date: Wed, 7 Feb 2018 14:29:09 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> 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 Message-ID: <201802071429.w17ET9L3023102@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802071429.w17ET9L3023102>