aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: fix crash when unloading drivers (#17706)Felix Fietkau2014-08-291-0/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42329
* procd: run the mdns register outside the sub shell containerJohn Crispin2014-08-291-3/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42327
* dropbear: add mdns support to the init.d scriptJohn Crispin2014-08-291-2/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42326
* mdns: update to latest gitJohn Crispin2014-08-292-2/+3
| | | | | | | | | | | | * ipv6 * 4 bugs in the dns parser * service announcement * tx goodbye support * proper handling of rx goodbye Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42325
* procd: update to latest git HEADJohn Crispin2014-08-292-2/+46
| | | | | | | | this adds a interafce.update trigger and mdns service registration helpers Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42324
* dnsmasq: Make the --dhcp-host logic easier to understandJohn Crispin2014-08-281-6/+8
| | | | | | | | | | | Use an if/else statement to cover the two different syntaxes. Add comments explaining what the end results should look like. This patch should not change the script's output. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> SVN-Revision: 42320
* dnsmasq: Fix hosts file format when MAC address is not specifiedJohn Crispin2014-08-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | An entry like this in /etc/config/dhcp: config 'host' option 'name' 'pc2' option 'ip' '192.168.100.56' option 'dns' '1' results in a /tmp/hosts/dhcp entry that looks like this: 192.168.100.56 .lan Obviously it should say "pc2.lan". This happens because $name is set to "" in order to support the MAC-less syntax: "--dhcp-host=lap,192.168.0.199". Fix this by reordering the operations. Also, refuse to add a DNS entry if the hostname or IP is missing. Fixes #17683 Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr> Signed-off-by: Kevin Cernekee <cernekee@gmail.com> SVN-Revision: 42319
* dnsmasq: Create rDNS records for LuCI "Hostnames"John Crispin2014-08-281-6/+3
| | | | | | | | | | | | | LuCI creates "domain" UCI config sections, which the dnsmasq init file then, currently, translates into "address" config lines. This is not the correct usage of "address" (see r36943), and also causes rDNS records to not be created. This patches dnsmasq.init to utilize the additional hosts file introduced in r40799 for such domain names, resolving both issues. Signed-off-by: Tyler Fenby <tylerf@securecominc.com> SVN-Revision: 42318
* kernel: revert [40784]Nicolas Thill2014-08-271-1/+1
| | | | SVN-Revision: 42307
* kernel: add package for huawei ncm modemsJohn Crispin2014-08-261-0/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42304
* umbim: update to latest gitJohn Crispin2014-08-261-2/+2
| | | | | | | | add pincode sanitization and handling for authproto/user/pass Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42299
* usbmode: update to latest gitJohn Crispin2014-08-262-2/+5
| | | | | | | | this adds support for a new mode MBIM that auto detects the bConfigurationValue. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42298
* kernel: add ohci-platform.ko for 3.11+John Crispin2014-08-251-1/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42288
* uhttpd: do not configure TLS parameters if libustream-ssl is not presentJo-Philipp Wich2014-08-252-3/+3
| | | | | | | | | | | | A quite frequent problem after sysupgrading from an older, SSL enabled build is that ustream-ssl is not installed so uhttpd fails to come up again due to https listening directives in the preserved configuration. Skip key/cert and ssl listen options when libustream-ssl.so is not present. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42284
* mac80211/rt2x00: allow disabling bands through dtsJohn Crispin2014-08-251-0/+27
| | | | | | | | | | | | | Add dts property ralink,2ghz and ralink,5ghz e.g. disable 2ghz band: wmac@10180000 { status = "okay"; ralink,2ghz = <0>; } Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 42281
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-257-26/+0
| | | | | | | | | | | | | | | | | | | | | | somebody started to set a function returncode in the validation stuff and everybody copies it, e.g. myfunction() { fire_command return $? } a function automatically returns with the last returncode, so we can safely remove the command 'return $?'. reference: http://tldp.org/LDP/abs/html/exit-status.html "The last command executed in the function or script determines the exit status." Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42278
* odhcp6c: enable softwires support by defaultSteven Barth2014-08-251-11/+2
| | | | SVN-Revision: 42274
* iwinfo: properly decode SSIDs when scanning through wpa_supplicantJo-Philipp Wich2014-08-242-4/+63
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42273
* odhcpd: fix static lease behavior with dhcpv4Steven Barth2014-08-241-2/+2
| | | | SVN-Revision: 42270
* umbim: add netifd proto handler for mbim style lte modemsJohn Crispin2014-08-222-0/+192
| | | | | | | | tested on vodafone k5105 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42262
* base-files: properly generate the ulaJohn Crispin2014-08-221-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42261
* uclient: update to latest version, fixes HTTP keepalive issuesFelix Fietkau2014-08-211-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42257
* xtables-addons: update to version 2.5Felix Fietkau2014-08-217-127/+1940
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42256
* dropbear: restore performance by disabling mips16Jonas Gorski2014-08-211-1/+2
| | | | | | | | | | | | Disable MIPS16 to prevent it negatively affecting performance. Observed was a increase of connection delay from ~6 to ~11 seconds and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx. Fixes #15209. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42250
* dropbear: fix keepalive moreJonas Gorski2014-08-211-0/+333
| | | | | | | | | | | Add a further upstream commit to more closely match the keepalive to OpenSSH. Should now really fix #17523. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42249
* firewall: the firewall did not start properly on bootJohn Crispin2014-08-211-1/+1
| | | | | | | | https://dev.openwrt.org/ticket/17593 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42233
* libubox: update to latest git revisionJohn Crispin2014-08-201-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42230
* valgrind: fix build failure on umlNicolas Thill2014-08-201-1/+1
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 42229
* base-files: increase igmp_max_memberships to improve multicast-proxy handlingSteven Barth2014-08-201-0/+1
| | | | SVN-Revision: 42227
* dnsmasq: fix a race condition possibly leading to lockupSteven Barth2014-08-202-1/+278
| | | | SVN-Revision: 42225
* base-files: fix inverse logic in board_detect scriptJohn Crispin2014-08-191-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42220
* odhcpd: various DHCPv4 and DHCPv6 fixesSteven Barth2014-08-191-2/+2
| | | | SVN-Revision: 42217
* dnsmasq: respect option dhcpv4 disabled in dhcp-configSteven Barth2014-08-191-0/+3
| | | | SVN-Revision: 42216
* base-files: wan6 should reference wan intead of referencing itself.John Crispin2014-08-181-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42199
* valgrind: set --enable-only64bit option for x86_64John Crispin2014-08-181-0/+2
| | | | | | | There does not seem to be a good reason to build both when building for x86_64. SVN-Revision: 42198
* valgrind: explicitly disable mpicc compilerJohn Crispin2014-08-181-0/+1
| | | | | | | If there's an mpicc compile on the machine, the configure script will take it, causing a bit of headache. SVN-Revision: 42197
* gmp: add host compileJohn Crispin2014-08-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | Currently, any package that uses host compile and depends on libgmp.so will fail. This is because gmp is not compile for host machine. So, staging_dir/host has only static lib for gmp $ ls staging_dir/host/lib/libgmp* -1 staging_dir/host/lib/libgmp.a staging_dir/host/lib/libgmp.la staging_dir/host/lib/libgmpxx.a staging_dir/host/lib/libgmpxx.la Addind host compile in gmp, the dependent package can use: PKG_BUILD_DEPENDS:=gmp/host That will compile gmp to staging_dir/host with *.so files Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> SVN-Revision: 42196
* busybox: Fix pam_start link errors when PAM support is enabledJohn Crispin2014-08-181-2/+8
| | | | | | | | | | Patch to BusyBox Makefile to fix linker errors when PAM support is enabled by CONFIG_BUSYBOX_CONFIG_PAM=y. Typical errors include: login.c:(.text.login_main+0x122): undefined reference to `pam_start' Signed-off-by: Stephen Parry <sgparry@mainscreen.com> SVN-Revision: 42195
* base-files: add a hardware detection layerJohn Crispin2014-08-184-0/+490
| | | | | | | | | | this allows targets to use the new uci-default helper which will generate a file called /etc/board.json. a tool called /bin/config_generate can then be used to generate the default uci settings. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42185
* dropbear: fix keepalive with puttyJonas Gorski2014-08-131-0/+58
| | | | | | | | | | | Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses, which broke at least putty. Fixes #17522 / #17523. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42162
* netifd: assign ipv6-prefixes with length <64 with /64 on-link routesSteven Barth2014-08-131-2/+2
| | | | SVN-Revision: 42161
* odhcpd: improve DHCPv6-PD detectionSteven Barth2014-08-131-2/+2
| | | | SVN-Revision: 42160
* ppp: enable IPv6CP by defaultSteven Barth2014-08-132-2/+6
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42158
* odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)Steven Barth2014-08-121-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42153
* package: fix segfault of iwinfo.scanlist("radio0").Jo-Philipp Wich2014-08-122-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bug revealed in r41830. First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname() would be zeroed out if the argument is "wlan0" or the like. This will happen in the following call stack. nl80211_get_scanlist("radio0", buf, len); nl80211_phy2ifname("radio0") // return static var nif with content "wlan0" nl80211_get_scanlist(nif, buf, len); // tail call nl80211_get_mode(nif); nl80211_phy2ifname(nif); // zero out nif Later we try nl80211_ifadd("") which was supposed to create interface "tmp.", but that won't happen because nl80211_msg() will put an invalid ifidx 0 to the nlmsg. Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily nl80211_get_scanlist() returned 0 and left *len undefined. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42151
* imx6: kernel: add GW16083 Ethernet Expansion Mezzanine supportLuka Perkov2014-08-111-0/+18
| | | | | | | | | | | | | | | | The GW16083 Ethernet Expansion Mezzanine adds the following to supported Gateworks baseboards: * 7-port Ethernet Switch * 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module) * 2x RJ45 ports or SFP module (ENET5-6) (auto-selected) This series adds support for a phy driver that adds support for ENET5/ENET6 PHY adding initialization for those PHY's and a polling mechanism that detects SFP insertion and configuration. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 42147
* mac80211: fix warning with kernel 3.14Hauke Mehrtens2014-08-111-0/+27
| | | | | | | | This fixes a redefinition of net_get_random_once() warning. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42141
* base-files: /lib/functions/network.sh: fix network_get_ipaddr6Jo-Philipp Wich2014-08-112-2/+13
| | | | | | | | | | | | When looking for the first ipaddr also consider the current prefix just like network_get_ipaddrs6 does. If ipv6-address was empty the function did not return the first ipaddr even if the list was non-empty. fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006 Signed-off-by: Henning Schild <henning@hennsch.de> SVN-Revision: 42139
* firewall: fix potential NULL pointer accessJo-Philipp Wich2014-08-111-2/+2
| | | | | | | | Properly skip struct ifaddr entries with NULL ifa_addr, thanks Kostas Papadopoulos for reporting. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42138
* dropbear: update to 2014.65Steven Barth2014-08-115-10/+10
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42131