diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2004-05-02 16:23:22 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2004-05-02 16:23:22 +0000 |
commit | 5e7a1958b0b93f9ea70b5ff70e560accf88f408a (patch) | |
tree | 4cc8bb9fe9b6ca52492d642a0d5db45c215f9302 /net-dns | |
parent | Stable on sparc. (Manifest recommit) (diff) | |
download | gentoo-2-5e7a1958b0b93f9ea70b5ff70e560accf88f408a.tar.gz gentoo-2-5e7a1958b0b93f9ea70b5ff70e560accf88f408a.tar.bz2 gentoo-2-5e7a1958b0b93f9ea70b5ff70e560accf88f408a.zip |
Added support for djbdns to bind to multiple ips
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/djbdns/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/djbdns/Manifest | 6 | ||||
-rw-r--r-- | net-dns/djbdns/djbdns-1.05-r11.ebuild | 96 | ||||
-rw-r--r-- | net-dns/djbdns/files/digest-djbdns-1.05-r11 | 6 |
4 files changed, 113 insertions, 3 deletions
diff --git a/net-dns/djbdns/ChangeLog b/net-dns/djbdns/ChangeLog index 64a64b34bc4b..fa72396aaf72 100644 --- a/net-dns/djbdns/ChangeLog +++ b/net-dns/djbdns/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/djbdns # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/ChangeLog,v 1.25 2004/05/02 15:17:02 jhhudso Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/ChangeLog,v 1.26 2004/05/02 16:23:21 jhhudso Exp $ + +*djbdns-1.05-r11 (02 May 2004) + + 02 May 2004; Jared Hudson <jhhudso@gentoo.org> : + Added a patch and useflag to allow djbdns bind to multiple IPs per bug #48750 + thanks to der Ritter <gentoo@candlefire.org> *djbdns-1.05-r10 (02 May 2004) diff --git a/net-dns/djbdns/Manifest b/net-dns/djbdns/Manifest index d53121c64a77..8ede1f035852 100644 --- a/net-dns/djbdns/Manifest +++ b/net-dns/djbdns/Manifest @@ -1,16 +1,18 @@ +MD5 26e986221dc670b879d81ddd498a3920 djbdns-1.05-r11.ebuild~ 3185 MD5 2c3158204cfb4b9c36b8bc78e8421b16 metadata.xml 223 MD5 ae7f154dec7e520b63b99fb288ba3548 djbdns-1.05-r3.ebuild 1706 -MD5 86adb40917812be667976980dd2ec7cb ChangeLog 4838 +MD5 eb4f15d105207695423234bed56aae32 djbdns-1.05-r11.ebuild 3186 +MD5 c29ddb79fe79c35878b632a8cf054a6c ChangeLog 5017 MD5 0c80a4a0e41b1eda79b3456ef255744b djbdns-1.05-r10.ebuild 2803 MD5 929f24768768beab0878bff106ff9277 djbdns-1.05-r7.ebuild 1934 MD5 c35b82eaf963783758e20ff0de7c3bb9 djbdns-1.05-r9.ebuild 2751 MD5 6994f3a676feb5131ba8b5d17cdd4cdf djbdns-1.05-r8.ebuild 2037 MD5 3340189be9a5a23877b1c8bbb9edf4a3 files/digest-djbdns-1.05-r9 261 -MD5 3340189be9a5a23877b1c8bbb9edf4a3 files/digest-djbdns-1.05-r10 261 MD5 ba558b4a61ed71c23083aa1ec32c7cc9 files/digest-djbdns-1.05-r8 270 MD5 456c7b3cc5de829f4f03e627300e654f files/digest-djbdns-1.05-r7 266 MD5 7c2a17103fedf0325d120a7d254432fa files/tinydns-setup 3209 MD5 444830203a792b4a295ca8fee554b8d3 files/djbdns-1.05-ipv6arpa+BSDok-gentoo.diff 4127 +MD5 81745534132c6cfa3596abd4a6660260 files/digest-djbdns-1.05-r11 397 MD5 188096855028696985f1b9d839d1643f files/1.05-errno.patch 238 MD5 625d040d68fa3f87d67688c0e15eb2f4 files/headtail.patch 1781 MD5 3d85d57281612a4f73829a8efb9d6455 files/digest-djbdns-1.05-r3 133 diff --git a/net-dns/djbdns/djbdns-1.05-r11.ebuild b/net-dns/djbdns/djbdns-1.05-r11.ebuild new file mode 100644 index 000000000000..d21787a7b972 --- /dev/null +++ b/net-dns/djbdns/djbdns-1.05-r11.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/djbdns-1.05-r11.ebuild,v 1.1 2004/05/02 16:23:21 jhhudso Exp $ + +IUSE="ipv6 ipv6arpa static fwdzone roundrobin multipleip" + +inherit eutils + +DESCRIPTION="Excellent high-performance DNS services" +HOMEPAGE="http://cr.yp.to/djbdns.html" +SRC_URI="http://cr.yp.to/djbdns/${P}.tar.gz + fwdzone? ( http://www.skarnet.org/software/djbdns-fwdzone/djbdns-1.04-fwdzone.patch ) + roundrobin? ( http://www.legend.co.uk/djb/dns/round-robin.patch ) + multipleip? ( http://danp.net/djbdns/dnscache-multiple-ip.patch + http://www.ohse.de/uwe/patches/djbdns-1.05-multiip.diff ) + ipv6? ( http://www.fefe.de/dns/djbdns-1.05-test20.diff.bz2 )" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86" + +RDEPEND=">=sys-apps/daemontools-0.70 + sys-apps/ucspi-tcp" + +src_unpack() { + unpack ${A} + cd ${S} + + use ipv6 && use multipleip && \ + eerror "ipv6 cannot currently be used with the multipleip patch" && \ + exit -1 + + use ipv6 && ( use fwdzone || use roundrobin ) && \ + eerror "ipv6 cannot currently be used with the fwdzone or " && \ + eerror "roundrobin patch." && \ + eerror && \ + eerror "If you would like to see ipv6 support along with one of " && \ + eerror "those other patches please submit a working patch that " && \ + eerror "combines ipv6 with either fwdzone or roundrobin but not " && \ + eerror "both at the same time, since the latter 2 patches are " && \ + eerror "mutually exclusive according to bug #31238." && exit -1 + + use fwdzone && use roundrobin && \ + eerror "fwdzone and roundrobin do not work together according " && \ + eerror "to bug #31238" && exit -1 + + use fwdzone && epatch ${DISTDIR}/djbdns-1.04-fwdzone.patch + use roundrobin && epatch ${DISTDIR}/round-robin.patch + use ipv6 && epatch ${WORKDIR}/djbdns-1.05-test20.diff + use ipv6 && use ipv6arpa && \ + epatch ${FILESDIR}/djbdns-1.05-ipv6arpa+BSDok-gentoo.diff + use multipleip && \ + epatch ${DISTDIR}/dnscache-multiple-ip.patch && \ + epatch ${DISTDIR}/djbdns-1.05-multiip.diff + + epatch ${FILESDIR}/${PV}-errno.patch + epatch ${FILESDIR}/headtail.patch +} + +src_compile() { + LDFLAGS= + use static && LDFLAGS="-static" + echo "gcc ${CFLAGS}" > conf-cc + echo "gcc ${LDFLAGS}" > conf-ld + echo "/usr" > conf-home + MAKEOPTS="-j1" emake || die "emake failed" +} + +src_install() { + insinto /etc + doins dnsroots.global + into /usr + dobin *-conf dnscache tinydns walldns rbldns pickdns axfrdns \ + *-get *-data *-edit dnsip dnsipq dnsname dnstxt dnsmx \ + dnsfilter random-ip dnsqr dnsq dnstrace dnstracesort + + use ipv6 && dobin dnsip6 dnsip6q + + dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION + + dobin ${FILESDIR}/dnscache-setup + dobin ${FILESDIR}/tinydns-setup +} + +pkg_postinst() { + groupadd &>/dev/null nofiles + id &>/dev/null dnscache || \ + useradd -g nofiles -d /nonexistent -s /bin/false dnscache + id &>/dev/null dnslog || \ + useradd -g nofiles -d /nonexistent -s /bin/false dnslog + id &>/dev/null tinydns || \ + useradd -g nofiles -d /nonexistent -s /bin/false tinydns + + einfo "Use dnscache-setup and tinydns-setup to help you" + einfo "configure your nameservers!" +} diff --git a/net-dns/djbdns/files/digest-djbdns-1.05-r11 b/net-dns/djbdns/files/digest-djbdns-1.05-r11 new file mode 100644 index 000000000000..4479e9be12f4 --- /dev/null +++ b/net-dns/djbdns/files/digest-djbdns-1.05-r11 @@ -0,0 +1,6 @@ +MD5 3147c5cd56832aa3b41955c7a51cbeb2 djbdns-1.05.tar.gz 85648 +MD5 ac799440bacc9d283e1c228f84cf99d4 djbdns-1.04-fwdzone.patch 6479 +MD5 4c8558be4c763b039de9211368c01b06 round-robin.patch 3239 +MD5 9ff9c640a746331bcb0901d21a0c0e4f dnscache-multiple-ip.patch 7601 +MD5 d5c05ae75add84094d45a78a67ab925d djbdns-1.05-multiip.diff 5522 +MD5 3757ed6320dc5781ac8ade6a2eaa58d6 djbdns-1.05-test20.diff.bz2 18041 |