aboutsummaryrefslogtreecommitdiff
path: root/network/ntop
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-03-01 04:44:59 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-01 19:35:39 +0700
commit153fbeb32132a6223ea98a26e902b8c555e8a8b7 (patch)
tree54837db17c10554d75f2da66b96970eb04286cdc /network/ntop
parent58ef58d4ef8de20d60b0e367abca3e5398a8ce43 (diff)
network/ntop: Removed.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ntop')
-rw-r--r--network/ntop/README24
-rw-r--r--network/ntop/README.SLACKWARE185
-rw-r--r--network/ntop/doinst.sh31
-rw-r--r--network/ntop/no_downloads.patch48
-rw-r--r--network/ntop/ntop-5.0.1-librrd.patch31
-rw-r--r--network/ntop/ntop.SlackBuild170
-rw-r--r--network/ntop/ntop.info10
-rw-r--r--network/ntop/ntop.logrotate11
-rw-r--r--network/ntop/rc.ntop95
-rw-r--r--network/ntop/slack-desc19
10 files changed, 0 insertions, 624 deletions
diff --git a/network/ntop/README b/network/ntop/README
deleted file mode 100644
index 2108bcb9bc135..0000000000000
--- a/network/ntop/README
+++ /dev/null
@@ -1,24 +0,0 @@
-ntop is a network probe that shows network usage in a way similar to
-what top does for processes. In interactive mode, it displays the
-network status on the user's terminal. In Web mode, it acts as a Web
-server, creating an HTML dump of the network status.
-
-It sports a NetFlow/sFlow emitter/collector, an HTTP-based client
-interface for creating ntop-centric monitoring applications, and
-RRD for persistently storing traffic statistics.
-
-ntop needs to run under its own user/group. This has been assigned to
-the following by SlackBuilds.org, but feel free to change it on your
-system for consistency with local assignments.
- User: ntop UID: 212 GID: 212
- group: ntop GID: 212
-You can change pass alternate values for the user and group using
-NTOPUSER and NTOPGROUP variables when running the build script.
-
-Logs are placed in /var/log/ntop/ and will be rotated every week. The
-log rotation will restart the ntop server which will reset the ntop
-statistics. If you want to keep the statistics you have to edit or delete
-the /etc/logrotate.d/ntop file.
-
-For some important post-build and basic configuration instructions,
-see the included 'README.SLACKWARE' file.
diff --git a/network/ntop/README.SLACKWARE b/network/ntop/README.SLACKWARE
deleted file mode 100644
index e9c0595b29238..0000000000000
--- a/network/ntop/README.SLACKWARE
+++ /dev/null
@@ -1,185 +0,0 @@
-README.Slackware
-================
-
-This file contains some specific instructions to complete the
-installation of ntop on Slackware.
-
-0) Before running the SlackBuild script
----------------------------------------
-
-0.1) ntop group & user
-
-Before running the ntop.SlackBuild script, you will need to create
-the 'ntop' user and group. The script won't run if these do not
-exist.
-
-The suggested UID and GID is 212, but you can change this as needed:
-
- # groupadd -g 212 ntop
- # useradd -u 212 -g ntop -d /var/lib/ntop -s /bin/false ntop
-
-If you want to use a different user and/or group under which to run
-ntop, you can pass alternate values to the NTOPUSER and NTOPGROUP variables
-when running the build script.
-
-1) Start & Stop scripts for ntop
---------------------------------
-
-1.1) Automatic startup and shutdown
-
-If you want to start ntop on system bootup, include these lines in your
-/etc/rc.d/rc.local:
-
- # Start ntop
- if [ -x /etc/rc.d/rc.ntop ]; then
- echo "Starting ntop..."
- /etc/rc.d/rc.ntop start
- fi
-
-To guarantee a clean shutdown of ntop, include this in
-/etc/rc.d/rc.local_shutdown:
-
- # Stop ntop
- if [ -x /etc/rc.d/rc.ntop ]; then
- echo "Stopping ntop..."
- /etc/rc.d/rc.ntop stop
- fi
-
-1.2) Make /etc/rc.d/rc.ntop executable
-
-Additionally, you'll have to set the rc script to be executable just like
-any other Slackware rc script:
-
- # chmod +x /etc/rc.d/rc.ntop
-
-2) Set the administrator password
----------------------------------
-
-When ntop is installed at the first time, you MUST set the administration
-password for ntop (user 'admin'). You do that by running ntop with the
-option -A (or --set-admin-password) as root:
-# /usr/bin/ntop -P <ntop_homedirectory> -u <ntopuser> -A
-For example:
-
- # /usr/bin/ntop -P /var/lib/ntop -u ntop -A
-
-It will prompt you for the password and then exit.
-
-3) Starting ntop
-----------------
-
-Now you are ready to start ntop by calling the startup script:
-
- # /etc/rc.d/rc.ntop start
-
-Once ntop has started and configured correctly, you should be able to look
-at all the data it's collected by pointing your browser at:
-
- http://(ip-of-your-ntop-server):3000/
-
-Browse through the configuration menu (Admin / Configure / Startup options)
-to set the interfaces you want to capture and many more parameters.
-
-Fore more documentation on ntop, check:
-- http://www.ntop.org/documentation.html
-- http://www.ntop.org/needHelp.html
-
-There are also some mailing lists you can subscribe to, that can be found on
-the pages mentioned above.
-
-4) Keeping your ntop tables up-to-date
---------------------------------------
-
-Now that your ntop server is running, you might want to keep some of the
-tables that are installed updated automatically.
-
-I do this with a few simple shell scripts I copy to the /etc/cron.xxxx/
-directories, where xxxx stands for:
-
- - hourly
- - daily
- - weekly
- - monthly
-
-So saving a script in /etc/cron.weekly/ means it will be run every week.
-Saving it in /etc/cron/monthly/ means it will run once a month, etc.
-
-My suggestions are:
- - save ntop_update_geoip in /etc/cron.weekly
- - save ntop_update_oui in /etc/cron.daily
-
-Don't forget to make the script executable.
-
-The following scripts are examples for the GeoIP and OUI tables, feel free
-to adapt them to your reality.
-
-The "OS Fingerprint" table has not changed since 2005, so I did not
-create a script for it. If you want, you can check for updates at:
-http://ettercap.cvs.sourceforge.net/ettercap/ettercap_ng/share/etter.finger.os?rev=HEAD
-
-=============================================================================
-*********************
-* ntop_update_geoip * - Suggestion: save in /etc/cron.weekly
-*********************
------------------------------------------------------------------------------
-#!/bin/sh
-#
-# ntop_update_geoip: update GeoIP tables
-
-UPDATE_DIR="/etc/ntop"
-UPDATE_LOG="/var/log/ntop_update.log"
-UPDATE_OUT="wget.out"
-UPDATES="\
-http://geolite.maxmind.com/download/geoip/database/,GeoLiteCity.dat \
-http://geolite.maxmind.com/download/geoip/database/asnum/,GeoIPASNum.dat"
-
-cd $UPDATE_DIR
-
-for update in $UPDATES; do
- update_url=`echo $update | awk -F , {'print $1'}`
- update_file=`echo $update | awk -F , {'print $2'}`
-
- wget -o $UPDATE_OUT -N ${update_url}${update_file}.gz
- WGET_TEST=$(grep "saved" $UPDATE_OUT > /dev/null 2> /dev/null; echo $?)
- if [ $WGET_TEST -eq "0" ]; then
- tail -n2 $UPDATE_OUT | head -n1 >> $UPDATE_LOG
- gunzip -c ${update_file}.gz > ${update_file}
- fi
-done
-
-rm $UPDATE_OUT
-=============================================================================
-*******************
-* ntop_update_oui * - Suggestion: save in /etc/cron.daily
-*******************
------------------------------------------------------------------------------
-#!/bin/sh
-#
-# ntop_update_oui: update OUI table
-
-UPDATE_DIR="/etc/ntop"
-UPDATE_LOG="/var/log/ntop_update.log"
-UPDATE_OUT="wget.out"
-UPDATES="\
-http://standards.ieee.org/regauth/oui/,oui.txt"
-
-cd $UPDATE_DIR
-
-for update in $UPDATES; do
- update_url=`echo $update | awk -F , {'print $1'}`
- update_file=`echo $update | awk -F , {'print $2'}`
-
- wget -o $UPDATE_OUT -N ${update_url}${update_file}
- WGET_TEST=$(grep "saved" $UPDATE_OUT > /dev/null 2> /dev/null; echo $?)
- if [ $WGET_TEST -eq "0" ]; then
- tail -n2 $UPDATE_OUT | head -n1 >> $UPDATE_LOG
- gzip -c ${update_file} > ${update_file}.gz
- fi
-done
-
-rm $UPDATE_OUT
-=============================================================================
-
-(Note that there are some subtle differences between the scripts, so beware
-when copying)
-
diff --git a/network/ntop/doinst.sh b/network/ntop/doinst.sh
deleted file mode 100644
index 17fa8ad81f90b..0000000000000
--- a/network/ntop/doinst.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.ntop.new
-config etc/logrotate.d/ntop.new
-config etc/ntop/specialMAC.txt.gz.new
-config etc/ntop/ntop-cert.pem.new
-config etc/ntop/GeoIPASNum.dat.new
-config etc/ntop/GeoLiteCity.dat.new
-config etc/ntop/etter.finger.os.gz.new
-config etc/ntop/oui.txt.gz.new
diff --git a/network/ntop/no_downloads.patch b/network/ntop/no_downloads.patch
deleted file mode 100644
index 9574662b43461..0000000000000
--- a/network/ntop/no_downloads.patch
+++ /dev/null
@@ -1,48 +0,0 @@
---- ntop-4.0.1_orig/Makefile.am 2010-04-25 09:52:28.000000000 -0300
-+++ ntop-4.0.1/Makefile.am 2010-08-23 18:00:49.000000000 -0300
-@@ -403,44 +403,9 @@
- dnetter:
- @echo ""
- @echo ""
-- @echo "Preparing "
-+ @echo "Skipping download "
- @echo ""
-
-- @if test -f $(ETTER_PASSIVE).old; then \
-- echo "...Deleting prior file, $(ETTER_PASSIVE).old..."; \
-- rm -rf $(ETTER_PASSIVE).old; \
-- fi;
-- @if test -f $(ETTER_PASSIVE); then \
-- echo "...Moving current $(ETTER_PASSIVE) to $(ETTER_PASSIVE).old"; \
-- mv $(ETTER_PASSIVE) $(ETTER_PASSIVE).old; \
-- fi;
-- @for file in $(ETTER_PASSIVE) $(ETTER_PASSIVE).gz \
-- $(ETTER_PASSIVE_FILE) $(ETTER_PASSIVE_FILE).gz; do \
-- if test -f $$file; then \
-- echo "...Deleting prior file, $$file..."; \
-- rm -rf $$file; \
-- fi; \
-- done
-- @echo ""
-- @echo "...Downloading new file..."
-- @wget -O $(ETTER_PASSIVE_FILE) \
-- $(ETTER_PASSIVE_DOWNLOAD_FROM)/$(ETTER_PASSIVE_FILE)?$(ETTER_PASSIVE_DOWNLOAD_PARMS)
-- @echo ""
-- @echo "gziping downloaded file..."
-- @gzip $(ETTER_PASSIVE_FILE)
-- @echo ""
-- @echo ""
-- @if test -f $(ETTER_PASSIVE).old; then \
-- echo -n "Old file lines were: "; \
-- gunzip -c $(ETTER_PASSIVE).old | wc -l; \
-- fi;
-- @echo -n "New file lines are: "
-- @gunzip -c $(ETTER_PASSIVE) | wc -l
-- @echo ""
-- @echo ""
-- @echo "New file is:"
-- @ls -l $(ETTER_PASSIVE)
--
- # ntop census
- census-fail:
- @echo "This option is no longer available... thanks for trying"
diff --git a/network/ntop/ntop-5.0.1-librrd.patch b/network/ntop/ntop-5.0.1-librrd.patch
deleted file mode 100644
index db2530c8a5e52..0000000000000
--- a/network/ntop/ntop-5.0.1-librrd.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -887,28 +887,6 @@
- fi
- fi
-
--RRD_LIB="-L${RRD_HOME}/lib -lrrd_th"
--
--if test -f "$RRD_HOME/lib/librrd_th.so"; then
-- AC_MSG_RESULT(checking for rrdtool... yes)
--else
-- if test -f "$RRD_HOME/lib/librrd_th.dylib"; then # OSX
-- AC_MSG_RESULT(checking for rrdtool... yes)
-- else
-- if test -f "$RRD_HOME/lib/librrd_th.a"; then
-- AC_MSG_RESULT(checking for rrdtool... yes)
-- else
-- AC_CHECK_LIB([rrd_th], [main])
-- if test ".${ac_cv_lib_rrd_th_main}" != ".yes"; then
-- AC_MSG_ERROR(Unable to find RRD at $RRD_HOME: please use --with-rrd-home=DIR);
-- AC_MSG_ERROR(RRD source can be downloaded from http://www.rrdtool.org/);
-- else
-- RRD_LIB=
-- fi
-- fi
-- fi
--fi
--
- RRD_INC=
- if test -d "${RRD_HOME}/include"; then
- RRD_INC="-I${RRD_HOME}/include"
diff --git a/network/ntop/ntop.SlackBuild b/network/ntop/ntop.SlackBuild
deleted file mode 100644
index fcaebbcffde36..0000000000000
--- a/network/ntop/ntop.SlackBuild
+++ /dev/null
@@ -1,170 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for ntop
-
-# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
-# Copyright 2009-2011 Niels Horn, Rio de Janeiro, RJ, Brazil
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Maintained by David Spencer <baildon.research@googlemail.com>
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=ntop
-VERSION=${VERSION:-5.0.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-NTOPUSER=${NTOPUSER:-ntop}
-NTOPGROUP=${NTOPGROUP:-ntop}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# Bail out if user or group isn't valid on your system
-# For slackbuilds.org, assigned ntop uid/gid are 212/212
-# See http://slackbuilds.org/uid_gid.txt
-if ! grep ^$NTOPGROUP: /etc/group 2>&1 > /dev/null; then
- echo " You must have a \"$NTOPGROUP\" group to run this script."
- echo " # groupadd -g 212 $NTOPGROUP"
- exit 1
-elif ! grep ^$NTOPUSER: /etc/passwd 2>&1 > /dev/null; then
- echo " You must have a \"$NTOPUSER\" user to run this script."
- echo " # useradd -u 212 -g $NTOPGROUP -d /var/lib/ntop -s /bin/false $NTOPUSER"
- exit 1
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Patch Makefile so we won't do automatic downloads
-patch -p1 < $CWD/no_downloads.patch
-
-# Patch for rrdtool-1.6.0 (thanks to Gentoo)
-patch -p1 < $CWD/ntop-5.0.1-librrd.patch
-
-# Since ntop calls their ./configure from autogen.sh anything passed onto
-# autogen.sh (ie $@) is passed off as command line arguments to configure.
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-RRD_LIB="-lrrd" \
-LOCALEDIR=/usr/lib${LIBDIRSUFFIX}/locale \
-./autogen.sh \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var/lib \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-rrd-home=/usr/lib${LIBDIRSUFFIX} \
- --enable-snmp \
- --build=$ARCH-slackware-linux
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-
-# Bug in ntop source:: http://tinyurl.com/2wf7ou . This should at some point
-# be dealt with upstream. For now fix this in $PKG :)
-if [ -d $PKG/usr/lib${LIBDIRSUFFIX}/plugins ]; then
- rmdir -v $PKG/usr/lib${LIBDIRSUFFIX}/plugins
-fi
-
-mkdir -p $PKG/etc/logrotate.d $PKG/etc/rc.d
-install -m 0644 $CWD/$PRGNAM.logrotate $PKG/etc/logrotate.d/$PRGNAM.new
-sed \
- -e "s%@NTOPUSER@%$NTOPUSER%" \
- -e "s%@NTOPGROUP@%$NTOPGROUP%" \
- $CWD/rc.ntop > $PKG/etc/rc.d/rc.ntop.new
-
-# Rename some data to .new to avoid overwriting existing files
-cd $PKG/etc/$PRGNAM
- for f in \
- specialMAC.txt.gz ntop-cert.pem GeoIPASNum.dat GeoLiteCity.dat etter.finger.os.gz oui.txt.gz; do
- mv $f $f.new
- done
-cd - >/dev/null
-
-# Change the permissions on ntop's homedir so we can write logs
-chown -R $NTOPUSER:$NTOPGROUP $PKG/var/lib/$PRGNAM
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS CONTENTS COPYING ChangeLog INSTALL LICENSE* MANIFESTO NEWS PORTING \
- README SUPPORT_NTOP.txt THANKS ntop.html ntop.txt \
- docs/ NetFlow/ www/ \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ntop/ntop.info b/network/ntop/ntop.info
deleted file mode 100644
index 9ad336e061e52..0000000000000
--- a/network/ntop/ntop.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ntop"
-VERSION="5.0.1"
-HOMEPAGE="https://www.ntop.org"
-DOWNLOAD="https://downloads.sourceforge.net/ntop/ntop-5.0.1.tar.gz"
-MD5SUM="01710b6925a8a5ffe1a41b8b512ebd69"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="GeoIP graphviz rrdtool"
-MAINTAINER="David Spencer"
-EMAIL="baildon.research@googlemail.com"
diff --git a/network/ntop/ntop.logrotate b/network/ntop/ntop.logrotate
deleted file mode 100644
index a387c5018ff86..0000000000000
--- a/network/ntop/ntop.logrotate
+++ /dev/null
@@ -1,11 +0,0 @@
-/var/log/ntop {
- # based on ntop.logrotate included in the ntop/debian source.
- weekly
- missingok
- rotate 4
- # ntop doesn't handle SIGHUP
- copytruncate
- nocompress
- notifempty
- create 640 root wheel
-}
diff --git a/network/ntop/rc.ntop b/network/ntop/rc.ntop
deleted file mode 100644
index 2d29aac6c6a69..0000000000000
--- a/network/ntop/rc.ntop
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# /etc/rc.d/rc.ntop : start/stop/restart ntop
-# usage: ./rc.ntop { start | stop | restart }
-
-# Thanks to andarius <andarius@errantnutron.com> for donating
-# time and the various cleanups in the script and the start|stop|restart
-# functions.
-
-NTOPUID=@NTOPUSER@
-NTOPGID=@NTOPGROUP@
-NTOPLOG=/var/log/ntop
-DATE=$(date +%a\ %b\ %d\ %T\ %Y)
-RETVAL=0
-
-# Sanity Checking
-if [ ! -r "/var/lib/ntop/ntop_pw.db" ]; then
- echo "Can not read ntop password database. Exiting..."
- exit 1
-fi
-
-ntop_start() {
- echo -n $"Starting ntop ... "
- if [ -r /var/run/ntop.pid ]; then
- if $(! /sbin/pidof ntop > /dev/null 2>&1 ) ; then
- echo "Removing an old /var/run/ntop.pid"
- rm -f /var/run/ntop.pid
- fi
- fi
- /usr/bin/ntop --w3c -u $NTOPUID -d >> $NTOPLOG 2>&1
- RETVAL=$?
-
- if [ $RETVAL -eq 0 ]; then
- touch /var/lock/ntop
- sleep 2
- echo "Done"
- else
- echo "Failed"
- fi
- return $RETVAL
-}
-
-ntop_stop() {
- echo -n $"Stopping ntop ... "
- RETVAL=$?
- if [ $RETVAL -eq 0 ]; then
- if [ -r /var/run/ntop.pid ]; then
- killall ntop
- # Give it some time to die gracefully
- for second in 0 1 2 3 4 5 6 7 8 9 10 ; do
- if $(! /sbin/pidof ntop > /dev/null 2>&1 ) ; then
- # ntop is a dirty little daemon:
- rm -f /var/run/ntop.pid
- break
- fi
- sleep 1
- done
-
- if [ "$second" = "10" ]; then
- echo "\nWARNING: ntop did not exit!"
- sleep 10
- else
- # Yes there are two spaces as this is the way ntop writes
- # their logfiles.
- echo "$DATE EXIT: ntop stopped by user: $USER (UID: $EUID)" >> $NTOPLOG
- echo "Done"
- fi
- fi
- rm -f /var/lock/ntop
- fi
- return $RETVAL
-}
-
-# Lets see how we are being called:
-case "$1" in
- start)
- ntop_start
- ;;
- stop)
- ntop_stop
- ;;
- restart|reload)
- ntop_stop
- # Takes a few to recover and be able to start again:
- sleep 10
- ntop_start
- ;;
- *)
- echo ""
- echo "Usage: $(basename $0) {start | stop | restart }"
- RETVAL=1
-esac
-
-exit $RETVAL
-#EOF
diff --git a/network/ntop/slack-desc b/network/ntop/slack-desc
deleted file mode 100644
index ec79cc9821efe..0000000000000
--- a/network/ntop/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ntop: ntop (Network usage with shiny graphs)
-ntop:
-ntop: ntop is a network probe that shows network usage in a way similar to
-ntop: what top does for processes. In interactive mode, it displays the
-ntop: network status on the user's terminal. In Web mode, it acts as a Web
-ntop: server, creating an HTML dump of the network status.
-ntop:
-ntop: It sports a NetFlow/sFlow emitter/collector, an HTTP-based client
-ntop: interface for creating ntop-centric monitoring applications, and
-ntop: RRD for persistently storing traffic statistics.
-ntop: