diff options
22 files changed, 84 insertions, 521 deletions
diff --git a/net-dns/bind-tools/ChangeLog b/net-dns/bind-tools/ChangeLog index 2a10bfb5913b..0897f6ce9872 100644 --- a/net-dns/bind-tools/ChangeLog +++ b/net-dns/bind-tools/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-dns/bind-tools -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.43 2005/07/06 10:30:27 voxus Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.44 2006/01/02 18:54:54 voxus Exp $ + +*bind-tools-9.3.2 (02 Jan 2006) +*bind-tools-9.2.6 (02 Jan 2006) + + 02 Jan 2006; Konstantin Arkhipov <voxus@gentoo.org> +bind-tools-9.3.2.ebuild, + +bind-tools-9.2.6.ebuild, -bind-tools-9.2.3.ebuild, -bind-tools-9.3.1.ebuild, + -bind-tools-9.2.2.ebuild, -bind-tools-9.2.2_rc1.ebuild, + -bind-tools-9.2.3-r1.ebuild: + Bump. 06 Jul 2005; Konstantin Arkhipov <voxus@gentoo.org> bind-tools-9.3.1.ebuild: Closing bug #97871. diff --git a/net-dns/bind-tools/Manifest b/net-dns/bind-tools/Manifest index 18dd1d426460..29112ffd08be 100644 --- a/net-dns/bind-tools/Manifest +++ b/net-dns/bind-tools/Manifest @@ -1,15 +1,19 @@ -MD5 da7b4c6348b8f7c881277ea30ac47578 bind-tools-9.2.3.ebuild 1711 -MD5 b9dfbf52ea1957cd63ae2e78962b492a bind-tools-9.3.1.ebuild 1254 -MD5 69fcb5b4daaabd235a3f6d781a632728 bind-tools-9.2.3-r1.ebuild 1292 -MD5 cf5dc56e83d685be2a346b49b1478af1 bind-tools-9.2.5.ebuild 1307 +MD5 36a7f9258ea4967080524a7d4a2afbff ChangeLog 5712 MD5 ede86efe63bf2e0361a59555f46a3ddb bind-tools-9.2.2.ebuild 983 MD5 ea238a1f5ee7e1bef9f2bb76d19ba5d3 bind-tools-9.2.2_rc1.ebuild 926 -MD5 c8181ccc56d6948a334be3c6752588e3 ChangeLog 5530 -MD5 8506aec044ae36f266ab8923eb2a111e metadata.xml 334 -MD5 feb1027d97d15dcf8fdc57b2de185af2 files/digest-bind-tools-9.2.3-r1 63 +MD5 69fcb5b4daaabd235a3f6d781a632728 bind-tools-9.2.3-r1.ebuild 1292 +MD5 da7b4c6348b8f7c881277ea30ac47578 bind-tools-9.2.3.ebuild 1711 +MD5 cf5dc56e83d685be2a346b49b1478af1 bind-tools-9.2.5.ebuild 1307 +MD5 4dc86e5a5149a2e7e84a4d5db3c170b7 bind-tools-9.2.6.ebuild 1250 +MD5 b9dfbf52ea1957cd63ae2e78962b492a bind-tools-9.3.1.ebuild 1254 +MD5 4dc86e5a5149a2e7e84a4d5db3c170b7 bind-tools-9.3.2.ebuild 1250 MD5 e020f0d41f68e0c47d196c4aa1a06c09 files/digest-bind-tools-9.2.2 63 +MD5 8c87d7839f4a6caa9c690e5905a247f4 files/digest-bind-tools-9.2.2_rc1 66 MD5 feb1027d97d15dcf8fdc57b2de185af2 files/digest-bind-tools-9.2.3 63 +MD5 feb1027d97d15dcf8fdc57b2de185af2 files/digest-bind-tools-9.2.3-r1 63 MD5 0b0f1e16a0bf51db8f99fd21c01f7426 files/digest-bind-tools-9.2.5 63 +MD5 51a3e3d613095c755c84d14361d3ffa0 files/digest-bind-tools-9.2.6 63 MD5 c46a805da6650356db77b023d4d042d8 files/digest-bind-tools-9.3.1 63 -MD5 8c87d7839f4a6caa9c690e5905a247f4 files/digest-bind-tools-9.2.2_rc1 66 +MD5 1b1e237174f82d6930ea622960702e4b files/digest-bind-tools-9.3.2 63 MD5 1d83f3065ae3bad0e88ae3bfe1e95ced files/nslookup.8 14638 +MD5 8506aec044ae36f266ab8923eb2a111e metadata.xml 334 diff --git a/net-dns/bind-tools/bind-tools-9.2.2.ebuild b/net-dns/bind-tools/bind-tools-9.2.2.ebuild deleted file mode 100644 index f63c2e4f650a..000000000000 --- a/net-dns/bind-tools/bind-tools-9.2.2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2005 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.2.ebuild,v 1.16 2005/04/01 14:25:34 agriffis Exp $ - -MY_P=${P//-tools} -MY_P=${MY_P/_} -S=${WORKDIR}/${MY_P} -DESCRIPTION="bind tools: dig, nslookup, and host" -SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV/_}/${MY_P}.tar.gz" -HOMEPAGE="http://www.isc.org/products/BIND/bind9-beta.html" - -KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 mips" -IUSE="" -LICENSE="as-is" -SLOT="0" - -DEPEND="virtual/libc" - -src_compile() { - econf || die "configure failed" - - export MAKEOPTS="${MAKEOPTS} -j1" - - cd ${S}/lib/isc - emake || die "make failed in /lib/isc" - - cd ${S}/lib/dns - emake || die "make failed in /lib/dns" - - cd ${S}/bin/dig - emake || die "make failed in /bin/dig" -} - -src_install() { - cd ${S}/bin/dig - dobin dig host nslookup - doman dig.1 host.1 - - doman ${FILESDIR}/nslookup.8 - - cd ${S} - dodoc README CHANGES FAQ COPYRIGHT -} diff --git a/net-dns/bind-tools/bind-tools-9.2.2_rc1.ebuild b/net-dns/bind-tools/bind-tools-9.2.2_rc1.ebuild deleted file mode 100644 index 4524f95a5f2f..000000000000 --- a/net-dns/bind-tools/bind-tools-9.2.2_rc1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2005 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.2_rc1.ebuild,v 1.13 2005/04/01 14:25:34 agriffis Exp $ - -MY_P=${P//-tools} -MY_P=${MY_P/_} -S=${WORKDIR}/${MY_P} -DESCRIPTION="bind tools: dig, nslookup, and host" -SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV/_}/${MY_P}.tar.gz" -HOMEPAGE="http://www.isc.org/products/BIND/bind9-beta.html" - -KEYWORDS="x86 ppc alpha hppa" -IUSE="" -LICENSE="as-is" -SLOT="0" - -DEPEND="virtual/libc" - -src_compile() { - econf || die "configure failed" - - cd ${S}/lib/isc - make || die "make failed in /lib/isc" - - cd ${S}/lib/dns - make || die "make failed in /lib/dns" - - cd ${S}/bin/dig - make || die "make failed in /bin/dig" -} - -src_install() { - cd ${S}/bin/dig - dobin dig host nslookup - doman dig.1 host.1 - - doman ${FILESDIR}/nslookup.8 - - cd ${S} - dodoc README CHANGES FAQ COPYRIGHT -} diff --git a/net-dns/bind-tools/bind-tools-9.2.3.ebuild b/net-dns/bind-tools/bind-tools-9.2.3.ebuild deleted file mode 100644 index 20231175cb5e..000000000000 --- a/net-dns/bind-tools/bind-tools-9.2.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2005 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.3.ebuild,v 1.14 2005/04/01 14:25:34 agriffis Exp $ - -inherit flag-o-matic - -MY_P=${P//-tools} -MY_P=${MY_P/_} -S=${WORKDIR}/${MY_P} -DESCRIPTION="bind tools: dig, nslookup, and host" -SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV/_}/${MY_P}.tar.gz" -HOMEPAGE="http://www.isc.org/products/BIND/bind9-beta.html" - -KEYWORDS="-x86 -ppc -sparc -alpha -hppa -amd64 -ia64" -IUSE="ipv6" -LICENSE="as-is" -SLOT="0" - -DEPEND="virtual/libc" - -src_compile() { - - # Set -fPIC compiler option to enable compilation on 64-bit archs - # (Bug #33336) - if use alpha || use amd64 || use ia64; then - append-flags -fPIC - fi - - use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no" - - econf ${myconf} || die "Configure failed" - - export MAKEOPTS="${MAKEOPTS} -j1" - - cd ${S}/lib/isc - make && ld -shared -s -o libisc.so -whole-archive libisc.a \ - || die "make failed in /lib/isc" - cp libisc.so ../../bin/dig/ || die "Failed to build libisc" - - cd ${S}/lib/dns - make && ld -shared -s -o libdns.so -whole-archive libdns.a \ - || die "make failed in /lib/dns" - cp libdns.so ../../bin/dig/ || die "Failed to build libdns" - - cd ${S}/bin/dig - cp Makefile Makefile.org - sed -e 's:../../lib/dns/libdns.a:libdns.so:' \ - -e 's:../../lib/isc/libisc.a:libisc.so:' \ - Makefile.org > Makefile || die - make || die "Failed to build dig" -} - -src_install() { - cd ${S}/lib/dns - dolib libdns.so - - cd ${S}/lib/isc - dolib libisc.so - - cd ${S}/bin/dig - dobin dig host nslookup - doman dig.1 host.1 - - doman ${FILESDIR}/nslookup.8 - - cd ${S} - dodoc README CHANGES FAQ COPYRIGHT -} diff --git a/net-dns/bind-tools/bind-tools-9.3.1.ebuild b/net-dns/bind-tools/bind-tools-9.2.6.ebuild index a2d1ca4268af..dcbfe01df8e9 100644 --- a/net-dns/bind-tools/bind-tools-9.3.1.ebuild +++ b/net-dns/bind-tools/bind-tools-9.2.6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# 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.1.ebuild,v 1.3 2005/07/06 10:30:27 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.2.6.ebuild,v 1.1 2006/01/02 18:54:54 voxus Exp $ inherit flag-o-matic @@ -26,7 +26,7 @@ src_compile() { export MAKEOPTS="${MAKEOPTS} -j1" cd ${S}/lib - emake || die "make failed in /lib/isc" + emake || die "make failed in /lib" cd ${S}/bin/dig emake || die "make failed in /bin/dig" diff --git a/net-dns/bind-tools/bind-tools-9.2.3-r1.ebuild b/net-dns/bind-tools/bind-tools-9.3.2.ebuild index ae00380000e3..ea9e15ae2859 100644 --- a/net-dns/bind-tools/bind-tools-9.2.3-r1.ebuild +++ b/net-dns/bind-tools/bind-tools-9.3.2.ebuild @@ -1,53 +1,52 @@ -# Copyright 1999-2005 Gentoo Foundation +# 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.3-r1.ebuild,v 1.17 2005/04/01 14:25:34 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.3.2.ebuild,v 1.1 2006/01/02 18:54:54 voxus Exp $ -inherit flag-o-matic gnuconfig +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-beta.html" +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="x86 ppc sparc alpha arm hppa amd64 ia64 s390 mips ppc64" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="ipv6" -DEPEND="virtual/libc" +DEPEND="" src_compile() { - # Set -fPIC compiler option to enable compilation on 64-bit archs - # (Bug #33336) - if use alpha || use amd64 || use ia64; then - append-flags -fPIC - fi - - gnuconfig_update - use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no" econf ${myconf} || die "Configure failed" export MAKEOPTS="${MAKEOPTS} -j1" - cd ${S}/lib/isc - emake || die "make failed in /lib/isc" - - cd ${S}/lib/dns - emake || die "make failed in /lib/dns" + cd ${S}/lib + emake || die "make failed in /lib" cd ${S}/bin/dig emake || die "make failed in /bin/dig" + + cd ${S}/lib/lwres/ + emake || die "make failed in /lib/lwres" + + cd ${S}/bin/nsupdate/ + emake || die "make failed in /bin/nsupdate" } src_install() { dodoc README CHANGES FAQ - doman ${FILESDIR}/nslookup.8 cd ${S}/bin/dig dobin dig host nslookup || die - doman dig.1 host.1 + 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.2 b/net-dns/bind-tools/files/digest-bind-tools-9.2.2 deleted file mode 100644 index a11f05a79883..000000000000 --- a/net-dns/bind-tools/files/digest-bind-tools-9.2.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 6ea7d64a0856893ab3eb541ab7bbc725 bind-9.2.2.tar.gz 5054652 diff --git a/net-dns/bind-tools/files/digest-bind-tools-9.2.2_rc1 b/net-dns/bind-tools/files/digest-bind-tools-9.2.2_rc1 deleted file mode 100644 index f599f5e0e918..000000000000 --- a/net-dns/bind-tools/files/digest-bind-tools-9.2.2_rc1 +++ /dev/null @@ -1 +0,0 @@ -MD5 e591be8890c53845133577ac7e042fb6 bind-9.2.2rc1.tar.gz 5049320 diff --git a/net-dns/bind-tools/files/digest-bind-tools-9.2.3 b/net-dns/bind-tools/files/digest-bind-tools-9.2.3 deleted file mode 100644 index fac669f6a7f9..000000000000 --- a/net-dns/bind-tools/files/digest-bind-tools-9.2.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 94ae7b0f20dc406fdbbf6fac5d57b32f bind-9.2.3.tar.gz 4553260 diff --git a/net-dns/bind-tools/files/digest-bind-tools-9.2.3-r1 b/net-dns/bind-tools/files/digest-bind-tools-9.2.3-r1 deleted file mode 100644 index fac669f6a7f9..000000000000 --- a/net-dns/bind-tools/files/digest-bind-tools-9.2.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 94ae7b0f20dc406fdbbf6fac5d57b32f bind-9.2.3.tar.gz 4553260 diff --git a/net-dns/bind-tools/files/digest-bind-tools-9.2.6 b/net-dns/bind-tools/files/digest-bind-tools-9.2.6 new file mode 100644 index 000000000000..b00dce5631ba --- /dev/null +++ b/net-dns/bind-tools/files/digest-bind-tools-9.2.6 @@ -0,0 +1 @@ +MD5 a1b1224cfd9c9599fb4b336c371879b9 bind-9.2.6.tar.gz 5125776 diff --git a/net-dns/bind-tools/files/digest-bind-tools-9.3.1 b/net-dns/bind-tools/files/digest-bind-tools-9.3.1 deleted file mode 100644 index 027fffee4bd7..000000000000 --- a/net-dns/bind-tools/files/digest-bind-tools-9.3.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 9ff3204eea27184ea0722f37e43fc95d bind-9.3.1.tar.gz 4673603 diff --git a/net-dns/bind-tools/files/digest-bind-tools-9.3.2 b/net-dns/bind-tools/files/digest-bind-tools-9.3.2 new file mode 100644 index 000000000000..5732e470c27f --- /dev/null +++ b/net-dns/bind-tools/files/digest-bind-tools-9.3.2 @@ -0,0 +1 @@ +MD5 55e709501a7780233c36e25ccd15ece2 bind-9.3.2.tar.gz 5302112 diff --git a/net-dns/bind/ChangeLog b/net-dns/bind/ChangeLog index 4401689a629d..12a8a202c65c 100644 --- a/net-dns/bind/ChangeLog +++ b/net-dns/bind/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-dns/bind # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.99 2006/01/02 17:54:03 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.100 2006/01/02 18:55:00 voxus Exp $ + +*bind-9.3.2 (02 Jan 2006) +*bind-9.2.6 (02 Jan 2006) + + 02 Jan 2006; Konstantin Arkhipov <voxus@gentoo.org> +bind-9.2.6.ebuild, + +bind-9.3.2.ebuild, -bind-9.3.1-r8.ebuild, -bind-9.3.2_beta2-r2.ebuild, + -bind-9.2.5-r10.ebuild: + Version bump. 02 Jan 2006; Konstantin Arkhipov <voxus@gentoo.org> +files/named.conf-r2: Restored wrongly deleted conf file. Closing bug #114770. diff --git a/net-dns/bind/Manifest b/net-dns/bind/Manifest index d889088b37d2..fb2abdb0b8f1 100644 --- a/net-dns/bind/Manifest +++ b/net-dns/bind/Manifest @@ -1,19 +1,17 @@ -MD5 cf1acb41799f328f348ff2badbcb40d6 ChangeLog 16731 -MD5 64661f29315f63e8d14f3c5fe3efdb73 bind-9.2.5-r10.ebuild 8945 +MD5 6380fc5b0dee0bf75536fb990b968756 ChangeLog 16975 MD5 2c50194cee9e7484dc5ac78935fdf0d5 bind-9.2.5-r4.ebuild 8347 MD5 109211a7fac00f530ce0d255763f24b2 bind-9.2.5-r6.ebuild 8376 -MD5 06ca06ed796418761c2505adb968ab99 bind-9.3.1-r8.ebuild 8731 -MD5 ef0ece1abaa8e6446e776e4c961b9a90 bind-9.3.2_beta2-r2.ebuild 8871 +MD5 fdee5c6c7fbedb02318b363c07ae2f81 bind-9.2.6.ebuild 8999 +MD5 c692f1cdd4f5e54edbdce16cf356f035 bind-9.3.2.ebuild 8624 MD5 42b5ed5adcee33cf40531d7955412b21 files/10bind.env 27 MD5 51197afe8da37b1b453456de90ca4f25 files/127.zone 227 MD5 4346332cc9681502a3aedfd0a7a1ac41 files/bind-9.2.5-berkdb_fix.patch 537 MD5 75d14cac80e71b4ac0662775064c06e2 files/bind-9.2.5-dlz-mysql.patch 11296 MD5 9a06b553558342585f8ba88bd5e4c569 files/bind-9.2.5-mysql.patch 11315 -MD5 d47c8a742a2645377ba4d783907700dd files/digest-bind-9.2.5-r10 127 MD5 d47c8a742a2645377ba4d783907700dd files/digest-bind-9.2.5-r4 127 MD5 d47c8a742a2645377ba4d783907700dd files/digest-bind-9.2.5-r6 127 -MD5 708e6dd2ce57583129d00b3d721bc3a4 files/digest-bind-9.3.1-r8 133 -MD5 addc10df4c379ce1a155b87c2d415e11 files/digest-bind-9.3.2_beta2-r2 136 +MD5 1b1c45abc7dd35ca202eff85c0add01f files/digest-bind-9.2.6 127 +MD5 4f45a5d763fa73ed1be57f4548be277a files/digest-bind-9.3.2 134 MD5 2bb12cfcd70284e72fbf9e70e5e2974d files/dyndns-samples.tbz2 22866 MD5 ccfca63035b534556c3910270d40a4b9 files/localhost.zone 412 MD5 2b6e7c10f43941cdd147d5de0c9c02d6 files/localhost.zone-r1 419 diff --git a/net-dns/bind/bind-9.2.5-r10.ebuild b/net-dns/bind/bind-9.2.6.ebuild index 0c647a190a30..1dbdbc88d6d7 100644 --- a/net-dns/bind/bind-9.2.5-r10.ebuild +++ b/net-dns/bind/bind-9.2.6.ebuild @@ -1,13 +1,15 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.2.5-r10.ebuild,v 1.1 2005/11/12 00:11:09 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.2.6.ebuild,v 1.1 2006/01/02 18:55:00 voxus Exp $ inherit eutils libtool +DLZ_VERSION="9.2.5" + DESCRIPTION="BIND - Berkeley Internet Name Domain - Name Server" HOMEPAGE="http://www.isc.org/products/BIND/bind9.html" SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV}/${P}.tar.gz - dlz? ( http://dev.gentoo.org/~voxus/dlz/dlz-${PV}.patch.bz2 )" + dlz? ( http://dev.gentoo.org/~voxus/dlz/dlz-${DLZ_VERSION}.patch.bz2 )" LICENSE="as-is" SLOT="0" @@ -43,8 +45,8 @@ src_unpack() { done if use dlz; then - epatch ${DISTDIR}/dlz-${PV}.patch.bz2 - epatch ${FILESDIR}/${P}-berkdb_fix.patch + epatch ${DISTDIR}/dlz-${DLZ_VERSION}.patch.bz2 + epatch ${FILESDIR}/bind-${DLZ_VERSION}-berkdb_fix.patch fi if use bind-mysql; then diff --git a/net-dns/bind/bind-9.3.1-r8.ebuild b/net-dns/bind/bind-9.3.2.ebuild index 1dd5da486ad6..ccee000359b8 100644 --- a/net-dns/bind/bind-9.3.1-r8.ebuild +++ b/net-dns/bind/bind-9.3.2.ebuild @@ -1,14 +1,16 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.3.1-r8.ebuild,v 1.1 2005/11/12 00:11:09 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.3.2.ebuild,v 1.1 2006/01/02 18:55:00 voxus Exp $ inherit eutils libtool +DLZ_VERSION="9.3.2b1" + DESCRIPTION="BIND - Berkeley Internet Name Domain - Name Server" HOMEPAGE="http://www.isc.org/products/BIND/bind9.html" SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV}/${P}.tar.gz - dlz? ( http://projects.navynet.it/DLZ/ctrix_dlz_9.3.1-1.patch.gz )" + dlz? ( http://dev.gentoo.org/~voxus/bind/ctrix_dlz_${DLZ_VERSION}.patch.bz2 )" LICENSE="as-is" SLOT="0" @@ -32,15 +34,6 @@ pkg_setup() { ewarn "disable threads support because of linux capabilities dependency" echo } - - if use dlz && use idn; - then - echo - eerror "DLZ currently doesn't supports IDN" - eerror "You should disable 'idn' or 'dlz' use flag to continue" - - die "dlz doesn't support idn currently" - fi } src_unpack() { @@ -55,13 +48,13 @@ src_unpack() { done use dlz && { - epatch ${DISTDIR}/ctrix_dlz_${PV}-1.patch.gz || \ + epatch ${DISTDIR}/ctrix_dlz_${DLZ_VERSION}.patch.bz2 || \ die "dlz patch failed" } use idn && { - epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/${P}-patch || \ - die "idn patch failed" + epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/${P}-patch \ + || die "idn patch failed" } # it should be installed by bind-tools @@ -169,9 +162,13 @@ src_install() { keepdir /var/bind/sec insinto /etc/bind ; newins ${FILESDIR}/named.conf-r3 named.conf + # ftp://ftp.rs.internic.net/domain/named.ca: insinto /var/bind ; doins ${FILESDIR}/named.ca - insinto /var/bind/pri ; doins ${FILESDIR}/{127,localhost}.zone + + insinto /var/bind/pri + doins ${FILESDIR}/127.zone + newins ${FILESDIR}/localhost.zone-r1 localhost.zone cp ${FILESDIR}/named.init-r3 ${T}/named && doinitd ${T}/named cp ${FILESDIR}/named.confd-r1 ${T}/named && doconfd ${T}/named diff --git a/net-dns/bind/bind-9.3.2_beta2-r2.ebuild b/net-dns/bind/bind-9.3.2_beta2-r2.ebuild deleted file mode 100644 index 8590823b21a4..000000000000 --- a/net-dns/bind/bind-9.3.2_beta2-r2.ebuild +++ /dev/null @@ -1,297 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.3.2_beta2-r2.ebuild,v 1.1 2005/11/12 00:11:09 voxus Exp $ - -inherit eutils libtool - -BETA="${PV/_beta/b}" - -DESCRIPTION="BIND - Berkeley Internet Name Domain - Name Server" -HOMEPAGE="http://www.isc.org/products/BIND/bind9.html" - -SRC_URI="ftp://ftp.isc.org/isc/bind9/${BETA}/${PN}-${BETA}.tar.gz - dlz? ( http://dev.gentoo.org/~voxus/bind/ctrix_dlz_${BETA/b2/b1}.patch.bz2 )" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="ssl ipv6 doc dlz postgres berkdb mysql odbc ldap selinux idn threads" - -DEPEND="sys-apps/groff - sys-devel/autoconf - ssl? ( >=dev-libs/openssl-0.9.6g ) - mysql? ( >=dev-db/mysql-4 ) - odbc? ( >=dev-db/unixODBC-2.2.6 ) - ldap? ( net-nds/openldap )" - -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-bind )" - -S="${WORKDIR}/${PN}-${BETA}" - -pkg_setup() { - use threads && { - echo - ewarn "If you're in vserver enviroment, you're probably want to" - ewarn "disable threads support because of linux capabilities dependency" - echo - } - - if use dlz && use idn; - then - echo - eerror "DLZ currently doesn't supports IDN" - eerror "You should disable 'idn' or 'dlz' use flag to continue" - - die "dlz doesn't support idn currently" - fi -} - -src_unpack() { - unpack ${A} && cd ${S} - - # Adjusting PATHs in manpages - for i in `echo bin/{named/named.8,check/named-checkconf.8,rndc/rndc.8}`; do - sed -i -e 's:/etc/named.conf:/etc/bind/named.conf:g' \ - -e 's:/etc/rndc.conf:/etc/bind/rndc.conf:g' \ - -e 's:/etc/rndc.key:/etc/bind/rndc.key:g' \ - ${i} - done - - use dlz && { - epatch ${DISTDIR}/ctrix_dlz_${BETA/b2/b1}.patch.bz2 || \ - die "dlz patch failed" - } - - use idn && { - epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/${PN}-${BETA/b2}-patch \ - || die "idn patch failed" - } - - # it should be installed by bind-tools - sed "s:nsupdate ::g" ${S}/bin/Makefile.in > ${T}/Makefile - mv ${T}/Makefile ${S}/bin/Makefile.in - - cd ${S} - WANT_AUTOCONF=2.5 autoconf || die "autoconf failed" -} - -src_compile() { - local myconf="" - - use ssl && myconf="${myconf} --with-openssl" - - use dlz && { - myconf="${myconf} --with-dlz-filesystem --with-dlz-stub" - use postgres && myconf="${myconf} --with-dlz-postgres" - use mysql && myconf="${myconf} --with-dlz-mysql" - use berkdb && myconf="${myconf} --with-dlz-bdb" - use ldap && myconf="${myconf} --with-dlz-ldap" - use odbc && myconf="${myconf} --with-dlz-odbc" - } - - if use threads; then - if use dlz && use mysql; then - echo - ewarn "" - einfo "MySQL uses thread local storage in its C api. Thus MySQL" - einfo "requires that each thread of an application execute a MySQL" - einfo "\"thread initialization\" to setup the thread local storage." - einfo "This is impossible to do safely while staying within the DLZ" - einfo "driver API. This is a limitation caused by MySQL, and not" - einfo "the DLZ API." - ewarn "Because of this BIND MUST only run with a single thread when" - ewarn "using the MySQL driver." - echo - myconf="${myconf} --disable-linux-caps --disable-threads" - einfo "Threading support disabled" - epause 10 - else - myconf="${myconf} --enable-linux-caps --enable-threads" - einfo "Threading support enabled" - fi - else - myconf="${myconf} --disable-linux-caps --disable-threads" - fi - - econf \ - --sysconfdir=/etc/bind \ - --localstatedir=/var \ - --with-libtool \ - `use_enable ipv6` \ - ${myconf} || die "econf failed" - - # idea from dev-libs/cyrus-sasl - if has distcc ${FEATURES}; then - einfo "You have \"distcc\" enabled" - einfo "build with MAKEOPTS=\"-j1\"" - MAKEOPTS="-j1" - else - einfo "build with MAKEOPTS=${MAKEOPTS}" - fi - - emake ${MAKEOPTS} || die "failed to compile bind" - - use idn && { - cd ${S}/contrib/idn/idnkit-1.0-src - econf || die "idn econf failed" - emake || die "idn emake failed" - } -} - -src_install() { - einstall || die "failed to install bind" - - dodoc CHANGES COPYRIGHT FAQ README - - use doc && { - docinto misc - dodoc doc/misc/* - - docinto html - dohtml doc/arm/* - - docinto draft - dodoc doc/draft/* - - docinto rfc - dodoc doc/rfc/* - - docinto contrib - dodoc contrib/named-bootconf/named-bootconf.sh \ - contrib/nanny/nanny.pl - - # some handy-dandy dynamic dns examples - cd ${D}/usr/share/doc/${PF} - tar pjxf ${FILESDIR}/dyndns-samples.tbz2 - } - - insinto /etc/env.d - newins ${FILESDIR}/10bind.env 10bind - - dodir /etc/bind /var/bind/{pri,sec} - keepdir /var/bind/sec - - insinto /etc/bind ; newins ${FILESDIR}/named.conf-r3 named.conf - - # ftp://ftp.rs.internic.net/domain/named.ca: - insinto /var/bind ; doins ${FILESDIR}/named.ca - - insinto /var/bind/pri - doins ${FILESDIR}/127.zone - newins ${FILESDIR}/localhost.zone-r1 localhost.zone - - cp ${FILESDIR}/named.init-r3 ${T}/named && doinitd ${T}/named - cp ${FILESDIR}/named.confd-r1 ${T}/named && doconfd ${T}/named - - dosym ../../var/bind/named.ca /var/bind/root.cache - dosym ../../var/bind/pri /etc/bind/pri - dosym ../../var/bind/sec /etc/bind/sec - - if use idn; then - cd ${S}/contrib/idn/idnkit-1.0-src - einstall || die "failed to install idn kit" - docinto idn - dodoc ChangeLog INSTALL{,.ja} README{,.ja} NEWS - fi - - # Let's get rid of those tools and their manpages since they're provided by bind-tools - rm -f ${D}/usr/share/man/man1/{dig.1,host.1,nslookup.1} - rm -f ${D}/usr/bin/{dig,host,nslookup} - - ebegin "Creating named group and user" - enewgroup named 40 - enewuser named 40 -1 /etc/bind named - eend ${?} -} - -pkg_postinst() { - if [ ! -f '/etc/bind/rndc.key' ]; then - if [ -c /dev/urandom ]; then - einfo "Using /dev/urandom for generating rndc.key" - /usr/sbin/rndc-confgen -r /dev/urandom -a -u named - echo - else - einfo "Using /dev/random for generating rndc.key" - /usr/sbin/rndc-confgen -a -u named - echo - fi - fi - - install -d -o named -g named ${ROOT}/var/run/named \ - ${ROOT}/var/bind/pri ${ROOT}/var/bind/sec - chown -R named:named ${ROOT}/var/bind - - einfo "The default zone files are now installed as *.zone," - einfo "be careful merging config files if you have modified" - einfo "/var/bind/pri/127 or /var/bind/pri/localhost" - einfo - einfo "You can edit /etc/conf.d/named to customize named settings" - einfo - einfo "The BIND ebuild now includes chroot support." - einfo "If you like to run bind in chroot AND this is a new install OR" - einfo "your bind doesn't already run in chroot, simply run:" - einfo "\`emerge --config '=${CATEGORY}/${PF}'\`" - einfo "Before running the above command you might want to change the chroot" - einfo "dir in /etc/conf.d/named. Otherwise /chroot/dns will be used." - echo - einfo "Recently verisign added a wildcard A record to the .COM and .NET TLD" - einfo "zones making all .com and .net domains appear to be registered" - einfo "This causes many problems such as breaking important anti-spam checks" - einfo "which verify source domains exist. ISC released a patch for BIND which" - einfo "adds 'delegation-only' zones to allow admins to return the .com and .net" - einfo "domain resolution to their normal function." - echo - einfo "There is no need to create a com or net data file. Just the" - einfo "entries to the named.conf file is enough." - echo - einfo " zone "com" IN { type delegation-only; };" - einfo " zone "net" IN { type delegation-only; };" - - echo - ewarn "BIND >=9.2.5 makes the priority argument to MX records mandatory" - ewarn "when it was previously optional. If the priority is missing, BIND" - ewarn "won't load the zone file at all." - echo -} - -pkg_config() { - CHROOT=`sed -n 's/^[[:blank:]]\?CHROOT="\([^"]\+\)"/\1/p' /etc/conf.d/named 2>/dev/null` - EXISTS="no" - - if [ -z "${CHROOT}" -a ! -d "/chroot/dns" ]; then - CHROOT="/chroot/dns" - elif [ -d ${CHROOT} ]; then - eerror; eerror "${CHROOT:-/chroot/dns} already exists. Quitting."; eerror; EXISTS="yes" - fi - - if [ ! "$EXISTS" = yes ]; then - einfo ; einfon "Setting up the chroot directory..." - mkdir -m 700 -p ${CHROOT} - mkdir -p ${CHROOT}/{dev,etc,var/run/named} - chown -R named:named ${CHROOT}/var/run/named - cp -R /etc/bind ${CHROOT}/etc/ - cp /etc/localtime ${CHROOT}/etc/localtime - chown named:named ${CHROOT}/etc/bind/rndc.key - cp -R /var/bind ${CHROOT}/var/ - chown -R named:named ${CHROOT}/var/ - mknod ${CHROOT}/dev/zero c 1 5 - mknod ${CHROOT}/dev/random c 1 8 - chmod 666 ${CHROOT}/dev/{random,zero} - chown named:named ${CHROOT} - - grep -q "^#[[:blank:]]\?CHROOT" /etc/conf.d/named ; RETVAL=$? - if [ $RETVAL = 0 ]; then - sed 's/^# \?\(CHROOT.*\)$/\1/' /etc/conf.d/named > /etc/conf.d/named.orig 2>/dev/null - mv --force /etc/conf.d/named.orig /etc/conf.d/named - fi - - sleep 1; echo " Done."; sleep 1 - einfo - einfo "Add the following to your root .bashrc or .bash_profile: " - einfo " alias rndc='rndc -k ${CHROOT}/etc/bind/rndc.key'" - einfo "Then do the following: " - einfo " source /root/.bashrc or .bash_profile" - einfo - fi -} diff --git a/net-dns/bind/files/digest-bind-9.2.5-r10 b/net-dns/bind/files/digest-bind-9.2.6 index 917f82e7d0d6..46d1ef0ed181 100644 --- a/net-dns/bind/files/digest-bind-9.2.5-r10 +++ b/net-dns/bind/files/digest-bind-9.2.6 @@ -1,2 +1,2 @@ -MD5 35a265fb97a068c066e22306ea32fd1f bind-9.2.5.tar.gz 4504389 +MD5 a1b1224cfd9c9599fb4b336c371879b9 bind-9.2.6.tar.gz 5125776 MD5 3bb820ced02fa2db7ae37e5288a73706 dlz-9.2.5.patch.bz2 135932 diff --git a/net-dns/bind/files/digest-bind-9.3.1-r8 b/net-dns/bind/files/digest-bind-9.3.1-r8 deleted file mode 100644 index 4307a2849697..000000000000 --- a/net-dns/bind/files/digest-bind-9.3.1-r8 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 9ff3204eea27184ea0722f37e43fc95d bind-9.3.1.tar.gz 4673603 -MD5 bdc1edae00952181438947716a53c2b0 ctrix_dlz_9.3.1-1.patch.gz 92434 diff --git a/net-dns/bind/files/digest-bind-9.3.2_beta2-r2 b/net-dns/bind/files/digest-bind-9.3.2 index bf2d44cec878..cbe6a54d51c9 100644 --- a/net-dns/bind/files/digest-bind-9.3.2_beta2-r2 +++ b/net-dns/bind/files/digest-bind-9.3.2 @@ -1,2 +1,2 @@ -MD5 a8815c39f9ed6df3b96856520e36a3bc bind-9.3.2b2.tar.gz 5299880 +MD5 55e709501a7780233c36e25ccd15ece2 bind-9.3.2.tar.gz 5302112 MD5 a70b386bf85c26b1c797e0936be28b79 ctrix_dlz_9.3.2b1.patch.bz2 60982 |