diff options
-rw-r--r-- | net-dns/djbdns/ChangeLog | 7 | ||||
-rw-r--r-- | net-dns/djbdns/djbdns-1.05-r8.ebuild | 69 | ||||
-rw-r--r-- | net-dns/djbdns/files/digest-djbdns-1.05-r8 | 4 |
3 files changed, 79 insertions, 1 deletions
diff --git a/net-dns/djbdns/ChangeLog b/net-dns/djbdns/ChangeLog index 1c5c1409cbff..5ac62b4c1485 100644 --- a/net-dns/djbdns/ChangeLog +++ b/net-dns/djbdns/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/djbdns # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/ChangeLog,v 1.17 2003/02/27 06:20:43 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/ChangeLog,v 1.18 2003/05/09 10:54:47 gmsoft Exp $ + +*djbdns-1.05-r8 (9 May 2003) + + 09 May 2003; Guy Martin <gmsoft@gentoo.org> : + Added installation of dnsip6 and dnsip6q. Fix #20690. *djbdns-1.05-r7 (26 Feb 2003) diff --git a/net-dns/djbdns/djbdns-1.05-r8.ebuild b/net-dns/djbdns/djbdns-1.05-r8.ebuild new file mode 100644 index 000000000000..4324f0df8ef1 --- /dev/null +++ b/net-dns/djbdns/djbdns-1.05-r8.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2003 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-r8.ebuild,v 1.1 2003/05/09 10:54:47 gmsoft Exp $ + +inherit eutils + +DESCRIPTION="Excellent high-performance DNS services" +HOMEPAGE="http://cr.yp.to/djbdns.html" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="x86 ~sparc ~ppc ~alpha ~mips ~hppa" +IUSE="ipv6 static" + +RDEPEND=">=sys-apps/daemontools-0.70 + sys-apps/ucspi-tcp" + +SRC_URI="http://cr.yp.to/djbdns/${P}.tar.gz + http://www.skarnet.org/software/djbdns-fwdzone/djbdns-1.04-fwdzone.patch + http://www.legend.co.uk/djb/dns/round-robin.patch + ipv6? ( http://cvs.gentoo.org/~seemant/${P}-ipv6-gentoo.diff.bz2 )" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${DISTDIR}/djbdns-1.04-fwdzone.patch + epatch ${DISTDIR}/round-robin.patch + epatch ${FILESDIR}/${PV}-errno.patch + use ipv6 && epatch ${WORKDIR}/djbdns-1.05-ipv6-gentoo.diff +} + +src_compile() { + LDFLAGS= + use static && LDFLAGS="-static" + echo "gcc ${CFLAGS}" > conf-cc + echo "gcc ${LDFLAGS}" > conf-ld + echo "/usr" > conf-home + 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 + #Fix #20690. + 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-r8 b/net-dns/djbdns/files/digest-djbdns-1.05-r8 new file mode 100644 index 000000000000..30f335e3cf90 --- /dev/null +++ b/net-dns/djbdns/files/digest-djbdns-1.05-r8 @@ -0,0 +1,4 @@ +MD5 3147c5cd56832aa3b41955c7a51cbeb2 djbdns-1.05.tar.gz 85648 +MD5 ac799440bacc9d283e1c228f84cf99d4 djbdns-1.04-fwdzone.patch 6479 +MD5 4c8558be4c763b039de9211368c01b06 round-robin.patch 3239 +MD5 d2bf744c23f982d9ea13cb57f9d4f5af djbdns-1.05-ipv6-gentoo.diff.bz2 18848 |