Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 473400 | Differences between
and this patch

Collapse All | Expand All

(-)a/net-dns/bind-tools/bind-tools-9.9.2.ebuild (-17 / +21 lines)
Lines 18-24 SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz" Link Here
18
LICENSE="ISC BSD BSD-2 HPND JNIC RSA openssl"
18
LICENSE="ISC BSD BSD-2 HPND JNIC RSA openssl"
19
SLOT="0"
19
SLOT="0"
20
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
20
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
21
IUSE="doc gssapi idn ipv6 readline ssl urandom xml"
21
IUSE="doc +dig dnssec gssapi idn ipv6 nsupdate readline ssl urandom xml"
22
# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
22
# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
23
23
24
DEPEND="ssl? ( dev-libs/openssl )
24
DEPEND="ssl? ( dev-libs/openssl )
Lines 75-103 src_compile() { Link Here
75
	local AR=$(tc-getAR)
75
	local AR=$(tc-getAR)
76
76
77
	emake AR=$AR -C lib/ || die "emake lib failed"
77
	emake AR=$AR -C lib/ || die "emake lib failed"
78
	emake AR=$AR -C bin/dig/ || die "emake bin/dig failed"
78
	use dig      && ( emake AR=$AR -C bin/dig/      || die "emake bin/dig failed"      )
79
	emake AR=$AR -C bin/nsupdate/ || die "emake bin/nsupdate failed"
79
	use nsupdate && ( emake AR=$AR -C bin/nsupdate/ || die "emake bin/nsupdate failed" )
80
	emake AR=$AR -C bin/dnssec/ || die "emake bin/dnssec failed"
80
	use dnssec   && ( emake AR=$AR -C bin/dnssec/   || die "emake bin/dnssec failed"   )
81
}
81
}
82
82
83
src_install() {
83
src_install() {
84
	dodoc README CHANGES FAQ
84
	dodoc README CHANGES FAQ
85
85
86
	cd "${S}"/bin/dig
86
	if use dig; then
87
	dobin dig host nslookup
87
		cd "${S}"/bin/dig
88
	doman {dig,host,nslookup}.1
88
		dobin dig host nslookup
89
		doman {dig,host,nslookup}.1
90
	fi
89
91
90
	cd "${S}"/bin/nsupdate
92
	if use nsupdate; then
91
	dobin nsupdate
93
		cd "${S}"/bin/nsupdate
92
	doman nsupdate.1
94
		dobin nsupdate
93
	if use doc; then
95
		doman nsupdate.1
94
		dohtml nsupdate.html
96
		use doc && dohtml nsupdate.html
95
	fi
97
	fi
96
98
97
	cd "${S}"/bin/dnssec
99
	if use dnssec; then
98
	dobin dnssec-keygen
100
		cd "${S}"/bin/dnssec
99
	doman dnssec-keygen.8
101
		for tool in dsfromkey keyfromlabel keygen revoke settime signzone verify; do
100
	if use doc; then
102
			dobin dnssec-${tool}
101
		dohtml dnssec-keygen.html
103
			doman dnssec-${tool}.8
104
			use doc && dohtml dnssec-${tool}.html
105
		done
102
	fi
106
	fi
103
}
107
}
(-)a/net-dns/bind-tools/metadata.xml (-1 / +4 lines)
Lines 6-13 Link Here
6
		<name>Christian Ruppert</name>
6
		<name>Christian Ruppert</name>
7
	</maintainer>
7
	</maintainer>
8
	<use>
8
	<use>
9
		<flag name="urandom">Use /dev/urandom instead of /dev/random</flag>
9
		<flag name="dig">Build dig tools (dig, nslookup, host)</flag>
10
		<flag name="dnssec">Build dnssec tools</flag>
11
		<flag name="nsupdate">Build nsupdate</flag>
10
		<flag name="gssapi">Enable gssapi support</flag>
12
		<flag name="gssapi">Enable gssapi support</flag>
13
		<flag name="urandom">Use /dev/urandom instead of /dev/random</flag>
11
	</use>
14
	</use>
12
	<longdescription>ISC's Bind DNS' server tools</longdescription>
15
	<longdescription>ISC's Bind DNS' server tools</longdescription>
13
</pkgmetadata>
16
</pkgmetadata>

Return to bug 473400