Re: [PATCH 2/2] toolchain/musl: remove several GNU headers

2020-08-28 Thread Rosen Penev
On Fri, Aug 28, 2020 at 10:40 PM Felix Fietkau wrote: > > On 2020-08-29 05:28, Rosen Penev wrote: > > Remove GLOB_ONLYDIR patch. Only fstools relies on it. fstools can be fixed > > separately. > > > > Remove woresize.h file. It seems to be for an old version of GCC. > > > > Remove features.h and g

Re: [PATCH 2/2] toolchain/musl: remove several GNU headers

2020-08-28 Thread Felix Fietkau
On 2020-08-29 05:28, Rosen Penev wrote: > Remove GLOB_ONLYDIR patch. Only fstools relies on it. fstools can be fixed > separately. > > Remove woresize.h file. It seems to be for an old version of GCC. > > Remove features.h and glibc-types files. Same as above. > > Remove sys/cdefs.h. This is a d

[PATCH 1/2] toolchain/musl: update to 1.2.1

2020-08-28 Thread Rosen Penev
This release introduces 64-bit time_t, which is needed to avoid the year 2038 problem. Remove upstream patches. Rebased features.h file based on latest musl. Signed-off-by: Rosen Penev --- v4: remove sys/cdefs.h as well. v3: rebase and split commit between version update and header removal.

[PATCH 2/2] toolchain/musl: remove several GNU headers

2020-08-28 Thread Rosen Penev
Remove GLOB_ONLYDIR patch. Only fstools relies on it. fstools can be fixed separately. Remove woresize.h file. It seems to be for an old version of GCC. Remove features.h and glibc-types files. Same as above. Remove sys/cdefs.h. This is a deprecated header. Patches to fix packages that use it ha

Re: [PATCH] ugps: fix 64-bit time_t

2020-08-28 Thread Rosen Penev
On Tue, Jul 21, 2020 at 3:50 PM Rosen Penev wrote: > > The abs function takes a 32-bit int, which can cause truncation. Fixes > compilation error: > > error: absolute value function 'abs' given an argu> > if ((sec < 0) || (abs(cur.tv_sec - tv.tv_sec) > MAX_TIME_OFFSET)) { Ping. This is still not a

[PATCHv3 1/2] libcxxabi: add

2020-08-28 Thread Rosen Penev
This will be used for libcxx. libcxxabi is needed as libsupc++ is not good enough for libcxx. It uses GCC specific stuff which causes failed compilation for some packages. There are also runtime issues, most notably with cxxopts where the program just crashes. Reference: https://github.com/gerber

[PATCHv3 2/2] libcxx: update to 10.0.0

2020-08-28 Thread Rosen Penev
Switched to upstream tarballs. Switched to libcxxabi as using libsupc++ is quite wonky. Fixed description. Removed patches. The fixes are cosmetic. Added ssp patch. This one is needed for i386 and powerpc under musl. Compile tested every C++ package in the tree with the exception of several bo

[PATCH 18.06] mac80211: Backport fixes for Kr00k vulnerabilities

2020-08-28 Thread Hauke Mehrtens
This backports some fixes from kernel 5.6 and 4.14.175. Signed-off-by: Hauke Mehrtens --- ...ation-unauthorized-before-key-remova.patch | 42 +++ ...ort-authorization-in-the-ieee80211_t.patch | 54 +++ ...-fix-authentication-with-iwlwifi-mvm.patch | 34 3

Re: Upcoming 19.07.4 and 18.07.9 stable releases

2020-08-28 Thread Hauke Mehrtens
On 7/30/20 8:57 PM, Baptiste Jonglez wrote: > Hi, > > New point releases for 19.07 and 18.06 are starting to be overdue, and I > would like to help 19.07.4 and 18.06.9 get released somewhere around > mid-August. > > The main motivation are fixes for a libubox regression and for the musl > synchro

RE: [PATCH 1/2] ipq40xx: add support for Luma WRTQ-329ACN

2020-08-28 Thread Adrian Schmutzler
Hi, > + DEVICE_VENDOR := Luma > + DEVICE_MODEL := Home (WRTQ-329ACN) If you use WRTQ-329ACN as the primary name for OpenWrt here (as in device definition, compatible), I'd also put it first here and have the "Home" in brackets. Apart from that, I'd make DEVICE_VENDOR/DEVICE_MODEL consis

[PATCH 1/2] ipq40xx: add support for Luma WRTQ-329ACN

2020-08-28 Thread Tomasz Maciej Nowak
Luma WRTQ-329ACN, also known as Luma Home WiFi, is a dual-band wireless access point. Specification SoC: Qualcomm Atheros IPQ4018 RAM: 256 MB DDR3 Flash: 2 MB SPI NOR 128 MB SPI NAND WIFI: 2.4 GHz 2T2R integrated 5 GHz 2T2R integrated Ethernet: 2x 10/100/1000 Mbps QCA8075 USB: 1x 2.0

[PATCH 2/2] ipq-wifi: add BDF for Luma WRTQ-329ACN

2020-08-28 Thread Tomasz Maciej Nowak
These are extracted from OEM firmware. Signed-off-by: Tomasz Maciej Nowak --- package/firmware/ipq-wifi/Makefile | 2 ++ .../ipq-wifi/board-luma_wrtq-329acn.qca4019 | Bin 0 -> 24324 bytes .../arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts | 4 target/linux/ipq40xx/image/M

Re: [PATCH 3/3] build: switch VERSION_REPO to HTTPS

2020-08-28 Thread Baptiste Jonglez
Thanks :) Acked-by: Baptiste Jonglez On 27-08-20, Paul Spooren wrote: > The variable VERSION_REPO is used by opkg to download package(list)s. > Now that the default installation support encrypted HTTP opkg should > make use of it. > > Suggested-by: Petr Štetiar > Suggested-by: Baptiste Jonglez

Re: [PATCH 1/3] build: add libustream and certs to default pkgs

2020-08-28 Thread Petr Štetiar
Karl Palsson [2020-08-28 09:12:04]: Hi, > Doesn't the availability of ustream-*ssl also trigger uhttpd to > generate self signed certs? no, the certs are generated via px5g-mbedtls, so this would need px5g-wolfssl which is not available so far and needs to be done if we would like to ship 20.y

[PATCH v2 1/2] mvebu: backport linkstation-poweroff upstream driver

2020-08-28 Thread Daniel González Cabanelas
Backport the Linkstation poweroff driver from the kernel upstream (commit a7f79f99541ef) This driver is required by the Buffalo LinkStation LS421DE for a correct power off operation. It also allows to use the WoL feature. Signed-off-by: Daniel González Cabanelas --- changes in v2 - module mov

[PATCH v2 2/2] mvebu: LS421DE: add linkstation poweroff driver

2020-08-28 Thread Daniel González Cabanelas
Compile the Linkstation poweroff module for the Buffalo LS421DE. Without this driver the device remains forever halted if a power off command is executed. The driver will also allow to use the WoL feature, which wasn't availabe in the stock firmware. Signed-off-by: Daniel González Cabanelas ---

Re: [PATCH 2/3] build: sort default packages and split by newlines

2020-08-28 Thread Karl Palsson
Paul Spooren wrote: > The line of default packages became very long and it is easier > to read one package per line, therefore split it by newlines > and sort it alphabetically. If you're going to do that, why not use += as well, so you don't have to worry about people getting the \ right, and a

Re: [PATCH 1/3] build: add libustream and certs to default pkgs

2020-08-28 Thread Karl Palsson
Paul Spooren wrote: > To allow HTTPS usage on a router it requires both certificates > (ca-bundle) and a fitting libustream library > (libustream-wolfssl) > > By adding both, uclient-fetch and wget can connect to encrypted > HTTP. Doesn't the availability of ustream-*ssl also trigger uhttpd t