summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntopng/ntopng_6.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/ntopng/ntopng_6.6.bb')
-rw-r--r--meta-networking/recipes-support/ntopng/ntopng_6.6.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ntopng/ntopng_6.6.bb b/meta-networking/recipes-support/ntopng/ntopng_6.6.bb
new file mode 100644
index 0000000000..d0d4a7d694
--- /dev/null
+++ b/meta-networking/recipes-support/ntopng/ntopng_6.6.bb
@@ -0,0 +1,48 @@
1SUMMARY = "Web-based Traffic and Security Network Traffic Monitoring"
2DESCRIPTION = "ntopng is a web-based network traffic monitoring application \
3released under GPLv3. It is the new incarnation of the original \
4ntop written in 1998, and now revamped in terms of performance, \
5usability, and features."
6
7SECTION = "console/network"
8
9DEPENDS = "curl hiredis libmaxminddb libpcap lua mariadb ndpi json-c rrdtool zeromq"
10RDEPENDS:${PN} = "bash redis"
11LICENSE = "GPL-3.0-only"
12LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
13
14SRCREV = "9c034502dd7c389e840c09f05bcae0577780c716"
15SRC_URI = "git://github.com/ntop/ntopng.git;protocol=https;branch=6.6-stable;tag=${PV} \
16 file://0001-configure.ac.in-fix-host-contamination.patch \
17 file://0001-Makefile.in-don-t-use-the-internal-lua.patch \
18 file://0001-configure.ac.in-Allow-dynamic-linking-against-ndpi-3.patch \
19 file://ntopng.service \
20 "
21
22# don't use the lua under thirdparty as it supports cross compiling badly
23export LUA_LIB = "${STAGING_LIBDIR}/liblua.a"
24
25LDFLAGS:append:mipsarch = " -latomic"
26LDFLAGS:append:powerpc = " -latomic"
27LDFLAGS:append:riscv32 = " -latomic"
28
29inherit autotools gettext pkgconfig systemd
30
31EXTRA_OECONF += "--with-dynamic-ndpi"
32
33do_install:append() {
34 install -d ${D}${systemd_unitdir}/system/
35 install -m 0644 ${UNPACKDIR}/ntopng.service ${D}${systemd_unitdir}/system
36}
37
38FILES:${PN} += "\
39 ${systemd_unitdir}/system/ntopng.service"
40
41FILES:${PN}-doc += "\
42 /usr/man/man8/ntopng.8"
43
44do_configure:prepend() {
45 $(cd ${S} && ${S}/autogen.sh)
46}
47
48SYSTEMD_SERVICE:${PN} = "ntopng.service"