Re: [OpenWrt-Devel] Lua number representation: request for rollback

2010-10-06 Thread Bart Van Der Meerssche
Hello list, I ran into quite similar issues when porting our daemon code to Backfire: Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio (float int32) > print(tonumber(math.max(1234567890, 0))) 1234567936 The math library most likely casts all ints to floats. Using float instead of double as

[OpenWrt-Devel] [PATCH] Allow install of packages to be customized per target without tainting packages themselves

2010-10-06 Thread Philip Prindeville
This patch allows an ipkg install and then invoking post-processing rules to customize it in-place on the target. An example is target/linux/x86/geos/target.mk: ... CS5535_MASK:=0x0E00048 ... define Package/kmod-gpio-cs5535/customize @echo "Modifying $(2:kmod-%=%)" sed -i -r

[OpenWrt-Devel] How to make "backup dns" entries

2010-10-06 Thread Lukas Macura
Hi to all, please, I want to solve my problem with dns. I want to be absoulutely sure, that even if router will be in unknown network and has bad DNS setup, I want to have some backup dns entries in /etc/hosts. So if standard DNS query is not possible, fallback to /etc/hosts. If I understand it g

[OpenWrt-Devel] [PATCH] iptables compile fix

2010-10-06 Thread Maarten Bezemer
For the 'Marvell Orion' target the iptables package does not compile. See forum topic: https://forum.openwrt.org/viewtopic.php?pid=117520 Maybe for other targets as well? In short: the problem is that /usr/lib/libc is used while linking instead of the cross-compiled version. I provided a patch fo