[PATCH V2 uhttpd] ubus: add new RESTful API

2020-07-30 Thread Rafał Miłecki
From: Rafał Miłecki Initial uhttpd ubus API was fully based on JSON-RPC. That restricted it from supporting ubus notifications that don't fit its model. Notifications require protocol that allows server to send data without being polled. There are two candidates for that: 1. Server-sent events

[PATCH] scripts: add size_compare.sh

2020-07-30 Thread Paul Spooren
As package size changes are a continuous topic on the mailing list this scripts helps developers to compare their local package modifications against latest upstream. The script downloads the latest package indexes based on env variables or the `.config` file. The script compares the actual

Re: [PATCH v2] dropbear: Enable Ed25519 for normal devices

2020-07-30 Thread Paul Spooren
On 26.07.20 05:20, Hauke Mehrtens wrote: On 7/25/20 11:06 PM, Paul Spooren wrote: The Ed25519 key pairs are much shorter than RSA pairs and are supported by default in OpenSSH. Looking at websites explaining how to create new SSH keys, many suggest using Ed25519 rather than RSA, however

Upcoming 19.07.4 and 18.07.9 stable releases

2020-07-30 Thread Baptiste Jonglez
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 synchronisation bug, as well as a LuCI regression (see "release

Re: [PATCH] build: store buildsystem revision in packages

2020-07-30 Thread Holger Levsen
Hi Paul, On Wed, Jul 15, 2020 at 02:56:58PM -1000, Paul Spooren wrote: > To support the verification efforts of the reproducible-builds.org team > this patch adds the buildsystem revision to the package index. This way > external feeds all external feeds can be rebuild and verified. cool! :)

[PATCH 1/2] target: replace remaining occurrences of ifconfig with ip

2020-07-30 Thread Adrian Schmutzler
ifconfig is effectively deprecated for quite some time now. Let's replace the remaining occurrences for our target setup by the corresponding ip commands now. Note that this does not touch ar71xx, as it will be dropped anyway, and changing it would only make backports harder. Signed-off-by:

[PATCH 2/2] package: replace remaining occurrences of ifconfig with ip

2020-07-30 Thread Adrian Schmutzler
ifconfig is effectively deprecated for quite some time now. Let's replace the remaining occurrences for our target setup by the corresponding ip commands now. Signed-off-by: Adrian Schmutzler --- .../config/netifd/files/usr/share/udhcpc/default.script | 6 +++---

Re: Transform OpenWRT to a Yocto / openembedded layer (was: Re: dm-verity support)

2020-07-30 Thread Daniel Golle
On Thu, Jul 30, 2020 at 11:15:36AM +0200, m...@adrianschmutzler.de wrote: > > -Original Message- > > From: Bas Mevissen [mailto:ab...@basmevissen.nl] > > Sent: Donnerstag, 30. Juli 2020 10:54 > > To: Thomas Petazzoni > > Cc: m...@adrianschmutzler.de; openwrt-devel@lists.openwrt.org > >

[PATCH v2] hostapd: improve TITLE for packages

2020-07-30 Thread Adrian Schmutzler
For a few packages, the current TITLE is too long, so it is not displayed at all when running make menuconfig. Despite, there is no indication of OpenSSL vs. wolfSSL in the titles. Thus, this patch adjusts titles to be generally shorter, and adds the SSL variant to it. While at it, make things

Re: [PATCH] hostapd: improve TITLE for packages

2020-07-30 Thread Daniel Golle
On Thu, Jul 30, 2020 at 03:52:29PM +0200, m...@adrianschmutzler.de wrote: > Hi, > > > > define Package/wpa-supplicant-openssl $(call > > > Package/wpa-supplicant/Default,$(1)) > > > + TITLE+= (OpenSSL) > > > > shouldn't this rather be '(OpenSSL full)' as well then? > > > > >

RE: [PATCH] hostapd: improve TITLE for packages

2020-07-30 Thread mail
Hi, > > define Package/wpa-supplicant-openssl $(call > > Package/wpa-supplicant/Default,$(1)) > > + TITLE+= (OpenSSL) > > shouldn't this rather be '(OpenSSL full)' as well then? > > >VARIANT:=supplicant-full-openssl > >DEPENDS+=+libopenssl > > endef > > > > define

RE: RE: [PATCH v7] ramips: add support for JS76x8 series DEV boards

2020-07-30 Thread mail
Hi, in order to bring this to an ending that somehow will satisfy both of us, I've applied a few changes (which are necessary/helpful in my opinion) on top of your v7 and pushed the result to my staging tree: https://git.openwrt.org/?p=openwrt/staging/adrian.git;a=shortlog;h=refs/heads/js76x8

Re: [PATCH] hostapd: improve TITLE for packages

2020-07-30 Thread Daniel Golle
On Thu, Jul 30, 2020 at 12:49:37PM +0200, Adrian Schmutzler wrote: > For a few packages, the current TITLE is too long, so it is not > displayed at all when running make menuconfig. Despite, there is > no indication of OpenSSL vs. wolfSSL in the titles. > > Thus, this patch adjusts titles to be

Re: [PATCH] tools: add libyaml

2020-07-30 Thread Daniel Golle
On Thu, Jul 30, 2020 at 02:55:33PM +0200, Petr Štetiar wrote: > Paul Spooren [2020-07-29 12:45:25]: > > > Once available this can be used within a CI to reduce human resources > > spent on reviewing DTS files. > > That's indeed cool, but I quite fail to see why this needs to be in the tree >

Re: [PATCH v2] tools: add libyaml

2020-07-30 Thread Petr Štetiar
Daniel Golle [2020-07-30 01:03:36]: Hi, > ... and it will allow us to verify DTB bindings against the yaml > schema format now enforced upstream for mandatory binding > documentation. I expect, that this journey is going to be much longer and wont end with just adding libyaml into the tree.

Re: [PATCH] tools: add libyaml

2020-07-30 Thread Petr Štetiar
Paul Spooren [2020-07-29 12:45:25]: > Once available this can be used within a CI to reduce human resources > spent on reviewing DTS files. That's indeed cool, but I quite fail to see why this needs to be in the tree right now. I would understand this patch as part of a bigger patch series

[PATCH] zram-swap: default to lzo instead of lzo-rle compression

2020-07-30 Thread Rui Salvaterra
On devices with small amounts of RAM, zram-swap fails to initialise due to the default compression algorithm (lzo-rle). Startup example on an AirGrid M2, with 32 MiB of RAM: root@airgrid:/etc/config# /etc/init.d/zram start zram_start: activating '/dev/zram0' for swapping (13 MegaBytes)

Re: [PATCH v2] tools: add libyaml

2020-07-30 Thread Petr Štetiar
Rosen Penev [2020-07-29 17:43:08]: > I would also like both Makefiles to be as similar as possible. Within > reason of course. Why not just have one package in the main tree? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[PATCH] hostapd: improve TITLE for packages

2020-07-30 Thread Adrian Schmutzler
For a few packages, the current TITLE is too long, so it is not displayed at all when running make menuconfig. Despite, there is no indication of OpenSSL vs. wolfSSL in the titles. Thus, this patch adjusts titles to be generally shorter, and adds the SSL variant to it. While at it, make things

Re: Transform OpenWRT to a Yocto / openembedded layer

2020-07-30 Thread Bas Mevissen
On 2020-07-30 11:15, m...@adrianschmutzler.de wrote: -Original Message- From: Bas Mevissen [mailto:ab...@basmevissen.nl] Sent: Donnerstag, 30. Juli 2020 10:54 To: Thomas Petazzoni Cc: m...@adrianschmutzler.de; openwrt-devel@lists.openwrt.org Subject: Transform OpenWRT to a Yocto /

RE: Transform OpenWRT to a Yocto / openembedded layer (was: Re: dm-verity support)

2020-07-30 Thread mail
> -Original Message- > From: Bas Mevissen [mailto:ab...@basmevissen.nl] > Sent: Donnerstag, 30. Juli 2020 10:54 > To: Thomas Petazzoni > Cc: m...@adrianschmutzler.de; openwrt-devel@lists.openwrt.org > Subject: Transform OpenWRT to a Yocto / openembedded layer (was: Re: > dm-verity

Re: [PATCH] tools: add yaml library

2020-07-30 Thread Paul Spooren
On 29.07.20 22:48, Moritz Warning wrote: On 7/30/20 10:26 AM, Paul Spooren wrote: libyaml is used to process YAML files, a popular human readable configuration format. If available during compilation, the device-tree-compiler (dtc) will enable YAML as export format. The exported YAML files

Re: [PATCH] tools: add yaml library

2020-07-30 Thread Moritz Warning
On 7/30/20 10:26 AM, Paul Spooren wrote: > libyaml is used to process YAML files, a popular human readable > configuration format. If available during compilation, the > device-tree-compiler (dtc) will enable YAML as export format. > > The exported YAML files can be validated using dt-schema[0]. >

[PATCH] tools: add yaml library

2020-07-30 Thread Paul Spooren
libyaml is used to process YAML files, a popular human readable configuration format. If available during compilation, the device-tree-compiler (dtc) will enable YAML as export format. The exported YAML files can be validated using dt-schema[0]. Once available this can be used within a CI to

Re: dm-verity support

2020-07-30 Thread Thomas Petazzoni
Hello, On Thu, 30 Jul 2020 00:17:28 +0200 wrote: > your dm-verity patchset is in our patchwork since November 2019 (v2). > Unfortunately, nobody seemed to be particularly interested in > reviewing/merging it. > > Since I don't see a reason why this should change in another 8 > months, I'm

Re: dm-verity support

2020-07-30 Thread Thomas Petazzoni
Hello, On Wed, 29 Jul 2020 23:40:29 -0500 "W. Michael Petullo" wrote: > Please see > > https://github.com/openwrt/openwrt/pull/3207#issuecomment-660555489 > > for the steps you could use to test this. > > I am not sure what architecture Thomas tested, but he used squashfs. I > used