diff options
| author | Fagundes, Paulo <paulohefagundes@gmail.com> | 2020-10-22 22:14:14 -0600 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-10-23 10:20:24 -0700 |
| commit | 36f6580943eeb82432d646a9a1ae3b9597e670dd (patch) | |
| tree | bee834a302cbfadf58201752bbdd5da0a5a5ddbf /meta-networking/recipes-support | |
| parent | 1a53121ff54732648a4ee1e96643106d4d36c524 (diff) | |
| download | meta-openembedded-36f6580943eeb82432d646a9a1ae3b9597e670dd.tar.gz | |
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>
Diffstat (limited to 'meta-networking/recipes-support')
| -rw-r--r-- | meta-networking/recipes-support/vnstat/vnstat_2.6.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/vnstat/vnstat_2.6.bb b/meta-networking/recipes-support/vnstat/vnstat_2.6.bb new file mode 100644 index 0000000000..9a650f4090 --- /dev/null +++ b/meta-networking/recipes-support/vnstat/vnstat_2.6.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | 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)." | ||
| 2 | HOMEPAGE = "https://humdi.net/vnstat/" | ||
| 3 | LICENSE = "GPLv2" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 5 | SECTION = "net" | ||
| 6 | DEPENDS = "gd sqlite3" | ||
| 7 | |||
| 8 | SRC_URI = "https://github.com/vergoh/vnstat/releases/download/v${PV}/${BPN}-${PV}.tar.gz" | ||
| 9 | SRC_URI[md5sum] = "fe2928a81243cc8a532a357f97221736" | ||
| 10 | SRC_URI[sha256sum] = "89276e0a7281943edb554b874078278ad947dc312938a2451e03eb80679f7ff7" | ||
| 11 | |||
| 12 | inherit autotools pkgconfig systemd | ||
| 13 | |||
| 14 | EXTRA_OECONF = "--disable-extra-paths" | ||
| 15 | |||
| 16 | do_install_append() { | ||
| 17 | install -Dm644 ${S}/examples/systemd/vnstat.service "${D}${systemd_system_unitdir}/vnstat.service" | ||
| 18 | } | ||
| 19 | |||
| 20 | SYSTEMD_SERVICE_${PN} = "vnstat.service" | ||
