Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 6548
Collapse All | Expand All

(-)bind-9.2.1-r2.orig (-6 / +7 lines)
Lines 22-30 Link Here
22
	use ssl && myconf="${myconf} --with-openssl"
22
	use ssl && myconf="${myconf} --with-openssl"
23
	use ipv6 && myconf="${myconf} --enable-ipv6"
23
	use ipv6 && myconf="${myconf} --enable-ipv6"
24
24
25
	./configure \
25
	econf \
26
		--prefix=/usr \
27
		--host=${CHOST} \
28
		--sysconfdir=/etc/bind \
26
		--sysconfdir=/etc/bind \
29
		--localstatedir=/var \
27
		--localstatedir=/var \
30
		--enable-threads \
28
		--enable-threads \
Lines 37-43 Link Here
37
src_install() {
35
src_install() {
38
	make DESTDIR=${D} install || die "failed to install bind"
36
	make DESTDIR=${D} install || die "failed to install bind"
39
	
37
	
40
	for x in `grep -l -d recurse -e '/etc/named.conf' -e '/etc/rndc.conf' -e '/etc/rndc.key' ${D}/usr/man`; do
38
	for x in `grep -l -d recurse -e '/etc/named.conf' -e '/etc/rndc.conf' -e '/etc/rndc.key' ${D}/usr/share/man`; do
41
		cp ${x} ${x}.orig
39
		cp ${x} ${x}.orig
42
		sed -e 's:/etc/named.conf:/etc/bind/named.conf:g' \
40
		sed -e 's:/etc/named.conf:/etc/bind/named.conf:g' \
43
			-e 's:/etc/rndc.conf:/etc/bind/rndc.conf:g' \
41
			-e 's:/etc/rndc.conf:/etc/bind/rndc.conf:g' \
Lines 45-52 Link Here
45
		rm ${x}.orig
43
		rm ${x}.orig
46
	done
44
	done
47
	
45
	
48
	find ${D}/usr/man ! -name "*[1-8]gz" -type f -exec gzip -f "{}" \;
46
	find ${D}/usr/share/man ! -name "*[1-8]gz" -type f -exec gzip -9 -f "{}" \;
49
	insinto /usr/man/man5 ; doins ${FILESDIR}/named.conf.5.gz
47
	insinto /usr/share/man/man5 ; doins ${FILESDIR}/named.conf.5.gz
48
#	The doman function doesnt seem to do the right thing, see bug 6544
49
#	doman ${FILESDIR}/named.conf.5.gz 
50
	doman ${FILESDIR}/nslookup.8
50
	
51
	
51
	dodoc CHANGES COPYRIGHT FAQ README
52
	dodoc CHANGES COPYRIGHT FAQ README
52
	docinto misc ; dodoc doc/misc/*
53
	docinto misc ; dodoc doc/misc/*

Return to bug 6548