[arch-commits] Commit in ntop/trunk (PKGBUILD ntop ntop.conf.d)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Fri May 31 15:39:24 UTC 2013


    Date: Friday, May 31, 2013 @ 17:39:24
  Author: foutrelis
Revision: 92108

upgpkg: ntop 5.0.1-3

Drop rc.d script.

Modified:
  ntop/trunk/PKGBUILD
Deleted:
  ntop/trunk/ntop
  ntop/trunk/ntop.conf.d

-------------+
 PKGBUILD    |    9 +--------
 ntop        |   38 --------------------------------------
 ntop.conf.d |    5 -----
 3 files changed, 1 insertion(+), 51 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-31 15:10:32 UTC (rev 92107)
+++ PKGBUILD	2013-05-31 15:39:24 UTC (rev 92108)
@@ -4,7 +4,7 @@
 
 pkgname=ntop
 pkgver=5.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc='A network traffic probe that shows the network usage.'
 arch=('i686' 'x86_64')
 url='http://www.ntop.org/'
@@ -14,12 +14,8 @@
 options=('!libtool' '!makeflags')
 install='ntop.install'
 source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/Stable/${pkgname}-${pkgver}.tar.gz"
-        'ntop'
-        'ntop.conf.d'
         'ntop.service')
 md5sums=('01710b6925a8a5ffe1a41b8b512ebd69'
-         '7b0d7bb57432e768ff387e9f7236f87c'
-         '6a9371de1dcf31d8ef13a4cf349c02b3'
          '0e149d20f881600e8387d850ac268483')
 
 build() {
@@ -37,9 +33,6 @@
   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}"

Deleted: ntop
===================================================================
--- ntop	2013-05-31 15:10:32 UTC (rev 92107)
+++ ntop	2013-05-31 15:39:24 UTC (rev 92108)
@@ -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

Deleted: ntop.conf.d
===================================================================
--- ntop.conf.d	2013-05-31 15:10:32 UTC (rev 92107)
+++ ntop.conf.d	2013-05-31 15:39:24 UTC (rev 92108)
@@ -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"




More information about the arch-commits mailing list