diff options
Diffstat (limited to 'net-dns/djbdns')
-rw-r--r-- | net-dns/djbdns/djbdns-1.05-r4.ebuild | 62 | ||||
-rw-r--r-- | net-dns/djbdns/djbdns-1.05-r5.ebuild | 64 | ||||
-rw-r--r-- | net-dns/djbdns/files/1.05-errno.patch | 11 | ||||
-rw-r--r-- | net-dns/djbdns/files/digest-djbdns-1.05-r4 | 2 | ||||
-rw-r--r-- | net-dns/djbdns/files/digest-djbdns-1.05-r5 | 3 |
5 files changed, 11 insertions, 131 deletions
diff --git a/net-dns/djbdns/djbdns-1.05-r4.ebuild b/net-dns/djbdns/djbdns-1.05-r4.ebuild deleted file mode 100644 index fefd14bd0612..000000000000 --- a/net-dns/djbdns/djbdns-1.05-r4.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# 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-r4.ebuild,v 1.5 2003/02/13 13:57:03 vapier Exp $ - -DESCRIPTION="Excellent high-performance DNS services" -SRC_URI="http://cr.yp.to/djbdns/${P}.tar.gz - ipv6? http://www.fefe.de/dns/djbdns-1.05-test17.diff.bz2 - http://www.skarnet.org/software/djbdns-fwdzone/djbdns-1.04-fwdzone.patch" -HOMEPAGE="http://cr.yp.to/djbdns.html" -LICENSE="as-is" -KEYWORDS="~x86 ~sparc " -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 - if [ `use ipv6` ] ; then - bzcat ${DISTDIR}/djbdns-1.05-test17.diff.bz2 | \ - patch -d ${S} -p1 || die "Failed to apply the ipv6 patch" - fi - patch -d ${S} -p1 < ${DISTDIR}/djbdns-1.04-fwdzone.patch -} - -src_compile() { - echo "gcc ${CFLAGS}" > conf-cc - echo "gcc" > 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/djbdns-1.05-r5.ebuild b/net-dns/djbdns/djbdns-1.05-r5.ebuild deleted file mode 100644 index 1cce9c2b19f8..000000000000 --- a/net-dns/djbdns/djbdns-1.05-r5.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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-r5.ebuild,v 1.5 2003/02/13 13:57:09 vapier 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 " -SLOT="0" -IUSE="ipv6 static" - -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/1.05-errno.patch b/net-dns/djbdns/files/1.05-errno.patch new file mode 100644 index 000000000000..41f9e8ed9021 --- /dev/null +++ b/net-dns/djbdns/files/1.05-errno.patch @@ -0,0 +1,11 @@ +--- error.h 2001-02-11 15:11:45.000000000 -0600 ++++ error.h 2003-02-26 02:10:21.000000000 -0600 +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include <errno.h>; + + extern int error_intr; + extern int error_nomem; diff --git a/net-dns/djbdns/files/digest-djbdns-1.05-r4 b/net-dns/djbdns/files/digest-djbdns-1.05-r4 deleted file mode 100644 index 0bd36a7b35c2..000000000000 --- a/net-dns/djbdns/files/digest-djbdns-1.05-r4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 3147c5cd56832aa3b41955c7a51cbeb2 djbdns-1.05.tar.gz 85648 -MD5 ac799440bacc9d283e1c228f84cf99d4 djbdns-1.04-fwdzone.patch 6479 diff --git a/net-dns/djbdns/files/digest-djbdns-1.05-r5 b/net-dns/djbdns/files/digest-djbdns-1.05-r5 deleted file mode 100644 index 966c652b4166..000000000000 --- a/net-dns/djbdns/files/digest-djbdns-1.05-r5 +++ /dev/null @@ -1,3 +0,0 @@ -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 |