Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2017 13:55:30 +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: r454760 - in head/dns: bind9-devel bind9-devel/files bind910 bind910/files bind911 bind911/files bind912 bind912/files bind99 bind99/files
Message-ID:  <201711231355.vANDtUww024497@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Nov 23 13:55:30 2017
New Revision: 454760
URL: https://svnweb.freebsd.org/changeset/ports/454760

Log:
  Add an extra check to make sure syslogd is correctly configured when
  using chroot.
  
  Sponsored by:	Absolight

Modified:
  head/dns/bind9-devel/Makefile   (contents, props changed)
  head/dns/bind9-devel/files/named.in
  head/dns/bind910/Makefile   (contents, props changed)
  head/dns/bind910/files/named.in
  head/dns/bind911/Makefile   (contents, props changed)
  head/dns/bind911/files/named.in
  head/dns/bind912/Makefile   (contents, props changed)
  head/dns/bind912/files/named.in
  head/dns/bind99/Makefile   (contents, props changed)
  head/dns/bind99/files/named.in

Modified: head/dns/bind9-devel/Makefile
==============================================================================
--- head/dns/bind9-devel/Makefile	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind9-devel/Makefile	Thu Nov 23 13:55:30 2017	(r454760)
@@ -8,7 +8,7 @@ PORTVERSION=	${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc
 PORTREVISION=	0
 .else
 # dns/bind9xx here
-PORTREVISION=	0
+PORTREVISION=	1
 .endif
 CATEGORIES=	dns net ipv6
 MASTER_SITES=	LOCAL/mat/bind

Modified: head/dns/bind9-devel/files/named.in
==============================================================================
--- head/dns/bind9-devel/files/named.in	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind9-devel/files/named.in	Thu Nov 23 13:55:30 2017	(r454760)
@@ -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

Modified: head/dns/bind910/Makefile
==============================================================================
--- head/dns/bind910/Makefile	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind910/Makefile	Thu Nov 23 13:55:30 2017	(r454760)
@@ -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

Modified: head/dns/bind910/files/named.in
==============================================================================
--- head/dns/bind910/files/named.in	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind910/files/named.in	Thu Nov 23 13:55:30 2017	(r454760)
@@ -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

Modified: head/dns/bind911/Makefile
==============================================================================
--- head/dns/bind911/Makefile	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind911/Makefile	Thu Nov 23 13:55:30 2017	(r454760)
@@ -7,8 +7,8 @@ PORTVERSION=	${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/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}

Modified: head/dns/bind911/files/named.in
==============================================================================
--- head/dns/bind911/files/named.in	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind911/files/named.in	Thu Nov 23 13:55:30 2017	(r454760)
@@ -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

Modified: head/dns/bind912/Makefile
==============================================================================
--- head/dns/bind912/Makefile	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind912/Makefile	Thu Nov 23 13:55:30 2017	(r454760)
@@ -7,8 +7,8 @@ PORTVERSION=	${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/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}

Modified: head/dns/bind912/files/named.in
==============================================================================
--- head/dns/bind912/files/named.in	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind912/files/named.in	Thu Nov 23 13:55:30 2017	(r454760)
@@ -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

Modified: head/dns/bind99/Makefile
==============================================================================
--- head/dns/bind99/Makefile	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind99/Makefile	Thu Nov 23 13:55:30 2017	(r454760)
@@ -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

Modified: head/dns/bind99/files/named.in
==============================================================================
--- head/dns/bind99/files/named.in	Thu Nov 23 13:30:11 2017	(r454759)
+++ head/dns/bind99/files/named.in	Thu Nov 23 13:55:30 2017	(r454760)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711231355.vANDtUww024497>