diff options
author | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
commit | dee9f17b595ea903a982d31d1124b302bb17e2ff (patch) | |
tree | 295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/ntop | |
parent | 380530d02a5449fdef97b63b394a6743c3de0092 (diff) |
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/ntop')
-rw-r--r-- | community/ntop/PKGBUILD | 42 | ||||
-rw-r--r-- | community/ntop/ntop.install | 8 | ||||
-rw-r--r-- | community/ntop/ntop.service | 14 |
3 files changed, 0 insertions, 64 deletions
diff --git a/community/ntop/PKGBUILD b/community/ntop/PKGBUILD deleted file mode 100644 index 1689d4a55..000000000 --- a/community/ntop/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 92109 2013-05-31 15:39:41Z foutrelis $ -# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> -# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> - -pkgname=ntop -pkgver=5.0.1 -pkgrel=3 -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' 'glibc' 'libxml2' 'openssl' 'rrdtool' 'pcre' 'geoip' 'lua') -makedepends=('subversion' 'wget' 'ca-certificates') -options=('!libtool' '!makeflags') -install='ntop.install' -source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/Stable/${pkgname}-${pkgver}.tar.gz" - 'ntop.service') -md5sums=('01710b6925a8a5ffe1a41b8b512ebd69' - '0e149d20f881600e8387d850ac268483') - -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" - - for _f in "${pkgdir}/usr/lib/ntop/plugins/"*.so; do - _plug="$(basename ${_f})" - ln -sf "../../lib${_plug}" "${_f}" - done - - install -Dm0644 "${srcdir}/ntop.service" "${pkgdir}/usr/lib/systemd/system/ntop.service" -} diff --git a/community/ntop/ntop.install b/community/ntop/ntop.install deleted file mode 100644 index 8d8063751..000000000 --- a/community/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 -} diff --git a/community/ntop/ntop.service b/community/ntop/ntop.service deleted file mode 100644 index c18a2c83a..000000000 --- a/community/ntop/ntop.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=A network traffic probe similar to the UNIX top command -Requires=network.target -ConditionPathExists=/var/lib/ntop/ntop_pw.db -After=syslog.target network.target - -[Service] -Environment=LANG=C -ExecStart=/usr/bin/ntop -i eth0 -w 3000 -Type=simple -StandardError=syslog - -[Install] -WantedBy=multi-user.target |