aboutsummaryrefslogtreecommitdiffstats
path: root/main/ntop/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ntop/APKBUILD')
-rw-r--r--main/ntop/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD
index 7ac602682c..9ab728c767 100644
--- a/main/ntop/APKBUILD
+++ b/main/ntop/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=ntop
pkgver=5.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Network traffic probe"
url="http://www.ntop.org"
arch="all"
@@ -10,9 +10,9 @@ license="GPL"
depends=
pkgusers="ntop"
pkggroups="ntop"
-makedepends="autoconf automake freetype-dev gdbm-dev geoip-dev libart-lgpl-dev
- libevent-dev libpcap-dev libpng-dev libtool libxml2-dev lua-dev
- openssl-dev python-dev rrdtool-dev subversion wget zlib-dev"
+makedepends="autoconf automake freetype-dev gdbm-dev geoip-dev
+ libart-lgpl-dev libevent-dev libpcap-dev libpng-dev libtool libxml2-dev
+ lua-dev openssl-dev python-dev rrdtool-dev subversion wget zlib-dev"
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="http://sourceforge.net/projects/$pkgname/files/$pkgname/Stable/$pkgname-$pkgver.tar.gz
@@ -31,7 +31,7 @@ build() {
cd "$_builddir"
./autogen.sh --prefix=/usr \
--sysconfdir=/etc \
- --localstatedir=/var \
+ --localstatedir=/var/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-snmp
@@ -48,7 +48,8 @@ package() {
install -m755 -D "$srcdir"/ntop-update-geoip-db \
"$pkgdir"/usr/bin/ntop-update-geoip-db
# ntop internal db dir
- install -d -o ntop -g ntop -m755 $pkgdir/var/lib/ntop
+ install -d -o ntop -g ntop -m755 "$pkgdir"/var/lib/ntop
+ chown -R ntop.ntop "$pkgdir"/usr/share/ntop
}
md5sums="01710b6925a8a5ffe1a41b8b512ebd69 ntop-5.0.1.tar.gz