diff options
author | root <root@rshg054.dnsready.net> | 2013-09-11 01:51:01 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-09-11 01:51:01 -0700 |
commit | 2cfbbdcb041073ed1f9aff2f2fd630b24e039e6d (patch) | |
tree | dc3af95fb8134ce025aa4a516ab1a00adf0e1917 /community/ntop | |
parent | f5039428394b8715a685c006ab4c7421f45d0aff (diff) |
Wed Sep 11 01:49:28 PDT 2013
Diffstat (limited to 'community/ntop')
-rw-r--r-- | community/ntop/PKGBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/community/ntop/PKGBUILD b/community/ntop/PKGBUILD index 1689d4a55..91bc26b39 100644 --- a/community/ntop/PKGBUILD +++ b/community/ntop/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 92109 2013-05-31 15:39:41Z foutrelis $ +# $Id: PKGBUILD 96996 2013-09-10 01:53:10Z bgyorgy $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Douglas Soares de Andrade <douglas@archlinux.org> pkgname=ntop pkgver=5.0.1 -pkgrel=3 +pkgrel=4 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') +depends=('libevent' 'libpcap' 'gd' 'glibc' 'libxml2' 'openssl' 'rrdtool' 'pcre' 'geoip' 'lua' 'python2') makedepends=('subversion' 'wget' 'ca-certificates') options=('!libtool' '!makeflags') install='ntop.install' @@ -18,6 +18,14 @@ source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/Stable/${pk md5sums=('01710b6925a8a5ffe1a41b8b512ebd69' '0e149d20f881600e8387d850ac268483') +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Python2 fix + find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + sed -i 's/python-config/python2-config/' configure.in +} + build() { cd "${srcdir}/${pkgname}-${pkgver}" |