Re: [OpenWrt-Devel] [PATCH][include] Reduce configuration file entropy

2013-04-30 Thread Jonh Wendell
list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel -- Jonh Wendell http://www.bani.com.br ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt

Re: [OpenWrt-Devel] implement modprobe

2013-04-12 Thread Jonh Wendell
2013/4/12 Thomas Heil h...@terminal-consulting.de Hi, Here are two files that implement modprobe for OpenWrt. Comments are welcome! hi. we already have modprobe in busybox, haven't you seen it? -- Jonh Wendell http://www.bani.com.br ___ openwrt

[OpenWrt-Devel] [PATCH] kernel: netfilter.mk: Explicitly set the order of autoloaded modules

2013-04-11 Thread Jonh Wendell
From: Jonh Wendell jonh.wend...@oiwifi.com.br In my machine, the file is created with arptable_filter before arp_tables. This can't happen because the former depends on the latter. So, instead of rely on wildcards (*.ko), set by hand the files to be loaded in the correct order. Signed-off

[OpenWrt-Devel] [PATCH] luacurl: Add cURL bind for Lua

2013-03-27 Thread Jonh Wendell
From: Jonh Wendell jonh.wend...@oiwifi.com.br Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- lang/luacurl/Makefile | 43 ++ .../luacurl/patches/01-create-shared-library.patch | 18 + 2 files changed, 61 insertions(+) create

Re: [OpenWrt-Devel] OpenWrt / parsing JSON with jshn

2013-03-20 Thread Jonh Wendell
it too hard to parse json. It's too verbose. Our solution? Write our scripts in LUA. It's small and very powerful. It's highly modularized, so, just install a lua-json module and voilĂ ! With its concept of tables, it deals with json almost as natural as javascript does. Cheers, -- Jonh Wendell http

[OpenWrt-Devel] [PATCH] scripts/feeds: return 1 to the shell if any of the feeds fail to update

2013-03-08 Thread jonh . wendell
From: Jonh Wendell jonh.wend...@oiwifi.com.br Currently the feeds script always exit with the status 0, even if it fails to update a feed. This patch changes this behaviour, returning 1 to the shell if any of the feeds fail to update. This keeps the current behaviour, i.e., try to update all

[OpenWrt-Devel] [PATCH] net-snmp: don't hardcode endianness

2013-02-25 Thread Jonh Wendell
instead of using 'little' hardcoded, rely on the config I recommend to backport this fix to AA, once this bug prevents MD5 authentication in protocol v3. Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- net/net-snmp/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion

[OpenWrt-Devel] [PATCH] netifd: allow the use of /etc/default/netifd file

2013-02-20 Thread Jonh Wendell
If that file exists, read it and pass the content of the OPTIONS variable to netifd daemon. For instance, this would be a valid content for this file: OPTIONS=-r /tmp/resolv.XXX Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- package/network/config/netifd/files/etc/init.d/network

Re: [OpenWrt-Devel] [PATCH] netifd: allow the use of /etc/default/netifd file

2013-02-20 Thread Jonh Wendell
Because in my environment I need to pass some args to netifd (like -r). Right now, I'm patching /etc/init.d/network. The patch proposes a less intrusive solution. It's based on what other modules, like net-snmp do. 2013/2/20 Felix Fietkau n...@openwrt.org On 2013-02-20 6:32 PM, Jonh Wendell

Re: [OpenWrt-Devel] [PATCH] netifd: allow the use of /etc/default/netifd file

2013-02-20 Thread Jonh Wendell
2013/2/20 Felix Fietkau n...@openwrt.org What I meant was: why do you need to rename the resolv.conf file? Ahh. Because I don't want to use the dns servers dhcp gives to me. - Felix On 2013-02-20 6:45 PM, Jonh Wendell wrote: Because in my environment I need to pass some args to netifd

Re: [OpenWrt-Devel] [PATCH] netifd: allow the use of /etc/default/netifd file

2013-02-20 Thread Jonh Wendell
-devel -- Jonh Wendell http://www.bani.com.br ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] netifd: allow the use of /etc/default/netifd file

2013-02-20 Thread Jonh Wendell
2013/2/20 Felix Fietkau n...@openwrt.org On 2013-02-20 6:57 PM, Jonh Wendell wrote: 2013/2/20 Felix Fietkau n...@openwrt.org mailto:n...@openwrt.org What I meant was: why do you need to rename the resolv.conf file? Ahh. Because I don't want to use the dns servers dhcp gives to me

[OpenWrt-Devel] [PATCH] include/package-ipkg.mk: Add Replaces and Conflicts fields

2012-12-20 Thread Jonh Wendell
Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- include/package-ipkg.mk |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 5de51eb..86031e6 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -148,6 +148,8

[OpenWrt-Devel] fosdem 2013

2012-12-08 Thread Jonh Wendell
hi folks. is there something planned to fosdem 2013? I mean, will openwrt (their developers actually) being there? any talks? any meetings? cheers, -- Jonh Wendell http://www.bani.com.br ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH 1/3] libffi: bump version to 3.0.11

2012-11-27 Thread Jonh Wendell
Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- libs/libffi/Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libffi/Makefile b/libs/libffi/Makefile index 67af8f7..90c29ce 100644 --- a/libs/libffi/Makefile +++ b/libs/libffi/Makefile @@ -8,12 +8,12

[OpenWrt-Devel] [PATCH 2/3] libffi: enable the host build, needed for newer glib

2012-11-27 Thread Jonh Wendell
Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- libs/libffi/Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/libffi/Makefile b/libs/libffi/Makefile index 90c29ce..e3b2839 100644 --- a/libs/libffi/Makefile +++ b/libs/libffi/Makefile @@ -22,6 +22,7 @@ PKG_FIXUP

[OpenWrt-Devel] [PATCH 3/3] glib2: bump version to 2.34.3

2012-11-27 Thread Jonh Wendell
dropped all patches, they are no longer necessary. Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- libs/glib2/Makefile| 17 ++-- libs/glib2/patches/001-automake-compat.patch | 12 --- .../patches/002-missing-gthread-include.patch | 10

Re: [OpenWrt-Devel] [PATCH] kmod-batman-adv: Use current /lib/functions/network.sh in hotplug.d scripts

2012-11-23 Thread Jonh Wendell
@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel -- Jonh Wendell http://www.bani.com.br ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] image.mk: don't squash file permissions in JFFS2 images

2012-11-23 Thread Jonh Wendell
Currently we call mkfs.jffs2 --squash, which will change both file permissions and owners. If we have some file with suid bits, it will clear these bits. Thus it's enough to just squash file owners, by replacing that argument to --squash-uids. Signed-off-by: Jonh Wendell jonh.wend

[OpenWrt-Devel] [PATCH] scripts/feeds: return 1 to the shell if any of the feeds fail to update

2012-11-22 Thread Jonh Wendell
-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- scripts/feeds |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/feeds b/scripts/feeds index b1bdee5..c86cea4 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -539,6 +539,7 @@ sub update { my %opts; my

[OpenWrt-Devel] [PATCH] [packages] dialog: update to version 20120706

2012-11-09 Thread Jonh Wendell
Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- utils/dialog/Makefile |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/dialog/Makefile b/utils/dialog/Makefile index d407ead..872ab83 100644 --- a/utils/dialog/Makefile +++ b/utils/dialog/Makefile

Re: [OpenWrt-Devel] new package - dhcping

2012-11-04 Thread Jonh Wendell
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/dhcping $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,dhcping)) + ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel -- Jonh Wendell

[OpenWrt-Devel] [PATCH] [kernel] Load schedule modules

2012-10-18 Thread Jonh Wendell
They were missing the AUTOLOAD directive. Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- package/kernel/modules/netsupport.mk |4 1 file changed, 4 insertions(+) diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/ netsupport.mk index b4e2a42..6089fa5

[OpenWrt-Devel] [PATCH] [dnsmasq] Parse the option 'conf_dir' in the init script

2012-10-16 Thread Jonh Wendell
Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- .../network/services/dnsmasq/files/dnsmasq.init|3 +++ 1 file changed, 3 insertions(+) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 85c22c3..cb65bef

Re: [OpenWrt-Devel] Correct output directories for libraries

2012-10-11 Thread Jonh Wendell
___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel -- Jonh Wendell http://www.bani.com.br ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org

[OpenWrt-Devel] [PATCH] [packages] tinyproxy: update to 1.8.3

2012-09-23 Thread Jonh Wendell
From df3bded847f74d511dd3cf9f30bc92358a4d2694 Mon Sep 17 00:00:00 2001 From: Jonh Wendell jonh.wend...@gmail.com Date: Sun, 23 Sep 2012 10:29:12 -0300 Subject: [PATCH] [packages] tinyproxy: update to 1.8.3 This patch updates tinyproxy to 1.8.3 version, which was released more than 1 year ago

[OpenWrt-Devel] [PATCH] build: Add package/distclean target

2012-09-20 Thread Jonh Wendell
From e15400bf77273f6352d821893af9e4ba7a0f727b Mon Sep 17 00:00:00 2001 From: Jonh Wendell jonh.wend...@oiwifi.com.br Date: Thu, 20 Sep 2012 16:05:48 -0300 Subject: [PATCH] build: Add package/distclean target This adds a new target per package, distclean, which does the same as the clean target

[OpenWrt-Devel] [PATCH] [packages] gatling: Move to the right submenu

2012-09-19 Thread Jonh Wendell
From 58415bffe9482423800d12c74ced37cdce9e22ac Mon Sep 17 00:00:00 2001 From: Jonh Wendell jonh.wend...@oiwifi.com.br Date: Wed, 19 Sep 2012 10:42:41 -0300 Subject: [PATCH] [packages] gatling: Move to the right submenu Currently it is the only package in the 'Web' submenu. Move it to 'Web Servers

[OpenWrt-Devel] [PATCH] [package] dropbear: Supports IdleTimeout uci config option

2012-09-06 Thread Jonh Wendell
Once this patch is accepted, I'll update the wiki page http://wiki.openwrt.org/doc/uci/dropbear From 9509ba3a76b014155671cbea72a07caafaf27970 Mon Sep 17 00:00:00 2001 From: Jonh Wendell jonh.wend...@oiwifi.com.br Date: Thu, 6 Sep 2012 16:45:29 -0300 Subject: [PATCH] [package] dropbear: Supports

Re: [OpenWrt-Devel] [PATCH] [package] dropbear: Supports IdleTimeout uci config option

2012-09-06 Thread Jonh Wendell
packages do. Unfortunately DropBear is one package that has several Camel writings. I wish that Attitude Adjustment would change this to lower case. Maddes On 06.09.2012 21:48, Jonh Wendell wrote: Once this patch is accepted, I'll update the wiki page http://wiki.openwrt.org/doc/uci/dropbear

Re: [OpenWrt-Devel] [PATCH] [package/procps] Allow selection of applets to be installed

2012-09-05 Thread Jonh Wendell
2012/9/5 Jonas Gorski jonas.gorski+open...@gmail.com Hi, On 23 August 2012 19:31, Jonh Wendell jonh.wend...@gmail.com wrote: From d3f62517f73201522eb36a4030cb54b26b4eb069 Mon Sep 17 00:00:00 2001 From: Jonh Wendell jonh.wend...@oiwifi.com.br Date: Thu, 23 Aug 2012 14:24:09 -0300

Re: [OpenWrt-Devel] [PATCH] [package/procps] Allow selection of applets to be installed

2012-09-05 Thread Jonh Wendell
2012/9/5 Jonas Gorski jonas.gorski+open...@gmail.com On 5 September 2012 16:50, Jonh Wendell jonh.wend...@gmail.com wrote: 2012/9/5 Jonas Gorski jonas.gorski+open...@gmail.com On 23 August 2012 19:31, Jonh Wendell jonh.wend...@gmail.com wrote: From d3f62517f73201522eb36a4030cb54b26b4eb069

[OpenWrt-Devel] [PATCH] [package/bridge-utils]: Depends on bridge kernel module

2012-08-29 Thread Jonh Wendell
From bf93e60b722fa7e0b99f29e2a99ad06084acb02a Mon Sep 17 00:00:00 2001 From: Jonh Wendell jonh.wend...@oiwifi.com.br Date: Wed, 29 Aug 2012 10:36:53 -0300 Subject: [PATCH] [package/bridge-utils]: Depends on bridge kernel module The kernel module bridge is necessary in order to this package work

[OpenWrt-Devel] [PATCH] [package/libcurl] copy .so symlink on install

2012-08-28 Thread Jonh Wendell
From ab926be83848b611a16ee1f0a3f7a3543bdfa3f2 Mon Sep 17 00:00:00 2001 From: Jonh Wendell jonh.wend...@oiwifi.com.br Date: Tue, 28 Aug 2012 15:57:16 -0300 Subject: [PATCH] [package/libcurl] copy .so symlink on install Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- libs/curl/Makefile

[OpenWrt-Devel] [PATCH] [package/procps] Allow selection of applets to be installed

2012-08-23 Thread Jonh Wendell
From d3f62517f73201522eb36a4030cb54b26b4eb069 Mon Sep 17 00:00:00 2001 From: Jonh Wendell jonh.wend...@oiwifi.com.br Date: Thu, 23 Aug 2012 14:24:09 -0300 Subject: [PATCH] [package/procps] Allow selection of applets to be installed This patch adds a menu entry under procps package, allowing

[OpenWrt-Devel] [PATCH] [package/haserl] update to 0.9.29

2012-08-20 Thread Jonh Wendell
Signed-off-by: Jonh Wendell jonh.wend...@oiwifi.com.br --- utils/haserl/Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/haserl/Makefile b/utils/haserl/Makefile index 91980e9..6d1da47 100644 --- a/utils/haserl/Makefile +++ b/utils/haserl/Makefile @@ -8,12