Commit Graph

14 Commits

Author SHA1 Message Date
Rosen Penev 196e15162d treewide: remove rpath-link
Most usages seem to be outdated and fixed a long time ago.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-13 00:02:02 -08:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
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>
2021-02-20 16:02:15 -08:00
Martin Blumenstingl 96ae89c801 net/vnstat: enable auto-respawn when vnstatd crashes
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>
2018-05-31 13:03:38 +02:00
Martin Blumenstingl e1acbd55b6 net/vnstat: port the init-script to procd
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>
2018-05-31 13:03:38 +02:00
Daniel Engberg 028b696777 net/vnstat: Update to 1.18
Update vnstat to 1.18

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-04-01 21:29:41 +02:00
Daniel Engberg b8cf63a654 net/vnstat: Update to 1.17
Update vnStat to 1.17 which fixes database issue.
Remove unecessary patch
Based on:
commit 79b6e9dc61 by
Jo-Philipp Wich <jo@mein.io>

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-03-27 16:55:47 +02:00
Jo-Philipp Wich e751c3abbe Revert "vnstat: update to v1.16"
This reverts commit 79b6e9dc61.

Undo the recent vnstat update due to upstream bugs preventing database
restoration.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-06 11:01:45 +01:00
Jo-Philipp Wich 79b6e9dc61 vnstat: update to v1.16
Updates vnStat to the latest stable version, drops obsolete patches.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26 15:46:44 +01:00
Jo-Philipp Wich 9843f170d7 treewide: replace my defunct email address
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-07 12:00:59 +02:00
Mathias Kresin c5eda035cd vnstat: allow to restore backup from directory
Allow to restore a backup from a directory instead of an url on start.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-06-01 21:09:20 +02:00
Alexander Ryzhov 5d964c5faa vnstat: respect LDFLAGS
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2015-12-06 08:53:51 -05:00
Peter Ivanov 192884514f vnstat: fix musl compatibility
Signed-off-by: Peter Ivanov <pivanov@hotmail.com>
2015-06-18 01:26:46 +03:00
Jo-Philipp Wich 906611d5e3 vnstat: update to upstream 1.12 release
Deferring privilege dropping for now until the OpenWrt api is stable.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-09-18 17:35:29 +02:00
Jo-Philipp Wich 177bfef1c7 vnstat: import from packages, add myself as maintainer
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-06-11 16:47:32 +02:00