Re: LuCI: split luci.mk into a common and a feed-internal file

2021-01-01 Thread Paul Spooren
On Sa, Jan 2, 2021 at 03:31, Sven Roederer wrote: Hi, based on Pauls recent idea "rules: add findrev function from LuCI" of reusing some LuCI-code, I'd like to point to a github-PR with a related suggestion: https://github.com/openwrt/luci/pull/2637 As noted in the PR-message, it

Re: [PATCH] kexec-tools: update to 2.0.21

2021-01-01 Thread Rosen Penev
On Fri, Jan 1, 2021 at 7:02 PM Philip Prindeville wrote: > > Just because GDB can be used as an alternative, it’s not clear that we should > force people into that. ...the code is gone. > > > > > On Dec 29, 2020, at 5:05 PM, Rosen Penev wrote: > > > > kdump was removed in

Re: [PATCH] kexec-tools: update to 2.0.21

2021-01-01 Thread Philip Prindeville
Just because GDB can be used as an alternative, it’s not clear that we should force people into that. > On Dec 29, 2020, at 5:05 PM, Rosen Penev wrote: > > kdump was removed in 7acd257ae67b4ca94f8c23cb8bda0ee0709b9216 > > gdb can be used as an alternative. > > Remove autoreconf. It's not

Re: [PATCH] scripts/qemustart: use squashfs instead of ext4

2021-01-01 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Dec 29, 2020, at 4:13 PM, Paul Spooren wrote: > > The qemustart script currently picks the ext4 filesystem rather than > squashfs, while the latter is default for nearly all OpenWrt targets. > > Change the default behaviour of qemustart to be in line

Re: [PATCH] scripts/qemustart: use squashfs instead of ext4

2021-01-01 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Dec 29, 2020, at 4:13 PM, Paul Spooren wrote: > > The qemustart script currently picks the ext4 filesystem rather than > squashfs, while the latter is default for nearly all OpenWrt targets. > > Change the default behaviour of qemustart to be in line

LuCI: split luci.mk into a common and a feed-internal file

2021-01-01 Thread Sven Roederer
Hi, based on Pauls recent idea "rules: add findrev function from LuCI" of reusing some LuCI-code, I'd like to point to a github-PR with a related suggestion: https://github.com/openwrt/luci/pull/2637 As noted in the PR-message, it splits the current luci.mk file into two files. One for common

Re: build-requirements when using the Imagebuilder

2021-01-01 Thread Paul Spooren
On Fr, Jan 1, 2021 at 17:39, Sven Roederer wrote: Hi, based on the recent changes to the tools required when using the imagebuilder, I wonder If there are more tools that can be excluded for this case. Candidates I see here are: * patch * unzip * bzip2 * Perl 5.x (including Data::Dumper,

[PATCH 2/2] base-files: replace PKG_RELEASE with findrev

2021-01-01 Thread Paul Spooren
The newly added `findrev` function does automatic versioning based on Git commits of the package. Replace tedious to bump and merge conflict causing `PKG_RELEASE` and replace it with `findrev`. CC: Adrian Schmutzler Signed-off-by: Paul Spooren --- package/base-files/Makefile | 3 +-- 1 file

[PATCH 1/2] rules: add findrev function from LuCI

2021-01-01 Thread Paul Spooren
`findrev` can be used to automatically determine the revision of a package by checking the latest Git commit of a package folder. In case not Git informtion is available the folder timestamp is used. This function is migrated from `luci.git` where it is used for all package versions. As

Re: [PATCH] tools/fakeroot: update to 1.25.3

2021-01-01 Thread Syrone Wong
Thanks for the suggestion, I closed the GitHub PR, please review this one, although both of them are the same. I thought not all core developers are following GitHub and the mailing list. Best Regards, Syrone Wong On Sat, Jan 2, 2021 at 6:03 AM Paul Spooren wrote: > > Please don't double post

Re: [PATCH] tools/fakeroot: update to 1.25.3

2021-01-01 Thread Paul Spooren
Please don't double post on github and mailing list at the same time. I'll review this soonish! -- Jan 1, 2021 11:30:39 AM Syrone Wong : use PKG_FIXUP:=autoreconf to generate configure 200-hide-dlsym-error.patch deleted due to fixed upstream in another way other patches refreshed to reflect

[PATCH] tools/fakeroot: update to 1.25.3

2021-01-01 Thread Syrone Wong
use PKG_FIXUP:=autoreconf to generate configure 200-hide-dlsym-error.patch deleted due to fixed upstream in another way other patches refreshed to reflect latest changes Signed-off-by: Syrone Wong --- tools/fakeroot/Makefile | 7 ++--

[PATCH] odhcpd: add option for setting preferred lifetime

2021-01-01 Thread vincent
From: Nick Hainke "valid_lft" and "preferred_lft" are different. If the "preferred_lft" is expired the prefix should be avoided in source prefix selection. However, the interface is allowed to still receive downstream traffic. ra_use_preferred_lft: Value for the preferred lifetime for a

[PATCH] ppp: Remove already applied patch

2021-01-01 Thread Hauke Mehrtens
This patch was already applied upstream and not needed here. Fixes: 06403981e1f2 ("ppp: update to version 2.4.7.git-2019-05-06") Signed-off-by: Hauke Mehrtens --- package/network/services/ppp/Makefile | 2 +- .../ppp/patches/540-save-pppol2tp_fd_str.patch | 13 -

build-requirements when using the Imagebuilder

2021-01-01 Thread Sven Roederer
Hi, based on the recent changes to the tools required when using the imagebuilder, I wonder If there are more tools that can be excluded for this case. Candidates I see here are: * patch * unzip * bzip2 * Perl 5.x (including Data::Dumper, Thread::Queue) * Python * Git * rsync This list is just

Re: [PATCH] build/prereq: merge ifndef IB block together

2021-01-01 Thread Sven Roederer
Am Donnerstag, 31. Dezember 2020, 20:35:47 CET schrieb Paul Spooren: > > Merged and backported. > I think 4f3806364011aa3aef26fcab2e7b71837a777bcc needs to be backported too, to make it work. Sven ___ openwrt-devel mailing list

Re: [PATCH] build/prereq: merge ifndef IB block together

2021-01-01 Thread Sven Roederer
Am Mittwoch, 30. Dezember 2020, 05:23:41 CET schrieb Paul Spooren: > Multiple prereq checks are only required within the build system but not > for the ImageBuilder. These checks are excluded by using ifndef IB. > > This commit merges the three ifndef IB blocks together. Happy new year to all.

[PATCH] scripts/ext-toolchain.sh: modify ar/ranlib scripts

2021-01-01 Thread yeholmes
From: Ye Holmes The external toolchain scripts generated for ar/gcc-ar/ranlib/gcc-ranlib do not work well for latest prebuilt GNU toolchain downloaded from ARM: 1. aarch64-none-linux-gnu-ar and aarch64-none-linux-gnu-ranlib cannot generate correct static libraries for a number of packages with

Re: [PATCH uhttpd 2/3] listen: Copy only parts of ai_addr

2021-01-01 Thread Hauke Mehrtens
On 1/1/21 11:22 AM, Oldřich Jedlička wrote: pá 1. 1. 2021 v 11:02 odesílatel Oldřich Jedlička napsal: Hi, pá 1. 1. 2021 v 2:20 odesílatel Hauke Mehrtens napsal: ai_addr has different sizes for IPv4 and IPv6. Only copy the parts which are actually used and not the full array, to not copy

Re: Persistent HTTP(S) connections in opkg

2021-01-01 Thread Baptiste Jonglez
Hi, On 31-12-20, Hauke Mehrtens wrote: > > I looked into performance problems of LuCI when using https some time ago. > > > > The slow part was the handshake, the normal stream cipher is relatively > > fast, even very slow devices should be able to do multiple MB/s. > > > > On the server side

Re: Please revert 98b86296e6 as it breaks several ipq806x devices

2021-01-01 Thread Paweł Dembicki
pt., 1 sty 2021 o 12:09 Hannu Nyman napisał(a): > > Paweł Dembicki kirjoitti 31.12.2020 klo 23.42: > > > > Thanks Hannu for the inspection. It was a great job. Kconfig entry was > > misplaced after rebase in the early stage of my work. > > > > I moved it to the proper place. Patches are placed on

Re: Please revert 98b86296e6 as it breaks several ipq806x devices

2021-01-01 Thread Hannu Nyman
Paweł Dembicki kirjoitti 31.12.2020 klo 23.42: Thanks Hannu for the inspection. It was a great job. Kconfig entry was misplaced after rebase in the early stage of my work. I moved it to the proper place. Patches are placed on my github fork:

Re: [PATCH uhttpd 2/3] listen: Copy only parts of ai_addr

2021-01-01 Thread Oldřich Jedlička
pá 1. 1. 2021 v 11:02 odesílatel Oldřich Jedlička napsal: > > Hi, > > pá 1. 1. 2021 v 2:20 odesílatel Hauke Mehrtens napsal: > > > > ai_addr has different sizes for IPv4 and IPv6. Only copy the parts which > > are actually used and not the full array, to not copy and uninitialized > > memory. >

[PATCH] [netifd] interface-ip: fix ipv6 routing loop

2021-01-01 Thread Hans Dedecker
In case of prefix delegation an upstream ISP will route the complete delegated prefix (e.g 2001:DB8:BEEF::/56) to an OpenWrt device, OpenWrt will route back the complete /56 not matching a local or subdelegated prefix casusing a routing loop. Fix this by using an ip rule which directs traffic

Re: [PATCH uhttpd 2/3] listen: Copy only parts of ai_addr

2021-01-01 Thread Oldřich Jedlička
Hi, pá 1. 1. 2021 v 2:20 odesílatel Hauke Mehrtens napsal: > > ai_addr has different sizes for IPv4 and IPv6. Only copy the parts which > are actually used and not the full array, to not copy and uninitialized > memory. > > This fixes a warning found with the address sanitizer. > >