aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/ntop/APKBUILD10
-rw-r--r--main/ntop/automake.patch19
2 files changed, 27 insertions, 2 deletions
diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD
index 9ab728c767..30fbef84cb 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=2
+pkgrel=3
pkgdesc="Network traffic probe"
url="http://www.ntop.org"
arch="all"
@@ -16,6 +16,7 @@ makedepends="autoconf automake freetype-dev gdbm-dev geoip-dev
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="http://sourceforge.net/projects/$pkgname/files/$pkgname/Stable/$pkgname-$pkgver.tar.gz
+ automake.patch
ntop.initd
ntop.confd
ntop-update-geoip-db"
@@ -24,7 +25,11 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- return 0
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
build() {
@@ -53,6 +58,7 @@ package() {
}
md5sums="01710b6925a8a5ffe1a41b8b512ebd69 ntop-5.0.1.tar.gz
+86eeacb33ececc416e66fc4260518f05 automake.patch
7fd4edf07305e0f52867256c946a5747 ntop.initd
1303915a8435560acf27748ea0cea484 ntop.confd
080de490aeed421775e6f2472d86cb94 ntop-update-geoip-db"
diff --git a/main/ntop/automake.patch b/main/ntop/automake.patch
new file mode 100644
index 0000000000..db68ccee2b
--- /dev/null
+++ b/main/ntop/automake.patch
@@ -0,0 +1,19 @@
+--- ./configure.in.orig 2012-12-31 21:13:54.969154614 +0000
++++ ./configure.in 2012-12-31 21:14:11.542636354 +0000
+@@ -56,7 +56,7 @@
+ dnl> generate the config header
+ dnl>
+ umask 002
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADER(config.h)
+
+ HAS_ERROR=
+ HAS_WARNING=
+@@ -324,7 +324,6 @@
+ echo
+ echo "Checking C compiler program and features..."
+ echo
+-AM_PROG_CC_STDC
+ if test ".${ac_cv_prog_cc_stdc}" = ".no"; then
+ echo
+ echo "*******************************************************************"