summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-24 22:04:04 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-24 22:04:04 +0000
commit51850ce8ca048063253403ef02b805869f5ba58a (patch)
tree0e55577d93d83ad37680380597536587d7c310ed /net-analyzer
parentarm/sh stable (diff)
downloadgentoo-2-51850ce8ca048063253403ef02b805869f5ba58a.tar.gz
gentoo-2-51850ce8ca048063253403ef02b805869f5ba58a.tar.bz2
gentoo-2-51850ce8ca048063253403ef02b805869f5ba58a.zip
arm/s390/sh stable
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ntop/files/ntop-init-210
-rw-r--r--net-analyzer/ntop/ntop-3.2-r3.ebuild4
2 files changed, 8 insertions, 6 deletions
diff --git a/net-analyzer/ntop/files/ntop-init-2 b/net-analyzer/ntop/files/ntop-init-2
index 6de2b775d248..d2a66b1029dc 100644
--- a/net-analyzer/ntop/files/ntop-init-2
+++ b/net-analyzer/ntop/files/ntop-init-2
@@ -1,11 +1,13 @@
#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
depend() {
- need net
+ need net
}
checkconfig() {
- if [ ! -e /var/lib/ntop/ntop_pw.db ]; then
+ if [ ! -e /var/lib/ntop/ntop_pw.db ]; then
eerror "You need to set a password first by running"
eerror "ntop --set-admin-password"
return 1
@@ -15,12 +17,12 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting ntop"
- start-stop-daemon --start --quiet --exec /usr/bin/ntop -- -d -L ${NTOP_OPTS} >/dev/null
+ start-stop-daemon --start --exec /usr/bin/ntop -- -d -L ${NTOP_OPTS}
eend $?
}
stop() {
ebegin "Stopping ntop"
- start-stop-daemon --stop --quiet --retry 5 --pidfile /var/lib/ntop/ntop.pid
+ start-stop-daemon --stop --retry 5 --pidfile /var/lib/ntop/ntop.pid
eend $?
}
diff --git a/net-analyzer/ntop/ntop-3.2-r3.ebuild b/net-analyzer/ntop/ntop-3.2-r3.ebuild
index f2ecdfe05a03..bb5f95ad5748 100644
--- a/net-analyzer/ntop/ntop-3.2-r3.ebuild
+++ b/net-analyzer/ntop/ntop-3.2-r3.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.2-r3.ebuild,v 1.8 2007/06/14 21:56:19 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.2-r3.ebuild,v 1.9 2007/06/24 22:04:04 vapier Exp $
inherit eutils autotools
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/ntop/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm hppa ~ia64 ppc ~ppc64 ~sh sparc x86"
+KEYWORDS="amd64 arm hppa ~ia64 ppc ~ppc64 sh sparc s390 x86"
IUSE="ipv6 nls snmp ssl tcpd zlib"
DEPEND="sys-apps/gawk