diff options
Diffstat (limited to 'meta-networking/recipes-support/ntopng/ntopng_6.6.bb')
| -rw-r--r-- | meta-networking/recipes-support/ntopng/ntopng_6.6.bb | 48 |
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 @@ | |||
| 1 | SUMMARY = "Web-based Traffic and Security Network Traffic Monitoring" | ||
| 2 | DESCRIPTION = "ntopng is a web-based network traffic monitoring application \ | ||
| 3 | released under GPLv3. It is the new incarnation of the original \ | ||
| 4 | ntop written in 1998, and now revamped in terms of performance, \ | ||
| 5 | usability, and features." | ||
| 6 | |||
| 7 | SECTION = "console/network" | ||
| 8 | |||
| 9 | DEPENDS = "curl hiredis libmaxminddb libpcap lua mariadb ndpi json-c rrdtool zeromq" | ||
| 10 | RDEPENDS:${PN} = "bash redis" | ||
| 11 | LICENSE = "GPL-3.0-only" | ||
| 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
| 13 | |||
| 14 | SRCREV = "9c034502dd7c389e840c09f05bcae0577780c716" | ||
| 15 | SRC_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 | ||
| 23 | export LUA_LIB = "${STAGING_LIBDIR}/liblua.a" | ||
| 24 | |||
| 25 | LDFLAGS:append:mipsarch = " -latomic" | ||
| 26 | LDFLAGS:append:powerpc = " -latomic" | ||
| 27 | LDFLAGS:append:riscv32 = " -latomic" | ||
| 28 | |||
| 29 | inherit autotools gettext pkgconfig systemd | ||
| 30 | |||
| 31 | EXTRA_OECONF += "--with-dynamic-ndpi" | ||
| 32 | |||
| 33 | do_install:append() { | ||
| 34 | install -d ${D}${systemd_unitdir}/system/ | ||
| 35 | install -m 0644 ${UNPACKDIR}/ntopng.service ${D}${systemd_unitdir}/system | ||
| 36 | } | ||
| 37 | |||
| 38 | FILES:${PN} += "\ | ||
| 39 | ${systemd_unitdir}/system/ntopng.service" | ||
| 40 | |||
| 41 | FILES:${PN}-doc += "\ | ||
| 42 | /usr/man/man8/ntopng.8" | ||
| 43 | |||
| 44 | do_configure:prepend() { | ||
| 45 | $(cd ${S} && ${S}/autogen.sh) | ||
| 46 | } | ||
| 47 | |||
| 48 | SYSTEMD_SERVICE:${PN} = "ntopng.service" | ||
