summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-04-22 08:44:14 +0000
committerPeter Volkov <pva@gentoo.org>2007-04-22 08:44:14 +0000
commit373e986b4d0e715fd333e53b47f9313c52d9cb13 (patch)
tree38713233049ce45b63fdf846779667632f52df96 /net-analyzer/ntop/ntop-3.0.ebuild
parentStable on Alpha, bug 174559. (diff)
downloadgentoo-2-373e986b4d0e715fd333e53b47f9313c52d9cb13.tar.gz
gentoo-2-373e986b4d0e715fd333e53b47f9313c52d9cb13.tar.bz2
gentoo-2-373e986b4d0e715fd333e53b47f9313c52d9cb13.zip
Use do{conf,init}d, bug #174266.
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-analyzer/ntop/ntop-3.0.ebuild')
-rw-r--r--net-analyzer/ntop/ntop-3.0.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-analyzer/ntop/ntop-3.0.ebuild b/net-analyzer/ntop/ntop-3.0.ebuild
index 7a872d43c386..66e22fea8113 100644
--- a/net-analyzer/ntop/ntop-3.0.ebuild
+++ b/net-analyzer/ntop/ntop-3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.0.ebuild,v 1.20 2007/01/05 08:39:00 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.0.ebuild,v 1.21 2007/04/22 08:44:14 pva Exp $
DESCRIPTION="tool that shows network usage like top"
@@ -32,7 +32,7 @@ src_compile() {
}
src_install() {
- make DESTDIR=${D} install || die "install problem"
+ make DESTDIR="${D}" install || die "install problem"
# fixme: bad handling of plugins (in /usr/lib with unsuggestive names)
# (don't know if there is a clean way to handle it)
@@ -45,10 +45,10 @@ src_install() {
dohtml ntop.html
keepdir /var/lib/ntop
- chown -R nobody:nobody ${D}/var/lib/ntop
+ chown -R nobody:nobody "${D}"/var/lib/ntop
- exeinto /etc/init.d ; newexe ${FILESDIR}/ntop-init ntop
- insinto /etc/conf.d ; newins ${FILESDIR}/ntop-confd ntop
+ newinitd "${FILESDIR}"/ntop-init ntop
+ newconfd "${FILESDIR}"/ntop-confd ntop
}
pkg_postinst() {