summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind-tools/ChangeLog9
-rw-r--r--net-dns/bind-tools/bind-tools-9.2.7.ebuild74
-rw-r--r--net-dns/bind-tools/bind-tools-9.3.3.ebuild74
-rw-r--r--net-dns/bind-tools/files/digest-bind-tools-9.2.73
-rw-r--r--net-dns/bind-tools/files/digest-bind-tools-9.3.33
5 files changed, 162 insertions, 1 deletions
diff --git a/net-dns/bind-tools/ChangeLog b/net-dns/bind-tools/ChangeLog
index fb85cc449657..1d5c2b77e97a 100644
--- a/net-dns/bind-tools/ChangeLog
+++ b/net-dns/bind-tools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-dns/bind-tools
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.56 2006/07/20 20:25:48 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.57 2006/12/17 17:53:18 voxus Exp $
+
+*bind-tools-9.3.3 (17 Dec 2006)
+*bind-tools-9.2.7 (17 Dec 2006)
+
+ 17 Dec 2006; Konstantin V. Arkhipov <voxus@gentoo.org>
+ +bind-tools-9.2.7.ebuild, +bind-tools-9.3.3.ebuild:
+ Version bumps.
20 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
bind-tools-9.3.2-r3.ebuild:
diff --git a/net-dns/bind-tools/bind-tools-9.2.7.ebuild b/net-dns/bind-tools/bind-tools-9.2.7.ebuild
new file mode 100644
index 000000000000..c5a507e82327
--- /dev/null
+++ b/net-dns/bind-tools/bind-tools-9.2.7.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2006 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.2.7.ebuild,v 1.1 2006/12/17 17:53:18 voxus Exp $
+
+inherit flag-o-matic
+
+MY_P=${P//-tools}
+MY_P=${MY_P/_}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="bind tools: dig, nslookup, and host"
+HOMEPAGE="http://www.isc.org/products/BIND/bind9.html"
+SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV/_}/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="idn ipv6"
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+
+ use idn && {
+ epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/bind-${PV}-patch
+
+ cd ${S}/contrib/idn/idnkit-1.0-src
+ epatch ${FILESDIR}/${PN}-configure.patch
+ cd -
+ }
+
+ # bug #151839
+ sed \
+ -e 's:CDEFINES =:CDEFINES = -USO_BSDCOMPAT:' \
+ -i lib/isc/unix/Makefile.in
+}
+
+src_compile() {
+ use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no"
+
+ econf ${myconf} || die "Configure failed"
+
+ cd ${S}/lib
+ emake -j1 || die "make failed in /lib"
+
+ cd ${S}/bin/dig
+ emake -j1 || die "make failed in /bin/dig"
+
+ cd ${S}/lib/lwres/
+ emake -j1 || die "make failed in /lib/lwres"
+
+ cd ${S}/bin/nsupdate/
+ emake -j1 || die "make failed in /bin/nsupdate"
+
+ use idn && {
+ cd ${S}/contrib/idn/idnkit-1.0-src
+ econf || die "idn econf failed"
+ emake -j1 || die "idn emake failed"
+ }
+}
+
+src_install() {
+ dodoc README CHANGES FAQ
+
+ cd ${S}/bin/dig
+ dobin dig host nslookup || die
+ doman dig.1 host.1 nslookup.1 || die
+
+ cd ${S}/bin/nsupdate
+ dobin nsupdate || die
+ doman nsupdate.8 || die
+ dohtml nsupdate.html || die
+}
diff --git a/net-dns/bind-tools/bind-tools-9.3.3.ebuild b/net-dns/bind-tools/bind-tools-9.3.3.ebuild
new file mode 100644
index 000000000000..ca606d295f87
--- /dev/null
+++ b/net-dns/bind-tools/bind-tools-9.3.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2006 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.3.3.ebuild,v 1.1 2006/12/17 17:53:18 voxus Exp $
+
+inherit flag-o-matic
+
+MY_P=${P//-tools}
+MY_P=${MY_P/_}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="bind tools: dig, nslookup, and host"
+HOMEPAGE="http://www.isc.org/products/BIND/bind9.html"
+SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV/_}/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
+IUSE="idn ipv6"
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+
+ use idn && {
+ epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/bind-${PV}-patch
+
+ cd ${S}/contrib/idn/idnkit-1.0-src
+ epatch ${FILESDIR}/${PN}-configure.patch
+ cd -
+ }
+
+ # bug #151839
+ sed \
+ -e 's:CDEFINES =:CDEFINES = -USO_BSDCOMPAT:' \
+ -i lib/isc/unix/Makefile.in
+}
+
+src_compile() {
+ use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no"
+
+ econf ${myconf} || die "Configure failed"
+
+ cd ${S}/lib
+ emake -j1 || die "make failed in /lib"
+
+ cd ${S}/bin/dig
+ emake -j1 || die "make failed in /bin/dig"
+
+ cd ${S}/lib/lwres/
+ emake -j1 || die "make failed in /lib/lwres"
+
+ cd ${S}/bin/nsupdate/
+ emake -j1 || die "make failed in /bin/nsupdate"
+
+ use idn && {
+ cd ${S}/contrib/idn/idnkit-1.0-src
+ econf || die "idn econf failed"
+ emake -j1 || die "idn emake failed"
+ }
+}
+
+src_install() {
+ dodoc README CHANGES FAQ
+
+ cd ${S}/bin/dig
+ dobin dig host nslookup || die
+ doman dig.1 host.1 nslookup.1 || die
+
+ cd ${S}/bin/nsupdate
+ dobin nsupdate || die
+ doman nsupdate.8 || die
+ dohtml nsupdate.html || die
+}
diff --git a/net-dns/bind-tools/files/digest-bind-tools-9.2.7 b/net-dns/bind-tools/files/digest-bind-tools-9.2.7
new file mode 100644
index 000000000000..55605b1b6598
--- /dev/null
+++ b/net-dns/bind-tools/files/digest-bind-tools-9.2.7
@@ -0,0 +1,3 @@
+MD5 4f3c993923872750d9261d38f35e36bb bind-9.2.7.tar.gz 5206002
+RMD160 d849dd8361c87645ce8308af5d64f87ba8917b3c bind-9.2.7.tar.gz 5206002
+SHA256 959095db8c1c9e1c4498c3065acb54fa1a3a6f9bbf710f148fa1d70e59aff899 bind-9.2.7.tar.gz 5206002
diff --git a/net-dns/bind-tools/files/digest-bind-tools-9.3.3 b/net-dns/bind-tools/files/digest-bind-tools-9.3.3
new file mode 100644
index 000000000000..61b02a4ced55
--- /dev/null
+++ b/net-dns/bind-tools/files/digest-bind-tools-9.3.3
@@ -0,0 +1,3 @@
+MD5 b5cad77aa7912bf7b4cb770cfc42fdad bind-9.3.3.tar.gz 5401230
+RMD160 cb779390cf23d042aca568604bde3f1252e7527b bind-9.3.3.tar.gz 5401230
+SHA256 d2d115578f9feff1871cbb9a78e99d510da38da5b0eeb31b749b0c084b06dec2 bind-9.3.3.tar.gz 5401230