Re: [OpenWrt-Devel] Regarding USB and the Dlink DIR-600 Bx

2014-08-05 Thread John Crispin


On 05/08/2014 07:06, Luis E. Garcia wrote:
 Good evening, I just tried the BB RC2 build for this router and it
 seems the image is much larger than the one for AA. Checking the
 installed kernel modules I found the kmod-usb-core and an other
 related module. Is it possible to eliminate these modules for this
 router ( and probably for the DIR-300 Bx ) since enabling the USB
 support on them is near to imposible ( unless you can hack ball
 grid joints from the logic board).
 
 Since they're build using the ralink generic target - would I need
 to create a separate router file for these devices in order to
 avoid ruining other working devices that do nees USB support? The
 resulting image without USB support is 0.7 MB smaller and allow
 other ( more useful or better suited) packages to be installed.
 
 Regards, Luis Garcia

Hi,

some of the RC2 images are to big as i started the IB incorrectly.

RC3 is building just now and will be ready shortly. please retest with
those images when they are online

John


 
 
 ___ openwrt-devel
 mailing list openwrt-devel@lists.openwrt.org 
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-08-05 Thread Hans Dedecker
Ok I will provide a patch to cover the earlier Linux kernel versions

On Tue, Aug 5, 2014 at 4:26 AM, Florian Fainelli flor...@openwrt.org wrote:
 On 07/30/14 04:56, Hans Dedecker wrote:

 Adds support for gre, gretap, grev6 and grev6tap tunnels


 This commit breaks the build for earlier kernel versions which do not have a
 bunch of IFLA_IPTUN_* missing constants, could you provide a fallback
 definition for these earlier Linux kernels?

 See
 http://buildbot.openwrt.org:8010/builders/adm8668/builds/139/steps/compile_5/logs/stdio
 for build failure details.

 Thanks!


 Signed-off-by: Hans Dedecker dedec...@gmail.com
 ---
   system-dummy.c |2 +-
   system-linux.c |  190
 +---
   system.c   |1 +
   system.h   |3 +-
   tunnel.c   |2 +-
   5 files changed, 186 insertions(+), 12 deletions(-)

 diff --git a/system-dummy.c b/system-dummy.c
 index 8bcebc1..8e420e1 100644
 --- a/system-dummy.c
 +++ b/system-dummy.c
 @@ -235,7 +235,7 @@ time_t system_get_rtime(void)
 return 0;
   }

 -int system_del_ip_tunnel(const char *name)
 +int system_del_ip_tunnel(const char *name, struct blob_attr *attr)
   {
 return 0;
   }
 diff --git a/system-linux.c b/system-linux.c
 index ea3a138..2d65cef 100644
 --- a/system-linux.c
 +++ b/system-linux.c
 @@ -806,7 +806,7 @@ nla_put_failure:
 return -ENOMEM;
   }

 -static int system_link_del(struct device *dev)
 +static int system_link_del(const char *ifname)
   {
 struct nl_msg *msg;
 struct ifinfomsg iim = {
 @@ -820,13 +820,13 @@ static int system_link_del(struct device *dev)
 return -1;

 nlmsg_append(msg, iim, sizeof(iim), 0);
 -   nla_put_string(msg, IFLA_IFNAME, dev-ifname);
 +   nla_put_string(msg, IFLA_IFNAME, ifname);
 return system_rtnl_call(msg);
   }

   int system_macvlan_del(struct device *macvlan)
   {
 -   return system_link_del(macvlan);
 +   return system_link_del(macvlan-ifname);
   }

   static int system_vlan(struct device *dev, int id)
 @@ -912,7 +912,7 @@ nla_put_failure:

   int system_vlandev_del(struct device *vlandev)
   {
 -   return system_link_del(vlandev);
 +   return system_link_del(vlandev-ifname);
   }

   static void
 @@ -1654,9 +1654,173 @@ static int tunnel_ioctl(const char *name, int cmd,
 void *p)
 return ioctl(sock_ioctl, cmd, ifr);
   }

 -int system_del_ip_tunnel(const char *name)
 +static int system_add_gre_tunnel(const char *name, const char *kind,
 +const unsigned int link, struct blob_attr
 **tb, bool v6)
   {
 -   return tunnel_ioctl(name, SIOCDELTUNNEL, NULL);
 +   struct nl_msg *nlm;
 +   struct ifinfomsg ifi = { .ifi_family = AF_UNSPEC, };
 +   struct blob_attr *cur;
 +   uint32_t ikey = 0, okey = 0;
 +   uint16_t iflags = 0, oflags = 0;
 +   int ret = 0, ttl = 64;
 +
 +   nlm = nlmsg_alloc_simple(RTM_NEWLINK, NLM_F_REQUEST |
 NLM_F_REPLACE | NLM_F_CREATE);
 +   if (!nlm)
 +   return -1;
 +
 +   nlmsg_append(nlm, ifi, sizeof(ifi), 0);
 +   nla_put_string(nlm, IFLA_IFNAME, name);
 +
 +   struct nlattr *linkinfo = nla_nest_start(nlm, IFLA_LINKINFO);
 +   if (!linkinfo) {
 +   ret = -ENOMEM;
 +   goto failure;
 +   }
 +
 +   nla_put_string(nlm, IFLA_INFO_KIND, kind);
 +   struct nlattr *infodata = nla_nest_start(nlm, IFLA_INFO_DATA);
 +   if (!infodata) {
 +   ret = -ENOMEM;
 +   goto failure;
 +   }
 +
 +   if (link)
 +   nla_put_u32(nlm, IFLA_GRE_LINK, link);
 +
 +   if ((cur = tb[TUNNEL_ATTR_TTL]))
 +   ttl = blobmsg_get_u32(cur);
 +
 +   nla_put_u8(nlm, IFLA_GRE_TTL, ttl);
 +
 +   if ((cur = tb[TUNNEL_ATTR_INFO])  (blobmsg_type(cur) ==
 BLOBMSG_TYPE_STRING)) {
 +   uint8_t icsum, ocsum, iseqno, oseqno;
 +   if (sscanf(blobmsg_get_string(cur),
 %u,%u,%hhu,%hhu,%hhu,%hhu,
 +   ikey, okey, icsum, ocsum, iseqno, oseqno) 
 6) {
 +   ret = -EINVAL;
 +   goto failure;
 +   }
 +
 +   if (ikey)
 +   iflags |= GRE_KEY;
 +
 +   if (okey)
 +   oflags |= GRE_KEY;
 +
 +   if (icsum)
 +   iflags |= GRE_CSUM;
 +
 +   if (ocsum)
 +   oflags |= GRE_CSUM;
 +
 +   if (iseqno)
 +   iflags |= GRE_SEQ;
 +
 +   if (oseqno)
 +   oflags |= GRE_SEQ;
 +   }
 +
 +   if (v6) {
 +   struct in6_addr in6buf;
 +   if ((cur = tb[TUNNEL_ATTR_LOCAL])) {
 +   if (inet_pton(AF_INET6, blobmsg_data(cur),
 in6buf)  1) {
 +   ret = -EINVAL;
 +   goto failure;
 +   }
 +  

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-08-05 Thread Steven Barth
To be fair I introduced IFLA_IPTUN_ stuff earlier with MAP-encapsulation 
support. My general impression was that we do not care about 3.10 
targets any more.


So even if Hans provides some patches for GRE it will not help much 
since MAP-support does the same.



Cheers,

Steven
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] autoconf: bump version to 2.69

2014-08-05 Thread Russell Senior


Signed-off-by: Russell Senior russ...@personaltelco.net
---
 tools/autoconf/Makefile | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/autoconf/Makefile b/tools/autoconf/Makefile
index f5d22c3..ec154e4 100644
--- a/tools/autoconf/Makefile
+++ b/tools/autoconf/Makefile
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=autoconf
-PKG_VERSION:=2.68
+PKG_VERSION:=2.69
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/autoconf
-PKG_MD5SUM:=864d785215aa60d627c91fcb21b05b07
+PKG_MD5SUM:=50f97f4159805e374639a73e2636f22e
 
 include $(INCLUDE_DIR)/host-build.mk
 
-- 
2.0.0



-- 
Russell Senior, President
russ...@personaltelco.net
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 1/2] netifd: fix incorrect number of bytes memset in clear_if_addr

2014-08-05 Thread Hans Dedecker
Fix clear_if_addr for IPv6 addresses as an incorrect number of bytes were 
memset due to wrong sizeof argument

Signed-off-by: Hans Dedecker dedec...@gmail.com
---
 interface-ip.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface-ip.c b/interface-ip.c
index 587826a..8d4434b 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -75,8 +75,8 @@ clear_if_addr(union if_addr *a, int mask)
uint8_t m_clear = (1  (m_bytes * 8 - mask)) - 1;
uint8_t *p = (uint8_t *) a;
 
-   if (m_bytes  sizeof(a))
-   memset(p + m_bytes, 0, sizeof(a) - m_bytes);
+   if (m_bytes  sizeof(*a))
+   memset(p + m_bytes, 0, sizeof(*a) - m_bytes);
 
p[m_bytes - 1] = ~m_clear;
 }
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] gre: Change hostdependcy to remote endpoint tunnel address

2014-08-05 Thread Hans Dedecker
Depend on the GRE tunnel peeraddr to trigger setup of the tunnel interface.
Addresses the issue reported in 
https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027201.html

Signed-off-by: Hans Dedecker dedec...@gmail.com
---
 package/network/config/gre/Makefile |2 +-
 package/network/config/gre/files/gre.sh |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/network/config/gre/Makefile 
b/package/network/config/gre/Makefile
index efca464..9f5135e 100644
--- a/package/network/config/gre/Makefile
+++ b/package/network/config/gre/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gre
 PKG_VERSION:=1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 include $(INCLUDE_DIR)/package.mk
 
diff --git a/package/network/config/gre/files/gre.sh 
b/package/network/config/gre/files/gre.sh
index 38c0fc4..1728b01 100755
--- a/package/network/config/gre/files/gre.sh
+++ b/package/network/config/gre/files/gre.sh
@@ -51,7 +51,7 @@ gre_setup() {
exit
}
 
-   ( proto_add_host_dependency $cfg 0.0.0.0 $tunlink )
+   ( proto_add_host_dependency $cfg $peeraddr $tunlink )
 
[ -z $ipaddr ]  {
local wanif=$tunlink
@@ -108,7 +108,7 @@ grev6_setup() {
exit
}
 
-   ( proto_add_host_dependency $cfg :: $tunlink )
+   ( proto_add_host_dependency $cfg $peer6addr $tunlink )
 
[ -z $ip6addr ]  {
local wanif=$tunlink
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 2/2] netifd: Accept notify errors in proto_shell teardown or abort state

2014-08-05 Thread Hans Dedecker
In commit e1ec2d2b9e7f7692a4ff88a0361bbcdbe34f0d99 (proto-shell: extend race 
condition avoidance), changes were made to prevent notifications from the proto 
handler during teardown.
According to the comments, this was done to avoid the shell proto state being 
reset to S_IDLE and the interface hanging in IFS_TEARDOWN state.
These changes unfortunately also prevent netifd from being notified of the 
errors (proto_shell_notify_error) that actually caused the teardown.
This is for instance an issue when the protocol is ppp and e.g.  PAP/CHAP 
authentication fails.
Since proto_shell_notify_error does not touch the proto state, it seems like a 
good idea to at least allow these notifications in teardown state.
The attached patch accomplishes this.

Signed-off-by: Hans Dedecker dedec...@gmail.com
Signed-off-by: Joeri Barbarien joeri.barbar...@gmail.com
---
 proto-shell.c |8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/proto-shell.c b/proto-shell.c
index 98f5e52..7a3e148 100644
--- a/proto-shell.c
+++ b/proto-shell.c
@@ -688,6 +688,7 @@ proto_shell_notify(struct interface_proto_state *proto, 
struct blob_attr *attr)
 {
struct proto_shell_state *state;
struct blob_attr *tb[__NOTIFY_LAST];
+   uint32_t action;
 
state = container_of(proto, struct proto_shell_state, proto);
 
@@ -695,10 +696,13 @@ proto_shell_notify(struct interface_proto_state *proto, 
struct blob_attr *attr)
if (!tb[NOTIFY_ACTION])
return UBUS_STATUS_INVALID_ARGUMENT;
 
-   if (state-sm == S_TEARDOWN || state-sm == S_SETUP_ABORT)
+   action = blobmsg_get_u32(tb[NOTIFY_ACTION]);
+
+   /* allow proto_shell_notify_error even in S_TEARDOWN or S_SETUP_ABORT 
states */
+   if (action != 3  (state-sm == S_TEARDOWN || state-sm == 
S_SETUP_ABORT))
return UBUS_STATUS_PERMISSION_DENIED;
 
-   switch(blobmsg_get_u32(tb[NOTIFY_ACTION])) {
+   switch(action) {
case 0:
return proto_shell_update_link(state, attr, tb);
case 1:
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Makefile CFLAGS CPU_TYPE

2014-08-05 Thread Claudio Thomas
Hi,
I'm analysing different Makefiles to learn a little bit better the way
how things are compiled by openwrt.
On some Makefiles a see CFLAGS and on others only the CPU_TYPE. So far I
see the CFLAGS:=-Os -pipe are default, because it not set the result
in the .config is:
CONFIG_DEFAULT_TARGET_OPTIMIZATION=-Os -pipe
CONFIG_TARGET_OPTIMIZATION=-Os -pipe

Is there any difference in setting
CPU_TYPE:=603e
xor
CFLAGS:=-Os -pipe -mcpu=603e
in the Makefile?

What is the best way?
I could not recognize a unified fashion to do it along all other targets.

-- 
Mit freundlichen Grüßen / Best regards

Claudio Thomas
Dipl.-Ing. der technischen Informatik (M.Sc.)

Leitung IT / Head of IT
Tel: +49 (0)2773 7444-137 
Fax: +49 (0)2773 7444-3137
Homepage: http://www.xmodus-systems.de
E-Mail: c...@xmodus-systems.de
GPG: http://xmodus-systems.de/gpg/ct
   4096R/22EC88BC; FP=2962 C442 BC49 21BB 5931  95A0 134A 0921 22EC 88BC
__
 
Xmodus Systems GmbH
Firmensitz: Reiherstrasse 2, D-35708 Haiger
Registergericht: Amtsgericht Wetzlar, HRB 6310
Geschäftsführer: Adrian F. Gog
__
 
Diese E-Mail und eventuelle Anhänge können vertrauliche Informationen 
enthalten. Wenn Sie nicht der beabsichtigte Empfänger sind, 
benachrichtigen Sie bitte unverzüglich den Absender und löschen Sie 
diese E-Mail. Jegliche unbefugte Anfertigung von Kopien, Offenlegung 
oder Verteilung des enthaltenen Materials ist streng verboten.

This e-mail and its attachments, if any, may contain confidential 
and/or privileged information. If you are not the intended recipient
please notify the sender immediately and delete this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in 
this e-mail is strictly forbidden.
__
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] ramips: Add support for Omnima MiniPlug

2014-08-05 Thread Ivan

This patch adds support for the Omnima MiniPlug RT5350 based board, 8MB SPI 
flash

Signed-off-by: Ivan Ignjatici...@omnima.co.uk
---
Index: target/linux/ramips/base-files/etc/uci-defaults/01_leds
===
--- target/linux/ramips/base-files/etc/uci-defaults/01_leds (revision 41945)
+++ target/linux/ramips/base-files/etc/uci-defaults/01_leds (working copy)
@@ -140,6 +140,14 @@
ucidef_set_led_netdev eth ETH emb:green:eth eth0
set_wifi_led emb:green:wifi
;;
+   omni-plug)
+   set_wifi_led miniplug:green:wlan
+   set_usb_led miniplug:green:mobile
+   ;;
px4885)
set_wifi_led 7links:orange:wifi
set_usb_led 7links:blue:storage
Index: target/linux/ramips/base-files/lib/ramips.sh
===
--- target/linux/ramips/base-files/lib/ramips.sh(revision 41945)
+++ target/linux/ramips/base-files/lib/ramips.sh(working copy)
@@ -187,6 +187,9 @@
*Omnima MiniEMBWiFi)
name=omni-emb
;;
+   *Omnima MiniPlug)
+   name=omni-plug
+   ;;
*Petatel PSR-680W*)
name=psr-680w
;;
Index: target/linux/ramips/base-files/lib/upgrade/platform.sh
===
--- target/linux/ramips/base-files/lib/upgrade/platform.sh  (revision 41945)
+++ target/linux/ramips/base-files/lib/upgrade/platform.sh  (working copy)
@@ -64,6 +64,7 @@
nw718 | \
omni-emb | \
omni-emb-hpm | \
+   omni-plug | \
psr-680w | \
px4885 | \
rp-n53 | \
Index: target/linux/ramips/dts/OMNI-PLUG.dts
===
--- target/linux/ramips/dts/OMNI-PLUG.dts   (revision 0)
+++ target/linux/ramips/dts/OMNI-PLUG.dts   (working copy)
@@ -0,0 +1,113 @@
+/dts-v1/;
+
+/include/ rt5350.dtsi
+
+/ {
+   compatible = OMNI-PLUG, ralink,rt5350-soc;
+   model = Omnima MiniPlug;
+   
+   pinctrl {
+   state_default: pinctrl0 {
+   gpio {
+   ralink,group = i2c, jtag, uartf;
+   ralink,function = gpio;
+   };
+   };
+   };
+   
+   gpio-leds {
+   compatible = gpio-leds;
+   wlan {
+   label = miniplug:red:wlan;
+   gpios = gpio0 9 0;
+   };
+   mobile {
+   label = miniplug:green:mobile;
+   gpios = gpio0 13 1;
+   };
+   };
+
+   gpio-keys-polled {
+   compatible = gpio-keys-polled;
+   #address-cells = 1;
+   #size-cells = 0;
+   poll-interval = 20;
+   wps {
+   label = wps;
+   gpios = gpio0 0 1;
+   linux,code = 0x211;
+   };
+   reset {
+   label = reset;
+   gpios = gpio0 10 1;
+   linux,code = 0x211;
+   };
+   mode-one {
+   label = mode1;
+   gpios = gpio0 11 1;
+   linux,code = 0x211;
+   };
+   mode-two {
+   label = mode2;
+   gpios = gpio0 12 1;
+   linux,code = 0x211;
+   };
+   };
+
+   palmbus@1000 {
+   gpio0: gpio@600 {
+   status = okay;
+   };
+
+   spi@b00 {
+   status = okay;
+   m25p80@0 {
+   #address-cells = 1;
+   #size-cells = 1;
+   compatible = mx25l6405d;
+   reg = 0 0;
+   linux,modalias = m25p80, mx25l6405d;
+   spi-max-frequency = 1000;
+
+   partition@0 {
+   label = u-boot;
+   reg = 0x0 0x3;
+   read-only;
+   };
+
+   partition@3 {
+   label = u-boot-env;
+   reg = 0x3 0x1;
+   read-only;
+   };
+
+   factory: partition@4 {
+   label = factory;
+   reg = 0x4 0x1;
+   read-only;
+ 

[OpenWrt-Devel] USB crash when USB WiFi dongle is used (RTL8192CU) - WDR4300

2014-08-05 Thread Łukasz Baj
Hi,

I'm trying to use Edimax USB WiFi dongle (based on RTL8192CU) with TP-Link
WDR4300 router. I have tried also two different kernels 3.10.49 and
3.14.12. When I connect this dongle to USB and then disconnect it I see
following crash and USB stops working. Any ideas how to fix this problem?

  129.65] usb 1-1.1.1: new high-speed USB device number 5 using
ehci-platform
[  129.78] rtl8192cu: Chip version 0x10
[  129.92] rtl8192cu: MAC address: 80:1f:02:e6:91:36
[  129.92] rtl8192cu: Board Type 0
[  129.92] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[  129.93] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[  130.13] ieee80211 phy2: Selected rate control algorithm 'rtl_rc'
[  130.14] rtlwifi: wireless switch is on
[  143.75] usb 1-1.1.1: USB disconnect, device number 5
[  143.78] CPU 0 Unable to handle kernel paging request at virtual
address 00100104, epc == 86e93008, ra == 86e93000
[  143.79] Oops[#1]:
[  143.79] CPU: 0 PID: 292 Comm: khubd Not tainted 3.14.12 #1
[  143.79] task: 878ad770 ti: 87b0e000 task.ti: 87b0e000
[  143.79] $ 0   :   00200200 00100100
[  143.79] $ 4   : 87b0fce0 87b0fee0 8036 0009
[  143.79] $ 8   : 000a0040 8622b480 0020 000a0040
[  143.79] $12   : 0013 000e 0007 0001
[  143.79] $16   : 863311a0 87b0fcd8 00100100 863311a8
[  143.79] $20   : 863311a0 00200200 8634f000 87b00438
[  143.79] $24   : 8031ee50 800a27c4
[  143.79] $28   : 87b0e000 87b0fcc8  86e93000
[  143.79] Hi: 01d4
[  143.79] Lo: 0006
[  143.79] epc   : 86e93008 ieee80211_remove_interfaces+
0x128/0x1b4 [mac80211]
[  143.79] Not tainted
[  143.79] ra: 86e93000 ieee80211_remove_interfaces+0x120/0x1b4
[mac80211]
[  143.79] Status: 1100dc03 KERNEL EXL IE
[  143.79] Cause : 008c
[  143.79] BadVA : 00100104
[  143.79] PrId  : 0001974c (MIPS 74Kc)
[  143.79] Modules linked in: ath9k rtl8192cu ath9k_common rtl_usb
qcserial pppoe ppp_async option iptable_nat ath9k_hw ath usb_wwan rtlwifi
rndis_host qmi_wwan pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4
mac80211 ipt_MASQUERADE huawei_cdc_ncm cfg80211 cdc_ncm cdc_ether
ax88179_178a asix xt_time xt_tcpmss xt_string xt_statistic xt_state
xt_recent xt_quota xt_pkttype xt_owner xt_nfacct xt_nat xt_multiport
xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp
xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype
xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial
usbnet ts_kmp ts_fsm ts_bm slhc rtl8192c_common nfnetlink_acct nf_nat_irc
nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp
iptable_raw iptable_mangle iptable_filter ipt_REJECT ipt_ECN ipheth
ip_tables crc_ccitt compat cdc_wdm cdc_acm act_connmark act_skbedit
act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc
sch_ingress ledtrig_usbdev ip6t_REJECT ip6table_raw ip6table_mangle
ip6table_filter ip6_tables nf_conntrack_ipv6 nf_defrag_ipv6 ifb ipv6 arc4
crypto_blkcipher usb_storage uhci_hcd ohci_hcd ehci_platform ehci_hcd
sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common mii
crypto_hash
[  143.79] Process khubd (pid: 292, threadinfo=87b0e000, task=878ad770,
tls=)
[  143.79] Stack : 863313a0 86f6efa0   87b0fcd8
87b0fcd8 00100100 00200200
[  143.79]8634f000 86330ae0 86331460 86bce220 86f6efa0 
 86e80fac
[  143.79]0004 86330ae0 86331460 86bce220 86330ae0 86e010a0
87b0fd1c 86123798
[  143.79]86bce220 8634f000 86bce220 8634f000 86bce200 87b2c580
879ffc00 8009c92c
[  143.79]87b39180 801cf05c 86bce220 86f6efa0 87b39180 879ffc00
86bce200 801cf1ec
[  143.79]...
[  143.79] Call Trace:
[  143.79] [86e93008] ieee80211_remove_interfaces+0x128/0x1b4
[mac80211]
[  143.79] [86e80fac] ieee80211_unregister_hw+0x3c/0xe4 [mac80211]
[  143.79] [86e010a0] rtl_usb_disconnect+0x4c/0xf4 [rtl_usb]
[  143.79] [87b2c580] usb_deregister+0x228/0x2ec [usbcore]
[  143.79] [801cf1ec] __device_release_driver+0x6c/0xd0
[  143.79] [801cf278] device_release_driver+0x28/0x40
[  143.79] [801cec00] bus_remove_device+0xec/0x120
[  143.79] [801cc334] device_del+0x110/0x170
[  143.79] [87b2ad58] usb_disable_device+0xb0/0x1d8 [usbcore]
[  143.79] [87b22920] usb_disconnect+0xac/0x408 [usbcore]
[  143.79] [87b24a68] usb_reset_device+0xd28/0x15c8 [usbcore]
[  143.79] [80080cb4] do_exit+0x72c/0x744
[  143.79]
[  143.79]
[  143.79] Code: 27a40018  8fa2001c  8fa30018 ac620004 ac43
8fb00010  3c030010  3c020020  24630100
[  144.12] ---[ end trace 5ac30dedb278f0ff ]---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH][RFC] libubus: added max retry mechanism

2014-08-05 Thread Alexandru Ardelean
Right.

So, this email will start with an apology for all the noise, and false
alarm.

Having said that, I do owe some explanation.

[ I also found it strange that leaking that socket helped. ]
That socket, is valid though, since it was returned by usock() in
ubus_reconnect().

What really happened [and threw me off] was that I was calling
ubus_complete_deferred_request()  on an un-deferred request.
This happened after adding libcares to our module. And ares_query() has
this annoying habit of calling our callback during it's call, if it
detects/has any errors during the call.
This is annoying, because it upsets the whole async-ness of things, where
we would not expect to have our callback called, before exiting the
ares_query() exits.

So, we would do:
1) we get a request ubus request
2) start async call setup (link FDs to uloop, etc)
3a) if all went well up until now, defer called ubus request;
3b) if we got an error during setup, do not defer ubus request and reply
over ubus
4) if 3a) then our async callback finishes and completes the deferred
request

Normally we would not expect step 4) to happen before step 3), but it's
what was happening.
 The ubus_context was fine, but during ubus_complete_deferred_request() we
would send an invalid request.

One idea would be to allow the ubus_complete_deferred_request() to execute,
only if the deferred flag is set [since it only gets set by the
ubus_defer_request() call ).
Something like this:
https://github.com/commodo/ubus/commit/9e4a1d76859918ced3bd7f8d5d6b4e8c5aaa7482
But that only hides/avoids the problem.

Our fix, was to add a uloop_timeout_set( 0 ) in the callback which we give
to ares_query() and that would call our real callback, and the order of
async things would be restored for all cases (including premature errors).

That's all from me.
Apologies again.

Thanks
Alex


On Sun, Aug 3, 2014 at 3:15 PM, Felix Fietkau n...@openwrt.org wrote:

 On 2014-08-01 18:01, Alexandru Ardelean wrote:
  Back with some findings.
 
  Please check this:
 
 https://github.com/commodo/ubus/commit/c601505a6b33aa208e1a3492d3ade5ae2d853899
 That looks very wrong to me. If that triggers, you're leaking the fd.

  The current problem [high CPU usage] seems to have appeared after some
  modifications we made to the code which were related to a recent
  proposal patch I sent [ that got rejected ].
  Specifically, this one : [PATCH] libubus: handle NULL ubus_context in
  all sync requests by creating a local instance
 
  [Some context]
  We modified our code in some parts to allocate a ubus_context object for
  certain sync calls, and free it right after we're done with them [the
  calls].
  This was done in order to avoid them getting mixed with async calls on
  the same ubus_context, and avoid races [ in our logic ].
 
  We then got this high CPU usage issue.
 
  strace showed something like this [ this is just one cycle; strace was
  spewing this continuously ]:
 
 
  clock_gettime(CLOCK_MONOTONIC, {46921, 889670571}) = 0
  clock_gettime(CLOCK_MONOTONIC, {46921, 889680749}) = 0
  epoll_wait(4, {{EPOLLIN, {u32=31068896, u64=31068896}}}, 10, -1) = 1
  recvmsg(0, 0x7fff5e7ce638, 0)   = -1 EAGAIN (Resource
  temporarily unavailable)
 That looks odd, recvmsg is polling fd 0. Did you close stdin?

 
 
 
  Maybe we were also a bit too aggressive with our ubus_context alloc +
  free approach. We were doing them for each call.
  When we did some modifications to be a bit less aggressive, the high CPU
  usage was not reproduce-able [ for the case we used to reproduce it ].
 
  Also, for all our main/static ubus_context objects we add a
  connection_lost callback of our own, which essentially just does a
  ubus_reconnect() call and some setup again.
  We could try to use the ubus_auto_connect() call in the future. We
  implemented the connection_lost callback before this was implemented.
 
  Seems that after the ubus_free() call the socket would get closed, which
  would also call our connection_lost callback, which would reconnect.
  This seemed to work fine the first few sometimes [ for our case ].
  It was sometime later [ in our reproducing case 1-2 minutes ] that this
  connection_lost cb + ubus_reconnect() call would cause strace would
  start spewing continuously.
 
  If we would have left the ubus_default_connection_lost() callback, it
  would have called uloop_end() and then procd would restart our process,
  and all would be well again for a while.
  But we did not want that.
 Are you sure that this is a bug in libubus? If this is indeed the call
 from within libubus, then it appears that something may have corrupted
 the ubus_context. I think you need to take another look at the code.

  [End Some context]
 
  After trying out a few things, and tracing the code, it seemed that not
  closing the socket in 

Re: [OpenWrt-Devel] [PATCH] [luci] Improve spelling and grammar

2014-08-05 Thread Manuel Munz
Thanks, commited in http://luci.subsignal.org/trac/changeset/10467/
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [packages] Davfs2: added new package version 1.5

2014-08-05 Thread Federico Di Marco
From: Federico Di Marco fede...@gmail.com

Body of explanation:
A new package has been added in packages feed under net/davfs2
directory, porting a simple tool to mount a WebDAV resource as a
regular file system (please see
https://savannah.nongnu.org/projects/davfs2/ ) to OpenWRT. There was
also a previous ticket requesting the porting of this tool
(https://dev.openwrt.org/ticket/12843)

The patch consists of the following files:
- Makefile: standard makefile of OpenWRT packages which downloads from
the source code and compiles it into a package using the
uClibc++.
- files/davfs2.conf: configuration file for davfs2
- patches/010-main_code_fix.patch: minor fixes to allow the source
code to compile under uClibc (remove rpmatch function not present in
uclibc and other small corrections)


Sign-off:
Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: Federico Di Marco fede...@gmail.com

---

Diff output (according to https://dev.openwrt.org/wiki/SubmittingPatches/Diff)


diff -uprN packages/net/davfs2/files/davfs2.conf
mypackages/net/davfs2/files/davfs2.conf
--- packages/net/davfs2/files/davfs2.conf 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/files/davfs2.conf 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,9 @@
+#
+# davfs2 configuration file
+# please see http://linux.die.net/man/5/davfs2.conf for details
+#
+
+dav_user nobody
+dav_group nogroup
+cache_dir /tmp/davfs2
+cache_size 4
diff -uprN packages/net/davfs2/Makefile mypackages/net/davfs2/Makefile
--- packages/net/davfs2/Makefile 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/Makefile 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,74 @@
+#
+# Copyright (C) 2006-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=davfs2
+PKG_VERSION:=1.5.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/
+#PKG_MD5SUM:=0892fbf993407c6b5a16f96e23299b62
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_CAT :=zcat
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/davfs2
+  SECTION:=net
+  CATEGORY:=Network
+  SUBMENU:=Filesystem
+  DEPENDS=+libopenssl +libneon +libiconv +libintl +libexpat +kmod-fuse
+  TITLE:=Mount a WebDAV resource as a regular file system.
+  URL:=http://savannah.nongnu.org/projects/davfs2/
+endef
+
+
+define Package/davfs2/description
+Web Distributed Authoring and Versioning (WebDAV), an extension to
the HTTP-protocol, allows authoring of resources
+on a remote web server. davfs2 provides the ability to access such
resources like a typical filesystem, allowing
+for use by standard applications with no built-in support for WebDAV.
+
+davfs2 is designed to fully integrate into the filesystem semantics
of Unix-like systems (mount, umount, etc.).
+davfs2 makes mounting by unprivileged users as easy and secure as possible.
+
+davfs2 does extensive caching to make the file system responsive, to
avoid unnecessary network traffic and
+to prevent data loss, and to cope for slow or unreliable connections.
+
+davfs2 will work with most WebDAV servers needing little or no configuration.
+
+endef
+
+
+define Package/davfs2/conffiles
+/etc/davfs2/davfs2.conf
+endef
+
+TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
+
+CONFIGURE_VARS += \
+#CXXFLAGS=-nostdinc++  \
+   LDFLAGS=$(TARGET_LDFLAGS) -L$(TOOLCHAIN_DIR)/usr/lib
-L$(TOOLCHAIN_DIR)/lib \
+# LIBS=-lgcc -lc -luClibc++ -lgcc_s
+
+
+define Build/Configure
+  $(call Build/Configure/Default,--with-neon=$(STAGING_DIR)/usr)
+endef
+
+define Package/davfs2/install
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mount.davfs $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/umount.davfs $(1)/usr/sbin/
+ 

Re: [OpenWrt-Devel] [PATCH] [packages] Davfs2: added new package version 1.5

2014-08-05 Thread Daniel Petre

Hi Federico,
did you try configuring davfs2 with --disable-largefile to see if 
packaged size drops?


On 05/08/14 17:47, Federico Di Marco wrote:

From: Federico Di Marco fede...@gmail.com

Body of explanation:
A new package has been added in packages feed under net/davfs2
directory, porting a simple tool to mount a WebDAV resource as a
regular file system (please see
https://savannah.nongnu.org/projects/davfs2/ ) to OpenWRT. There was
also a previous ticket requesting the porting of this tool
(https://dev.openwrt.org/ticket/12843)

The patch consists of the following files:
- Makefile: standard makefile of OpenWRT packages which downloads from
the source code and compiles it into a package using the
uClibc++.
- files/davfs2.conf: configuration file for davfs2
- patches/010-main_code_fix.patch: minor fixes to allow the source
code to compile under uClibc (remove rpmatch function not present in
uclibc and other small corrections)


Sign-off:
Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
 have the right to submit it under the open source license
 indicated in the file; or

(b) The contribution is based upon previous work that, to the best
 of my knowledge, is covered under an appropriate open source
 license and I have the right under that license to submit that
 work with modifications, whether created in whole or in part
 by me, under the same open source license (unless I am
 permitted to submit under a different license), as indicated
 in the file; or

(c) The contribution was provided directly to me by some other
 person who certified (a), (b) or (c) and I have not modified
 it.

(d) I understand and agree that this project and the contribution
 are public and that a record of the contribution (including all
 personal information I submit with it, including my sign-off) is
 maintained indefinitely and may be redistributed consistent with
 this project or the open source license(s) involved.

Signed-off-by: Federico Di Marco fede...@gmail.com

---

Diff output (according to https://dev.openwrt.org/wiki/SubmittingPatches/Diff)


diff -uprN packages/net/davfs2/files/davfs2.conf
mypackages/net/davfs2/files/davfs2.conf
--- packages/net/davfs2/files/davfs2.conf 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/files/davfs2.conf 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,9 @@
+#
+# davfs2 configuration file
+# please see http://linux.die.net/man/5/davfs2.conf for details
+#
+
+dav_user nobody
+dav_group nogroup
+cache_dir /tmp/davfs2
+cache_size 4
diff -uprN packages/net/davfs2/Makefile mypackages/net/davfs2/Makefile
--- packages/net/davfs2/Makefile 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/Makefile 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,74 @@
+#
+# Copyright (C) 2006-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=davfs2
+PKG_VERSION:=1.5.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/
+#PKG_MD5SUM:=0892fbf993407c6b5a16f96e23299b62
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_CAT :=zcat
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/davfs2
+  SECTION:=net
+  CATEGORY:=Network
+  SUBMENU:=Filesystem
+  DEPENDS=+libopenssl +libneon +libiconv +libintl +libexpat +kmod-fuse
+  TITLE:=Mount a WebDAV resource as a regular file system.
+  URL:=http://savannah.nongnu.org/projects/davfs2/
+endef
+
+
+define Package/davfs2/description
+Web Distributed Authoring and Versioning (WebDAV), an extension to
the HTTP-protocol, allows authoring of resources
+on a remote web server. davfs2 provides the ability to access such
resources like a typical filesystem, allowing
+for use by standard applications with no built-in support for WebDAV.
+
+davfs2 is designed to fully integrate into the filesystem semantics
of Unix-like systems (mount, umount, etc.).
+davfs2 makes mounting by unprivileged users as easy and secure as possible.
+
+davfs2 does extensive caching to make the file system responsive, to
avoid unnecessary network traffic and
+to prevent data loss, and to cope for slow or unreliable connections.
+
+davfs2 will work with most WebDAV servers needing little or no configuration.
+
+endef
+
+
+define Package/davfs2/conffiles
+/etc/davfs2/davfs2.conf
+endef
+
+TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
+
+CONFIGURE_VARS += \
+#CXXFLAGS=-nostdinc++  \
+   LDFLAGS=$(TARGET_LDFLAGS) -L$(TOOLCHAIN_DIR)/usr/lib
-L$(TOOLCHAIN_DIR)/lib \
+# LIBS=-lgcc -lc -luClibc++ -lgcc_s
+
+
+define Build/Configure
+  $(call Build/Configure/Default,--with-neon=$(STAGING_DIR)/usr)
+endef
+
+define Package/davfs2/install
+ 

Re: [OpenWrt-Devel] [PATCH] [packages] EmailRelay: added new package version 1.9

2014-08-05 Thread Federico Di Marco
Hi,

PR done as requested, please see https://github.com/openwrt/packages/pull/161.

Federico

On Fri, Jul 11, 2014 at 8:41 AM, Etienne Champetier
champetier.etie...@gmail.com wrote:
 Hi, please make a PR to https://github.com/openwrt/packages

 Le 1 juil. 2014 02:53, Federico Di Marco fede...@gmail.com a écrit :

 From: Federico Di Marco fede...@gmail.com

 Body of explanation:
 A new package has been added in packages feed under net/emailrelay
 directory, porting a simple SMTP proxy and store-and-forward message
 transfer agent (MTA) called EmailRelay (please see
 http://emailrelay.sourceforge.net/) to OpenWRT.
 The patch consists of the following files:
 - Makefile: standard makefile of OpenWRT packages which downloads from
 sourceforge the source code and compiles it into a package using the
 uClibc++.
 - Makefile.libstdc++: alternative makefile to perform compilation with
 the standard c++ library.
 - files/emailrelay.auth: configuration file for emailrelay
 - files/emailrelay.init: simple shell script for managing service
 installation and startup.


 Sign-off:
 Developer's Certificate of Origin 1.1

 By making a contribution to this project, I certify that:

 (a) The contribution was created in whole or in part by me and I
 have the right to submit it under the open source license
 indicated in the file; or

 (b) The contribution is based upon previous work that, to the best
 of my knowledge, is covered under an appropriate open source
 license and I have the right under that license to submit that
 work with modifications, whether created in whole or in part
 by me, under the same open source license (unless I am
 permitted to submit under a different license), as indicated
 in the file; or

 (c) The contribution was provided directly to me by some other
 person who certified (a), (b) or (c) and I have not modified
 it.

 (d) I understand and agree that this project and the contribution
 are public and that a record of the contribution (including all
 personal information I submit with it, including my sign-off) is
 maintained indefinitely and may be redistributed consistent with
 this project or the open source license(s) involved.

 Signed-off-by: Federico Di Marco fede...@gmail.com

 ---

 Diff output (according to
 https://dev.openwrt.org/wiki/SubmittingPatches/Diff)

 diff -uprN packages/net/emailrelay/files/emailrelay.auth
 mypackages/net/emailrelay/files/emailrelay.auth
 --- packages/net/emailrelay/files/emailrelay.auth 1970-01-01
 01:00:00.0 +0100
 +++ mypackages/net/emailrelay/files/emailrelay.auth 2014-07-01
 01:56:20.297997383 +0200
 @@ -0,0 +1,16 @@
 +#
 +# emailrelay secrets file
 +#
 +#see http://emailrelay.sourceforge.net/reference.html for reference
 +
 +#Mostly used options:
 +#
 +#NONE server specifies ip address range allowed to connect to
 emailrelay SMTP server
 +#LOGIN client specifies the credentials to be used when forwarding
 emails to another SMTP server
 +#LOGIN server specifies the credentials to be needed to authenticate
 with the emailrelay SMTP server
 +
 +#Examples:
 +#
 +#NONE server 192.168.1.* keyword
 +#LOGIN client smtpuser@smtpserver smtppassword
 +#LOGIN server user1 secret
 \ No newline at end of file
 diff -uprN packages/net/emailrelay/files/emailrelay.init
 mypackages/net/emailrelay/files/emailrelay.init
 --- packages/net/emailrelay/files/emailrelay.init 1970-01-01
 01:00:00.0 +0100
 +++ mypackages/net/emailrelay/files/emailrelay.init 2014-07-01
 01:56:20.293997264 +0200
 @@ -0,0 +1,15 @@
 +#!/bin/sh /etc/rc.common
 +#see http://emailrelay.sourceforge.net/reference.html for command
 line reference
 +
 +START=90
 +
 +
 +start() {
 +logger -t 'emailrelay' Starting emailrelay service.
 +service_start emailrelay --as-server --poll 60 --forward-to
 smtpserver:smtpport --spool-dir /tmp --client-tls --client-auth
 /etc/emailrelay.auth --server-auth /etc/emailrelay.auth --log
 +}
 +
 +stop() {
 +logger -t 'emailrelay' Stopping emailrelay service.
 +killall -9 emailrelay
 +}
 diff -uprN packages/net/emailrelay/Makefile
 mypackages/net/emailrelay/Makefile
 --- packages/net/emailrelay/Makefile 1970-01-01 01:00:00.0 +0100
 +++ mypackages/net/emailrelay/Makefile 2014-07-01 01:56:20.297997383 +0200
 @@ -0,0 +1,75 @@
 +#
 +# Copyright (C) 2006-2011 OpenWrt.org
 +#
 +# This is free software, licensed under the GNU General Public License
 v2.
 +# See /LICENSE for more information.
 +#
 +
 +include $(TOPDIR)/rules.mk
 +
 +PKG_NAME:=emailrelay
 +PKG_VERSION:=1.9
 +PKG_RELEASE:=1
 +
 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
 +PKG_SOURCE_URL:=@SF/emailrelay/$(PKG_VERSION)
 +PKG_MD5SUM:=0892fbf993407c6b5a16f96e23299b62
 +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 +PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 +PKG_CAT :=zcat
 +
 +include $(INCLUDE_DIR)/package.mk
 +
 +define Package/emailrelay
 +  SECTION:=net
 +  CATEGORY:=Network
 +  

Re: [OpenWrt-Devel] [PATCH] [packages] Davfs2: added new package version 1.5

2014-08-05 Thread Federico Di Marco
No, not even tried. On ar71xx platform the final .ipk package size is
less than 43KB, is that too big ?!?!?

-rw-r--r--1 root root 42487 Aug  5 16:03
davfs2_1.5.0-1_ar71xx.ipk

P.S. please reply also to me and not only to mailing list, thank you.

On Tue, Aug 5, 2014 at 16:58:25 CEST 2014 Daniel Petre daniel.petre at
gmail.com wrote:

Hi Federico,
did you try configuring davfs2 with --disable-largefile to see if
packaged size drops?

On Tue, Aug 5, 2014 at 4:47 PM, Federico Di Marco fede...@gmail.com wrote:
 From: Federico Di Marco fede...@gmail.com

 Body of explanation:
 A new package has been added in packages feed under net/davfs2
 directory, porting a simple tool to mount a WebDAV resource as a
 regular file system (please see
 https://savannah.nongnu.org/projects/davfs2/ ) to OpenWRT. There was
 also a previous ticket requesting the porting of this tool
 (https://dev.openwrt.org/ticket/12843)

 The patch consists of the following files:
 - Makefile: standard makefile of OpenWRT packages which downloads from
 the source code and compiles it into a package using the
 uClibc++.
 - files/davfs2.conf: configuration file for davfs2
 - patches/010-main_code_fix.patch: minor fixes to allow the source
 code to compile under uClibc (remove rpmatch function not present in
 uclibc and other small corrections)


 Sign-off:
 Developer's Certificate of Origin 1.1

 By making a contribution to this project, I certify that:

 (a) The contribution was created in whole or in part by me and I
 have the right to submit it under the open source license
 indicated in the file; or

 (b) The contribution is based upon previous work that, to the best
 of my knowledge, is covered under an appropriate open source
 license and I have the right under that license to submit that
 work with modifications, whether created in whole or in part
 by me, under the same open source license (unless I am
 permitted to submit under a different license), as indicated
 in the file; or

 (c) The contribution was provided directly to me by some other
 person who certified (a), (b) or (c) and I have not modified
 it.

 (d) I understand and agree that this project and the contribution
 are public and that a record of the contribution (including all
 personal information I submit with it, including my sign-off) is
 maintained indefinitely and may be redistributed consistent with
 this project or the open source license(s) involved.

 Signed-off-by: Federico Di Marco fede...@gmail.com

 ---

 Diff output (according to https://dev.openwrt.org/wiki/SubmittingPatches/Diff)


 diff -uprN packages/net/davfs2/files/davfs2.conf
 mypackages/net/davfs2/files/davfs2.conf
 --- packages/net/davfs2/files/davfs2.conf 1970-01-01 01:00:00.0 +0100
 +++ mypackages/net/davfs2/files/davfs2.conf 2014-08-05 16:32:10.767885118 
 +0200
 @@ -0,0 +1,9 @@
 +#
 +# davfs2 configuration file
 +# please see http://linux.die.net/man/5/davfs2.conf for details
 +#
 +
 +dav_user nobody
 +dav_group nogroup
 +cache_dir /tmp/davfs2
 +cache_size 4
 diff -uprN packages/net/davfs2/Makefile mypackages/net/davfs2/Makefile
 --- packages/net/davfs2/Makefile 1970-01-01 01:00:00.0 +0100
 +++ mypackages/net/davfs2/Makefile 2014-08-05 16:32:10.767885118 +0200
 @@ -0,0 +1,74 @@
 +#
 +# Copyright (C) 2006-2011 OpenWrt.org
 +#
 +# This is free software, licensed under the GNU General Public License v2.
 +# See /LICENSE for more information.
 +#
 +
 +include $(TOPDIR)/rules.mk
 +
 +PKG_NAME:=davfs2
 +PKG_VERSION:=1.5.0
 +PKG_RELEASE:=1
 +
 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 +PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/
 +#PKG_MD5SUM:=0892fbf993407c6b5a16f96e23299b62
 +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 +PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 +PKG_CAT :=zcat
 +
 +include $(INCLUDE_DIR)/package.mk
 +
 +define Package/davfs2
 +  SECTION:=net
 +  CATEGORY:=Network
 +  SUBMENU:=Filesystem
 +  DEPENDS=+libopenssl +libneon +libiconv +libintl +libexpat +kmod-fuse
 +  TITLE:=Mount a WebDAV resource as a regular file system.
 +  URL:=http://savannah.nongnu.org/projects/davfs2/
 +endef
 +
 +
 +define Package/davfs2/description
 +Web Distributed Authoring and Versioning (WebDAV), an extension to
 the HTTP-protocol, allows authoring of resources
 +on a remote web server. davfs2 provides the ability to access such
 resources like a typical filesystem, allowing
 +for use by standard applications with no built-in support for WebDAV.
 +
 +davfs2 is designed to fully integrate into the filesystem semantics
 of Unix-like systems (mount, umount, etc.).
 +davfs2 makes mounting by unprivileged users as easy and secure as possible.
 +
 +davfs2 does extensive caching to make the file system responsive, to
 avoid unnecessary network traffic and
 +to prevent data loss, and to cope for slow or unreliable connections.
 +
 +davfs2 will work with most WebDAV servers needing 

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-08-05 Thread Florian Fainelli
On Aug 5, 2014 12:50 AM, Steven Barth cy...@openwrt.org wrote:

 To be fair I introduced IFLA_IPTUN_ stuff earlier with MAP-encapsulation
support. My general impression was that we do not care about 3.10 targets
any more.

 So even if Hans provides some patches for GRE it will not help much since
MAP-support does the same.

As long as this builds correctly for older kernels, I have no objection.
Whether that means a cmake switch and checking for these constants, or
provide empty stubs of support for GRE in the kernel has not been detected,
either way is fine.



 Cheers,

 Steven

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [packages] Davfs2: added new package version 1.5

2014-08-05 Thread Federico Di Marco
Sorry I forgot to send also the email to you, I tried also with the
option --disable-largefile it just saves 1KB (42471).


-- Forwarded message --
From: Federico Di Marco fede...@gmail.com
Date: Tue, Aug 5, 2014 at 6:09 PM
Subject: Re: [PATCH] [packages] Davfs2: added new package version 1.5
To: openwrt-devel@lists.openwrt.org


No, not even tried. On ar71xx platform the final .ipk package size is
less than 43KB, is that too big ?!?!?

-rw-r--r--1 root root 42487 Aug  5 16:03
davfs2_1.5.0-1_ar71xx.ipk

P.S. please reply also to me and not only to mailing list, thank you.

On Tue, Aug 5, 2014 at 16:58:25 CEST 2014 Daniel Petre daniel.petre at
gmail.com wrote:

Hi Federico,
did you try configuring davfs2 with --disable-largefile to see if
packaged size drops?

On Tue, Aug 5, 2014 at 4:47 PM, Federico Di Marco fede...@gmail.com wrote:
 From: Federico Di Marco fede...@gmail.com

 Body of explanation:
 A new package has been added in packages feed under net/davfs2
 directory, porting a simple tool to mount a WebDAV resource as a
 regular file system (please see
 https://savannah.nongnu.org/projects/davfs2/ ) to OpenWRT. There was
 also a previous ticket requesting the porting of this tool
 (https://dev.openwrt.org/ticket/12843)

 The patch consists of the following files:
 - Makefile: standard makefile of OpenWRT packages which downloads from
 the source code and compiles it into a package using the
 uClibc++.
 - files/davfs2.conf: configuration file for davfs2
 - patches/010-main_code_fix.patch: minor fixes to allow the source
 code to compile under uClibc (remove rpmatch function not present in
 uclibc and other small corrections)


 Sign-off:
 Developer's Certificate of Origin 1.1

 By making a contribution to this project, I certify that:

 (a) The contribution was created in whole or in part by me and I
 have the right to submit it under the open source license
 indicated in the file; or

 (b) The contribution is based upon previous work that, to the best
 of my knowledge, is covered under an appropriate open source
 license and I have the right under that license to submit that
 work with modifications, whether created in whole or in part
 by me, under the same open source license (unless I am
 permitted to submit under a different license), as indicated
 in the file; or

 (c) The contribution was provided directly to me by some other
 person who certified (a), (b) or (c) and I have not modified
 it.

 (d) I understand and agree that this project and the contribution
 are public and that a record of the contribution (including all
 personal information I submit with it, including my sign-off) is
 maintained indefinitely and may be redistributed consistent with
 this project or the open source license(s) involved.

 Signed-off-by: Federico Di Marco fede...@gmail.com

 ---

 Diff output (according to https://dev.openwrt.org/wiki/SubmittingPatches/Diff)


 diff -uprN packages/net/davfs2/files/davfs2.conf
 mypackages/net/davfs2/files/davfs2.conf
 --- packages/net/davfs2/files/davfs2.conf 1970-01-01 01:00:00.0 +0100
 +++ mypackages/net/davfs2/files/davfs2.conf 2014-08-05 16:32:10.767885118 
 +0200
 @@ -0,0 +1,9 @@
 +#
 +# davfs2 configuration file
 +# please see http://linux.die.net/man/5/davfs2.conf for details
 +#
 +
 +dav_user nobody
 +dav_group nogroup
 +cache_dir /tmp/davfs2
 +cache_size 4
 diff -uprN packages/net/davfs2/Makefile mypackages/net/davfs2/Makefile
 --- packages/net/davfs2/Makefile 1970-01-01 01:00:00.0 +0100
 +++ mypackages/net/davfs2/Makefile 2014-08-05 16:32:10.767885118 +0200
 @@ -0,0 +1,74 @@
 +#
 +# Copyright (C) 2006-2011 OpenWrt.org
 +#
 +# This is free software, licensed under the GNU General Public License v2.
 +# See /LICENSE for more information.
 +#
 +
 +include $(TOPDIR)/rules.mk
 +
 +PKG_NAME:=davfs2
 +PKG_VERSION:=1.5.0
 +PKG_RELEASE:=1
 +
 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 +PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/
 +#PKG_MD5SUM:=0892fbf993407c6b5a16f96e23299b62
 +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 +PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 +PKG_CAT :=zcat
 +
 +include $(INCLUDE_DIR)/package.mk
 +
 +define Package/davfs2
 +  SECTION:=net
 +  CATEGORY:=Network
 +  SUBMENU:=Filesystem
 +  DEPENDS=+libopenssl +libneon +libiconv +libintl +libexpat +kmod-fuse
 +  TITLE:=Mount a WebDAV resource as a regular file system.
 +  URL:=http://savannah.nongnu.org/projects/davfs2/
 +endef
 +
 +
 +define Package/davfs2/description
 +Web Distributed Authoring and Versioning (WebDAV), an extension to
 the HTTP-protocol, allows authoring of resources
 +on a remote web server. davfs2 provides the ability to access such
 resources like a typical filesystem, allowing
 +for use by standard applications with no built-in support for WebDAV.
 +
 +davfs2 is designed to fully integrate into the filesystem semantics
 of Unix-like 

Re: [OpenWrt-Devel] [PATCH] [packages] Davfs2: added new package version 1.5

2014-08-05 Thread Daniel Petre



On 05/08/14 19:09, Federico Di Marco wrote:

No, not even tried. On ar71xx platform the final .ipk package size is
less than 43KB, is that too big ?!?!?


not that bad for a 8 Mb flash router but still pulls some extra libs..
thanks for the package, i was preparing one myself :)



-rw-r--r--1 root root 42487 Aug  5 16:03
davfs2_1.5.0-1_ar71xx.ipk

P.S. please reply also to me and not only to mailing list, thank you.

On Tue, Aug 5, 2014 at 16:58:25 CEST 2014 Daniel Petre daniel.petre at
gmail.com wrote:

Hi Federico,
did you try configuring davfs2 with --disable-largefile to see if
packaged size drops?

On Tue, Aug 5, 2014 at 4:47 PM, Federico Di Marco fede...@gmail.com wrote:

From: Federico Di Marco fede...@gmail.com

Body of explanation:
A new package has been added in packages feed under net/davfs2
directory, porting a simple tool to mount a WebDAV resource as a
regular file system (please see
https://savannah.nongnu.org/projects/davfs2/ ) to OpenWRT. There was
also a previous ticket requesting the porting of this tool
(https://dev.openwrt.org/ticket/12843)

The patch consists of the following files:
- Makefile: standard makefile of OpenWRT packages which downloads from
the source code and compiles it into a package using the
uClibc++.
- files/davfs2.conf: configuration file for davfs2
- patches/010-main_code_fix.patch: minor fixes to allow the source
code to compile under uClibc (remove rpmatch function not present in
uclibc and other small corrections)


Sign-off:
Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
 have the right to submit it under the open source license
 indicated in the file; or

(b) The contribution is based upon previous work that, to the best
 of my knowledge, is covered under an appropriate open source
 license and I have the right under that license to submit that
 work with modifications, whether created in whole or in part
 by me, under the same open source license (unless I am
 permitted to submit under a different license), as indicated
 in the file; or

(c) The contribution was provided directly to me by some other
 person who certified (a), (b) or (c) and I have not modified
 it.

(d) I understand and agree that this project and the contribution
 are public and that a record of the contribution (including all
 personal information I submit with it, including my sign-off) is
 maintained indefinitely and may be redistributed consistent with
 this project or the open source license(s) involved.

Signed-off-by: Federico Di Marco fede...@gmail.com

---

Diff output (according to https://dev.openwrt.org/wiki/SubmittingPatches/Diff)


diff -uprN packages/net/davfs2/files/davfs2.conf
mypackages/net/davfs2/files/davfs2.conf
--- packages/net/davfs2/files/davfs2.conf 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/files/davfs2.conf 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,9 @@
+#
+# davfs2 configuration file
+# please see http://linux.die.net/man/5/davfs2.conf for details
+#
+
+dav_user nobody
+dav_group nogroup
+cache_dir /tmp/davfs2
+cache_size 4
diff -uprN packages/net/davfs2/Makefile mypackages/net/davfs2/Makefile
--- packages/net/davfs2/Makefile 1970-01-01 01:00:00.0 +0100
+++ mypackages/net/davfs2/Makefile 2014-08-05 16:32:10.767885118 +0200
@@ -0,0 +1,74 @@
+#
+# Copyright (C) 2006-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=davfs2
+PKG_VERSION:=1.5.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/
+#PKG_MD5SUM:=0892fbf993407c6b5a16f96e23299b62
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_CAT :=zcat
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/davfs2
+  SECTION:=net
+  CATEGORY:=Network
+  SUBMENU:=Filesystem
+  DEPENDS=+libopenssl +libneon +libiconv +libintl +libexpat +kmod-fuse
+  TITLE:=Mount a WebDAV resource as a regular file system.
+  URL:=http://savannah.nongnu.org/projects/davfs2/
+endef
+
+
+define Package/davfs2/description
+Web Distributed Authoring and Versioning (WebDAV), an extension to
the HTTP-protocol, allows authoring of resources
+on a remote web server. davfs2 provides the ability to access such
resources like a typical filesystem, allowing
+for use by standard applications with no built-in support for WebDAV.
+
+davfs2 is designed to fully integrate into the filesystem semantics
of Unix-like systems (mount, umount, etc.).
+davfs2 makes mounting by unprivileged users as easy and secure as possible.
+
+davfs2 does extensive caching to make the file system responsive, to
avoid unnecessary network traffic and
+to prevent data loss, and to cope for slow 

Re: [OpenWrt-Devel] [PATCH 1/2] ar8216: add new phyid 0x004dd043 (ar8326)

2014-08-05 Thread Alexander Couzens
 Missing Signed-off-by tag, please re-submit, the same applies to your 
 second patch in this series.

I know, but it's to late :(. Already committed in rev41636.

best,
lynxis
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [luci] Improve spelling and grammar

2014-08-05 Thread Alex Henrie
Thank you!

-Alex
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] build jffs2 img for rt5350(ramips)

2014-08-05 Thread zhenjun_...@icloudaegis.com
Hi,
Openwrt build jffs2 root only after selecting jffs2 in menuconfig.  I want to 
get the sysupgrade bin file 
like squashfs for rt5350(ramips).
Can someone help me?

Best regards



zhenjun_...@icloudaegis.com
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Explanation of LED infrastructure

2014-08-05 Thread Russell Senior

I am working with the AsiaRF AWM002/AWM003 modules (primarily the
latter) in their EVB eval board.  It seems that the LED configuration
is broken.  In the process of trying to figure out how to fix it, I'm
confronted by the unfortunate reality that I don't understand how the
full chain from DTS to blinking LEDs works.  I am hoping that someone
can clarify or at least clue-ify me so that I can fix my current
problem and be in a position to fix future ones.

I am referring to trunk, as of r41997.

There is a DTS (target/linux/ramips/dts/AWM003-EVB.dts) for the board,
which includes some LED configuration:

gpio-leds {
compatible = gpio-leds;
tx {
label = awm002-evb:green:tx;
gpios = gpio0 15 1;
};
rx {
label = awm002-evb:green:rx;
gpios = gpio0 16 1;
};
wps {
label = awm002-evb:green:wps;
gpios = gpio0 21 1;
};
};


However, on boot, these LEDs do not appear in sysfs.  The contents of
/sys/class/leds/ is:

  lrwxrwxrwx  1 root  root  0 Aug  5 17:45 rt2800soc-phy0::assoc - 
../../devices/1018.wmac/leds/rt2800soc-phy0::assoc
  lrwxrwxrwx  1 root  root  0 Aug  5 17:45 rt2800soc-phy0::quality - 
../../devices/1018.wmac/leds/rt2800soc-phy0::quality
  lrwxrwxrwx  1 root  root  0 Aug  5 17:45 rt2800soc-phy0::radio - 
../../devices/1018.wmac/leds/rt2800soc-phy0::radio

These do not appear to be the same LEDs as in the DTS, which leads me
to wonder how the hell the sysfs gets populated and what my build is
missing.  There is the additional infrastructure in:

  target/linux/ramips/base-files/etc/uci-defaults/01_leds

and 

  target/linux/ramips/base-files/etc/diag.sh

but as far as I can tell, I am going off the rails earlier in the
process (munging those didn't seem to help).  

The jump between the DTS and the sysfs is the magical part I am not
understanding.  If someone could explain that, I would most appreciate
it.  git grep'ing in the tree isn't finding where the connection is
taking place for me, or what might be going wrong.  Maybe the
explanation for my non-workingness is that there is no connection?

Thanks for any clues!


-- 
Russell Senior, President
russ...@personaltelco.net
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] freeradius2: please reenable missing freeradius2-mod-ldap

2014-08-05 Thread Lars Buerding
Hello,

trying to test bb-14.07-rc2 on my routers, i found the package 
freeradius2-mod-ldap missing
which i need in my images - and it worked fine since i first used it in 
backfire.

Digging down the reason for that, I found it disabled in the Makefile.

The package builds just fine when i just reenable it.
Is there a specific reason for that? Otherwise it would be nice to have it 
reenabled in the
default builds before 14.07 is released.


Thanks,
Lars



diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index 194913d..57bbfd6 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/Makefile
@@ -415,14 +415,14 @@ PKG_DICTIONARIES:= \
microsoft \
wispr \

-#ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-ldap),)
-#  CONFIGURE_ARGS+= \
-#  --with-rlm_ldap-include-dir=$(STAGING_DIR)/usr/include \
-#  --with-rlm_ldap-lib-dir=$(STAGING_DIR)/usr/lib
-#  CONFIGURE_LIBS+= -lcrypto -lssl
-#else
+ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-ldap),)
+  CONFIGURE_ARGS+= \
+   --with-rlm_ldap-include-dir=$(STAGING_DIR)/usr/include \
+   --with-rlm_ldap-lib-dir=$(STAGING_DIR)/usr/lib
+  CONFIGURE_LIBS+= -lcrypto -lssl
+else
   CONFIGURE_ARGS+= --without-rlm_ldap
-#endif
+endif

 #ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sql-mysql),)
 #  CONFIGURE_ARGS+= \
@@ -612,7 +612,7 @@ $(eval $(call 
BuildPlugin,freeradius2-mod-exec,rlm_exec,modules/exec modules/ech
 $(eval $(call 
BuildPlugin,freeradius2-mod-attr-rewrite,rlm_attr_rewrite,modules/attr_rewrite,modules,))
 $(eval $(call BuildPlugin,freeradius2-mod-files,rlm_files,acct_users 
preproxy_users users modules/files,modules,))
 $(eval $(call 
BuildPlugin,freeradius2-mod-passwd,rlm_passwd,modules/passwd,modules,))
-#$(eval $(call BuildPlugin,freeradius2-mod-ldap,rlm_ldap,ldap.attrmap 
modules/ldap,modules,))
+$(eval $(call BuildPlugin,freeradius2-mod-ldap,rlm_ldap,ldap.attrmap 
modules/ldap,modules,))
 $(eval $(call 
BuildPlugin,freeradius2-mod-mschap,rlm_mschap,modules/mschap,modules,))
 $(eval $(call BuildPlugin,freeradius2-mod-pap,rlm_pap,modules/pap,modules,))
 $(eval $(call BuildPlugin,freeradius2-mod-preprocess,rlm_preprocess,hints 
huntgroups modules/preprocess,modules,))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel