Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876 - new djbdns ebuild
Summary: new djbdns ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-27 09:11 UTC by Thilo Bangert (RETIRED) (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-02-27 09:11:05 UTC
Hi,
this is the new djbdns ebuild - it's basically the old one without the rc5 startup script
i have some partially finished startup and setup scripts too, but they need more testing
Thilo
==================
djbdns-1.05-r1.ebuild
-----------
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/net-misc/djbdns/djbdns-1.05.ebuild,v 1.2 2001/05/28 
05:24:13 achim Exp

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Excellent high-performance DNS services"
SRC_URI="http://cr.yp.to/djbdns/${A}"
HOMEPAGE="http://cr.yp.to/djbdns.html"

DEPEND="virtual/glibc"
RDEPEND="virtual/glibc >=sys-apps/daemontools-0.70"

src_unpack() {
	unpack ${A}
	cd ${S}
	echo "gcc ${CFLAGS}" > conf-cc
	echo "gcc" > conf-ld
	echo "/usr" > conf-home
}

src_compile() {                           
	cd ${S}
	try pmake
}

src_install() {                               
	cd ${S}
	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
	# better place to put the global roots?
	insinto /etc; doins dnsroots.global
	exeinto /etc/init.d
	dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
}
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-03-01 20:32:57 UTC
Thanks.  New ebuild on CVS.  I'm just ditching the init script, 
since that's what daemontools is for.