diff options
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/bind/ChangeLog | 6 | ||||
-rw-r--r-- | net-dns/bind/bind-9.5.1.ebuild | 18 | ||||
-rw-r--r-- | net-dns/bind/bind-9.6.0.ebuild | 18 |
3 files changed, 35 insertions, 7 deletions
diff --git a/net-dns/bind/ChangeLog b/net-dns/bind/ChangeLog index a69815f6c6f8..6a381ab43aab 100644 --- a/net-dns/bind/ChangeLog +++ b/net-dns/bind/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dns/bind # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.216 2008/12/26 22:38:25 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.217 2008/12/28 09:52:57 dertobi123 Exp $ + + 28 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org> bind-9.5.1.ebuild, + bind-9.6.0.ebuild: + Now fix #247979 for real. *bind-9.6.0 (26 Dec 2008) diff --git a/net-dns/bind/bind-9.5.1.ebuild b/net-dns/bind/bind-9.5.1.ebuild index d599b7038d56..f6f730f0bb95 100644 --- a/net-dns/bind/bind-9.5.1.ebuild +++ b/net-dns/bind/bind-9.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.5.1.ebuild,v 1.1 2008/12/26 22:27:30 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.5.1.ebuild,v 1.2 2008/12/28 09:52:57 dertobi123 Exp $ inherit eutils libtool autotools toolchain-funcs flag-o-matic @@ -273,8 +273,20 @@ pkg_config() { cp -R /var/bind ${CHROOT}/var/ chown -R named:named ${CHROOT}/var/ mknod ${CHROOT}/dev/zero c 1 5 - mknod ${CHROOT}/dev/random c 1 8 - chmod 666 ${CHROOT}/dev/{random,zero} + chmod 666 ${CHROOT}/dev/zero + if use urandom; then + mknod ${CHROOT}/dev/urandom c 1 9 + chmod 666 ${CHROOT}/dev/urandom + else + mknod ${CHROOT}/dev/random c 1 8 + chmod 666 ${CHROOT}/dev/random + fi + echo "none ${CHROOT}/proc proc defaults 0 0" >>/etc/fstab + mkdir ${CHROOT}/proc + mount -t proc none ${CHROOT}/proc + if [ -f '/etc/syslog-ng/syslog-ng.conf' ]; then + echo "source jail { unix-stream(\"${CHROOT}/dev/log\"); };" >>/etc/syslog-ng/syslog-ng.conf + fi chown root:named ${CHROOT} chmod 0750 ${CHROOT} diff --git a/net-dns/bind/bind-9.6.0.ebuild b/net-dns/bind/bind-9.6.0.ebuild index eb8e4aa45023..0c628f971850 100644 --- a/net-dns/bind/bind-9.6.0.ebuild +++ b/net-dns/bind/bind-9.6.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.6.0.ebuild,v 1.1 2008/12/26 22:38:25 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.6.0.ebuild,v 1.2 2008/12/28 09:52:57 dertobi123 Exp $ inherit eutils libtool autotools toolchain-funcs flag-o-matic @@ -273,8 +273,20 @@ pkg_config() { cp -R /var/bind ${CHROOT}/var/ chown -R named:named ${CHROOT}/var/ mknod ${CHROOT}/dev/zero c 1 5 - mknod ${CHROOT}/dev/random c 1 8 - chmod 666 ${CHROOT}/dev/{random,zero} + chmod 666 ${CHROOT}/dev/zero + if use urandom; then + mknod ${CHROOT}/dev/urandom c 1 9 + chmod 666 ${CHROOT}/dev/urandom + else + mknod ${CHROOT}/dev/random c 1 8 + chmod 666 ${CHROOT}/dev/random + fi + echo "none ${CHROOT}/proc proc defaults 0 0" >>/etc/fstab + mkdir ${CHROOT}/proc + mount -t proc none ${CHROOT}/proc + if [ -f '/etc/syslog-ng/syslog-ng.conf' ]; then + echo "source jail { unix-stream(\"${CHROOT}/dev/log\"); };" >>/etc/syslog-ng/syslog-ng.conf + fi chown root:named ${CHROOT} chmod 0750 ${CHROOT} |