diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-09-09 09:51:46 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-09-09 09:51:46 +0000 |
commit | eeb5f6014cc7fd581918d9e99380e19f47f46f8a (patch) | |
tree | afd6d58708119dd2304ca30347374c5cb0f10664 /net-dns | |
parent | new upstream version. (diff) | |
download | gentoo-2-eeb5f6014cc7fd581918d9e99380e19f47f46f8a.tar.gz gentoo-2-eeb5f6014cc7fd581918d9e99380e19f47f46f8a.tar.bz2 gentoo-2-eeb5f6014cc7fd581918d9e99380e19f47f46f8a.zip |
Updated ipv6 patch to test23.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/djbdns/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/djbdns/Manifest | 16 | ||||
-rw-r--r-- | net-dns/djbdns/djbdns-1.05-r16.ebuild | 142 | ||||
-rw-r--r-- | net-dns/djbdns/files/digest-djbdns-1.05-r16 | 9 |
4 files changed, 167 insertions, 8 deletions
diff --git a/net-dns/djbdns/ChangeLog b/net-dns/djbdns/ChangeLog index 3dcef76a8f26..96346d8c76da 100644 --- a/net-dns/djbdns/ChangeLog +++ b/net-dns/djbdns/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/djbdns # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/ChangeLog,v 1.64 2005/08/07 13:26:21 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/ChangeLog,v 1.65 2005/09/09 09:51:46 flameeyes Exp $ + +*djbdns-1.05-r16 (09 Sep 2005) + + 09 Sep 2005; Diego Pettenò <flameeyes@gentoo.org> + +djbdns-1.05-r16.ebuild: + Updated ipv6 patch to test23. 07 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> djbdns-1.05-r14.ebuild: diff --git a/net-dns/djbdns/Manifest b/net-dns/djbdns/Manifest index ee704418bfd4..a7582921f770 100644 --- a/net-dns/djbdns/Manifest +++ b/net-dns/djbdns/Manifest @@ -1,13 +1,15 @@ -MD5 f04b8acc339d82cdf4352c556707395d djbdns-1.05-r15.ebuild 4708 -MD5 bd58f640fd646eb1b47ba694b33e7806 metadata.xml 230 MD5 de41305e793a61607b0ddcacf4dd6927 ChangeLog 11655 MD5 401ae54213b2c95ea9b542a21592aef6 djbdns-1.05-r14.ebuild 4699 +MD5 82528b96cfa40a4b2d6a365fe7cf07fc djbdns-1.05-r16.ebuild 4708 +MD5 bd58f640fd646eb1b47ba694b33e7806 metadata.xml 230 +MD5 f04b8acc339d82cdf4352c556707395d djbdns-1.05-r15.ebuild 4708 +MD5 e978c483e32ec53b3eb8a2b703c89d6d files/djbdns-setup 11152 +MD5 865a37de3e223a3ca61e8c4eedc8e8e6 files/digest-djbdns-1.05-r15 624 +MD5 9127cff20924bbf9dfd84d3896a2510e files/digest-djbdns-1.05-r14 624 MD5 46e046747b9dd8a0a1300a52c142f423 files/fwdzone-fix.patch 438 -MD5 188096855028696985f1b9d839d1643f files/1.05-errno.patch 238 MD5 625d040d68fa3f87d67688c0e15eb2f4 files/headtail.patch 1781 +MD5 188096855028696985f1b9d839d1643f files/1.05-errno.patch 238 MD5 d1844f9853a9bb56738a6a0eb6e04de4 files/tinydns-setup 3206 -MD5 e978c483e32ec53b3eb8a2b703c89d6d files/djbdns-setup 11152 -MD5 865a37de3e223a3ca61e8c4eedc8e8e6 files/digest-djbdns-1.05-r15 624 -MD5 dfd675b2775efcbb604413a84db8bf1a files/dnsroots.patch 349 MD5 2804eedf8bf07dacf67d094c5122c723 files/dnscache-setup 6007 -MD5 9127cff20924bbf9dfd84d3896a2510e files/digest-djbdns-1.05-r14 624 +MD5 8a42d55ba5a2b3e8b0c65d11ec73663c files/digest-djbdns-1.05-r16 624 +MD5 dfd675b2775efcbb604413a84db8bf1a files/dnsroots.patch 349 diff --git a/net-dns/djbdns/djbdns-1.05-r16.ebuild b/net-dns/djbdns/djbdns-1.05-r16.ebuild new file mode 100644 index 000000000000..c60670e25b73 --- /dev/null +++ b/net-dns/djbdns/djbdns-1.05-r16.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/djbdns-1.05-r16.ebuild,v 1.1 2005/09/09 09:51:46 flameeyes Exp $ + +IUSE="aliaschain cnamefix doc fwdzone ipv6 multipleip roundrobin semanticfix static selinux" + +inherit eutils + +DESCRIPTION="Excellent high-performance DNS services" +HOMEPAGE="http://cr.yp.to/djbdns.html" +URL1="http://www.skarnet.org/software/djbdns-fwdzone" +URL2="http://homepages.tesco.net/~J.deBoynePollard/Softwares/djbdns" +IPV6_PATCH="test23" + +SRC_URI="http://cr.yp.to/djbdns/${P}.tar.gz + fwdzone? ( ${URL1}/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 ) + aliaschain? ( ${URL2}/tinydns-alias-chain-truncation.patch ) + semanticfix? ( ${URL2}/tinydns-data-semantic-error.patch ) + cnamefix? ( ${URL2}/dnscache-cname-handling.patch ) + ipv6? ( http://www.fefe.de/dns/${P}-${IPV6_PATCH}.diff.bz2 )" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-process/daemontools-0.70 + doc? ( app-doc/djbdns-man ) + sys-apps/ucspi-tcp + selinux? ( sec-policy/selinux-djbdns )" + +src_unpack() { + unpack ${A} + cd ${S} + + useq ipv6 && useq cnamefix && \ + eerror "ipv6 cannot currently be used with the cnamefix patch" && \ + exit -1 + + useq ipv6 && useq multipleip && \ + eerror "ipv6 cannot currently be used with the multipleip patch" && \ + exit -1 + + useq ipv6 && ( useq fwdzone || useq 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 + + useq fwdzone && useq roundrobin && \ + eerror "fwdzone and roundrobin do not work together according " && \ + eerror "to bug #31238" && exit -1 + + useq cnamefix && \ + sed s:'\r'::g < ${DISTDIR}/dnscache-cname-handling.patch \ + > ${WORKDIR}/dnscache-cname-handling.patch && \ + epatch ${WORKDIR}/dnscache-cname-handling.patch + useq aliaschain && \ + epatch ${DISTDIR}/tinydns-alias-chain-truncation.patch + useq semanticfix && \ + epatch ${DISTDIR}/tinydns-data-semantic-error.patch + + useq fwdzone && epatch ${DISTDIR}/djbdns-1.04-fwdzone.patch + useq roundrobin && epatch ${DISTDIR}/round-robin.patch + useq multipleip && \ + epatch ${DISTDIR}/dnscache-multiple-ip.patch && \ + epatch ${DISTDIR}/djbdns-1.05-multiip.diff + + epatch ${FILESDIR}/headtail.patch + epatch ${FILESDIR}/dnsroots.patch + + useq ipv6 && { + einfo "At present dnstrace does NOT support IPv6. It will " \ + "be compiled without IPv6 support." + cp -pR ${S} ${S}-noipv6 + # Careful -- >=test21 of the ipv6 patch includes the errno patch + epatch ${WORKDIR}/${P}-${IPV6_PATCH}.diff + cd ${S}-noipv6 + epatch ${FILESDIR}/${PV}-errno.patch + } || { + epatch ${FILESDIR}/${PV}-errno.patch + } +} + +src_compile() { + LDFLAGS= + useq static && LDFLAGS="-static" + echo "gcc ${CFLAGS}" > conf-cc + echo "gcc ${LDFLAGS}" > conf-ld + echo "/usr" > conf-home + MAKEOPTS="-j1" emake || die "emake failed" + + # If djbdns is compiled with ipv6 support it breaks dnstrace + # therefore we must compile dnstrace separately without ipv6 + # support. + if useq ipv6; + then + einfo "Compiling dnstrace without ipv6 support" + cd ${S}-noipv6 + LDFLAGS= + useq static && LDFLAGS="-static" + echo "gcc ${CFLAGS}" > conf-cc + echo "gcc ${LDFLAGS}" > conf-ld + echo "/usr" > conf-home + MAKEOPTS="-j1" emake dnstrace || die "emake failed" + fi +} + +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 + + useq ipv6 && dobin dnsip6 dnsip6q ${S}-noipv6/dnstrace + + dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION + + dobin ${FILESDIR}/dnscache-setup + useq fwdzone && cd ${D}${DESTTREE}/bin && \ + epatch ${FILESDIR}/fwdzone-fix.patch + dobin ${FILESDIR}/tinydns-setup + dobin ${FILESDIR}/djbdns-setup +} + +pkg_postinst() { + enewgroup nofiles + enewuser dnscache -1 -1 /nonexistent nofiles + enewuser dnslog -1 -1 /nonexistent nofiles + enewuser tinydns -1 -1 /nonexistent nofiles + + einfo "Use (dnscache-setup + tinydns-setup) or djbdns-setup" \ + "to configure djbdns." +} diff --git a/net-dns/djbdns/files/digest-djbdns-1.05-r16 b/net-dns/djbdns/files/digest-djbdns-1.05-r16 new file mode 100644 index 000000000000..da4d4b05b9f9 --- /dev/null +++ b/net-dns/djbdns/files/digest-djbdns-1.05-r16 @@ -0,0 +1,9 @@ +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 ef1b5cfe7a6f90e4ed8b342e4f4f1ded tinydns-alias-chain-truncation.patch 1994 +MD5 219cb6b75878d7a7b9500a6e3ded154f tinydns-data-semantic-error.patch 5096 +MD5 847766cb1b2fd57eb0cd97ac44b763c7 dnscache-cname-handling.patch 7569 +MD5 dc35e88e20ffe2670cef5bb4d8a2c183 djbdns-1.05-test23.diff.bz2 18480 |