diff options
author | Kyle Manna <nitro@gentoo.org> | 2002-08-06 01:55:21 +0000 |
---|---|---|
committer | Kyle Manna <nitro@gentoo.org> | 2002-08-06 01:55:21 +0000 |
commit | 7959d8f773c8d875bb738e3f7cedbeeeba4e05ab (patch) | |
tree | 6215579498a42d95561d22f495d15de4dacbbe11 /net-dns/bind | |
parent | Added BIND chroot support. (diff) | |
download | gentoo-2-7959d8f773c8d875bb738e3f7cedbeeeba4e05ab.tar.gz gentoo-2-7959d8f773c8d875bb738e3f7cedbeeeba4e05ab.tar.bz2 gentoo-2-7959d8f773c8d875bb738e3f7cedbeeeba4e05ab.zip |
Added a sed for /etc/conf.d/named.
Diffstat (limited to 'net-dns/bind')
-rw-r--r-- | net-dns/bind/bind-9.2.1-r2.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net-dns/bind/bind-9.2.1-r2.ebuild b/net-dns/bind/bind-9.2.1-r2.ebuild index 168107e21889..5a9540a6ba52 100644 --- a/net-dns/bind/bind-9.2.1-r2.ebuild +++ b/net-dns/bind/bind-9.2.1-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.2.1-r2.ebuild,v 1.1 2002/08/06 01:41:26 nitro Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.2.1-r2.ebuild,v 1.2 2002/08/06 01:55:21 nitro Exp $ S=${WORKDIR}/${P} DESCRIPTION="BIND - Name Server" @@ -108,6 +108,11 @@ pkg_config() { chown named:named /chroot/dns chmod 700 /chroot/dns + cp /etc/conf.d/named /etc/conf.d/named.orig + sed -e 's:^#CHROOT="/chroot/dns"$:CHROOT="/chroot/dns":' \ + /etc/conf.d/named.orig > /etc/conf.d/named + rm -f /etc/conf.d/named.orig + einfo "Add the following to your root .bashrc or .bash_profile:" einfo "alias rndc='rndc -k /chroot/dns/etc/bind/rndc.key'" } |