aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-11-23 13:55:30 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-11-23 13:55:30 +0000
commitd12663fa089520c35394ab226e101f4c53db716b (patch)
tree0fa2bff0103633379f271c4ca0fca669caa5c6b7 /dns
parentf3d908bb64df1b8b639f69014fa04b27f2bf0f27 (diff)
downloadports-d12663fa089520c35394ab226e101f4c53db716b.tar.gz
ports-d12663fa089520c35394ab226e101f4c53db716b.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/bind9-devel/Makefile2
-rw-r--r--dns/bind9-devel/files/named.in9
-rw-r--r--dns/bind910/Makefile2
-rw-r--r--dns/bind910/files/named.in9
-rw-r--r--dns/bind911/Makefile4
-rw-r--r--dns/bind911/files/named.in9
-rw-r--r--dns/bind912/Makefile4
-rw-r--r--dns/bind912/files/named.in9
-rw-r--r--dns/bind99/Makefile2
-rw-r--r--dns/bind99/files/named.in9
10 files changed, 52 insertions, 7 deletions
diff --git a/dns/bind9-devel/Makefile b/dns/bind9-devel/Makefile
index 625b57102c78..2ff5149587dd 100644
--- a/dns/bind9-devel/Makefile
+++ b/dns/bind9-devel/Makefile
@@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
PORTREVISION= 0
.else
# dns/bind9xx here
-PORTREVISION= 0
+PORTREVISION= 1
.endif
CATEGORIES= dns net ipv6
MASTER_SITES= LOCAL/mat/bind
diff --git a/dns/bind9-devel/files/named.in b/dns/bind9-devel/files/named.in
index bf5ee86465f2..37f7113fb192 100644
--- a/dns/bind9-devel/files/named.in
+++ b/dns/bind9-devel/files/named.in
@@ -322,6 +322,15 @@ named_prestart()
if [ -n "${named_chrootdir}" ]; then
rc_flags="${rc_flags} -t ${named_chrootdir}"
checkyesno named_chroot_autoupdate && chroot_autoupdate
+
+ case "${altlog_proglist}" in
+ named)
+ ;;
+ *)
+ warn 'Using chroot without setting altlog_proglist, logging may not'
+ warn 'work correctly. Run sysrc altlog_proglist+=named'
+ ;;
+ esac
else
named_symlink_enable=NO
fi
diff --git a/dns/bind910/Makefile b/dns/bind910/Makefile
index 9b65f8e26852..8efe2dabacf2 100644
--- a/dns/bind910/Makefile
+++ b/dns/bind910/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bind
PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION}
PKGNAMESUFFIX= 910
diff --git a/dns/bind910/files/named.in b/dns/bind910/files/named.in
index bf5ee86465f2..37f7113fb192 100644
--- a/dns/bind910/files/named.in
+++ b/dns/bind910/files/named.in
@@ -322,6 +322,15 @@ named_prestart()
if [ -n "${named_chrootdir}" ]; then
rc_flags="${rc_flags} -t ${named_chrootdir}"
checkyesno named_chroot_autoupdate && chroot_autoupdate
+
+ case "${altlog_proglist}" in
+ named)
+ ;;
+ *)
+ warn 'Using chroot without setting altlog_proglist, logging may not'
+ warn 'work correctly. Run sysrc altlog_proglist+=named'
+ ;;
+ esac
else
named_symlink_enable=NO
fi
diff --git a/dns/bind911/Makefile b/dns/bind911/Makefile
index 9963ed5ac013..8aee129c9feb 100644
--- a/dns/bind911/Makefile
+++ b/dns/bind911/Makefile
@@ -7,8 +7,8 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
# dns/bind-tools here
PORTREVISION= 1
.else
-# dns/bind9xx here
-PORTREVISION= 3
+# dns/bind911 here
+PORTREVISION= 4
.endif
CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION}
diff --git a/dns/bind911/files/named.in b/dns/bind911/files/named.in
index bf5ee86465f2..37f7113fb192 100644
--- a/dns/bind911/files/named.in
+++ b/dns/bind911/files/named.in
@@ -322,6 +322,15 @@ named_prestart()
if [ -n "${named_chrootdir}" ]; then
rc_flags="${rc_flags} -t ${named_chrootdir}"
checkyesno named_chroot_autoupdate && chroot_autoupdate
+
+ case "${altlog_proglist}" in
+ named)
+ ;;
+ *)
+ warn 'Using chroot without setting altlog_proglist, logging may not'
+ warn 'work correctly. Run sysrc altlog_proglist+=named'
+ ;;
+ esac
else
named_symlink_enable=NO
fi
diff --git a/dns/bind912/Makefile b/dns/bind912/Makefile
index bccafe2a3ada..9847314f93a6 100644
--- a/dns/bind912/Makefile
+++ b/dns/bind912/Makefile
@@ -7,8 +7,8 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
# dns/bind-tools here
PORTREVISION= 0
.else
-# dns/bind9xx here
-PORTREVISION= 0
+# dns/bind912 here
+PORTREVISION= 1
.endif
CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION}
diff --git a/dns/bind912/files/named.in b/dns/bind912/files/named.in
index bf5ee86465f2..37f7113fb192 100644
--- a/dns/bind912/files/named.in
+++ b/dns/bind912/files/named.in
@@ -322,6 +322,15 @@ named_prestart()
if [ -n "${named_chrootdir}" ]; then
rc_flags="${rc_flags} -t ${named_chrootdir}"
checkyesno named_chroot_autoupdate && chroot_autoupdate
+
+ case "${altlog_proglist}" in
+ named)
+ ;;
+ *)
+ warn 'Using chroot without setting altlog_proglist, logging may not'
+ warn 'work correctly. Run sysrc altlog_proglist+=named'
+ ;;
+ esac
else
named_symlink_enable=NO
fi
diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile
index 5490c9b5a352..a0bdacac2bbe 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= 3
+PORTREVISION= 4
CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION}
PKGNAMESUFFIX= 99
diff --git a/dns/bind99/files/named.in b/dns/bind99/files/named.in
index c897252cc2ad..1e161dd21a60 100644
--- a/dns/bind99/files/named.in
+++ b/dns/bind99/files/named.in
@@ -310,6 +310,15 @@ named_prestart()
if [ -n "${named_chrootdir}" ]; then
rc_flags="${rc_flags} -t ${named_chrootdir}"
checkyesno named_chroot_autoupdate && chroot_autoupdate
+
+ case "${altlog_proglist}" in
+ named)
+ ;;
+ *)
+ warn 'Using chroot without setting altlog_proglist, logging may not'
+ warn 'work correctly. Run sysrc altlog_proglist+=named'
+ ;;
+ esac
else
named_symlink_enable=NO
fi