aboutsummaryrefslogtreecommitdiffstats
path: root/main/ntop/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ntop/APKBUILD')
-rw-r--r--main/ntop/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD
index 44ac5b65f4..4d260d442f 100644
--- a/main/ntop/APKBUILD
+++ b/main/ntop/APKBUILD
@@ -2,16 +2,18 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=ntop
pkgver=4.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="Network traffic probe"
url="http://www.ntop.org"
arch="all"
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 wget zlib-dev"
-install="$pkgname.post-install"
+install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="http://sourceforge.net/projects/$pkgname/files/$pkgname/Stable/$pkgname-$pkgver.tar.gz
ntop.initd
@@ -46,7 +48,7 @@ package() {
install -m755 -D "$srcdir"/ntop-update-geoip-db \
"$pkgdir"/usr/bin/ntop-update-geoip-db
# ntop internal db dir
- mkdir -p $pkgdir/var/lib/ntop
+ install -d -o ntop -g ntop -m755 $pkgdir/var/lib/ntop
}
md5sums="116df99cf548431393991ea15443c52f ntop-4.1.0.tar.gz