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

(-)i/net-dns/bind-tools/bind-tools-9.9.4.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:0 )
24
DEPEND="ssl? ( dev-libs/openssl:0 )
Lines 76-104 src_compile() { Link Here
76
	local AR=$(tc-getAR)
76
	local AR=$(tc-getAR)
77
77
78
	emake AR=$AR -C lib/ || die "emake lib failed"
78
	emake AR=$AR -C lib/ || die "emake lib failed"
79
	emake AR=$AR -C bin/dig/ || die "emake bin/dig failed"
79
	use dig      && ( emake AR=$AR -C bin/dig/      || die "emake bin/dig failed"      )
80
	emake AR=$AR -C bin/nsupdate/ || die "emake bin/nsupdate failed"
80
	use nsupdate && ( emake AR=$AR -C bin/nsupdate/ || die "emake bin/nsupdate failed" )
81
	emake AR=$AR -C bin/dnssec/ || die "emake bin/dnssec failed"
81
	use dnssec   && ( emake AR=$AR -C bin/dnssec/   || die "emake bin/dnssec failed"   )
82
}
82
}
83
83
84
src_install() {
84
src_install() {
85
	dodoc README CHANGES FAQ
85
	dodoc README CHANGES FAQ
86
86
87
	cd "${S}"/bin/dig
87
	if use dig; then
88
	dobin dig host nslookup
88
		cd "${S}"/bin/dig
89
	doman {dig,host,nslookup}.1
89
		dobin dig host nslookup
90
		doman {dig,host,nslookup}.1
91
	fi
90
92
91
	cd "${S}"/bin/nsupdate
93
	if use nsupdate; then
92
	dobin nsupdate
94
		cd "${S}"/bin/nsupdate
93
	doman nsupdate.1
95
		dobin nsupdate
94
	if use doc; then
96
		doman nsupdate.1
95
		dohtml nsupdate.html
97
		use doc && dohtml nsupdate.html
96
	fi
98
	fi
97
99
98
	cd "${S}"/bin/dnssec
100
	if use dnssec; then
99
	dobin dnssec-keygen
101
		cd "${S}"/bin/dnssec
100
	doman dnssec-keygen.8
102
		for tool in dsfromkey keyfromlabel keygen revoke settime signzone verify; do
101
	if use doc; then
103
			dobin dnssec-${tool}
102
		dohtml dnssec-keygen.html
104
			doman dnssec-${tool}.8
105
			use doc && dohtml dnssec-${tool}.html
106
		done
103
	fi
107
	fi
104
}
108
}

Return to bug 473400