diff options
Diffstat (limited to 'community-testing/ntop')
-rw-r--r-- | community-testing/ntop/PKGBUILD | 44 | ||||
-rwxr-xr-x | community-testing/ntop/ntop | 38 | ||||
-rw-r--r-- | community-testing/ntop/ntop.conf.d | 5 | ||||
-rw-r--r-- | community-testing/ntop/ntop.install | 8 |
4 files changed, 0 insertions, 95 deletions
diff --git a/community-testing/ntop/PKGBUILD b/community-testing/ntop/PKGBUILD deleted file mode 100644 index 05e45e745..000000000 --- a/community-testing/ntop/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# $Id: PKGBUILD 59428 2011-11-24 17:05:26Z stephane $ -# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> -# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> - -pkgname=ntop -pkgver=4.1.0 -pkgrel=2 -pkgdesc='A network traffic probe that shows the network usage.' -arch=('i686' 'x86_64') -url='http://www.ntop.org/' -license=('GPL') -depends=('libevent' 'libpcap' 'gd' 'glib' 'libxml2' 'openssl' 'rrdtool' 'pcre' 'geoip' 'lua') -options=('!libtool' '!makeflags') -install='ntop.install' -source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/Stable/${pkgname}-${pkgver}.tar.gz" - 'ntop' - 'ntop.conf.d') -md5sums=('116df99cf548431393991ea15443c52f' - '7b0d7bb57432e768ff387e9f7236f87c' - '6a9371de1dcf31d8ef13a4cf349c02b3') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --disable-snmp - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" install-recursive - - install -dm0755 -o nobody -g nobody "${pkgdir}/var/lib/ntop" - install -dm0755 -o nobody -g nobody "${pkgdir}/var/lib/ntop/rrd" - - install -Dm0755 "${srcdir}/ntop" "${pkgdir}/etc/rc.d/ntop" - install -Dm0644 "${srcdir}/ntop.conf.d" "${pkgdir}/etc/conf.d/ntop" - - for _f in "${pkgdir}/usr/lib/ntop/plugins/"*.so; do - _plug="$(basename ${_f})" - ln -sf "../../lib${_plug}" "${_f}" - done -} diff --git a/community-testing/ntop/ntop b/community-testing/ntop/ntop deleted file mode 100755 index 2f0dbcbdd..000000000 --- a/community-testing/ntop/ntop +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -# source application-specific settings -[ -f /etc/conf.d/ntop ] && . /etc/conf.d/ntop - -case "$1" in - start) - stat_busy "Starting ntop daemon" - /usr/bin/ntop -d ${NTOP_ARGS} 2>&1 >> ${NTOP_LOG} - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon ntop - stat_done - fi - ;; - stop) - stat_busy "Stopping ntop daemon" - killall /usr/bin/ntop &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon ntop - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/community-testing/ntop/ntop.conf.d b/community-testing/ntop/ntop.conf.d deleted file mode 100644 index 28e2a3166..000000000 --- a/community-testing/ntop/ntop.conf.d +++ /dev/null @@ -1,5 +0,0 @@ -# Parameters to be passed to ntop. -NTOP_ARGS="-i eth0 -w 3000" - -# Location of the log file. -NTOP_LOG="/var/log/ntop.log" diff --git a/community-testing/ntop/ntop.install b/community-testing/ntop/ntop.install deleted file mode 100644 index 8d8063751..000000000 --- a/community-testing/ntop/ntop.install +++ /dev/null @@ -1,8 +0,0 @@ -post_install() { - /bin/cat <<EOF -==> Before running the daemon script for the first time, you need to run - ntop as the root user to set an administrator password. -==> If you attempt to run ntop as a daemon without setting a password, a - FATAL ERROR message is generated and ntop stops. -EOF -} |