From owner-svn-ports-head@freebsd.org Thu Nov 23 13:55:32 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB745DED593; Thu, 23 Nov 2017 13:55:32 +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 mx1.freebsd.org (Postfix) with ESMTPS id C319C6BE07; Thu, 23 Nov 2017 13:55:32 +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 vANDtVf2024507; Thu, 23 Nov 2017 13:55:31 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vANDtUww024497; Thu, 23 Nov 2017 13:55:30 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201711231355.vANDtUww024497@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 23 Nov 2017 13:55:30 +0000 (UTC) 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 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: 454760 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: Thu, 23 Nov 2017 13:55:33 -0000 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