diff options
author | 2007-03-07 16:29:13 +0000 | |
---|---|---|
committer | 2007-03-07 16:29:13 +0000 | |
commit | 61ba072a965ab8365c68162c518fd4db28b08fd4 (patch) | |
tree | c0f21f5b03ba5dea6fd5a01ff20e080e92c4ad2e /net-dns/nsd/nsd-3.0.4.ebuild | |
parent | 2 new local use flags for upcoming 3.0.x net-dns/nsid ebuild (diff) | |
download | sunrise-61ba072a965ab8365c68162c518fd4db28b08fd4.tar.gz sunrise-61ba072a965ab8365c68162c518fd4db28b08fd4.tar.bz2 sunrise-61ba072a965ab8365c68162c518fd4db28b08fd4.zip |
net-dns/nsd: version bump
svn path=/sunrise/; revision=3167
Diffstat (limited to 'net-dns/nsd/nsd-3.0.4.ebuild')
-rw-r--r-- | net-dns/nsd/nsd-3.0.4.ebuild | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/net-dns/nsd/nsd-3.0.4.ebuild b/net-dns/nsd/nsd-3.0.4.ebuild new file mode 100644 index 000000000..8a6ad97bd --- /dev/null +++ b/net-dns/nsd/nsd-3.0.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="an authoritative only, high performance, open source name server" +HOMEPAGE="http://www.nlnetlabs.nl/nsd/" +SRC_URI="http://www.nlnetlabs.nl/downloads/nsd/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="axfr bind8-stats checking dnssec ipv6 nsec3 nsid plugins root-server ssl tcpd tsig" + +DEPEND="ssl? ( >=dev-libs/openssl-0.9.7i ) + tcpd? ( sys-apps/tcp-wrappers )" + +pkg_setup() { + enewuser nsd -1 -1 /var/lib/nsd +} + +src_compile() { + if use plugins; then + ewarn + ewarn "Plugin support is highly experimental!" + ewarn "Plugin support enabled!" + epause 10 + fi + + econf \ + --with-user=nsd \ + --with-dbfile=/var/lib/nsd/nsd.db \ + --with-pidfile=/var/run/nsd/nsd.pid \ + --with-zonesdir=/var/lib/nsd \ + --with-difffile=/var/run/nsd/ \ + --with-xfrdfile==/var/run/nsd/ \ + $(use_enable axfr) \ + $(use_enable bind8-stats) \ + $(use_enable checking) \ + $(use_enable dnssec) \ + $(use_enable ipv6) \ + $(use_enable nsec3) \ + $(use_enable nsid) \ + $(use_enable plugins) \ + $(use_enable root-server) \ + $(use_with ssl) \ + $(use_enable tsig) || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc doc/* + dodoc contrib/nsd.zones2nsd.conf + + dobin nsdc.sh + + exeinto /etc/cron.hourly + newexe "${FILESDIR}"/nsd.cron nsd.cron + + newinitd "${FILESDIR}"/nsd.initd nsd + + keepdir /var/run/nsd + fowners nsd /var/run/nsd + fperms 750 /var/run/nsd + + keepdir /var/lib/nsd + fowners nsd /var/lib/nsd + fperms 750 /var/lib/nsd +} |