summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2010-11-11 18:18:46 +0000
committerChristian Ruppert <idl0r@gentoo.org>2010-11-11 18:18:46 +0000
commit3462c1679d737d7eb385c5a8cde3547d47a90bfd (patch)
treefcabf23b55eb95acce8118fb3d2656aac89e2968 /net-dns
parentFix for implict declarations and underlinking (diff)
downloadhistorical-3462c1679d737d7eb385c5a8cde3547d47a90bfd.tar.gz
historical-3462c1679d737d7eb385c5a8cde3547d47a90bfd.tar.bz2
historical-3462c1679d737d7eb385c5a8cde3547d47a90bfd.zip
Fix HOMEPAGE. QA fixes. Revision bump, added a definition to enable the sigchase feature, bug 344029. Merged my latest changes into bind-tools-9.4.3_p5-r1.
Package-Manager: portage-2.2.0_alpha4/cvs/Linux x86_64
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind-tools/ChangeLog15
-rw-r--r--net-dns/bind-tools/Manifest21
-rw-r--r--net-dns/bind-tools/bind-tools-9.4.3_p5-r1.ebuild99
-rw-r--r--net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild9
-rw-r--r--net-dns/bind-tools/bind-tools-9.6.2_p2-r1.ebuild101
-rw-r--r--net-dns/bind-tools/bind-tools-9.7.1-r1.ebuild (renamed from net-dns/bind-tools/bind-tools-9.7.2_p2.ebuild)8
-rw-r--r--net-dns/bind-tools/bind-tools-9.7.2_p2-r1.ebuild98
7 files changed, 336 insertions, 15 deletions
diff --git a/net-dns/bind-tools/ChangeLog b/net-dns/bind-tools/ChangeLog
index 3324ef7d03a3..a35c6f9a3e90 100644
--- a/net-dns/bind-tools/ChangeLog
+++ b/net-dns/bind-tools/ChangeLog
@@ -1,6 +1,19 @@
# ChangeLog for net-dns/bind-tools
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.169 2010/11/06 17:47:46 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.170 2010/11/11 18:18:46 idl0r Exp $
+
+*bind-tools-9.7.2_p2-r1 (11 Nov 2010)
+*bind-tools-9.7.1-r1 (11 Nov 2010)
+*bind-tools-9.6.2_p2-r1 (11 Nov 2010)
+*bind-tools-9.4.3_p5-r1 (11 Nov 2010)
+
+ 11 Nov 2010; Christian Ruppert <idl0r@gentoo.org> bind-tools-9.4.3_p5.ebuild,
+ +bind-tools-9.4.3_p5-r1.ebuild, +bind-tools-9.6.2_p2-r1.ebuild,
+ +bind-tools-9.7.1-r1.ebuild, -bind-tools-9.7.2_p2.ebuild,
+ +bind-tools-9.7.2_p2-r1.ebuild:
+ Fix HOMEPAGE. QA fixes. Revision bump, added a definition to enable the
+ sigchase feature, bug 344029. Merged my latest changes into
+ bind-tools-9.4.3_p5-r1.
06 Nov 2010; Markus Meier <maekke@gentoo.org> bind-tools-9.7.1.ebuild:
arm stable, bug #337638
diff --git a/net-dns/bind-tools/Manifest b/net-dns/bind-tools/Manifest
index a044c05658fd..7395a1834043 100644
--- a/net-dns/bind-tools/Manifest
+++ b/net-dns/bind-tools/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX bind-tools-9.5.0_p1-lwconfig.patch 1856 RMD160 c14e44da385b69d80e0635f56a3d3a3eda7471d9 SHA1 9297301e6b43d5887b3d40b7a97c1ee6c015cd38 SHA256 5e39cd20da4f2b3bf5ee352d73249c105de1e182c595afb20a15e950f2f88f02
AUX bind-tools-9.6.1-parallel.patch 386 RMD160 a48bdcf7fe020e55c64a692852b6ca71849d6a1c SHA1 cfbf5b9b9bf24cb564eef60716cfa19a89c05c9a SHA256 bc4d39f01190e890590a9841ae682bc68062a1202f67e649a90712ab19f89428
@@ -8,16 +8,23 @@ DIST bind-9.4.3-P5.tar.gz 6447497 RMD160 680146e4120aaa89f2899d4205c17fee5e9e4aa
DIST bind-9.6.2-P2.tar.gz 6543309 RMD160 0706aa4f4f6cd4927d2e8ff72d5fb8a91be94fa9 SHA1 fce8067d3ff03366d5ee305adf941b5c41e41d07 SHA256 233404ea08c4880eb867ee4e1084d96cff748a2bdd8857014203bef511f17e64
DIST bind-9.7.1.tar.gz 7547503 RMD160 eb57f77ed9afc3481e698668c3a54c254829d8a4 SHA1 e2540c02b8979b5c8a7303e5a0081c00f9cee7ae SHA256 0a720ea095f5d9fddf76571e3f39ec07f0300e1f0970330f74d340e2f8bea8c8
DIST bind-9.7.2-P2.tar.gz 7573857 RMD160 dcc8bf34d0e72c53257d9ac61f88fd0f3f039672 SHA1 ad143fa002d16352648c651ac12471258971a0d1 SHA256 e6d5938184066fc793c28ff975e09e9721116aede2a2d6d93b1be5e8654a5c8a
-EBUILD bind-tools-9.4.3_p5.ebuild 2083 RMD160 b1f335b764b8197ca19c5415b36350761ad5d25b SHA1 f6dc623e7a5da2536e128aa5de5aea3ede110ca8 SHA256 1f985a6281d652d2b01a5a5275501672d103183d572d2cf918554da1bd69160f
+EBUILD bind-tools-9.4.3_p5-r1.ebuild 2183 RMD160 f8087763ada9005deb23854486552b53d996e7f5 SHA1 798ac70acd921f8206687250ce0ef91b364d6b08 SHA256 a4781f7573f20f2d15c209e334bd0273eeeca61d86dfb8b49b132c12f56d5e93
+EBUILD bind-tools-9.4.3_p5.ebuild 2096 RMD160 2c54b7940d4bbaf5dd430f4ee7a1c6926e15add3 SHA1 2f17a2910652ef5e75e0a2e37804e363806775fa SHA256 875f4596af45ca41867e6c0692c5c13f787a88668bb1b2a27201f86887d41876
+EBUILD bind-tools-9.6.2_p2-r1.ebuild 2242 RMD160 432f746d6ad651690e6ea58871f9d47e8ae07aad SHA1 0ad338014ec48ad435ca6edbe565dcfcd058dfb6 SHA256 33cc1ce78b26ccfdc12063177fc9048bd304443bd6307a8e94b54432a4d99ef4
EBUILD bind-tools-9.6.2_p2.ebuild 2067 RMD160 8abe75f05da7858214a476c6405606e9e99fb4b4 SHA1 107edef531c02adbb9413bd131a3a5c3beefac5c SHA256 b74af3e167cf7f18c206c5e7227f242ed9f29696a88b15f77b60a2cdef87c8c6
+EBUILD bind-tools-9.7.1-r1.ebuild 2162 RMD160 cc18070d4caacc249c8b9b45bfe07189bb4e7cee SHA1 8709a91bc52ee346a33fe64facb92f2a120ffa84 SHA256 a5500894d0fde5a3091ff24c99e33fb10b0ca7afbc2095f8303fb29cc86af5d1
EBUILD bind-tools-9.7.1.ebuild 2092 RMD160 145d7dc9d30ccebcc294873d1af63445ceb19602 SHA1 7a0861c4f3b7ce90d922405242771b182e67db2d SHA256 50e1ee09aa372dce014453fd9078dd46b54f18b1426edb735dfe61396a4c02e9
-EBUILD bind-tools-9.7.2_p2.ebuild 2101 RMD160 b20f41ac48add8bd0d27fb5bcbbc2eb21490ceac SHA1 f7e4d59cea03e700aeffb1c7bc25e2e3e63200e0 SHA256 984dcc7f809a357e479777b46a3b21a5a93813444a3b963ba6620af70b290c0c
-MISC ChangeLog 24369 RMD160 ababcb61f62e9f9359a6475fea8186ddaf9d2bb8 SHA1 48712b1076132a21ba2ccb42a57607e194fd2831 SHA256 7fdd9a2b7402d5180a2342253eaaf8bc25a590b74c0fe814c68d888b4a214e82
+EBUILD bind-tools-9.7.2_p2-r1.ebuild 2165 RMD160 4610a2b843b2d8139b39462e80e69c3ccea4d2be SHA1 66e6a40823105feec3af349baf90ca08e5df597e SHA256 7585bdf3fa8cb431ed1efc90167b1b862f750b3e6933c69ab5d6d56f840f5fcc
+MISC ChangeLog 24921 RMD160 9a4173ba8e59784a7c850dbed263f23edea20455 SHA1 a5fdc2a9e1b1e66914d7be489c50794d4b66da23 SHA256 8f08dcda5b1f0b45924bf35ede69abfdfb252aca476824d42514aad634cb586e
MISC metadata.xml 404 RMD160 195b3b18d3e39f54752a237fb4cb5a3b81711693 SHA1 efcb09b5b1b373bfc8752ceb0e2d3c8a0ddf3406 SHA256 154ff8de1840636e48824951b20e2d2f3246f33f83abe2651f9d61ec5cd24d60
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkzVlQsACgkQkKaRLQcq0GLEZwCffVY9mo/YXZLwohIRZ7RleQWa
-0LoAnRlrQWXsbuEzl+8guF6AaUbajf6U
-=/O2n
+iQEcBAEBCAAGBQJM3DONAAoJEMOx0zmdw4Z1yG8IAJnQxuBxo5uU+9wDn0n94AXE
+ZWiOh/GRerhh/lPEHHqqlPB0pRUboHBwYWVvuNy8+oa8sZsooPSwoMhRBtBWbv9X
+2NPesmZYNXddsK0n4/Cw2Coup+B1nN77kr9xbiD9yVJtZ6zzhR/0CpII4eCftHjL
+KfUXX6RUIzMYgplvaPp0tO8L4UGnhgDGAxxSQHntu6k6cm+8z0VXLREqsR3qYCFH
+cfC+dxRj063QPBPbYxXLzVjTj6AMfvgPafm8WAclLIP1YM+KSoWe90BdRkOzRfqU
+JG5gxlHRH9BMYk5vWrl95mzMhv6Y5Jm9Rf1LcGUiZ7ZSPdOaFuilZemiiFS2sBo=
+=PPp8
-----END PGP SIGNATURE-----
diff --git a/net-dns/bind-tools/bind-tools-9.4.3_p5-r1.ebuild b/net-dns/bind-tools/bind-tools-9.4.3_p5-r1.ebuild
new file mode 100644
index 000000000000..ed185357c183
--- /dev/null
+++ b/net-dns/bind-tools/bind-tools-9.4.3_p5-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p5-r1.ebuild,v 1.1 2010/11/11 18:18:46 idl0r Exp $
+
+EAPI="3"
+
+inherit eutils autotools flag-o-matic
+
+MY_PN=${PN//-tools}
+MY_PV=${PV/_p/-P}
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
+HOMEPAGE="http://www.isc.org/software/bind"
+SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc idn ipv6 ssl urandom"
+
+DEPEND="ssl? ( dev-libs/openssl )
+ idn? (
+ || ( sys-libs/glibc dev-libs/libiconv )
+ net-dns/idnkit
+ )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # bug 122597
+ use idn && {
+ cd "${S}"/contrib/idn/idnkit-1.0-src
+ epatch "${FILESDIR}"/${PN}-configure.patch
+ cd "${S}"
+ }
+
+ # bug 231247
+ epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
+
+ # bug 278364 (workaround)
+ epatch "${FILESDIR}/${PN}-9.6.1-parallel.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=
+
+ has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
+
+ if use urandom; then
+ myconf="${myconf} --with-randomdev=/dev/urandom"
+ else
+ myconf="${myconf} --with-randomdev=/dev/random"
+ fi
+
+ # bug 344029
+ append-cppflags "-DDIG_SIGCHASE"
+
+ econf \
+ $(use_enable ipv6) \
+ $(use_with idn) \
+ $(use_with ssl openssl) \
+ ${myconf}
+
+ # bug #151839
+ echo '#undef SO_BSDCOMPAT' >> config.h
+}
+
+src_compile() {
+ emake -C lib/ || die "emake lib failed"
+ emake -C bin/dig/ || die "emake bin/dig failed"
+ emake -C bin/nsupdate/ || die "emake bin/nsupdate failed"
+ emake -C bin/dnssec/ || die "emake bin/dnssec failed"
+}
+
+src_install() {
+ dodoc README CHANGES FAQ || die
+
+ cd "${S}"/bin/dig
+ dobin dig host nslookup || die
+ doman {dig,host,nslookup}.1 || die
+
+ cd "${S}"/bin/nsupdate
+ dobin nsupdate || die
+ doman nsupdate.1 || die
+ if use doc; then
+ dohtml nsupdate.html || die
+ fi
+
+ cd "${S}"/bin/dnssec
+ dobin dnssec-keygen || die
+ doman dnssec-keygen.8 || die
+ if use doc; then
+ dohtml dnssec-keygen.html || die
+ fi
+}
diff --git a/net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild b/net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild
index 20f100e9c769..65928af97f3b 100644
--- a/net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild
+++ b/net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild,v 1.6 2010/09/28 15:00:46 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild,v 1.7 2010/11/11 18:18:46 idl0r Exp $
-inherit flag-o-matic
+inherit eutils flag-o-matic
MY_PN=${PN//-tools}
MY_PV=${PV/_p/-P}
MY_P="${MY_PN}-${MY_PV}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
-HOMEPAGE="http://www.isc.org/products/BIND/bind9.html"
+HOMEPAGE="http://www.isc.org/software/bind"
SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
LICENSE="as-is"
@@ -18,7 +18,8 @@ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="idn ipv6"
DEPEND="idn? ( || ( sys-libs/glibc dev-libs/libiconv )
- net-dns/idnkit )"
+ net-dns/idnkit )"
+RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A} || die
diff --git a/net-dns/bind-tools/bind-tools-9.6.2_p2-r1.ebuild b/net-dns/bind-tools/bind-tools-9.6.2_p2-r1.ebuild
new file mode 100644
index 000000000000..ecc9d53db5de
--- /dev/null
+++ b/net-dns/bind-tools/bind-tools-9.6.2_p2-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.6.2_p2-r1.ebuild,v 1.1 2010/11/11 18:18:46 idl0r Exp $
+
+EAPI="3"
+
+inherit eutils autotools flag-o-matic
+
+MY_PN=${PN//-tools}
+MY_PV=${PV/_p/-P}
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
+HOMEPAGE="http://www.isc.org/software/bind"
+SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc idn ipv6 ssl urandom xml"
+
+DEPEND="ssl? ( dev-libs/openssl )
+ xml? ( dev-libs/libxml2 )
+ idn? (
+ || ( sys-libs/glibc dev-libs/libiconv )
+ net-dns/idnkit
+ )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # bug 122597
+ use idn && {
+ cd "${S}"/contrib/idn/idnkit-1.0-src
+ epatch "${FILESDIR}"/${PN}-configure.patch
+ cd "${S}"
+ }
+
+ # bug 231247
+ epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
+
+ # bug 278364 (workaround)
+ epatch "${FILESDIR}/${PN}-9.6.1-parallel.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=
+
+ has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
+
+ if use urandom; then
+ myconf="${myconf} --with-randomdev=/dev/urandom"
+ else
+ myconf="${myconf} --with-randomdev=/dev/random"
+ fi
+
+ # bug 344029
+ append-cppflags "-DDIG_SIGCHASE"
+
+ econf \
+ $(use_enable ipv6) \
+ $(use_with idn) \
+ $(use_with ssl openssl) \
+ $(use_with xml libxml2) \
+ ${myconf}
+
+ # bug #151839
+ echo '#undef SO_BSDCOMPAT' >> config.h
+}
+
+src_compile() {
+ emake -C lib/ || die "emake lib failed"
+ emake -C bin/dig/ || die "emake bin/dig failed"
+ emake -C bin/nsupdate/ || die "emake bin/nsupdate failed"
+ emake -C bin/dnssec/ || die "emake bin/dnssec failed"
+}
+
+src_install() {
+ dodoc README CHANGES FAQ || die
+
+ cd "${S}"/bin/dig
+ dobin dig host nslookup || die
+ doman {dig,host,nslookup}.1 || die
+
+ cd "${S}"/bin/nsupdate
+ dobin nsupdate || die
+ doman nsupdate.1 || die
+ if use doc; then
+ dohtml nsupdate.html || die
+ fi
+
+ cd "${S}"/bin/dnssec
+ dobin dnssec-keygen || die
+ doman dnssec-keygen.8 || die
+ if use doc; then
+ dohtml dnssec-keygen.html || die
+ fi
+}
diff --git a/net-dns/bind-tools/bind-tools-9.7.2_p2.ebuild b/net-dns/bind-tools/bind-tools-9.7.1-r1.ebuild
index 415a4d83b92f..62b874191298 100644
--- a/net-dns/bind-tools/bind-tools-9.7.2_p2.ebuild
+++ b/net-dns/bind-tools/bind-tools-9.7.1-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.7.2_p2.ebuild,v 1.1 2010/10/05 15:47:56 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.7.1-r1.ebuild,v 1.1 2010/11/11 18:18:46 idl0r Exp $
EAPI="3"
-inherit eutils autotools
+inherit eutils autotools flag-o-matic
MY_PN=${PN//-tools}
MY_PV=${PV/_p/-P}
@@ -54,6 +54,9 @@ src_configure() {
myconf="${myconf} --with-randomdev=/dev/random"
fi
+ # bug 344029
+ append-cppflags "-DDIG_SIGCHASE"
+
econf \
$(use_enable ipv6) \
$(use_with idn) \
@@ -89,7 +92,6 @@ src_install() {
cd "${S}"/bin/dnssec
dobin dnssec-keygen || die
doman dnssec-keygen.8 || die
-
if use doc; then
dohtml dnssec-keygen.html || die
fi
diff --git a/net-dns/bind-tools/bind-tools-9.7.2_p2-r1.ebuild b/net-dns/bind-tools/bind-tools-9.7.2_p2-r1.ebuild
new file mode 100644
index 000000000000..d70ec9a4b641
--- /dev/null
+++ b/net-dns/bind-tools/bind-tools-9.7.2_p2-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.7.2_p2-r1.ebuild,v 1.1 2010/11/11 18:18:46 idl0r Exp $
+
+EAPI="3"
+
+inherit eutils autotools flag-o-matic
+
+MY_PN=${PN//-tools}
+MY_PV=${PV/_p/-P}
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
+HOMEPAGE="http://www.isc.org/software/bind"
+SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc idn ipv6 ssl urandom xml"
+
+DEPEND="ssl? ( dev-libs/openssl )
+ xml? ( dev-libs/libxml2 )
+ idn? (
+ || ( sys-libs/glibc dev-libs/libiconv )
+ net-dns/idnkit
+ )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # bug 122597
+ use idn && {
+ cd "${S}"/contrib/idn/idnkit-1.0-src
+ epatch "${FILESDIR}"/${PN}-configure.patch
+ cd "${S}"
+ }
+
+ # bug 231247
+ epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=
+
+ has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
+
+ if use urandom; then
+ myconf="${myconf} --with-randomdev=/dev/urandom"
+ else
+ myconf="${myconf} --with-randomdev=/dev/random"
+ fi
+
+ # bug 344029
+ append-cppflags "-DDIG_SIGCHASE"
+
+ econf \
+ $(use_enable ipv6) \
+ $(use_with idn) \
+ $(use_with ssl openssl) \
+ $(use_with xml libxml2) \
+ ${myconf}
+
+ # bug #151839
+ echo '#undef SO_BSDCOMPAT' >> config.h
+}
+
+src_compile() {
+ emake -C lib/ || die "emake lib failed"
+ emake -C bin/dig/ || die "emake bin/dig failed"
+ emake -C bin/nsupdate/ || die "emake bin/nsupdate failed"
+ emake -C bin/dnssec/ || die "emake bin/dnssec failed"
+}
+
+src_install() {
+ dodoc README CHANGES FAQ || die
+
+ cd "${S}"/bin/dig
+ dobin dig host nslookup || die
+ doman {dig,host,nslookup}.1 || die
+
+ cd "${S}"/bin/nsupdate
+ dobin nsupdate || die
+ doman nsupdate.1 || die
+ if use doc; then
+ dohtml nsupdate.html || die
+ fi
+
+ cd "${S}"/bin/dnssec
+ dobin dnssec-keygen || die
+ doman dnssec-keygen.8 || die
+ if use doc; then
+ dohtml dnssec-keygen.html || die
+ fi
+}