summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/nsd/ChangeLog4
-rw-r--r--net-dns/nsd/Manifest4
-rw-r--r--net-dns/nsd/nsd-3.2.8.ebuild26
3 files changed, 16 insertions, 18 deletions
diff --git a/net-dns/nsd/ChangeLog b/net-dns/nsd/ChangeLog
index a4808cebf..7e1fcdd45 100644
--- a/net-dns/nsd/ChangeLog
+++ b/net-dns/nsd/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 02 Jun 2011; Tom Hendrikx (whyscream) <tom@whyscream.net>
+ nsd-3.2.8.ebuild:
+ bumped to EAPI=4
+
20 May 2011; Justin Lecher <jlec@gentoo.org> metadata.xml:
Removed local use desc for largefile
diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index 37272b9bf..17fd1f4c3 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -3,6 +3,6 @@ AUX nsd.confd 104 RMD160 cd15a20757fd4db72a2da5327d68f4d6561bb271 SHA1 5fab374d0
AUX nsd.cron 262 RMD160 3fd5de5c7a3496d14705a5bb83d4632ce097b276 SHA1 6fc62e72e16fffd1d6e996cf616c9beb534a207d SHA256 c7b1d0141be64800fe88054b589afa0dc25d21ab42f40ee46e5b1ec659bfc8da
AUX nsd.initd 1810 RMD160 54f405b6bfcfdf4826c840023e56104660a58381 SHA1 4ad6b13be41d1b03d77d945e05e6734689dbd4d3 SHA256 9b8b3419a683d79bc1e2aa9d9dbfd8c7deae17e2f95aad5b09537aed3abd214a
DIST nsd-3.2.8.tar.gz 868051 RMD160 b3dcb965e65c4d65a7618997305ff9600b365898 SHA1 e8db690a09f53152f0dca6e4fbfabcc89003fced SHA256 6153f4ef36097e34629d7bfc7b9bda9abd362df971e855d97acf11974bc810b2
-EBUILD nsd-3.2.8.ebuild 2183 RMD160 2547a7873b77a02d06f89cdb58721c7a6110c6f4 SHA1 2d8a1a1f291643852d43a0ff45b9f0009623a4db SHA256 596ead408cb4d1be9d076168437dbdaf6f85ebee9de25539288afbc58c57a4f6
-MISC ChangeLog 3160 RMD160 12fff661133a1d2d0e7b865e7ccae3306eca6b2e SHA1 f0499f814bfa461f773864808bf372f97db1b2b3 SHA256 4ba3261da1b61d7c0b1b5120208eddb8ccd00d888ed9c7f7fd523ee56f425b58
+EBUILD nsd-3.2.8.ebuild 1903 RMD160 f9b49e86df00a4db7c3f8c884262fd991122775e SHA1 b84167d8a3c7100e2ddd15fab112d7759a9d7408 SHA256 0227e69c6896ddc7c2abe4055459e1aca9607eab0f9ce6a8b0967d68a45a93c1
+MISC ChangeLog 3260 RMD160 ec2f9e5724ecb17f06e7e713ed44b3ed7bd4fc9f SHA1 305941b38f7dfbb1a4929d63c5b02f9a8b07e7f4 SHA256 a23467ec682d0b7ef6a8ac2935fac7aa89f0c52da429f2cc1d0abbc659a09742
MISC metadata.xml 494 RMD160 82ff18dda56609806110ae908f3dd0baf640ac8c SHA1 ac812195b63c5b0fd4de7dc50431d9271f0cd947 SHA256 70a5e221a1707a0029f7fb3c5ccd1ee05143e8bd2c938a668484bfd22c492388
diff --git a/net-dns/nsd/nsd-3.2.8.ebuild b/net-dns/nsd/nsd-3.2.8.ebuild
index ee4fb90d0..f03e4140d 100644
--- a/net-dns/nsd/nsd-3.2.8.ebuild
+++ b/net-dns/nsd/nsd-3.2.8.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="2"
+EAPI=4
inherit autotools eutils
@@ -35,9 +35,9 @@ src_configure() {
# ebuild.sh sets localstatedir to /var/lib, but nsd expects /var in several locations
# some of these cannot be changed by arguments to econf/configure, f.i. logfile
econf \
- --localstatedir=/var \
- --with-pidfile=/var/run/nsd/nsd.pid \
- --with-zonesdir=/var/lib/nsd \
+ --localstatedir="${EPREFIX}/var" \
+ --with-pidfile="${EPREFIX}/var/run/nsd/nsd.pid" \
+ --with-zonesdir="${EPREFIX}/var/lib/nsd" \
--enable-largefile \
$(use_enable bind8-stats) \
$(use_enable ipv6) \
@@ -47,19 +47,18 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install
- dodoc doc/{ChangeLog,CREDITS,NSD-FOR-BIND-USERS,README,REQUIREMENTS} \
- || die "dodoc failed"
+ dodoc doc/{ChangeLog,CREDITS,NSD-FOR-BIND-USERS,README,REQUIREMENTS}
insinto /usr/share/nsd
- doins contrib/nsd.zones2nsd.conf || die "doins failed"
+ doins contrib/nsd.zones2nsd.conf
exeinto /etc/cron.daily
- doexe "${FILESDIR}/nsd.cron" || die "doexe failed"
+ doexe "${FILESDIR}/nsd.cron"
- newinitd "${FILESDIR}"/nsd.initd nsd || die "newinitd failed"
- newconfd "${FILESDIR}"/nsd.confd nsd || die "newconfd failed"
+ newinitd "${FILESDIR}"/nsd.initd nsd
+ newconfd "${FILESDIR}"/nsd.confd nsd
# database directory, writable by nsd for ixfr.db file
dodir /var/db/nsd
@@ -75,8 +74,3 @@ src_install() {
dodir /var/run/nsd
fowners nsd:nsd /var/run/nsd
}
-
-pkg_postinst() {
- elog "If you are using bind and want to convert (or sync) bind zones"
- elog "you should check out bind2nsd (http://bind2nsd.sourceforge.net)."
-}