aboutsummaryrefslogtreecommitdiffstats
path: root/main/ntop
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-08-30 09:10:12 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-08-30 09:10:28 +0000
commitd2173066c3776cf1c2421f9ed71f202e85f48a1c (patch)
tree6717d4b3414fa2b57e7b7b76b656c4b5d64e899a /main/ntop
parentc9458d115a120bf565eb5c2badd388f1b35d974b (diff)
downloadaports-d2173066c3776cf1c2421f9ed71f202e85f48a1c.tar.bz2
aports-d2173066c3776cf1c2421f9ed71f202e85f48a1c.tar.xz
main/ntop: fix data dir, and some dir ownership
Diffstat (limited to 'main/ntop')
-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