mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 14:56:43 +01:00
vnstat: add recipe
vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). Signed-off-by: Paulo Fagundes <paulohefagundes@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
1a53121ff5
commit
36f6580943
|
|
@ -250,6 +250,7 @@ RDEPENDS_packagegroup-meta-networking-support = "\
|
|||
tinyproxy \
|
||||
uftp \
|
||||
unbound \
|
||||
vnstat \
|
||||
wpan-tools \
|
||||
ettercap \
|
||||
"
|
||||
|
|
|
|||
20
meta-networking/recipes-support/vnstat/vnstat_2.6.bb
Normal file
20
meta-networking/recipes-support/vnstat/vnstat_2.6.bb
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
DESCRIPTION = "vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s)."
|
||||
HOMEPAGE = "https://humdi.net/vnstat/"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
SECTION = "net"
|
||||
DEPENDS = "gd sqlite3"
|
||||
|
||||
SRC_URI = "https://github.com/vergoh/vnstat/releases/download/v${PV}/${BPN}-${PV}.tar.gz"
|
||||
SRC_URI[md5sum] = "fe2928a81243cc8a532a357f97221736"
|
||||
SRC_URI[sha256sum] = "89276e0a7281943edb554b874078278ad947dc312938a2451e03eb80679f7ff7"
|
||||
|
||||
inherit autotools pkgconfig systemd
|
||||
|
||||
EXTRA_OECONF = "--disable-extra-paths"
|
||||
|
||||
do_install_append() {
|
||||
install -Dm644 ${S}/examples/systemd/vnstat.service "${D}${systemd_system_unitdir}/vnstat.service"
|
||||
}
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "vnstat.service"
|
||||
Loading…
Reference in New Issue
Block a user