Re: [LEDE-DEV] convention on uid/gid for packages

2017-05-14 Thread Alexandru Ardelean
On Sun, May 14, 2017 at 3:59 AM, Daniel Golle wrote: > Hi Val, > > On Sat, May 13, 2017 at 06:23:29PM -0400, Val Kulkov wrote: >> Is there any convention on the use of uid and gid when creating new >> users or groups? Can someone point me to it, if it exists? >> >> I noticed that two packages, ice

Re: [LEDE-DEV] [RFC 1/1] Revert "build: fix regression on running make kernel_menuconfig"

2017-05-14 Thread Sergey Ryazanov
On Mon, May 15, 2017 at 2:53 AM, Stijn Tintel wrote: > On 15-05-17 00:20, Sergey Ryazanov wrote: >> This reverts commit 86c966a8ae9c4e74b912a16a760aaed17c68eb32. >> >> This patch caused the segmentation fault in mconf during >> "make kernel_menuconfig" due to a mess with ncurses/ncursesw libraries

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
Martin, in my flow-up mail I found this wrong numbering also. I attched a copy of the relavant section from this mail. I defined a new "label" gpio_pca and reference gpio0 of the pca ... On Sonntag, 14. Mai 2017 23:50:25 CEST Mathias Kresin wrote: > > poe_passthrough { > > > > gp

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
On Sonntag, 14. Mai 2017 23:00:38 CEST Martin Blumenstingl wrote: > > / { > > > > model = "UBNT-ERX-SFP"; > > > > i2c-gpio { > > > > compatible = "i2c-gpio"; > > gpios = <&gpio0 3 GPIO_ACTIVE_HIGH /* sda */ > > > >

Re: [LEDE-DEV] [RFC 1/1] Revert "build: fix regression on running make kernel_menuconfig"

2017-05-14 Thread Stijn Tintel
On 15-05-17 00:20, Sergey Ryazanov wrote: > This reverts commit 86c966a8ae9c4e74b912a16a760aaed17c68eb32. > > This patch caused the segmentation fault in mconf during > "make kernel_menuconfig" due to a mess with ncurses/ncursesw libraries > (forced linking with ncurses, while binary compiled with

[LEDE-DEV] [RFC 0/1] fix segfault in make kernel_menuconfig

2017-05-14 Thread Sergey Ryazanov
Hello, the folling patch fixes segfault in mconf when run "make kernel_menuconfig" on my system (Gentoo with fresh portages). This issue already was reported in FS#366 [1]. I tracked down this segfault to stranger linked mconf binary. It linked with both ncurses and ncursesw libraries: linux-4.

[LEDE-DEV] [RFC 1/1] Revert "build: fix regression on running make kernel_menuconfig"

2017-05-14 Thread Sergey Ryazanov
This reverts commit 86c966a8ae9c4e74b912a16a760aaed17c68eb32. This patch caused the segmentation fault in mconf during "make kernel_menuconfig" due to a mess with ncurses/ncursesw libraries (forced linking with ncurses, while binary compiled with headers of ncursesw). Fixes: FS#366 (make kernel_m

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Mathias Kresin
14.05.2017 21:22, Sven Roederer: I just gave it another try, as I like the idea of having it in the DTS. As my test ERX is gone I continue testing on ERX-SFP. Please se below ... On Sonntag, 14. Mai 2017 16:24:15 CEST Mathias Kresin wrote: If you use the gpio-export node in the device tree so

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Martin Blumenstingl via Lede-dev
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 automatically by the mailing list software.--- Begin Message --- On Sun, May 14, 2017 at 10:13 PM,

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
On Sonntag, 14. Mai 2017 21:22:42 CEST Sven Roederer wrote: > > I removed the 03_gpio_export and added this to the dts: > gpio_export { > compatible = "gpio-export"; > #size-cells = <0>; > > poe_passthrough { > gpio-export,name = "poe_power_port0"; > gpio-exp

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Jo-Philipp Wich
Hi Sven, > as I've seen also not giving any copyright seems common. So dropping it > completly and saving some bytes is valid also, right? Correct, as you prefer :) Cheers, Jo signature.asc Description: OpenPGP digital signature ___ Lede-dev mailin

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
I just gave it another try, as I like the idea of having it in the DTS. As my test ERX is gone I continue testing on ERX-SFP. Please se below ... On Sonntag, 14. Mai 2017 16:24:15 CEST Mathias Kresin wrote: > >> > >> If you use the gpio-export node in the device tree source file, the gpio > >> p

Re: [LEDE-DEV] [PATCH v4] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Paul Oranje
ad. 1) FS785 describes why, please have a look there. ad. 2) the patched code has been tested. Producing the submission of the patch for this trivial and simple change has provided me with the opportunity to make almost every error imaginable, and as you have noticed, I greatly succeeded at doin

[LEDE-DEV] [PATCH v5] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Paul Oranje
fixes FS#785 Signed-off-by: Paul Oranje --- package/network/services/dnsmasq/files/dnsmasq.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 30fec7a4ee..197

Re: [LEDE-DEV] [PATCH v4] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Kevin Darbyshire-Bryant
On 14/05/17 17:48, Alberto Bursi wrote: On 05/14/2017 02:46 PM, Paul Oranje wrote: fixes FS#785 --- v4: place patch version info in annotation (not in commit message, afraid this is learning by practice) v3: corrected typo (noreolv) v2: also change guard in dnsmasq_stop() routine v

Re: [LEDE-DEV] [PATCH v4] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Alberto Bursi
On 05/14/2017 02:46 PM, Paul Oranje wrote: > fixes FS#785 > --- > > v4: place patch version info in annotation (not in commit message, afraid > this is learning by practice) > v3: corrected typo (noreolv) > v2: also change guard in dnsmasq_stop() routine > v1: write /tmp/resolv.conf also

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Mathias Kresin
13.05.2017 20:09, Sven Roederer: On Montag, 8. Mai 2017 08:23:50 CEST Mathias Kresin wrote: 07.05.2017 23:24, Sven Roederer: On Sonntag, 7. Mai 2017 12:25:39 CEST you wrote: Just an opinion: being able to disable/enable PoE for each port is really useful when you want to remotely reboot a devi

Re: [LEDE-DEV] [PATCH v3] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Paul Oranje
Please ignore, a v4 has been submitted without patch version bla bla in the commit message. Paul > Op 14 mei 2017, om 13:54 heeft Paul Oranje het volgende > geschreven: > > fixes FS#785 > v3: corrected typo (noreolv) > v2: also change guard in dnsmasq_stop() routine > v1: write /tmp/resolv.con

[LEDE-DEV] [PATCH v4] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Paul Oranje
fixes FS#785 --- v4: place patch version info in annotation (not in commit message, afraid this is learning by practice) v3: corrected typo (noreolv) v2: also change guard in dnsmasq_stop() routine v1: write /tmp/resolv.conf also when noresolv is true package/network/services/dnsmasq/files

[LEDE-DEV] [PATCH v3] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Paul Oranje
fixes FS#785 v3: corrected typo (noreolv) v2: also change guard in dnsmasq_stop() routine v1: write /tmp/resolv.conf also when noresolv is true Signed-off-by: Paul Oranje --- package/network/services/dnsmasq/files/dnsmasq.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
Hi, as I've seen also not giving any copyright seems common. So dropping it completly and saving some bytes is valid also, right? Sven On Samstag, 6. Mai 2017 14:49:29 CEST Jo-Philipp Wich wrote: > > comments inline. > > > +++ b/target/linux/ramips/base-files/etc/board.d/03_gpio_switches > > @

Re: [LEDE-DEV] [PATCH v2] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Paul Oranje
Please ignore, contains a syntax error. new version will follow, sorry, Paul > Op 14 mei 2017, om 13:14 heeft Paul Oranje het volgende > geschreven: > > fixes FS#785 > v1: write /tmp/resolv.conf also when nosolv is true > v2: also change guard in dnsmasq_stop() routine > > Signed-off-by: Pau

[LEDE-DEV] [PATCH v2] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Paul Oranje
fixes FS#785 v1: write /tmp/resolv.conf also when nosolv is true v2: also change guard in dnsmasq_stop() routine Signed-off-by: Paul Oranje --- package/network/services/dnsmasq/files/dnsmasq.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/dns

[LEDE-DEV] [PATCH] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-14 Thread Paul Oranje
fixes FS#785 Signed-off-by: Paul Oranje --- package/network/services/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 30fec7a4ee..8c052b4

Re: [LEDE-DEV] openwrt and lede - remerge proposal

2017-05-14 Thread David Lang
On Sun, 14 May 2017, Giuseppe Lippolis wrote: *) branding - the owrt side sees no option of using the lede brand - a (minor) majority voted for openwrt as a name over lede whilst most people said they did not care - as the last vote had a 100% ACK for a remerge using the owrt brand is the on

Re: [LEDE-DEV] openwrt and lede - remerge proposal

2017-05-14 Thread Giuseppe Lippolis
> *) branding > - the owrt side sees no option of using the lede brand > > - a (minor) majority voted for openwrt as a name over lede whilst most > people said they did not care > > - as the last vote had a 100% ACK for a remerge using the owrt brand is the > only feasible option Passionate: I s