[PATCH v3 2/6] ltq-vdsl-app: add ubus support to get metrics

2021-01-26 Thread Andre Heider
Add a 'dsl' ubus object with a 'metrics' function to replace the expensive shell parsing done by /etc/init.d/dsl_control [dsl|luci]stat. All metrics are gathered by using syscalls. An additional thread is started to handle ubus events. $ time /etc/init.d/dsl_control dslstat real0m 2.66s user

[PATCH v3 6/6] ltq-dsl-base: remove usused lantiq_dsl.sh

2021-01-26 Thread Andre Heider
All users have been converted to ubus. Signed-off-by: Andre Heider Tested-by: Martin Schiller --- package/network/utils/ltq-dsl-base/Makefile | 2 +- .../files/lib/functions/lantiq_dsl.sh | 749 -- 2 files changed, 1 insertion(+), 750 deletions(-) delete mode

[PATCH v3 4/6] ltq-vdsl-app: use ubus to provide metrics

2021-01-26 Thread Andre Heider
luci now uses ubus directly, so remove 'lucistat'. For manual usage just print the ubus output, use luci for a pretty version. Signed-off-by: Andre Heider Tested-by: Martin Schiller --- package/network/config/ltq-vdsl-app/Makefile | 2 +-

[PATCH v3 5/6] ltq-adsl-app: use ubus to provide metrics

2021-01-26 Thread Andre Heider
luci now uses ubus directly, so remove 'lucistat'. For manual usage just print the ubus output, use luci for a pretty version. Signed-off-by: Andre Heider --- package/network/config/ltq-adsl-app/Makefile | 2 +- package/network/config/ltq-adsl-app/files/dsl_control | 7 --- 2 files

[PATCH v3 3/6] ltq-adsl-app: add ubus support to get metrics

2021-01-26 Thread Andre Heider
As with ltq-vdsl-app, see previous commit. Signed-off-by: Andre Heider --- package/network/config/ltq-adsl-app/Makefile | 7 ++- .../ltq-adsl-app/patches/300-ubus.patch | 50 +++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644

[PATCH v3 0/6] add ubus support to ltq-[v|a]dsl-app

2021-01-26 Thread Andre Heider
v3: - copy dsl_cpe_ubus.c from ltq-adsl-app to ltq-vdsl-app instead of using a symlink - squash PKG_RELEASE patches - move feed patches to PRs: https://github.com/openwrt/packages/pull/14572 https://github.com/openwrt/luci/pull/4749 v2: - drop 0002-ltq-vdsl-app-fix-Wundef-warnings.patch -

[PATCH v3 1/6] ltq-vdsl-app: shutdown upon sigterm

2021-01-26 Thread Andre Heider
procd sends sigterm to stop daemons, hook it up. This speeds up the shutdown sequence and gets rid of the following message: daemon.info procd: Instance dsl_control::instance1 pid 15408 not stopped on SIGTERM, sending SIGKILL instead Signed-off-by: Andre Heider Tested-by: Martin Schiller ---

Re: Job board support on openwrt.org?

2021-01-26 Thread Petr Štetiar
Philip Prindeville [2021-01-25 20:10:53]: Hi, > Can we proceed with that? as you can see there is no broad consensus on this topic, so you would need to find someone who could start the vote about this. Cheers, Petr ___ openwrt-devel mailing list

Re: Job board support on openwrt.org?

2021-01-26 Thread Paul Oranje
> Op 22 jan. 2021, om 20:03 heeft Daniel Golle het > volgende geschreven: > > Hi Philip, > > On Fri, Jan 22, 2021 at 11:23:42AM -0700, Philip Prindeville wrote: >> Hi, >> >> Is anyone interested in adding a page to the openwrt.org site about >> developers willing to do commercial work? >>

[PATCH] umdns: bump to 2021-01-26

2021-01-26 Thread Paul Spooren
* i78aa36b umdns: fix 64-bit time format string * start using $(AUTORELEASE) * Update Copyright Signed-off-by: Paul Spooren --- package/network/services/umdns/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/network/services/umdns/Makefile

Re: Job board support on openwrt.org?

2021-01-26 Thread Philip Prindeville
> On Jan 26, 2021, at 2:09 PM, Paul Oranje wrote: > > > >> Op 22 jan. 2021, om 20:03 heeft Daniel Golle het >> volgende geschreven: >> >> Hi Philip, >> >> On Fri, Jan 22, 2021 at 11:23:42AM -0700, Philip Prindeville wrote: >>> Hi, >>> >>> Is anyone interested in adding a page to the

Re: [PATCH v3 0/6] add ubus support to ltq-[v|a]dsl-app

2021-01-26 Thread Hauke Mehrtens
On 1/26/21 9:00 AM, Andre Heider wrote: v3: - copy dsl_cpe_ubus.c from ltq-adsl-app to ltq-vdsl-app instead of using a symlink - squash PKG_RELEASE patches - move feed patches to PRs: https://github.com/openwrt/packages/pull/14572 https://github.com/openwrt/luci/pull/4749 v2: - drop

Re: [PATCH v3 0/6] add ubus support to ltq-[v|a]dsl-app

2021-01-26 Thread Andre Heider
On 26/01/2021 23:02, Hauke Mehrtens wrote: On 1/26/21 9:00 AM, Andre Heider wrote: v3: - copy dsl_cpe_ubus.c from ltq-adsl-app to ltq-vdsl-app instead of using    a symlink - squash PKG_RELEASE patches - move feed patches to PRs:    https://github.com/openwrt/packages/pull/14572   

[PATCH] scripts: sources CDN as fallback in download.pl

2021-01-26 Thread Paul Spooren
In case the default sources for a package fail use the CDN rather than our own mirror. In case the CDN fails, fallback to our mirror. Also remove mirror1 which isn't available anymore. Signed-off-by: Paul Spooren --- scripts/download.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)