aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-03-04 12:39:03 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-03-07 07:43:46 +0000
commitfda7515b207dc57226071816cb80ab886d7699a3 (patch)
treec750431ac2c62f80009f7c4b42704138de1d3234
parent280383464cc4c4ab689fe341d6339452d1cba95b (diff)
downloadaports-fda7515b207dc57226071816cb80ab886d7699a3.tar.bz2
aports-fda7515b207dc57226071816cb80ab886d7699a3.tar.xz
main/ntop: fix default database dir
(cherry picked from commit 4321eb4b5be7b266ec88f430bac8bbb43fecb215)
-rw-r--r--main/ntop/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD
index 7543c9874a..76bd79259d 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"
license="GPL"
@@ -19,15 +19,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