summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Perier <mrpouet@gentoo.org>2009-08-21 12:16:11 +0000
committerRomain Perier <mrpouet@gentoo.org>2009-08-21 12:16:11 +0000
commit9afa8f0e9d192819dfbcc674faccee7817d77f09 (patch)
treeea3d2dbe8bf1c3043a4d3aa3d63dca7af4378809 /net-dns
parentapp-crypt/yapet: Fix some QA warnings. Restore inheritance from base eclass, ... (diff)
downloadsunrise-reviewed-9afa8f0e9d192819dfbcc674faccee7817d77f09.tar.gz
sunrise-reviewed-9afa8f0e9d192819dfbcc674faccee7817d77f09.tar.bz2
sunrise-reviewed-9afa8f0e9d192819dfbcc674faccee7817d77f09.zip
net-dns/nsd: Clean up src_install()
svn path=/sunrise/; revision=9089
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/nsd/Manifest2
-rw-r--r--net-dns/nsd/nsd-3.2.3.ebuild32
2 files changed, 17 insertions, 17 deletions
diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
index ce0de576d..34c10543d 100644
--- a/net-dns/nsd/Manifest
+++ b/net-dns/nsd/Manifest
@@ -2,6 +2,6 @@ AUX nsd.confd 104 RMD160 cd15a20757fd4db72a2da5327d68f4d6561bb271 SHA1 5fab374d0
AUX nsd.cron 227 RMD160 9a78cfc2bfb18ada86c42e24310416043d30a4f4 SHA1 feed7a81954ba03e85457ee731ca7475098bd189 SHA256 8d62364ac608edacbb1e1d2a80c3b9490600eca65c796f84b394a6289618778c
AUX nsd.initd 1564 RMD160 def86cc589c7b004a734110b3c75639b51acbc57 SHA1 cd9244a54aeb61e42a57038ec895c8130436f549 SHA256 ffd8019da6e8b60156bd232a7612112deee957eafb8d8eb9f3a149827fad14da
DIST nsd-3.2.3.tar.gz 855917 RMD160 f1672a4c0fee607d1cc5d8d21c6667fc51d43dd9 SHA1 2afcc6e1086eef7f5e538c7d837f628f83a19a86 SHA256 2a9b4cb63b002a2a63ec8243f90a9e041f08b9498faa5b35ca71ce3334d842ff
-EBUILD nsd-3.2.3.ebuild 2313 RMD160 c419c0109d88de54213cb5935bae1af7cd872a9c SHA1 284ecb7829165a99f982991aa82d6eed0b7308ae SHA256 30f55adefd7357aa0cd96c31bc7f9e8fc717c2faf6a6423cfb486c264ff75874
+EBUILD nsd-3.2.3.ebuild 2263 RMD160 40cab75d6b9511e8f46dac1401fb7c19c16f93eb SHA1 3ff2ea6e26bea7eac3e82b4acf8e1c13f648f115 SHA256 f5761a98ca607dd552810ed1a969f800ef77358e0c3d0cf93541981472570402
MISC ChangeLog 2028 RMD160 71e791279e8cae6a95f4ee555d379de1aa2c66fb SHA1 32379dfb65dac412a53e20e5c84872f6928bd65e SHA256 d9a82f43d9d76a5690da971dc3d89fa8eee82c40e0e79daebe231fca3d414a5e
MISC metadata.xml 636 RMD160 5545e97a08014c4e8fef86b6c31beb256bd0afa3 SHA1 fffb9c46af8579e12630200c015e2e8d20d4095f SHA256 68459d2bd40c279d1130dc09006f1efc8c094ee0131fd77f56ede70c7766fa85
diff --git a/net-dns/nsd/nsd-3.2.3.ebuild b/net-dns/nsd/nsd-3.2.3.ebuild
index 580359d28..a506f5d86 100644
--- a/net-dns/nsd/nsd-3.2.3.ebuild
+++ b/net-dns/nsd/nsd-3.2.3.ebuild
@@ -53,28 +53,28 @@ src_install() {
dodoc doc/{ChangeLog,CREDITS,NSD-FOR-BIND-USERS,README,REQUIREMENTS} \
|| die "dodoc failed"
- insinto /usr/share/${PN}
- doins "${FILESDIR}/${PN}.cron" || die "doins failed"
- doins contrib/${PN}.zones2${PN}.conf || die "doins failed"
+ insinto /usr/share/nsd
+ doins "${FILESDIR}/nsd.cron" || die "doins failed"
+ doins contrib/nsd.zones2nsd.conf || die "doins failed"
- newinitd "${FILESDIR}"/${PN}.initd ${PN} || die "newinitd failed"
- newconfd "${FILESDIR}"/${PN}.confd ${PN} || die "newconfd failed"
+ newinitd "${FILESDIR}"/nsd.initd nsd || die "newinitd failed"
+ newconfd "${FILESDIR}"/nsd.confd nsd || die "newconfd failed"
- # database directory, writable by ${PN} for ixfr.db file
- keepdir /var/db/${PN}
- fowners ${PN}:${PN} /var/db/${PN}
- fperms 750 /var/db/${PN}
+ # database directory, writable by nsd for ixfr.db file
+ keepdir /var/db/nsd
+ fowners nsd:nsd /var/db/nsd
+ fperms 750 /var/db/nsd
- # zones directory, writable by root for '${PN}c patch'
- keepdir /var/lib/${PN}
- fowners root:${PN} /var/lib/${PN}
- fperms 750 /var/lib/${PN}
+ # zones directory, writable by root for 'nsdc patch'
+ keepdir /var/lib/nsd
+ fowners root:nsd /var/lib/nsd
+ fperms 750 /var/lib/nsd
}
pkg_postinst() {
elog "If you are using bind and want to convert (or sync) bind zones"
- elog "you should check out bind2${PN} (http://bind2${PN}.sourceforge.net)."
+ elog "you should check out bind2nsd (http://bind2nsd.sourceforge.net)."
echo
- elog "To automatically merge zone transfer changes back to ${PN}'s"
- elog "zone files using '${PN}c patch', try ${PN}.cron in /usr/share/${PN}"
+ elog "To automatically merge zone transfer changes back to nsd's"
+ elog "zone files using 'nsdc patch', try nsd.cron in /usr/share/nsd"
}