Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [23.11.2013 09:40]: That is a really long Subject line I guess. yes, i should change the way like i write git-commit-messages. (emails are automatically written with 'git format-patch -s' -for script in /etc/hotplug.d/$1/* ; do ( - [ -f $script ] .

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Yousong Zhou
Hi, On Sat, Nov 23, 2013 at 09:48:07AM +0100, Bastian Bittorf wrote: * Yousong Zhou yszhou4t...@gmail.com [23.11.2013 09:40]: That is a really long Subject line I guess. yes, i should change the way like i write git-commit-messages. (emails are automatically written with 'git format-patch

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [23.11.2013 10:58]: Looks like most of them `exit` for a reason. Maybe we could instead just document explicitly the way hotplug scripts are run and let scripts take the shortcut `exit` at appropriate time. i think there is no change needed. i

[OpenWrt-Devel] [Patch] tools/mpfr: add GNU source

2013-11-23 Thread Dirk Neukirchen
fixes https://dev.openwrt.org/ticket/14519 mpfr is available from GNU too see: https://gforge.inria.fr/forum/forum.php?forum_id=11263 Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- tools/mpfr/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [23.11.2013 17:01]: was puzzles me: the PID_inside is the same like from the main-script. should'nt it change? It's weird. I found the following description from bash manual [1] that `$$`: Expands to the process ID of the shell. In a ()

[OpenWrt-Devel] [PATCH] [packages] perl-www: Bump to 5.837

2013-11-23 Thread Robert Högberg
Package perl-www-mechanize requires perl-www version 5.829 or later to work, so bump perl-www to 5.837. If another 12.09 release is coming I suggest merging this to AA also since perl-www-mechanize is broken there also. Signed-off-by: Robert Högberg robert.hogb...@gmail.com --- diff --git

[OpenWrt-Devel] [PATCH] [packages] perl-crypt-ssleay: New package

2013-11-23 Thread Robert Högberg
Add package perl-crypt-ssleay to enable SSL support in LWP. I use this to enable https support in perl-www-mechanize. Signed-off-by: Robert Högberg robert.hogb...@gmail.com --- diff --git a/lang/perl-crypt-ssleay/Makefile b/lang/perl-crypt-ssleay/Makefile new file mode 100644 index

[OpenWrt-Devel] [PATCH] kirkwood: kernel: add missing config option

2013-11-23 Thread Jiří Šlachta
Buildbot found missing config option for target kirkwood. Signed-off-by: Jiri Slachta slac...@cesnet.cz --- target/linux/kirkwood/config-3.10 |1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/kirkwood/config-3.10 b/target/linux/kirkwood/config-3.10 index 518f0a3..db4bdbf

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Felix Fietkau
On 2013-11-23 17:09, Bastian Bittorf wrote: * Yousong Zhou yszhou4t...@gmail.com [23.11.2013 17:01]: was puzzles me: the PID_inside is the same like from the main-script. should'nt it change? It's weird. I found the following description from bash manual [1] that `$$`: Expands to

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [23.11.2013 22:47]: first update all hotplug-scripts to work without 'exit', then change the /sbin/hotplug-call to '. $script' instead of ( . $script ) I disagree with the proposal to get rid of subshells here. I don't want one hotplug script to accidentally

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Felix Fietkau
On 2013-11-23 22:49, Bastian Bittorf wrote: * Felix Fietkau n...@openwrt.org [23.11.2013 22:47]: first update all hotplug-scripts to work without 'exit', then change the /sbin/hotplug-call to '. $script' instead of ( . $script ) I disagree with the proposal to get rid of subshells here. I

[OpenWrt-Devel] [PATCH 1/2] ag71xx: add F1E specific feature bit definitions to AR934X register file

2013-11-23 Thread Christian Lamparter
The F1E Phy (AR8035?) requires additional bits to be set in order to provide a fast and reliable connection over gigabit links. When enabled, the link doesn't suffer anymore from a small package loss under load and the performance is improved quite a bit as well. (203 mbit/s vs 112 mbit/s, iperf

[OpenWrt-Devel] [PATCH 2/2] ar71xx: improve support for the My Net Wi-Fi Range Extender device

2013-11-23 Thread Christian Lamparter
This patch improves support for the device considerably. 1. The wifi didn't work in the initial release. This was because the WMAC of the AR9340 is not connected to the antennas. (However, it can pick up wifi signals, if they are strong enough!) Instead there's a dedicated AR9300 chip on the same

[OpenWrt-Devel] [PATCH] ar71xx: rssi leds for My Net WiFi Range Extender

2013-11-23 Thread Christian Lamparter
The device has three extra LEDs which indicate the quality of the wireless link. Thanks to rssileds, this feature now works out of the box. Signed-off-by: Christian Lamparter chunk...@googlemail.com --- target/linux/ar71xx/generic/profiles/wd.mk | 1 + 1 file changed, 1 insertion(+) diff --git