aboutsummaryrefslogtreecommitdiffstats
path: root/main/ntop
diff options
context:
space:
mode:
Diffstat (limited to 'main/ntop')
-rw-r--r--main/ntop/APKBUILD9
-rw-r--r--main/ntop/include-sys-types.h.patch20
2 files changed, 27 insertions, 2 deletions
diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD
index ec8b46bf4..a46400529 100644
--- a/main/ntop/APKBUILD
+++ b/main/ntop/APKBUILD
@@ -4,17 +4,19 @@ pkgver=5.0.1
pkgrel=5
pkgdesc="Network traffic probe"
url="http://www.ntop.org"
-arch=""
+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 subversion wget zlib-dev"
+ lua-dev openssl-dev python-dev rrdtool-dev subversion wget zlib-dev
+ linux-headers"
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="http://sourceforge.net/projects/$pkgname/files/$pkgname/Stable/$pkgname-$pkgver.tar.gz
+ include-sys-types.h.patch
automake.patch
ntop.initd
ntop.confd
@@ -57,16 +59,19 @@ package() {
}
md5sums="01710b6925a8a5ffe1a41b8b512ebd69 ntop-5.0.1.tar.gz
+a2729d5c8f132974c2720112364a924e include-sys-types.h.patch
86eeacb33ececc416e66fc4260518f05 automake.patch
7fd4edf07305e0f52867256c946a5747 ntop.initd
1303915a8435560acf27748ea0cea484 ntop.confd
080de490aeed421775e6f2472d86cb94 ntop-update-geoip-db"
sha256sums="7e8e84cb14d2173beaca4d4cb991a14d84a4bef84ec37b2276bc363f45c52ef8 ntop-5.0.1.tar.gz
+2419f7ace6ad93db47a4bccd3e50350f5f837d0b269d4237d6c58d1b28d6b8c8 include-sys-types.h.patch
5e8ddd9d269c4fc23a2376091dcd7a1afedb3d1e15aa4d1ab5d13bb11173f3f7 automake.patch
f583d6625690ee60744d407d149845db178f618f1239d962bfac14f39076dc7d ntop.initd
b582253490df4cde55dda97585d45d16b2968296da7e9bc996dde932cf42584d ntop.confd
3604d0a728b203211fab05eca829a7e93bc05c04f252937ffbf630813420eef6 ntop-update-geoip-db"
sha512sums="f52c40e6c00c8d2f46b68078c5f9aef8ed78670f92a0a81f66f2f44c71d41bc4c001b4550f19b71c546f7c07cbbed15e0aa1ee13873ac63a11678bf2b8483f2a ntop-5.0.1.tar.gz
+b67705152cd8723ba3e1c340ca55267134dddae04dd281fae262d07ce273a78d24bf40c297fe61ea7f70deb9cb7d59445e8a3ce360ed7810497e63052e1a9214 include-sys-types.h.patch
ce284679f9ecf589139b6cfdba95a76df5205f5292a5ff88b7cdeb39fe01b4fef27fb097a6a594017aa015a2474fea6c5729917423398a911e1732329ec1504a automake.patch
294cf1c0c274f1fbb29804965306be1aee97d98e83a2fd25925ac92398ce9d1f8f617968888842fa6d6d19b0b28f2f29bb9f8fd861067a18cc53ea89c91b0c67 ntop.initd
8693050cab03eeb29b59e0a7b173c7791625e8cd6bc33eaa5d74a50ab3ecf435577d7918626cfe3963a0d23d4522a737737b2b9fd8335df29784858a6191813d ntop.confd
diff --git a/main/ntop/include-sys-types.h.patch b/main/ntop/include-sys-types.h.patch
new file mode 100644
index 000000000..dfb0e7378
--- /dev/null
+++ b/main/ntop/include-sys-types.h.patch
@@ -0,0 +1,20 @@
+--- a/nDPI/src/include/ipq_api.h.orig
++++ b/nDPI/src/include/ipq_api.h
+@@ -24,6 +24,7 @@
+ #ifndef __IPOQUE_API_INCLUDE_FILE__
+ #define __IPOQUE_API_INCLUDE_FILE__
+
++#include <sys/types.h>
+
+ #if defined(HAVE_NTOP) && defined(WIN32)
+ #include <winsock2.h>
+--- a/nDPI/src/lib/ipq_main.c.orig
++++ b/nDPI/src/lib/ipq_main.c
+@@ -21,6 +21,7 @@
+ */
+
+
++#include <sys/types.h>
+ #include "ipq_main.h"
+ #include "ipq_protocols.h"
+ #include "ipq_utils.h"