Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 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 libmaxminddb libpcap lua mariadb ndpi json-c rrdtool zeromq" |
| 10 | RDEPENDS:${PN} = "bash redis" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 11 | LICENSE = "GPL-3.0-only" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 13 | |
| 14 | SRCREV = "d3ce78948e8d81dc1e2c5298ce556f9f2247aac1" |
| 15 | SRC_URI = "git://github.com/ntop/ntopng.git;protocol=https;branch=5.2-stable \ |
| 16 | file://0001-configure.ac.in-fix-configure-error.patch \ |
| 17 | file://0001-configure.ac.in-fix-host-contamination.patch \ |
| 18 | file://0001-Makefile.in-don-t-use-the-internal-lua.patch \ |
| 19 | file://0001-autogen.sh-generate-configure.ac-only.patch \ |
| 20 | file://0001-configure.ac.in-not-check-clang-on-host.patch \ |
| 21 | file://0001-configure.ac.in-Allow-dynamic-linking-against-ndpi-3.patch \ |
| 22 | file://ntopng.service \ |
| 23 | " |
| 24 | |
| 25 | S = "${WORKDIR}/git" |
| 26 | |
| 27 | # don't use the lua under thirdparty as it supports cross compiling badly |
| 28 | export LUA_LIB = "${STAGING_LIBDIR}/liblua.a" |
| 29 | |
| 30 | LDFLAGS:append:mipsarch = " -latomic" |
| 31 | LDFLAGS:append:powerpc = " -latomic" |
| 32 | LDFLAGS:append:riscv32 = " -latomic" |
| 33 | inherit autotools-brokensep gettext pkgconfig systemd |
| 34 | |
| 35 | do_install:append() { |
| 36 | install -d ${D}${systemd_unitdir}/system/ |
| 37 | install -m 0644 ${WORKDIR}/ntopng.service ${D}${systemd_unitdir}/system |
| 38 | } |
| 39 | |
| 40 | FILES:${PN} += "\ |
| 41 | ${systemd_unitdir}/system/ntopng.service" |
| 42 | |
| 43 | FILES:${PN}-doc += "\ |
| 44 | /usr/man/man8/ntopng.8" |
| 45 | |
| 46 | do_configure:prepend() { |
| 47 | ${S}/autogen.sh |
| 48 | } |
| 49 | |
| 50 | SYSTEMD_SERVICE:${PN} = "ntopng.service" |