aboutsummaryrefslogtreecommitdiffstats
path: root/main/ntop
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-03-04 12:39:03 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-03-04 12:39:13 +0000
commit4321eb4b5be7b266ec88f430bac8bbb43fecb215 (patch)
treefdaa90dcbe19c0b602cb8bc3875793748b4fac43 /main/ntop
parentb386077cdc228e9379c259ee16b72a274d2f70d4 (diff)
downloadaports-4321eb4b5be7b266ec88f430bac8bbb43fecb215.tar.bz2
aports-4321eb4b5be7b266ec88f430bac8bbb43fecb215.tar.xz
main/ntop: fix default database dir
Diffstat (limited to 'main/ntop')
-rw-r--r--main/ntop/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD
index 299f23f186..4d3651a34a 100644
--- a/main/ntop/APKBUILD
+++ b/main/ntop/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=ntop
pkgver=4.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="Network traffic probe"
url="http://www.ntop.org"
arch="all"
@@ -20,15 +20,16 @@ source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/Stable/$pkgna
_builddir="$srcdir"/$pkgname-$pkgver
-#prepare() {
-# cd "$_builddir"
-# apply patches here
-#}
+prepare() {
+ cd "$_builddir"
+ return 0
+}
build() {
cd "$_builddir"
./autogen.sh --prefix=/usr \
--sysconfdir=/etc \
+ --localstatedir=/var \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-snmp