Re: [OpenWrt-Devel] [PATCH 2/2] ppp: fix o_special option printing

2014-05-11 Thread Nathan Hintz
Hi Yousong: ++ } ++ } else if (opt-flags OPT_A2LIST) { + struct option_value *ovp, *pp; + + ovp = malloc(sizeof(*ovp) + strlen(*argv)); +@@ -994,7 +1003,7 @@ print_option(opt, mainopt, printer, arg) + p = (char *) opt-addr2; + if ((opt-flags OPT_STATIC) == 0) + p = *(char **)p; +-

Re: [OpenWrt-Devel] [PATCH 2/2] ppp: fix o_special option printing

2014-05-11 Thread Yousong Zhou
Hi, Nathan. On 11 May 2014 15:04, Nathan Hintz nlhi...@hotmail.com wrote: Hi Yousong: ++ } ++ } else if (opt-flags OPT_A2LIST) { + struct option_value *ovp, *pp; + + ovp = malloc(sizeof(*ovp) + strlen(*argv)); +@@ -994,7 +1003,7 @@ print_option(opt, mainopt, printer, arg) + p = (char

[OpenWrt-Devel] [PATCH] [ramips] fix not set lan/wan mac address

2014-05-11 Thread michael lee
The first switch case is default case. Then it will only match default case. cause not update the lan/wan mac address. And in the default switch case the param lan_mac is empty. it will case error message 'arithmetic syntax error' when call macaddr_add function. Signed-off-by: michael lee

[OpenWrt-Devel] [PATCH] [ramips] add seama image can be upgrade by sysupgrade

2014-05-11 Thread michael lee
generate sysupgrade image by combine two images. one is kernel image with seama header. another is root fs image. Signed-off-by: michael lee igv...@gmail.com --- target/linux/ramips/image/Makefile | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH][AA][packages] cyrus-sasl: add libtool to PKG_FIXUP

2014-05-11 Thread Jiri Slachta
This patch adds libtool to PKG_FIXUP variable. Without it it complaints about version mismatch. It fixes #13196. Signed-off-by: Jiri Slachta slac...@cesnet.cz --- libs/cyrus-sasl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/cyrus-sasl/Makefile

[OpenWrt-Devel] [PATCH][AA][packages] asterisk-chan-sccp-b: update to revision 5393

2014-05-11 Thread Jiri Slachta
This patch updates asterisk-chan-sccp-b module to revision 5393. This update is required if asterisk18 gets updated to 1.8.27.0. Signed-off-by: Jiri Slachta slac...@cesnet.cz --- net/asterisk-chan-sccp-b/Makefile | 24 +-

[OpenWrt-Devel] [PATCH][AA][packages] asterisk: update package to 1.8.27.0

2014-05-11 Thread Jiri Slachta
This patch backports asterisk18 package from trunk to AA. It updates asterisk to version 1.8.27.0 and it fixes broken call data records subpackage. Signed-off-by: Jiri Slachta slac...@cesnet.cz --- net/asterisk-1.8.x/Makefile| 126 +

[OpenWrt-Devel] [PATCH][AA][packages] kamailio3: update to version 3.3.7

2014-05-11 Thread Jiri Slachta
This patch updates kamailio3 to version 3.3.7. It also adds heavily used rtpproxy module which is missing in AA. This patch is a backport from trunk to AA. Signed-off-by: Jiri Slachta slac...@cesnet.cz --- net/kamailio3/Makefile| 58 ---

[OpenWrt-Devel] [Patch] [packages] empdcd: fix compile on platforms with VFP

2014-05-11 Thread Dirk Neukirchen
on platforms with VFP/hardfloat ld fails with: empcd uses VFP register arguments, empcd.o does not empcd uses VFP register arguments, keyeventtable.o does not empcd uses VFP register arguments, support/mpc-0.12.2/src/libmpdclient.o does not append to CFLAGS instead of overwrite Signed-off-by:

[OpenWrt-Devel] [Patch][packages] jtg: fix compile on platforms with VFP

2014-05-11 Thread Dirk Neukirchen
buildbot reported error on platforms with VFP (sunxi,imx6,omap): ld: error: jtg uses VFP register arguments, /tmp/ccewx1gu.o does not CFLAGS were overwritten so append them instead Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- net/jtg/patches/001-Makefile_honor_CFLAGS_for_VFP.patch |

[OpenWrt-Devel] [Patch] [packages] mdk3: fix compile on platforms with VFP

2014-05-11 Thread Dirk Neukirchen
buildbot reported error on platforms with VFP (sunxi,imx6,omap): mdk3 uses VFP register arguments, /tmp/ccBN2WMD.o does not mdk3 uses VFP register arguments, osdep/libosdep.a(osdep.o) does not mdk3 uses VFP register arguments, osdep/libosdep.a(network.o) does not mdk3 uses VFP register arguments,

[OpenWrt-Devel] [Patch] [packages] netpipe: fix compile on platforms with VFP

2014-05-11 Thread Dirk Neukirchen
buildbot reported error on platforms with VFP (sunxi,imx6,omap): NPtcp uses VFP register arguments, /tmp/.o does not CFLAGS were overwritten so append them instead Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- net/netpipe/patches/001-Makefile_honor_CFLAGS_for_VFP.patch | 11

[OpenWrt-Devel] [Patch] [packages] openrrcp: fix compile on platforms with VFP

2014-05-11 Thread Dirk Neukirchen
buildbot reported error on platforms with VFP (sunxi,imx6,omap): ld: error: ../bin/rtl83xx uses VFP register arguments, /tmp/o does not CFLAGS were created by acustom shellscript that was setting host includes paths. this was disabled Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de

[OpenWrt-Devel] [PATCH] [fstools] ubi: add missing newlines

2014-05-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- ubi.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ubi.c b/ubi.c index b2d7299..e2a4a06 100644 --- a/ubi.c +++ b/ubi.c @@ -139,7 +139,7 @@ static int main_image(char *partition, char *image, char *overlay)

[OpenWrt-Devel] help with netifd 802.1ad development

2014-05-11 Thread Gioacchino Mazzurco
Hi all! I am working on adding 802.1ad vlan support to netifd, it is almost working but interfaces are not created anymore since i have added this line that is necessary (without this line interfaces are created but they are 802.1q)

[OpenWrt-Devel] [RESEND PATCH v2 1/3] sysupgrade: let force be more forceful with multiple --force/-F options

2014-05-11 Thread Cody P Schafer
Signed-off-by: Cody P Schafer de...@codyps.com --- package/base-files/files/sbin/sysupgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index cd224c6..c17e2a1 100755 ---

[OpenWrt-Devel] [RESEND PATCH v2 2/3] upgrade/common: force mtd when sysupgrade gets -F -F (2 forces)

2014-05-11 Thread Cody P Schafer
Signed-off-by: Cody P Schafer de...@codyps.com --- package/base-files/files/lib/upgrade/common.sh | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index ecf1a98..7b3554b

Re: [OpenWrt-Devel] help with netifd 802.1ad development

2014-05-11 Thread Steven Barth
Hi Gioacchino, it seems the kernel expects a big-endian value as vlan protocol, so you should probably try wrapping cfg-proto in htons when passing it to nla_put_u16. Cheers, Steven ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org