[OpenWrt-Devel] [PATCH] micropython-lib: fix make install seldom fail

2016-06-17 Thread Jérôme Poulin
Since make install path was hardcoded inside the build dir, it can sometime fail with cp indicating that source and destination are the same since make install will copy all py file in build dir to install dir. In this case, install dir is in build dir causing a loop. --- lang/micropython-lib/Make

Re: [OpenWrt-Devel] OpenVPN in Backfire not start

2013-03-11 Thread Jérôme Poulin
On Tue, Mar 12, 2013 at 12:58 AM, Nguyễn Hồng Quân wrote: > Here is the config: > > config 'openvpn' 'server_tap_bridge' > option 'dev' 'tap0' > option 'management' '127.0.0.1 31194' Management is not compiled anymore in Backfire, you need to remove that 'management' line or reco

[OpenWrt-Devel] [PATCH][UCI] Add multiple free for each call to lookup_args()

2013-02-06 Thread Jérôme Poulin
This memory leak can be reproduced using a tight loop to uci:get() a config. lua -e 'require("posix"); require("uci"); function getconf() local tmp, uc = uci.cursor(); tmp = uc:get("system", "ntp", "enable_server"); end; while 1 do for i=0,1000 do getconf() end; print("gc"); print(coll

[OpenWrt-Devel] [PATCH v2] [Packages] isc-dhcp-relay: Add init scripts for ipv4 and ipv6 as well as config file

2012-11-21 Thread Jérôme Poulin
the config file, I'll be able to add them. This patch has been applied to trunk and compiles/install on my side. The script for ipv4 and ipv6 have been tested with the isc-dhcp-relay-ipv6 binary and work well (start/stop with the right settings). Signed-off-by: Jérôme Poulin Index: Mak

[OpenWrt-Devel] [PATCH] [Packages] isc-dhcp-relay: Add init scripts for ipv4 and ipv6 as well as config file

2012-11-13 Thread Jérôme Poulin
As isc-dhcp-relay does not come with an init script, I made one based on sysntpd init.d file for both ipv4 and ipv6. If you need more arguments from isc-dhcp-relay to be included in the config file, I'll be able to add them. This patch has been applied to trunk and compiles/install on my side. Th

[OpenWrt-Devel] Problem in 6in4.sh netifd script

2012-10-09 Thread Jérôme Poulin
In package 6in4, there is a condition in which you *must* add an ip6addr for 6in4 to come up, however, in case you've got a /48, it might not be necessary. It would certainly be better to let the user decide. By the way, dev.openwrt.org respond HTTP 502 at the moment. Index: package/6in4/files/6i