summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared H.Hudson <jhhudso@gentoo.org>2002-11-18 06:07:37 +0000
committerJared H.Hudson <jhhudso@gentoo.org>2002-11-18 06:07:37 +0000
commit9935c9309e5ab59d040317b5a139a30c8f001b73 (patch)
tree443ed519b343a2000caedd8795a38e142ed04578 /net-dns
parentjpilot update (diff)
downloadgentoo-2-9935c9309e5ab59d040317b5a139a30c8f001b73.tar.gz
gentoo-2-9935c9309e5ab59d040317b5a139a30c8f001b73.tar.bz2
gentoo-2-9935c9309e5ab59d040317b5a139a30c8f001b73.zip
Fixed Bug #8236 & 8237. Added static use flag and fixed ipv6 patch to
work with -r4's forwarding zone patch.
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/djbdns/ChangeLog9
-rw-r--r--net-dns/djbdns/djbdns-1.05-r5.ebuild64
-rw-r--r--net-dns/djbdns/files/digest-djbdns-1.05-r53
3 files changed, 75 insertions, 1 deletions
diff --git a/net-dns/djbdns/ChangeLog b/net-dns/djbdns/ChangeLog
index 9fee754d8367..bef7a4eca42c 100644
--- a/net-dns/djbdns/ChangeLog
+++ b/net-dns/djbdns/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for net-dns/djbdns
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/ChangeLog,v 1.6 2002/10/19 23:07:28 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/djbdns/ChangeLog,v 1.7 2002/11/18 06:07:37 jhhudso Exp $
+*djbdns-1.05-r5 (17 Nov 2002)
+
+ 17 Nov 2002; Jared Hudson <jhhudso@gentoo.org> files/ipv6-fix.diff,
+ files/djbdns-1.05-fwd-ipv6.diff : Fixed Bug #8236 & 8236. Added static
+ keyword to ebuild and changed ipv6 patch to work with the forwarding patch
+ added in -r4.
+
20 Oct 2002; Maik Schreiber <blizzy@gentoo.org> djbdns-1.05-r3.ebuild,
djbdns-1.05-r4.ebuild: Cleaned up ebuilds. Also removed removal of
djbdns users, since this can break your djbdns setup when updating.
diff --git a/net-dns/djbdns/djbdns-1.05-r5.ebuild b/net-dns/djbdns/djbdns-1.05-r5.ebuild
new file mode 100644
index 000000000000..ea385138a5bf
--- /dev/null
+++ b/net-dns/djbdns/djbdns-1.05-r5.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2002 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-r5.ebuild,v 1.1 2002/11/18 06:07:37 jhhudso Exp $
+
+DESCRIPTION="Excellent high-performance DNS services"
+SRC_URI="http://cr.yp.to/djbdns/${P}.tar.gz
+ http://www.skarnet.org/software/djbdns-fwdzone/djbdns-1.04-fwdzone.patch
+ mirror://${P}-ipv6-gentoo.diff.bz2"
+HOMEPAGE="http://cr.yp.to/djbdns.html"
+LICENSE="as-is"
+KEYWORDS="~x86 ~sparc ~sparc64"
+SLOT="0"
+IUSE="ipv6"
+
+DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}
+ >=sys-apps/daemontools-0.70
+ sys-apps/ucspi-tcp"
+
+S="${WORKDIR}/${P}"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ patch -d ${S} -p1 < ${DISTDIR}/djbdns-1.04-fwdzone.patch
+ if [ `use ipv6` ] ; then
+ bunzip2 -dc ${DISTDIR}/djbdns-1.05-ipv6-gentoo.diff.bz2 |
+ patch -d ${S} -p1 || die "Failed to apply the ipv6 patch"
+ fi
+}
+
+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
+ for i in *-conf dnscache tinydns walldns rbldns pickdns axfrdns *-get *-data *-edit dnsip dnsipq dnsname dnstxt dnsmx dnsfilter random-ip dnsqr dnsq dnstrace dnstracesort
+ do
+ dobin $i
+ done
+ 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 configure your nameservers!"
+}
diff --git a/net-dns/djbdns/files/digest-djbdns-1.05-r5 b/net-dns/djbdns/files/digest-djbdns-1.05-r5
new file mode 100644
index 000000000000..966c652b4166
--- /dev/null
+++ b/net-dns/djbdns/files/digest-djbdns-1.05-r5
@@ -0,0 +1,3 @@
+MD5 3147c5cd56832aa3b41955c7a51cbeb2 djbdns-1.05.tar.gz 85648
+MD5 ac799440bacc9d283e1c228f84cf99d4 djbdns-1.04-fwdzone.patch 6479
+MD5 dea62d98ea9c521d678fe4939873cb56 djbdns-1.05-ipv6-gentoo.diff.bz2 19047