diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2010-05-14 11:04:47 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2010-05-14 11:04:47 +0000 |
commit | 741d2ba1c43d57df17fbabf4661f3385cfa6085e (patch) | |
tree | 5c4356c18dd56b08db3ab20d9a109d2ca1e5be84 /net-dns | |
parent | Bug #319667: Disable the multi_repmgr tests in a different way. (diff) | |
download | gentoo-2-741d2ba1c43d57df17fbabf4661f3385cfa6085e.tar.gz gentoo-2-741d2ba1c43d57df17fbabf4661f3385cfa6085e.tar.bz2 gentoo-2-741d2ba1c43d57df17fbabf4661f3385cfa6085e.zip |
Fix permissions of /var/bind/sec. Add a comment to named.conf-r4.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/bind/ChangeLog | 6 | ||||
-rw-r--r-- | net-dns/bind/bind-9.7.0_p1.ebuild | 6 | ||||
-rw-r--r-- | net-dns/bind/files/named.conf-r4 | 10 |
3 files changed, 18 insertions, 4 deletions
diff --git a/net-dns/bind/ChangeLog b/net-dns/bind/ChangeLog index 4d9b7ad737b3..c7a4a56d49ac 100644 --- a/net-dns/bind/ChangeLog +++ b/net-dns/bind/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dns/bind # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.270 2010/05/13 15:28:54 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.271 2010/05/14 11:04:46 idl0r Exp $ + + 14 May 2010; Christian Ruppert <idl0r@gentoo.org> bind-9.7.0_p1.ebuild, + files/named.conf-r4: + Fix permissions of /var/bind/sec. Add a comment to named.conf-r4. 13 May 2010; Christian Ruppert <idl0r@gentoo.org> bind-9.7.0_p1.ebuild: Fix geoip patching. diff --git a/net-dns/bind/bind-9.7.0_p1.ebuild b/net-dns/bind/bind-9.7.0_p1.ebuild index efad2fb9f0c9..3fa074d4e96c 100644 --- a/net-dns/bind/bind-9.7.0_p1.ebuild +++ b/net-dns/bind/bind-9.7.0_p1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.7.0_p1.ebuild,v 1.3 2010/05/13 15:28:54 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.7.0_p1.ebuild,v 1.4 2010/05/14 11:04:47 idl0r Exp $ EAPI="3" @@ -240,8 +240,8 @@ src_install() { fowners root:named /{etc,var}/bind /var/{run,log}/named /var/bind/{sec,pri} fowners root:named /var/bind/named.cache /var/bind/pri/{127,localhost}.zone /etc/bind/{bind.keys,named.conf} fperms 0640 /var/bind/named.cache /var/bind/pri/{127,localhost}.zone /etc/bind/{bind.keys,named.conf} - fperms 0750 /etc/bind /var/bind/{pri,sec} - fperms 0770 /var/{run,log}/named /var/bind + fperms 0750 /etc/bind /var/bind/pri + fperms 0770 /var/{run,log}/named /var/bind/{,sec} } pkg_postinst() { diff --git a/net-dns/bind/files/named.conf-r4 b/net-dns/bind/files/named.conf-r4 index 58df93945a4c..9c41c68c62d1 100644 --- a/net-dns/bind/files/named.conf-r4 +++ b/net-dns/bind/files/named.conf-r4 @@ -134,6 +134,16 @@ view "internal" in { allow-update { none; }; notify no; }; + + /* + * NOTE: All zone blocks for "public" view should be listed here in "internal" + * too! Otherwise you'll have trouble to resolv the public zones properly. + * That affects all hosts from the "trusted" ACL. + * A separate config, which contains all zone blocks, might be better in + * this case. Then you can simply add: + * include "/etc/bind/zones.cfg"; + * for "internal" and "public" view. + */ }; view "public" in { |