[LEDE-DEV] [PATCH v4 7/8] merge: uhttpd: update cert generation to match system defaults

2017-11-07 Thread Zoltan HERPAI
Signed-off-by: Zoltan HERPAI --- package/network/services/uhttpd/files/uhttpd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/uhttpd/files/uhttpd.init b/package/network/services/uhttpd/files/uhttpd.init index 6b8be1c..47270bc 100755 --- a/package

[LEDE-DEV] [PATCH v4 6/8] merge: busybox: update CONFIG_NSLOOKUP in busybox config and respective patch

2017-11-07 Thread Zoltan HERPAI
Signed-off-by: Zoltan HERPAI --- package/utils/busybox/Config-defaults.in | 4 ++-- package/utils/busybox/config/networking/Config.in| 12 ++-- .../utils/busybox/patches/230-add_nslookup_lede.patch| 16 3 files changed, 16 insertions(+), 16 de

[LEDE-DEV] [PATCH v4 5/8] merge: packages: update branding in core packages

2017-11-07 Thread Zoltan HERPAI
Signed-off-by: Zoltan HERPAI --- package/network/services/lldpd/files/lldpd.config | 2 +- package/network/services/lldpd/files/lldpd.init | 2 +- package/network/services/samba36/files/samba.config | 4 ++-- package/network/services/samba36/files/samba.init | 6 +++--- package/network/se

[LEDE-DEV] [PATCH v4 8/8] merge: etc: update remaining files

2017-11-07 Thread Zoltan HERPAI
Signed-off-by: Zoltan HERPAI --- include/prereq-build.mk | 2 +- target/imagebuilder/files/repositories.conf | 2 +- target/toolchain/files/README.TOOLCHAIN | 2 +- toolchain/gcc/common.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff -

[LEDE-DEV] [PATCH v4 1/8] merge: base: update base-files and basic config

2017-11-07 Thread Zoltan HERPAI
Signed-off-by: Zoltan HERPAI --- Config.in| 2 +- Makefile | 2 +- README | 6 +++--- package/base-files/Makefile | 2

[LEDE-DEV] [PATCH v4 4/8] merge: ssid: update default ssid

2017-11-07 Thread Zoltan HERPAI
Signed-off-by: Zoltan HERPAI --- package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 2 +- package/kernel/mac80211/files/lib/wifi/mac80211.sh| 2 +- package/network/services/hostapd/files/hostapd.sh | 4 ++-- target/linux/omap24xx/base-files/etc/config/wireless | 2 +- 4 files change

[LEDE-DEV] [PATCH v4 3/8] merge: targets: update image generation and targets

2017-11-07 Thread Zoltan HERPAI
Signed-off-by: Zoltan HERPAI --- include/image-commands.mk| 6 +++--- include/image.mk | 2 +- package/boot/uboot-layerscape-armv8_32b/Makefile | 2 +- scripts/brcmImage.pl | 2 +- scripts/qemustart

[LEDE-DEV] [PATCH v4 0/8] merge: add OpenWrt branding

2017-11-07 Thread Zoltan HERPAI
Given that we've decided to sail under the same flag for the benefit of the whole community, and acknowledge the achievements of the LEDE project, let's start the final steps of the merge. The git and other sources are untouched until the infra merge. v2: - dismiss bugtracker and forum change

[LEDE-DEV] [PATCH v4 2/8] merge: release/banner: drop release name and update banner

2017-11-07 Thread Zoltan HERPAI
Signed-off-by: Zoltan HERPAI --- include/version.mk | 12 ++-- package/base-files/files/etc/banner | 18 -- 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/include/version.mk b/include/version.mk index 1a0d3c9..a869ed6 100644 --- a/include

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH v4 2/8] merge: release/banner: drop release name and update banner

2017-11-07 Thread Yousong Zhou
On 7 November 2017 at 16:45, Zoltan HERPAI wrote: > Signed-off-by: Zoltan HERPAI > --- > include/version.mk | 12 ++-- > package/base-files/files/etc/banner | 18 -- > 2 files changed, 10 insertions(+), 20 deletions(-) > > diff --git a/include/version.mk

[LEDE-DEV] [PATCH packages] rpcd-mod-lxc: add "info" ubus method (similar to the lxc-info)

2017-11-07 Thread Rafał Miłecki
From: Rafał Miłecki This method allows getting basic info about a queried container. It's based on the lxc-info command-line tool. Example output: > ubus call lxc info '{ "name": "foo" }' { "name": "foo", "state": "RUNNING", "pid": 2946, "ips": [ "

[LEDE-DEV] [PATCH] hostapd: explicitly set beacon interval for wpa_supplicant

2017-11-07 Thread Sven Eckelmann
The beacon_int is currently set explicitly for hostapd and when LEDE uses iw to join an IBSS/mesh. But it was not done when wpa_supplicant was used to join an encrypted IBSS or mesh. This configuration is required when an AP interface is configured together with an mesh interface. The beacon_int=

Re: [LEDE-DEV] [PATCH] hostapd: explicitly set beacon interval for wpa_supplicant

2017-11-07 Thread Matthias Schiffer
On 11/07/2017 01:19 PM, Sven Eckelmann wrote: > The beacon_int is currently set explicitly for hostapd and when LEDE uses > iw to join an IBSS/mesh. But it was not done when wpa_supplicant was used > to join an encrypted IBSS or mesh. > > This configuration is required when an AP interface is conf

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad (update, if _first_ server is bad)

2017-11-07 Thread Karl Palsson
Final note here, busybox has fixed this upstream, and ntpd now syncs faster and _vastly_ more reliably with bad servers in the list. Depending on their release schedule some people may like the patches backported, but I'm just carrying them myself for the time being. Cheers, Karl P Karl Palsson

Re: [LEDE-DEV] [PATCH] hostapd: explicitly set beacon interval for wpa_supplicant

2017-11-07 Thread Sven Eckelmann
On Dienstag, 7. November 2017 13:37:48 CET Matthias Schiffer wrote: [...] > > This patch was only tested with LEDE 17.01.4. And only in sta and mesh mode. [...] > > - local beacon_int brates mrate > > + > > This change is already in master, see > https://git.lede-project.org/?p=source.git;a=comm

[LEDE-DEV] [PATCH v2] hostapd: explicitly set beacon interval for wpa_supplicant

2017-11-07 Thread Sven Eckelmann
The beacon_int is currently set explicitly for hostapd and when LEDE uses iw to join an IBSS/mesh. But it was not done when wpa_supplicant was used to join an encrypted IBSS or mesh. This configuration is required when an AP interface is configured together with an mesh interface. The beacon_int=

Re: [LEDE-DEV] LEDE version numbers?

2017-11-07 Thread James Feeney
On 11/06/2017 11:44 PM, Matthias Schiffer wrote: > r# is the number of commits since the "reboot" tag. If your local branch > (e.g. "master") has a upstream branch (e.g. "origin/master"), it will use > number and commit ID of the last common commit of both branches, and add > the number of local co

Re: [LEDE-DEV] LEDE version numbers?

2017-11-07 Thread Matthias Schiffer
On 11/07/2017 03:25 PM, James Feeney wrote: > On 11/06/2017 11:44 PM, Matthias Schiffer wrote: >> r# is the number of commits since the "reboot" tag. If your local branch >> (e.g. "master") has a upstream branch (e.g. "origin/master"), it will use >> number and commit ID of the last common commit o

Re: [LEDE-DEV] [RFC] A new developper documentation for OpenWrt/LEDE

2017-11-07 Thread Javier Domingo Cansino
Hello Rich, There is another thread with proposals and I am currently working on a documentation migration that since I came back from the openwrt summit has been mostly stalled until today because of my own personal stuff. The thread starts at http://lists.infradead.org/pipermail/lede-dev/2017-O

Re: [LEDE-DEV] [PATCH packages] rpcd-mod-lxc: add "info" ubus method (similar to the lxc-info)

2017-11-07 Thread Luka Perkov
> On Nov 7, 2017, at 12:02 PM, Rafał Miłecki wrote: > > From: Rafał Miłecki > > This method allows getting basic info about a queried container. It's > based on the lxc-info command-line tool. > > Example output: >> ubus call lxc info '{ "name": "foo" }' > { >"name": "foo", >"

Re: [LEDE-DEV] LEDE version numbers?

2017-11-07 Thread Bjørn Mork
Matthias Schiffer writes: > Fixing our revision numbering to include the branch name to make this more > or less unambiguous is the intent of the two patches I linked. The commit > ID should still be included in this revision number (e.g. > lede-17.01-r9000-abcdef), as developers could still set

Re: [LEDE-DEV] LEDE version numbers?

2017-11-07 Thread James Feeney
On 11/07/2017 07:43 AM, Matthias Schiffer wrote: > No, we have two official branches: master (active development for the next > major release), and lede-17.01 (forked from master shortly before the 17.01 > release; only bugfixes and other "small" changes are backported from > master; base for 17.01

Re: [LEDE-DEV] Lede/Openwrt documentation

2017-11-07 Thread Javier Domingo Cansino
Hello, I haven't been able to open a computer past week, so this is running slower than I thought. I have made it available in https://lede.readthedocs.io/en/latest/ and for now it's just the start + about page. I will keep adding pages until I cover the basics, and send an email when it's more r

Re: [LEDE-DEV] [PATCH] kernel: Switch to No-op for the default scheduler.

2017-11-07 Thread Rosen Penev
most users don't have multithreaded workloads though. On Mon, Nov 6, 2017 at 4:43 PM, Dave Taht wrote: > > I happen to like deadline schedulers, and at least from a kernel > perspective, we have a very large set of multithreaded workloads. > > So I would not make this change without a very seriou

[LEDE-DEV] [PATCH] procd: Remove unnecessary memset calls.

2017-11-07 Thread Rosen Penev
Changes allocation to calloc and {} as needed. Signed-off-by: Rosen Penev --- inittab.c | 6 ++ plug/hotplug.c | 7 ++- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/inittab.c b/inittab.c index 21172f7..c27c324 100644 --- a/inittab.c +++ b/inittab.c @@ -284,8 +284,7

Re: [LEDE-DEV] LEDE version numbers?

2017-11-07 Thread Matthias Schiffer
On 11/07/2017 06:20 PM, Bjørn Mork wrote: > Matthias Schiffer writes: > >> Fixing our revision numbering to include the branch name to make this more >> or less unambiguous is the intent of the two patches I linked. The commit >> ID should still be included in this revision number (e.g. >> lede-1

[LEDE-DEV] [PATCH] ubox: Remove unnecessary memset calls.

2017-11-07 Thread Rosen Penev
Change to calloc instead. Less verbose. Signed-off-by: Rosen Penev --- log/syslog.c | 4 +--- lsbloader.c | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/log/syslog.c b/log/syslog.c index af6530c..0e1f2a9 100644 --- a/log/syslog.c +++ b/log/syslog.c @@ -246,15 +246,13 @@

[LEDE-DEV] [PATCH] umdns: Replace unnecessary memset calls with {}.

2017-11-07 Thread Rosen Penev
Less verbose Signed-off-by: Rosen Penev --- interface.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/interface.c b/interface.c index 7f814d2..18dee52 100644 --- a/interface.c +++ b/interface.c @@ -44,7 +44,7 @@ static int interface_send_packet4(st

Re: [LEDE-DEV] [PATCH v4 0/8] merge: add OpenWrt branding

2017-11-07 Thread Hauke Mehrtens
On 11/07/2017 09:45 AM, Zoltan HERPAI wrote: > Given that we've decided to sail under the same flag for > the benefit of the whole community, and acknowledge the > achievements of the LEDE project, let's start the final > steps of the merge. > > The git and other sources are untouched until the in

[LEDE-DEV] [PATCH] ubus: Remove unnecessary memset calls.

2017-11-07 Thread Rosen Penev
Replace malloc+memset with calloc. Cleaner and faster in extreme situations. Signed-off-by: Rosen Penev --- libubus.c | 6 ++ lua/ubus.c | 18 ++ 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/libubus.c b/libubus.c index 9463522..260e40f 100644 --- a/libubu

Re: [LEDE-DEV] [PATCH] ubus: Remove unnecessary memset calls.

2017-11-07 Thread Arjen de Korte
Citeren Rosen Penev : Replace malloc+memset with calloc. Cleaner and faster in extreme situations. Calloc is definitly *not* faster than malloc + memset. Under the hood, calloc will call malloc, check if memory allocation was successful and then proceed to set all allocated memory to 0. Yo

Re: [LEDE-DEV] [PATCH] ubus: Remove unnecessary memset calls.

2017-11-07 Thread Rosen Penev
I beg to differ. https://vorpus.org/blog/why-does-calloc-exist/ Section 2. On Tue, Nov 7, 2017 at 12:46 PM, Arjen de Korte wrote: > Citeren Rosen Penev : > >> Replace malloc+memset with calloc. Cleaner and faster in extreme >> situations. > > > Calloc is definitly *not* faster than malloc + mems

Re: [LEDE-DEV] [PATCH] ubus: Remove unnecessary memset calls.

2017-11-07 Thread Arjen de Korte
Citeren Rosen Penev : I beg to differ. https://vorpus.org/blog/why-does-calloc-exist/ Section 2. I don't care about theoretical gains, benchmarks please. How much do you gain with these patches? I really doubt that in any of these patches there will be a tangible gain. On Tue, Nov 7, 20

Re: [LEDE-DEV] LEDE version numbers?

2017-11-07 Thread Roman Yeryomin
On 2017-11-07 22:17, Matthias Schiffer wrote: On 11/07/2017 06:20 PM, Bjørn Mork wrote: Matthias Schiffer writes: Fixing our revision numbering to include the branch name to make this more or less unambiguous is the intent of the two patches I linked. The commit ID should still be included

Re: [LEDE-DEV] [PATCH] kernel: Switch to No-op for the default scheduler.

2017-11-07 Thread John Crispin
j On 07/11/17 19:41, Rosen Penev wrote: most users don't have multithreaded workloads though. On Mon, Nov 6, 2017 at 4:43 PM, Dave Taht wrote: I happen to like deadline schedulers, and at least from a kernel perspective, we have a very large set of multithreaded workloads. So I would not ma

Re: [LEDE-DEV] [PATCH v2] base-files: Don't deconfigure IP settings while using NFS root

2017-11-07 Thread John Crispin
On 06/11/17 15:39, Petr Štetiar wrote: This patch allows me to boot my system with root file system mounted over Network File System (NFS). Without this patch, the boot process ends in the preinit step: init: - preinit - ... + [ eth0 = eth0+ ip link set dev eth0 down nfs: serve

Re: [LEDE-DEV] [PATCH v2] base-files: Don't deconfigure IP settings while using NFS root

2017-11-07 Thread John Crispin
On 08/11/17 08:01, John Crispin wrote: On 06/11/17 15:39, Petr Štetiar wrote: This patch allows me to boot my system with root file system mounted over Network File System (NFS). Without this patch, the boot process ends in the preinit step:     init: - preinit -     ...     + [ eth0 = et

Re: [LEDE-DEV] [PATCH] kernel: bump 4.9 to 4.9.60

2017-11-07 Thread John Crispin
On 06/11/17 17:17, Koen Vandeputte wrote: Refreshed all patches. Compiled on: cns3xxx, imx6 Run-tested on: cns3xxx, imx6 Hi, the target/linux/layerscape/patches-4.9/820-base-soc-Introduce-soc_device_match-interface.patchpatch looks overly large. why is this such a huge change ?     John

Re: [LEDE-DEV] [PATCH] ubus: Remove unnecessary memset calls.

2017-11-07 Thread Alexandru Ardelean
On Tue, Nov 7, 2017 at 11:18 PM, Arjen de Korte wrote: > Citeren Rosen Penev : > >> I beg to differ. https://vorpus.org/blog/why-does-calloc-exist/ >> >> Section 2. > > > I don't care about theoretical gains, benchmarks please. How much do you > gain with these patches? I really doubt that in any

Re: [LEDE-DEV] [PATCH][ubox] Add log priority filtering to daemon

2017-11-07 Thread John Crispin
On 11/07/17 17:55, Ron Brash wrote: After wanting to filter logs at the logger level, instead of post log-write, we added a feature such that we can filter within the logd daemon itself. sorry for the late review ... Signed-off-by: “Ron Brash <“ron.br...@gmail.com”> --- log/logd.c | 14 ++