[PATCHv2 2/3] busybox: update to 1.33

2021-01-03 Thread Rosen Penev
have been applied upstream. Add smalll patch fixing compilation with SELinux. Upstream commit 2496616b0a8d1c80cd1416b73a4847b59b9f969a renamed the variable without renaming it in the SELinux path. Refresh config and patches. Signed-off-by: Rosen Penev --- v2: refreshed config and slight rewording

Re: [PATCH] libpcap: update to 1.10.0

2021-01-04 Thread Rosen Penev
On Sun, Jan 3, 2021 at 11:35 PM Bjørn Mork wrote: > > Rosen Penev writes: > > > Simplify cmake option handling by putting everything in blocks. > > > > Add openssl patch as there's no easy way to disable. > > > > Rebase the skip manpages patch. &g

Re: [PATCH] libpcap: update to 1.10.0

2021-01-04 Thread Rosen Penev
On Mon, Jan 4, 2021 at 5:36 AM Hannu Nyman wrote: > > Rosen Penev kirjoitti 4.1.2021 klo 10.31: > > On Sun, Jan 3, 2021 at 11:35 PM Bjørn Mork wrote: > >> Rosen Penev writes: > >> > >>> ... > >>> > >>> @@ -48,11 +47,15 @@ en

Re: [PATCHv2 2/3] busybox: update to 1.33

2021-01-04 Thread Rosen Penev
On Sun, Jan 3, 2021 at 10:14 PM Hannu Nyman wrote: > > Rosen Penev kirjoitti 4.1.2021 klo 5.32: > > Remove stime backport. > > > > Remove static libgcc patch as upstream fixed it with > > BUSYBOX_DEFAULT_STATIC_LIBGCC which defauls to off. > > > > Re

[PATCHv2] libpcap: update to 1.10.0

2021-01-04 Thread Rosen Penev
le it is deprecated, the codepath is never taken. /sys/bus/usb/devices is checked before hand. If it exists, the function does stuff and returns. Additionally, this path is used elsewhere in the code. Refresh other patches. Signed-off-by: Rosen Penev --- v2: add back missing CONFIG_PCAP_HAS_NETF

Re: [PATCHv2 2/3] busybox: update to 1.33

2021-01-05 Thread Rosen Penev
On Tue, Jan 5, 2021 at 12:20 PM Hannu Nyman wrote: > > Hannu Nyman kirjoitti 5.1.2021 klo 16.34: > > Rosen Penev kirjoitti 5.1.2021 klo 0.29: > >> On Sun, Jan 3, 2021 at 10:14 PM Hannu Nyman wrote: > >>> ... > >>> > >>> Please remov

Re: [PATCHv2 2/3] busybox: update to 1.33

2021-01-06 Thread Rosen Penev
On Wed, Jan 6, 2021 at 3:40 AM Hannu Nyman wrote: > > Hannu Nyman kirjoitti 6.1.2021 klo 12.08: > > Rosen Penev kirjoitti 6.1.2021 klo 0.49: > >> On Tue, Jan 5, 2021 at 12:20 PM Hannu Nyman wrote: > >>> Hannu Nyman kirjoitti 5.1.2021 klo 16.34: > >>

[PATCH] link libvalidate to uci

2021-01-06 Thread Rosen Penev
Fixes ldd error: Error relocating /lib/libvalidate.so: uci_free_context: symbol not found Error relocating /lib/libvalidate.so: uci_lookup_ptr: symbol not found Error relocating /lib/libvalidate.so: uci_alloc_context: symbol not found Signed-off-by: Rosen Penev --- CMakeLists.txt | 1 + 1 file

[PATCHv3 1/3] base-files: use hwclock --systz

2021-01-07 Thread Rosen Penev
(SYS_gettimeofday, NULL, &tt); int b = gettimeofday(NULL, &tz); printf("%d - %d, %d\n", a, tt.tz_minuteswest, tt.tz_dsttime); printf("%d - %d, %d\n", b, tz.tz_minuteswest, tz.tz_dsttime); } Signed-off-by: Rosen Penev --- v2: moved patch to the

[PATCHv3 3/3] busybox: remove useless busybox patches

2021-01-07 Thread Rosen Penev
The first two are useless as /bin/sh can execute those scripts just fine. Shellcheck reports no problems. Telnet patch is useless as telnet is no longer used in OpenWrt. Signed-off-by: Rosen Penev --- package/utils/busybox/patches/100-trylink_bash.patch | 8 .../busybox/patches/101

[PATCHv3 2/3] busybox: update to 1.33

2021-01-07 Thread Rosen Penev
have been applied upstream. Add smalll patch fixing compilation with SELinux. Upstream commit 2496616b0a8d1c80cd1416b73a4847b59b9f969a renamed the variable without renaming it in the SELinux path. Refresh config and patches. Signed-off-by: Rosen Penev --- v3: more complete config refresh. v2:

Re: [PATCHv3 1/3] base-files: use hwclock --systz

2021-01-10 Thread Rosen Penev
On Sun, Jan 10, 2021 at 10:47 AM Hannu Nyman wrote: > > Hannu Nyman kirjoitti 10.1.2021 klo 19.25: > > Rosen Penev kirjoitti 8.1.2021 klo 5.30: > >> The date -k patch is non standard and will be removed in the next > >> commit. > >> > >> ... >

Re: [PATCHv3 3/3] busybox: remove useless busybox patches

2021-01-10 Thread Rosen Penev
On Fri, Jan 8, 2021 at 1:38 PM Andrey Jr. Melnikov wrote: > > Rosen Penev wrote: > > The first two are useless as /bin/sh can execute those scripts just > > fine. Shellcheck reports no problems. > > > Telnet patch is useless as telnet is no longer used in

[PATCH] tools/zstd: update to 1.4.8

2021-01-17 Thread Rosen Penev
Switch to the normal tarball instead of the codeload generated one. The latter has the potential to change hashes based on changes in the repo. Signed-off-by: Rosen Penev --- tools/zstd/Makefile | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/zstd/Makefile b

[PATCHv2] tools/zstd: update to 1.4.8

2021-01-17 Thread Rosen Penev
Switch to the normal tarball instead of the codeload generated one. The latter has the potential to change hashes based on changes in the repo. Signed-off-by: Rosen Penev --- v2: forgot to remove upstreamed patch tools/zstd/Makefile | 7 +-- ...re-portable-header

[PATCH] autoconf: update to 2.70

2021-01-17 Thread Rosen Penev
Refreshed patches. Removed emacs patch as upstream removed emacs completely. Removed musl host patch. Upstream seems to have fixed it differently. Signed-off-by: Rosen Penev --- tools/autoconf/Makefile | 4 +- tools/autoconf/patches/000-relocatable.patch | 107

Re: [PATCH] iperf3: move over to packages.git

2021-01-17 Thread Rosen Penev
-off-by: Paul Spooren Reviewed-by: Rosen Penev --- > package/network/utils/iperf3/Makefile | 83 --- > 1 file changed, 83 deletions(-) > delete mode 100644 package/network/utils/iperf3/Makefile > > diff --git a/package/network/utils/iperf3/Makefile > b/package/

[PATCH] tools/autoconf: update to 2.70

2021-01-18 Thread Rosen Penev
Refreshed patches. Removed emacs patch as upstream removed emacs completely. Removed musl host patch. Upstream seems to have fixed it differently. Added patch to skip building man pages. Removes help2man host build dependency. Signed-off-by: Rosen Penev --- tools/autoconf/Makefile

Re: [PATCH] rpcd CMakeLists.txt: drop legacy json-c support

2021-01-19 Thread Rosen Penev
incompatible > API, so just drop it. > > Backported from libubox cbf80de7f4df61960f386cb01a899cf4228d38f3 > > Signed-off-by: Sergey Ponomarev Reviewed-by: Rosen Penev > --- > CMakeLists.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/CMake

Re: [PATCH] rpcd CMakeLists.txt: install unauthenticated.json

2021-01-19 Thread Rosen Penev
On Mon, Jan 18, 2021 at 11:27 PM Sergey Ponomarev wrote: > > When installing rpcd directly from CMake then the file is missing. > > Signed-off-by: Sergey Ponomarev Reviewed-by: Rosen Penev > --- > CMakeLists.txt | 3 +++ > 1 file changed, 3 insertions(+) > > di

[PATCH] util-linux: fix bad pkgconf variable

2021-01-19 Thread Rosen Penev
Because of the lib prefix, it's not getting substituted properly and breaks compilation of other packages. Fixes error with at least btrfs-progs: Package '@LIBSELINUX@', required by 'mount', not found Package '@LIBCRYPTSETUP@', required by 'moun

[PATCH] toolchain/libstdcpp: disable dual ABI and default to new

2021-01-20 Thread Rosen Penev
these issues do not need to be handled. Most importantly, this results in a significant size reduction of libstdpp: Before: 450794 bytes After: 327752 bytes Tested with all OpenWrt packages. Signed-off-by: Rosen Penev --- toolchain/gcc/common.mk | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCHv3 2/2] tools/zstd: compile with cmake

2021-01-20 Thread Rosen Penev
It's faster and more reliable. Removed ccache cmake build dependency as it's now implicit. Signed-off-by: Rosen Penev --- v3: converted to use CMake tools/Makefile | 3 ++- tools/zstd/Makefile | 9 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/tools/

[PATCHv3 1/2] tools/zstd: update to 1.4.8

2021-01-20 Thread Rosen Penev
Switch to the normal tarball instead of the codeload generated one. The latter has the potential to change hashes based on changes in the repo. Signed-off-by: Rosen Penev --- v3: converted to use CMake v2: forgot to remove upstreamed patch tools/zstd/Makefile | 7

[PATCH] pcre: disable C++ bindings

2021-01-20 Thread Rosen Penev
Nothing uses them. Allows to simplify the Makefile. Signed-off-by: Rosen Penev --- package/libs/pcre/Makefile | 21 +++-- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/package/libs/pcre/Makefile b/package/libs/pcre/Makefile index 37d939da7f..8644746b4b 100644

Re: [PATCH] util-linux: fix bad pkgconf variable

2021-01-27 Thread Rosen Penev
On Wed, Jan 27, 2021 at 3:11 PM Hauke Mehrtens wrote: > > On 1/20/21 1:16 AM, Rosen Penev wrote: > > Because of the lib prefix, it's not getting substituted properly and > > breaks compilation of other packages. > > > > Fixes error with at least btrfs-

[PATCH] util-linux: remove custom pkgconfig patch

2021-01-27 Thread Rosen Penev
Replace with sed as done elsewhere. Fixes error with at least btrfs-progs: Package '@LIBSELINUX@', required by 'mount', not found Package '@LIBCRYPTSETUP@', required by 'mount', not foun Signed-off-by: Rosen Penev --- package/utils/util-linux/Makefi

Re: [PATCHv3 1/2] tools/zstd: update to 1.4.8

2021-01-30 Thread Rosen Penev
On Sat, Jan 30, 2021 at 6:03 PM Paul Spooren wrote: > > On Wed Jan 20, 2021 at 6:54 PM HST, Rosen Penev wrote: > > Switch to the normal tarball instead of the codeload generated one. The > > latter has the potential to change hashes based on changes in the repo. > > > &

Re: [PATCHv3 2/2] tools/zstd: compile with cmake

2021-01-30 Thread Rosen Penev
On Sat, Jan 30, 2021 at 6:04 PM Paul Spooren wrote: > > On Wed Jan 20, 2021 at 6:54 PM HST, Rosen Penev wrote: > > It's faster and more reliable. > > > > Removed ccache cmake build dependency as it's now implicit. > > > > Signed-off-by: Rosen

[PATCHv3 1/3] base-files: use hwclock --systz

2021-01-31 Thread Rosen Penev
(SYS_gettimeofday, NULL, &tt); int b = gettimeofday(NULL, &tz); printf("%d - %d, %d\n", a, tt.tz_minuteswest, tt.tz_dsttime); printf("%d - %d, %d\n", b, tz.tz_minuteswest, tz.tz_dsttime); } Signed-off-by: Rosen Penev --- v3: add -u to fix early log

[PATCHv3 3/3] busybox: remove useless busybox patches

2021-01-31 Thread Rosen Penev
The first two are useless as /bin/sh can execute those scripts just fine. Shellcheck reports no problems. Telnet patch is useless as telnet is no longer used in OpenWrt. Signed-off-by: Rosen Penev --- package/utils/busybox/patches/100-trylink_bash.patch | 8 .../busybox/patches/101

[PATCHv3 2/3] busybox: update to 1.33

2021-01-31 Thread Rosen Penev
have been applied upstream. Add smalll patch fixing compilation with SELinux. Upstream commit 2496616b0a8d1c80cd1416b73a4847b59b9f969a renamed the variable without renaming it in the SELinux path. Refresh config and patches. Signed-off-by: Rosen Penev --- v2: refreshed config and slight rewording

Re: [PATCHv3 1/3] base-files: use hwclock --systz

2021-01-31 Thread Rosen Penev
On Sun, Jan 31, 2021 at 3:46 PM Hauke Mehrtens wrote: > > Hi Rosen, > > Are you planning to send a new version soon? Sent. > > Hauke ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH] ppp: Update to version 2.4.9

2021-02-03 Thread Rosen Penev
On Wed, Feb 3, 2021 at 3:28 PM Hauke Mehrtens wrote: > > Upstream integrated multiple patches from Distributions and did other > changes: > * rp-pppoe.so was renamed to pppoe.so > * Converted to ANSI C > > The following patches were applied upstream: > * 100-debian_ip-ip_option.patch > * 101-debi

Re: Upcoming 19.07.7 release

2021-02-05 Thread Rosen Penev
On Fri, Feb 5, 2021 at 12:00 AM Baptiste Jonglez wrote: > > Hi, > > We are planning a new 19.07 release in about a week (probably next week-end). > > If you are aware of changes that need to be integrated, now is the time to > do it or mention it here! https://github.com/openwrt/packages/pull/1464

Re:

2021-02-08 Thread Rosen Penev
On Mon, Feb 8, 2021 at 1:01 AM Etan Kissling (IC) via openwrt-devel wrote: > > The sender domain has a DMARC Reject/Quarantine policy which disallows > sending mailing list messages using the original "From" header. > > To mitigate this problem, the original message has been wrapped > automaticall

[PATCH] autotools.mk: fix gettext fixup

2021-02-17 Thread Rosen Penev
The update to gettext 0.21 broke packages that use autotools and gettext because the sed line was failing with the new version. Fix with a better sed expression. Signed-off-by: Rosen Penev --- include/autotools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include

Re: [PATCH] wireguard-tools: Add dependency on kmod-wireguard

2021-02-18 Thread Rosen Penev
On Thu, Feb 18, 2021 at 8:31 PM Ilya Lipnitskiy wrote: > > Hi, > On Thu, Feb 18, 2021 at 5:57 PM Jason A. Donenfeld wrote: > > > > I've backported WireGuard patch-by patch to 5.4, in a series that you > > can simply apply to your existing 5.4 kernels. I can prepare that for > > you guys tomorrow.

Re: [PATCH 1/1] firewall3: remove last remaining sprintf()

2021-02-22 Thread Rosen Penev
On Fri, Feb 19, 2021 at 12:52 PM Philip Prindeville wrote: > > From: Philip Prindeville > > Signed-off-by: Philip Prindeville Reviewed-by: Rosen Penev > --- > iptables.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ipta

Re: Quilt and cutting down diff position lines

2021-02-24 Thread Rosen Penev
On Wed, Feb 24, 2021 at 2:53 AM Adrian Schmutzler wrote: > > Hi, > > as most are probably aware, quilt cuts down the position lines in patches > during refresh: > > - @@ -78,7 +78,8 @@ void machine_apply_elf_rel(struct mem_ehdr > *UNUSED(ehdr), > + @@ -78,7 +78,8 @@ void machine_apply_elf_rel(stru

[PATCH] uclibc++: remove

2021-02-26 Thread Rosen Penev
down of packages that need it. Added warning message to uclibc++.mk Signed-off-by: Rosen Penev --- config/Config-build.in| 14 -- include/uclibc++.mk | 18 +-- package/libs/uclibc++/Makefile| 105 - package/libs

Re: Clarification about dsa and ipq806x

2021-03-01 Thread Rosen Penev
On Mon, Mar 1, 2021 at 2:26 AM wrote: > > > Hi > > > > [Disclaimer: I'm not an OpenWrt developer] > > > > On 2021-03-01, Ansuel Smith wrote: > > [...] > > > The idea is to switch this target to dsa but there is a problem... > > > Since kernel 5.10 is a testing kernel how should I change the base >

Re: Clarification about dsa and ipq806x

2021-03-01 Thread Rosen Penev
On Mon, Mar 1, 2021 at 2:37 AM wrote: > > > On Mon, Mar 1, 2021 at 2:26 AM wrote: > > > > > > > Hi > > > > > > > > [Disclaimer: I'm not an OpenWrt developer] > > > > > > > > On 2021-03-01, Ansuel Smith wrote: > > > > [...] > > > > > The idea is to switch this target to dsa but there is a problem.

[PATCH] procd: fix compilation with newer musl

2021-03-01 Thread Rosen Penev
An open bracket was missing. Signed-off-by: Rosen Penev --- jail/jail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jail/jail.c b/jail/jail.c index 378a729..ce4f50c 100644 --- a/jail/jail.c +++ b/jail/jail.c @@ -2804,7 +2804,7 @@ static void post_main(struct

Re: [PATCH] uclibc++: remove

2021-03-01 Thread Rosen Penev
On Mon, Mar 1, 2021 at 7:14 PM Felix Fietkau wrote: > > > On 2021-02-27 05:17, Rosen Penev wrote: > > No package here depends on it. Furthermore, uClibc++ is a fairly buggy > > C++ library and seems to be relatively inactive upstream. > > > > It also lacks proper

Re: [PATCH] uclibc++: remove

2021-03-01 Thread Rosen Penev
On Mon, Mar 1, 2021 at 7:45 PM Ilya Lipnitskiy wrote: > > On Mon, Mar 1, 2021 at 7:18 PM Felix Fietkau wrote: > > > > > > On 2021-02-27 05:17, Rosen Penev wrote: > > > No package here depends on it. Furthermore, uClibc++ is a fairly buggy > > > C++ l

[PATCH] gettext-full: disable nameless locale define

2021-03-06 Thread Rosen Penev
It seems some packages like transmission and json-glib fail with it enabled. Signed-off-by: Rosen Penev --- package/libs/gettext-full/Makefile | 2 +- package/libs/gettext-full/patches/010-m4.patch | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package

[PATCH] binutils: fix compilation with ccache

2021-03-06 Thread Rosen Penev
For some reason, one of the configure checks results in some infinite loop and ends up spawning endless gcc processes, causing OOM. Just pass a configure var to avoid it. Signed-off-by: Rosen Penev --- toolchain/binutils/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolchain

Re: Build openwrt with clang

2021-03-06 Thread Rosen Penev
On Sat, Mar 6, 2021 at 12:19 AM Michael Fuckner wrote: > > Hi, > > I'm not exactly sure if this is trivial or totally insane- I have the idea to > compile the whole openwrt with clang instead of gcc. I could not get a point > to start at. Can you help me? I don't think LLVM supports all the targ

Re: Dsa multi-cpu port problem

2021-03-10 Thread Rosen Penev
On Wed, Mar 10, 2021 at 4:19 PM Ansuel Smith wrote: > > I'm working on the conversion of ipq806x to dsa. > It's been 2 years and still dsa doesn't support multi-cpu port. > Online there are many patches that add support for this but they were > never accepted upstream since there isn't a solution

Re: Dsa multi-cpu port problem

2021-03-10 Thread Rosen Penev
On Wed, Mar 10, 2021 at 4:56 PM Ansuel Smith wrote: > > > > > On Wed, Mar 10, 2021 at 4:19 PM Ansuel Smith wrote: > > > > > > I'm working on the conversion of ipq806x to dsa. > > > It's been 2 years and still dsa doesn't support multi-cpu port. > > > Online there are many patches that add support

Re: [PATCH 0/4] import libcap from packages feed

2021-03-12 Thread Rosen Penev
On Fri, Mar 12, 2021 at 2:10 AM Stijn Tintel wrote: > > On 12/03/2021 10:50, Petr Štetiar wrote: > > Stijn Tintel [2021-03-12 01:25:24]: > > > > Hi, > > > >> Having libcap in OpenWrt base allows us to enable libcap support in > >> other packages in base. > > there is same functionality available

Re: [PATCH] uclibc++: remove

2021-03-12 Thread Rosen Penev
On Sat, Feb 27, 2021 at 7:41 AM Hauke Mehrtens wrote: > > On 2/27/21 5:17 AM, Rosen Penev wrote: > > No package here depends on it. Furthermore, uClibc++ is a fairly buggy > > C++ library and seems to be relatively inactive upstream. > > > > It also lacks proper sup

Re: [PATCH] ramips: add support for TOTOLINK X5000R

2021-03-12 Thread Rosen Penev
On Fri, Mar 12, 2021 at 6:27 PM Chuanhong Guo wrote: > > Hi! > > On Sat, Mar 13, 2021 at 7:27 AM Bas Mevissen wrote: > > > > Hi, > > > > Thanks for creating this patch. Got my X5000R today. Before flashing it > > to OpenWRT, can you please tell me whether you (or anyone else) did > > performance

[PATCH 2/2] kernel: add exfat again

2021-03-12 Thread Rosen Penev
With kernel 5.10, exfat is out of staging and in tree. Added small hack to make it work with kernel 5.4 as well. Signed-off-by: Rosen Penev --- package/kernel/linux/modules/fs.mk | 20 1 file changed, 20 insertions(+) diff --git a/package/kernel/linux/modules/fs.mk b

[PATCH 1/2] package/exfat: remove

2021-03-12 Thread Rosen Penev
Now that kernel 5.10 is in tree, this can be removed. Signed-off-by: Rosen Penev --- package/kernel/exfat/Makefile | 46 --- 1 file changed, 46 deletions(-) delete mode 100644 package/kernel/exfat/Makefile diff --git a/package/kernel/exfat/Makefile b/package

Re: [PATCH] pcre: disable C++ bindings

2021-03-14 Thread Rosen Penev
On Sun, Mar 14, 2021 at 7:40 AM Jan Kardell wrote: > > Rosen Penev skrev: > > Nothing uses them. Allows to simplify the Makefile. > Actually I use it for stuff that is not in openwrt repos. That means I > must keep pcrecpp out-of-tree. Maybe others do too, but have not yet

Re: [PATCH] pcre: disable C++ bindings

2021-03-15 Thread Rosen Penev
On Sun, Mar 14, 2021 at 2:40 PM Karl Palsson wrote: > > > Rosen Penev wrote: > > On Sun, Mar 14, 2021 at 7:40 AM Jan Kardell > > wrote: > > > > > > Rosen Penev skrev: > > > > Nothing uses them. Allows to simplify the Makefile. > > > Ac

[PATCH] pcre: bring back C++ bindings

2021-03-16 Thread Rosen Penev
It seems some people use them privately. Reported-by: Jan Kardell Signed-off-by: Rosen Penev --- package/libs/pcre/Makefile | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/package/libs/pcre/Makefile b/package/libs/pcre/Makefile index 8644746b4b

[PATCHv2 1/2] package/exfat: remove

2021-03-16 Thread Rosen Penev
Now that kernel 5.10 is in tree, this can be removed. Signed-off-by: Rosen Penev --- package/kernel/exfat/Makefile | 46 --- 1 file changed, 46 deletions(-) delete mode 100644 package/kernel/exfat/Makefile diff --git a/package/kernel/exfat/Makefile b/package

[PATCHv2 2/2] kernel: add exfat again

2021-03-16 Thread Rosen Penev
With kernel 5.10, exfat is out of staging and in tree. Added small hack to make it work with kernel 5.4 as well. Added removed config options for 5.4 to generic config. Signed-off-by: Rosen Penev --- v2: Add missing config options package/kernel/linux/modules/fs.mk | 20

[PATCH] openssl: don't rename a file with quilt

2021-03-26 Thread Rosen Penev
quilt cannot handle file renames and ends up duplicating the file. Instead of doing that, handle the renaming in the Makefile so that the upstream file can change. Signed-off-by: Rosen Penev --- package/libs/openssl/Makefile |7 + ...o-make-the-dev-crypto-engine

Re: [PATCH] build: remove GCC7 support

2021-03-26 Thread Rosen Penev
ra in the packages feed. That's actually why I don't backport gerbera to 19.07. > > Signed-off-by: Paul Spooren Acked-by: Rosen Penev > --- > toolchain/gcc/Config.in | 4 - > toolchain/gcc/Config.version | 10 - > toolchain/gcc/

[PATCH 2/2] lua5.3: refresh patches

2021-03-26 Thread Rosen Penev
Renamed doc files in Build/Prepare instead of patches as quilt cannot handle renames in patches. Signed-off-by: Rosen Penev --- package/utils/lua5.3/Makefile | 8 +++ .../patches/001-include-version-number.patch | 8 --- .../lua5.3/patches/020-shared_liblua.patch| 60

[PATCH 1/2] lua: refresh patches

2021-03-26 Thread Rosen Penev
Renamed doc files in Build/Prepare instead of patches as quilt cannot handle renames in patches. Signed-off-by: Rosen Penev --- package/utils/lua/Makefile| 8 .../lua/patches/001-include-version-number.patch | 10 +- .../lua/patches/013-lnum

Re: [PATCH] openssl: don't rename a file with quilt

2021-03-26 Thread Rosen Penev
7;m maintaining the patches > at https://github.com/cotequeiroz/openssl, and refreshing backports > with git is much easier than with quilt. See comments below, as your > patchset breaks compilation with QUILT. > > On Fri, Mar 26, 2021 at 6:26 AM Rosen Penev wrote: > > > >

Re: [RFC PATCH] openssl: make the patches QUILT-friendly

2021-03-26 Thread Rosen Penev
On Fri, Mar 26, 2021 at 11:56 AM Eneas U de Queiroz wrote: > > The patches in this package are all made by git format-patches. If one > were to run 'make package/openssl/{refresh,update}', then things will > not work as expected, because quilt QUILT does not deal well with > patches that rename f

Re: [PATCH] openssl: don't rename a file with quilt

2021-03-26 Thread Rosen Penev
On Fri, Mar 26, 2021 at 2:57 PM Felix Fietkau wrote: > > > On 2021-03-26 22:39, Eneas U de Queiroz wrote: > > On Fri, Mar 26, 2021 at 4:28 PM Rosen Penev wrote: > >> > >> On Fri, Mar 26, 2021 at 5:55 AM Eneas U de Queiroz > >> wrote: > >> &

Re: Data loss issue (and solution) for MTK uSD driver

2021-04-02 Thread Rosen Penev
On Fri, Apr 2, 2021 at 5:12 PM Rosen Penev wrote: > > On Fri, Apr 2, 2021 at 4:22 PM Enrico Mioso wrote: > > > > Hello all!! > > > > I experienced an issue that could cause data loss on a uSD card when used > > in some ramips MT7621 devices, like the Zbtlink

Re: Data loss issue (and solution) for MTK uSD driver

2021-04-02 Thread Rosen Penev
On Fri, Apr 2, 2021 at 4:22 PM Enrico Mioso wrote: > > Hello all!! > > I experienced an issue that could cause data loss on a uSD card when used in > some ramips MT7621 devices, like the Zbtlink ZBT-WG3526 (32M). > I fixed it by following the nice solution pointed our here: > https://forum.openwr

[PATCH] toolchain/gdb: fix compilation with ccache

2021-04-04 Thread Rosen Penev
For some reason, one of the configure checks results in some infinite loop and ends up spawning endless gcc processes, causing OOM. Just pass a configure var to avoid it. Same fix as 6e23813c1ed7494a9da3b5e59cfcafd71097c420 Signed-off-by: Rosen Penev --- toolchain/gdb/Makefile | 1 + 1 file

Re: [PATCH] kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4

2021-04-07 Thread Rosen Penev
(), memcpy() and memmove() even when not explicitly > telling the compiler to use the build in variant. > > Signed-off-by: Hauke Mehrtens Acked-by: Rosen Penev > --- > > I would like to backport this to 21.02 too. Seems good. > > ...-Kconfig-Add-ARCH_HAS_FORTIFY_SOURC

[PATCH]-19.07 busybox: backport hwclock fixes

2021-04-09 Thread Rosen Penev
Currently on devices with an RTC, sysfixtime uses busybox' hwclock to set the RTC time. Unfortunately, g/settimeofday on musl completely ignore the second parameter which forces users to use the syscall directly. Backport two patches to fix hwclock's support for timezones. Signed-off

[PATCH] base-files: fix zoneinfo support

2021-04-09 Thread Rosen Penev
are/zoneinfo/America/Los Angeles This file does not exist. America/Los_Angeles does. Signed-off-by: Rosen Penev --- this should be backported to 21.02 and 19.07 as the issue is also present there. This was tested on 19.07. package/base-files/files/etc/init.d/system | 10 +++--- 1 file changed

Re: [PATCH] base-files: fix zoneinfo support

2021-04-10 Thread Rosen Penev
On Fri, Apr 9, 2021 at 5:22 PM Rosen Penev wrote: > > The system init script currently sets /tmp/localinfo when zoneinfo is > populated. However, zoneinfo has spaces in it whereas the actual files > have _ instead of spaces. This made the if condition never return true. > > Ex

Re: [PATCH] toolchain: gcc: Update to version 10.3.0

2021-04-12 Thread Rosen Penev
On Sat, Apr 10, 2021 at 3:17 PM Hauke Mehrtens wrote: > > Signed-off-by: Hauke Mehrtens Breaks fortify-headers interestingly enough. > --- > toolchain/gcc/Config.version| 2 +- > toolchain/gcc/common.mk | 4 ++-- > .../patches/{

[PATCH] fortify-headers: fix compilation with GCC 10.3

2021-04-12 Thread Rosen Penev
_n) In function 'mempcpy': error: called object '__orig_mempcpy' is not a function or function pointer 151 | return _orig_mempcpy(__d, __s, __n); Signed-off-by: Rosen Penev --- toolchain/fortify-headers/Makefile | 2 +- toolchain/fortify-headers/pat

Re: [PATCH] fortify-headers: fix compilation with GCC 10.3

2021-04-13 Thread Rosen Penev
On Tue, Apr 13, 2021 at 3:53 PM Hauke Mehrtens wrote: > > On 4/13/21 6:03 AM, Rosen Penev wrote: > > For some reason, fortified mempcpy does not work with GCC 10.3. It > > worked with GCC 10.2. > > > > Some output with tvheadend: > > > > error: &#

[PATCH] libsemanage: fix pkgconfig paths

2021-04-13 Thread Rosen Penev
The pkgconfig file currently post to host paths. Signed-off-by: Rosen Penev --- package/libs/libsemanage/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libs/libsemanage/Makefile b/package/libs/libsemanage/Makefile index ff1519f14e..2fde14c06c 100644

Re: [PATCH] RFC: kernel: Remove CFQ activate BFQ

2021-04-14 Thread Rosen Penev
On Wed, Apr 14, 2021 at 4:46 AM Linus Walleij wrote: > > The CFQ IO scheduler is deleted from the Linux kernel > since commit f382fb0bcef4c37dc049e9f6963e3baf204d815c > "block: remove legacy IO schedulers". > > The new multiqueue block layer has an IO scheduler named > BFQ (Budget Fair Queue) that

Re: [PATCH] kernel: Disable CONFIG_COMPAT_32BIT_TIME by default

2021-04-14 Thread Rosen Penev
On Wed, Apr 14, 2021 at 6:27 AM Linus Walleij wrote: > > OpenWRT rebuilds the whole userspace from scratch and uses > recent versions of tools and libraries, thus it should not > be necessary in general to support CONFIG_COMPAT_32BIT_TIME, > not even for purely 32bit systems: their updated userspa

Re: [PATCH] kernel: Disable CONFIG_COMPAT_32BIT_TIME by default

2021-04-14 Thread Rosen Penev
On Wed, Apr 14, 2021 at 4:47 PM Linus Walleij wrote: > > On Thu, Apr 15, 2021 at 12:49 AM Rosen Penev wrote: > > > time_t is still 32-bit for 32-bit targets. OpenWrt has not migrated to > > musl 1.2.x. > > > > https://github.com/openwrt/openwrt/pull/3004 is a

Re: [PATCH] build: prereq: drop support for Python 3.5

2021-04-17 Thread Rosen Penev
On Sat, Apr 17, 2021 at 2:49 PM Sven Roederer wrote: > > Am Samstag, 17. April 2021, 16:45:01 CEST schrieb Sven Roederer: > > On my Ubuntu 16.04 based build-system I also have build-failures for meson > > using Python3.5. > > Correction: it's a 18.04 LTS ... GCC6 is now minimum, breaking CentOS 7.

Re: [OpenWrt-Devel] Wrong patch status

2019-02-28 Thread Rosen Penev
[...]". Because I saw that your earlier patches series > v1 and (then later v2) conflicted with Dmitry's patch and archieved them > all back then. (In fact, now I'm not sure if I set the patch to > superseeded when you sent v1, v2 or v3. If it's important to know the exact

Re: [OpenWrt-Devel] [PATCH] ath10k-firmware: update Candela Tech firmware images

2019-03-01 Thread Rosen Penev
On Fri, Mar 1, 2019 at 3:26 AM Michael Yartys wrote: > > Release notes since last update: > > wave-1 firmware: > > * Feb 14, 2019: Remove logic that causes assert when swba logic is not > initialized. This was seen when trying to bring up 6 VAP > vdevs. A simi

Re: [OpenWrt-Devel] [PATCH] mdadm: revised mdadm config & init logic

2019-03-02 Thread Rosen Penev
ce on a shell global ($CONF) was removed and replaced with a > single global ($TMP_FILE) that's for development convenience. When/if a > config > file is not specified in the UCI config, it will fall back to using $TMP_FILE > as the > configuration file. > > Incremented P

[OpenWrt-Devel] [PATCH] ath79: ag71xx: Remove ndo_poll_controller

2019-03-03 Thread Rosen Penev
use NAPI for their TX completions, should not provide a ndo_poll_controller() : Most NAPI drivers have netpoll support already handled in core networking stack, since netpoll_poll_dev( uses poll_napi(dev) to iterate through registered NAPI contexts for a device. Signed-off-by: Rosen Penev

[OpenWrt-Devel] [PATCH] ramips: ethernet: fix to interrupt handling

2019-03-05 Thread Rosen Penev
s fix it anyway. Signed-off-by: NeilBrown Signed-off-by: Rosen Penev --- .../drivers/net/ethernet/mediatek/mtk_eth_soc.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/target/

Re: [OpenWrt-Devel] [PATCH] mdadm: revised mdadm config & init logic

2019-03-08 Thread Rosen Penev
On Sat, Mar 2, 2019 at 1:11 AM Rosen Penev wrote: > > On Tue, Feb 26, 2019 at 6:05 PM Joseph Tingiris > wrote: > > > > This is a significant revision of /etc/init.d/mdadm. It adds new > > features, support for new configuration options, safer error > > handli

[OpenWrt-Devel] [PATCH 2/3] ramips: ethernet: Fix NAPI weight for non mt7621 devices

2019-03-13 Thread Rosen Penev
My original fix was to make the code do 16 * 4 as 64 is the limit for NAPI weight. However this also reduces the weight for non mt7621 devices. Changed the multiplier to 2 instead. Signed-off-by: Rosen Penev --- .../drivers/net/ethernet/mediatek/mtk_eth_soc.c | 8 1 file

[OpenWrt-Devel] [PATCH 1/3] ramips: ethernet: Replace alloc_etherdev with devm variant

2019-03-13 Thread Rosen Penev
Allows simplifying the code slightly. Also get rid of devm_iounmap as it is not necessary. Tested on GnuBee PC1. Signed-off-by: Rosen Penev --- .../net/ethernet/mediatek/mtk_eth_soc.c | 38 ++- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/target/linux

[OpenWrt-Devel] [PATCH 3/3] ramips: ethernet: Replace random_ether_addr with eth_hw_addr_random

2019-03-13 Thread Rosen Penev
eth_hw_addr_random additionally sets addr_assign_type to NET_ADDR_RANDOM. Signed-off-by: Rosen Penev --- .../files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet

Re: [OpenWrt-Devel] [PATCH] netifd: wireless: Add support for GCMP cipher

2019-03-14 Thread Rosen Penev
On Thu, Mar 14, 2019 at 7:11 AM Robert Marko wrote: > > On Thu, 14 Mar 2019 at 12:31, txt.file wrote: > > > > Which other drivers implement this cipher? Is this cipher in the IEEE > > 802.11 documents standardized? > Most of them as 802.11ac introduced it as optional cipher as its more > efficie

Re: [OpenWrt-Devel] -Werror=format-nonliteral and musl

2019-03-16 Thread Rosen Penev
On Sat, Mar 16, 2019 at 2:51 PM W. Michael Petullo wrote: > > While trying to update the gst1-plugins-base package, I came across a > compiler error: > > CC libgsttag_1.0_la-gstxmptag.lo > In file included from gstxmptag.c:42:0: > /home/mike/Source/openwrt-build-flyn.org/openwrt-herald/sta

Re: [OpenWrt-Devel] -Werror=format-nonliteral and musl

2019-03-17 Thread Rosen Penev
On Sun, Mar 17, 2019 at 10:21 AM W. Michael Petullo wrote: > > >> It seems this follows from the use of -Werror=format-nonliteral. The > >> definition in musl's stdio.h is as follows: > >> > >> _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, const char *__f, > >> ...) > >> { > >>

Re: [OpenWrt-Devel] [PATCH] ramips: Speed up eeprom read/write

2019-03-17 Thread Rosen Penev
riting in possibly one big block. > > This is based on the initial commit a69e101 for ipq40xx by > Christian Lamparter . > > Signed-off-by: Adrian Schmutzler Tested-by: Rosen Penev > > --- > > This is NOT TESTED (in this separate version). However, I hope > someone wil

[OpenWrt-Devel] [PATCH] tools/xz: Compile with PIC to fix linking errors

2019-03-18 Thread Rosen Penev
b.com/openwrt/packages/pull/8442 Signed-off-by: Rosen Penev --- tools/xz/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/xz/Makefile b/tools/xz/Makefile index 5d574892bb..21029a74aa 100644 --- a/tools/xz/Makefile +++ b/tools/xz/Makefile @@ -1,4

Re: [OpenWrt-Devel] Relatively insane getrandom blocking times on ARM/i.MX6 [Was: Re: [PATCH] openssl: Fix longer booting times by unblocking getrandom]

2019-03-23 Thread Rosen Penev
On Sat, Mar 23, 2019 at 3:16 PM Petr Štetiar wrote: > > Few more real world issues. > > From FS#2202: > > brcm63xx HG556a > > [1.034043] random: fast init done > [ 53.820705] random: crng init done > > From FS#1951: > > brcm63xx Livebox > > [1.037346] random: fast init done > [

Re: [OpenWrt-Devel] Merged: ramips: Increase GB-PC2 SPI frequency to 80MHz

2019-03-25 Thread Rosen Penev
On Mon, Mar 25, 2019 at 1:43 PM Christian Lamparter wrote: > > On Monday, March 25, 2019 2:16:04 PM CET Petr Štetiar wrote: > > Thanks! Merged into my staging tree at > > https://git.openwrt.org/openwrt/staging/ynezz.git > > https://patchwork.ozlabs.org/patch/1034614/#2088615 > > So, I think in o

[OpenWrt-Devel] [PATCHv2] tools/xz: Compile with PIC to fix linking errors

2019-03-27 Thread Rosen Penev
I made a similar change to this here: https://github.com/openwrt/packages/pull/8159 However, it turns out this did not fix the problem as the problem has to do with tools/xz and not the xz package. The error is the same and causes linking errors as can be seen above. Signed-off-by: Rosen Penev

<    1   2   3   4   5   6   7   8   9   10   >