summaryrefslogtreecommitdiff
path: root/dns/bind99
diff options
context:
space:
mode:
Diffstat (limited to 'dns/bind99')
-rw-r--r--dns/bind99/Makefile2
-rw-r--r--dns/bind99/files/patch-bin_named_include_named_globals.h13
2 files changed, 14 insertions, 1 deletions
diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile
index 0786e2711053..0f002dbf466a 100644
--- a/dns/bind99/Makefile
+++ b/dns/bind99/Makefile
@@ -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
diff --git a/dns/bind99/files/patch-bin_named_include_named_globals.h b/dns/bind99/files/patch-bin_named_include_named_globals.h
new file mode 100644
index 000000000000..d7b6517e3423
--- /dev/null
+++ b/dns/bind99/files/patch-bin_named_include_named_globals.h
@@ -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");