diff options
Diffstat (limited to 'community/ntop/PKGBUILD')
-rw-r--r-- | community/ntop/PKGBUILD | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/community/ntop/PKGBUILD b/community/ntop/PKGBUILD index a44a800cd..98584e1ce 100644 --- a/community/ntop/PKGBUILD +++ b/community/ntop/PKGBUILD @@ -1,28 +1,35 @@ -# $Id: PKGBUILD 59714 2011-11-29 13:35:19Z stephane $ +# $Id: PKGBUILD 75281 2012-08-17 18:35:49Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Douglas Soares de Andrade <douglas@archlinux.org> pkgname=ntop -pkgver=4.1.0 +pkgver=5.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') +depends=('libevent' 'libpcap' 'gd' 'glibc' 'libxml2' 'openssl' 'rrdtool' 'pcre' 'geoip' 'lua') +makedepends=('subversion' 'ca-certificates') 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' + 'ntop.conf.d' + 'ntop.service') +md5sums=('e4115a6609fd2def2dce177772f9a789' '7b0d7bb57432e768ff387e9f7236f87c' - '6a9371de1dcf31d8ef13a4cf349c02b3') + '6a9371de1dcf31d8ef13a4cf349c02b3' + 'bcb2bcfb4b573babdee7d9321591e3e3') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --disable-snmp + echo 't' | svn export -r 5614 'https://svn.ntop.org/svn/ntop/trunk/nDPI/' + tar -czvf nDPI-svn5614.tar.gz nDPI + + ./autogen.sh --noconfig + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --disable-snmp make } @@ -41,4 +48,6 @@ package() { _plug="$(basename ${_f})" ln -sf "../../lib${_plug}" "${_f}" done + + install -Dm0644 "${srcdir}/ntop.service" "${pkgdir}/usr/lib/systemd/system/ntop.service" } |