aboutsummaryrefslogtreecommitdiff
path: root/net/vnstat
Commit message (Collapse)AuthorAge
* treewide: remove rpath-linkRosen Penev2022-03-13
| | | | | | Most usages seem to be outdated and fixed a long time ago. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* net/vnstat: enable auto-respawn when vnstatd crashesMartin Blumenstingl2018-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | Originally this was indended as a fix for devices without RTC support which do not have the correct time set after a reboot (until ntp is able to update the system time). vnstat checks if there is a time difference between the latest entry in the database and detects that the system time is incorrect. In this case vnstat does not start (to prevent database corruption), the following message is reported instead: 'Error: Interface "..." has previous update date too much in the future, exiting.' Once we have network connectivity (and ntp has updated the system time) vnstat starts correctly though. vnstat 1.18 fixes this by waiting a few minutes (instead of exiting) and the following message is logged: "Latest database update is in the future (db: 2018-04-28 08:39:11 > now: 2018-04-28 08:07:18). Giving the system clock up to 5 minutes to sync before continuing." This still adds a procd respawn trigger to let procd automatically restart vnstat in case: - vnstat it crashes - no valid system time is received for a long time (no network connectivity, broken NTP servers, ...) Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* net/vnstat: port the init-script to procdMartin Blumenstingl2018-05-31
| | | | | | | This ports the init-script from the legacy functions to procd. There should be no functional changes with this patch. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* net/vnstat: Update to 1.18Daniel Engberg2018-04-01
| | | | | | Update vnstat to 1.18 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* net/vnstat: Update to 1.17Daniel Engberg2017-03-27
| | | | | | | | | | Update vnStat to 1.17 which fixes database issue. Remove unecessary patch Based on: commit 79b6e9dc61dc37e4745f08d83ce44593d256fd12 by Jo-Philipp Wich <jo@mein.io> Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* Revert "vnstat: update to v1.16"Jo-Philipp Wich2017-02-06
| | | | | | | | | This reverts commit 79b6e9dc61dc37e4745f08d83ce44593d256fd12. Undo the recent vnstat update due to upstream bugs preventing database restoration. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* vnstat: update to v1.16Jo-Philipp Wich2017-01-26
| | | | | | Updates vnStat to the latest stable version, drops obsolete patches. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace my defunct email addressJo-Philipp Wich2016-06-07
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* vnstat: allow to restore backup from directoryMathias Kresin2016-06-01
| | | | | | Allow to restore a backup from a directory instead of an url on start. Signed-off-by: Mathias Kresin <dev@kresin.me>
* vnstat: respect LDFLAGSAlexander Ryzhov2015-12-06
| | | | Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
* vnstat: fix musl compatibilityPeter Ivanov2015-06-18
| | | | Signed-off-by: Peter Ivanov <pivanov@hotmail.com>
* vnstat: update to upstream 1.12 releaseJo-Philipp Wich2014-09-18
| | | | | | Deferring privilege dropping for now until the OpenWrt api is stable. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* vnstat: import from packages, add myself as maintainerJo-Philipp Wich2014-06-11
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>