Commit graph

7021 commits

Author SHA1 Message Date
Florian Fainelli
1859500829 move target specific leds modules to ar71xx modules.mk
SVN-Revision: 32852
2012-07-25 15:50:02 +00:00
Florian Fainelli
c3b9a987b7 move leds modules back to target modules.mk
SVN-Revision: 32851
2012-07-25 15:49:57 +00:00
Florian Fainelli
bca45d6d8a move i2c modules back to target modules.mk
SVN-Revision: 32850
2012-07-25 15:49:54 +00:00
Florian Fainelli
29ccabae44 fix network devices modules to depend on PCI instead of x86
SVN-Revision: 32849
2012-07-25 15:49:52 +00:00
Florian Fainelli
2bfb2a797c move more x86-specific modules back to target modules.mk
SVN-Revision: 32848
2012-07-25 15:49:49 +00:00
Florian Fainelli
276bc6b9e8 fix libsas and mvsas dependencies against PCI and not x86
SVN-Revision: 32847
2012-07-25 15:49:46 +00:00
Florian Fainelli
d973768580 move x86 specific ide/pata modules to x86' modules.mk
SVN-Revision: 32846
2012-07-25 15:49:42 +00:00
Florian Fainelli
89a312bf48 split framebuffer helper modules to their own packages
SVN-Revision: 32843
2012-07-25 14:01:54 +00:00
John Crispin
2113c65f95 fixes build for 3.x kernel and remove old 2.6.x references
Signed-off-by: christoph.thielecke@gmx.de

SVN-Revision: 32832
2012-07-24 23:07:35 +00:00
John Crispin
7639c9b580 mac80211/hostapd: add support for HT capa in case of IBSS/RSN
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32830
2012-07-24 23:07:25 +00:00
John Crispin
8b3882224a wpa_supplicant: add more parameters
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32829
2012-07-24 23:07:15 +00:00
John Crispin
3f3268c0c2 hostapd: add pending patches
add patched needed to pass more parameters to the IBSS JOIN command

Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32828
2012-07-24 23:07:10 +00:00
John Crispin
0e9e7dcd10 adds target used by rapsberry pi
Add support for Raspberry Pi / brcm2708 / 2835

Signed-off-by: Ian Ridge <ianridge [at] gmail.com>

SVN-Revision: 32825
2012-07-24 20:39:17 +00:00
John Crispin
543a2eca42 ext4 support
This patch adds the ext4 filesystem support to mountd. Tested with ext2, ext3
and ext4 partitions.

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>

SVN-Revision: 32818
2012-07-24 20:38:26 +00:00
John Crispin
ab05409315 add support for Rt3352 in rt2x00 driver
Forgot to do make package/mac80211/update, so the previously posted patch wasn't
in sync with compat-wireless. Now fixed.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32817
2012-07-24 20:38:20 +00:00
Florian Fainelli
cb0eccf529 orion_wdt is also available on kirkwood
SVN-Revision: 32811
2012-07-24 19:43:58 +00:00
Florian Fainelli
93dc8c8d1b move omap specific modules to modules.mk
SVN-Revision: 32810
2012-07-24 19:43:54 +00:00
Florian Fainelli
82c7e05d42 move n810 battery module to omap24 modules.mk
SVN-Revision: 32809
2012-07-24 19:43:49 +00:00
Florian Fainelli
25e20b0b57 move target specific modules to target's module.mk
SVN-Revision: 32808
2012-07-24 19:43:45 +00:00
Florian Fainelli
502d369283 create kmod-fb and update xen framebuffer module
SVN-Revision: 32805
2012-07-24 19:43:27 +00:00
Florian Fainelli
0a9732d44a add sound-soc-ac97 package
SVN-Revision: 32801
2012-07-24 19:43:10 +00:00
Florian Fainelli
3f81add464 add kmod-regmap including both i2c and spi modules
This is required for quite SoC sound support

SVN-Revision: 32800
2012-07-24 19:43:06 +00:00
Felix Fietkau
edd2ef094a ath5k: add tx power related fixes
SVN-Revision: 32793
2012-07-23 22:20:57 +00:00
Vasilis Tsiligiannis
20eddc1e92 Revert "[package] kernel/modules: dont only change loading order on IPSEC*-m, propagate this to documentation too"
Preserve alphabetical order on KCONFIG and description for consistency with other module packages

This reverts commit r32775.

SVN-Revision: 32791
2012-07-23 19:17:05 +00:00
Jo-Philipp Wich
b2c4924bb4 owipcalc: fix output formatting quirks
SVN-Revision: 32786
2012-07-20 15:05:30 +00:00
Jo-Philipp Wich
585ebed25f owipcalc: add new operations "next", "prev", "6to4" and "pop", implement a stack for intermediate results
SVN-Revision: 32785
2012-07-20 13:43:10 +00:00
Felix Fietkau
015d66cffb grub: replace an unnecessary piece of inline assembly that breaks the build on recent mac os x
SVN-Revision: 32784
2012-07-20 12:28:54 +00:00
Jo-Philipp Wich
3107a09548 owipcalc: add "prefix" operation to set prefix of base address during calculation
SVN-Revision: 32782
2012-07-19 19:51:53 +00:00
Vasilis Tsiligiannis
7b778aba7c dnsmasq: Fix DHCP no address on interface warning (#10570)
SVN-Revision: 32781
2012-07-19 19:12:54 +00:00
Jo-Philipp Wich
24a28fb0d2 owipcalc: remove binary
SVN-Revision: 32779
2012-07-19 16:17:57 +00:00
Jo-Philipp Wich
542eed0143 add owipcalc - a small ipv4 & ipv6 calculation utility
SVN-Revision: 32778
2012-07-19 16:17:23 +00:00
Hamish Guthrie
4d844e10ab Increase iwlist buffer size
SVN-Revision: 32777
2012-07-19 08:36:11 +00:00
Luka Perkov
6ab7360d18 kernel/modules: dont only change loading order on IPSEC*-m, propagate this to documentation too
SVN-Revision: 32775
2012-07-17 23:11:31 +00:00
Luka Perkov
0a064ed6e6 uboot-envtools: add support for alfa ap96
SVN-Revision: 32774
2012-07-17 23:11:29 +00:00
Vasilis Tsiligiannis
82c4050fd5 kernel/modules: fix ipcomp6 load order
ipcomp6 depends on xfrm6_tunnel, load order changed accordingly.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 32773
2012-07-17 20:50:44 +00:00
Jo-Philipp Wich
c3b98c8fc7 toolchain: fix libgcc and libgfortran packages for avr32 and coldfire
SVN-Revision: 32772
2012-07-17 17:33:13 +00:00
Vasilis Tsiligiannis
81a84b03ea dnsmasq: Bump to 2.62, add DHCPv6 variant
SVN-Revision: 32764
2012-07-17 11:48:27 +00:00
Felix Fietkau
cf9bca8ded mac80211: update to latest wireless-testing + some monitor mode fixes and some libertas driver fixes
SVN-Revision: 32760
2012-07-16 23:50:54 +00:00
Luka Perkov
84585b45d6 uboot-envtools: add kirkwood board support
SVN-Revision: 32756
2012-07-16 22:32:00 +00:00
Felix Fietkau
b893cfb276 uboot-ar71xx: fix compile on recent mac os x versions
SVN-Revision: 32750
2012-07-16 16:26:51 +00:00
Jo-Philipp Wich
b29239d9f0 usbreset: improve usability - add device list in usage screen - support resetting by bus/device number, by produc:vendor id or by device name
SVN-Revision: 32741
2012-07-16 00:39:39 +00:00
Felix Fietkau
4f66299903 ath5k: fix txop calculation similar to what was done in ath9k
SVN-Revision: 32735
2012-07-15 15:20:30 +00:00
Felix Fietkau
934cc69768 ath9k: fix an uninitialized variable warning
SVN-Revision: 32734
2012-07-15 15:20:26 +00:00
Luka Perkov
03a6d65c37 kernel: add Marvell SoC built-in RTC to modules
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32732
2012-07-15 14:25:30 +00:00
Vasilis Tsiligiannis
61095c10dd toolchain: Fix typo in libssp config
SVN-Revision: 32723
2012-07-15 10:46:41 +00:00
Luka Perkov
dc2d62d3ac uboot-kirkwood: update to 2012.04.01
iConnect board tested by:

Tim Fletcher <tim@night-shade.org.uk>
Wojciech Dubowik <wojciech.dubowik@neratec.com>

DockStar board tested by:

Martin Mueller <mm@sig21.net>

RaidSonic ICY BOX NAS6210 board tested by:

Luka Perkov <uboot@lukaperkov.net>

SheevaPlug was not tested but support for SheevaPlug is taken from upstream
uboot and it is not reported to be broken there.

SVN-Revision: 32717
2012-07-14 23:54:20 +00:00
Luka Perkov
8f563df48f package: kernel: estetic fix
SVN-Revision: 32714
2012-07-14 23:10:32 +00:00
Vasilis Tsiligiannis
087caa57e3 kernel: enable kernel support for ALSA midi
Here is a newer version of the patch:

Enable the real ALSA midi interface (seq) in the kernel. The existing
rawmidi interface is still present. This allows for the alsa midi
utilities to work.

Signed-off-by: Adam Goode <adam@spicenitz.org>
[b_tsiligiannis: replaced $(LINUX_KMOD_SUFFIX) with .ko]
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 32712
2012-07-14 20:10:57 +00:00
Vasilis Tsiligiannis
9ab1df3f48 base-files: Modernize hotplug2 rules (#11368)
SVN-Revision: 32711
2012-07-14 19:59:44 +00:00
Felix Fietkau
7eedaace1a ath9k: add extra checks to reduce the amount of unnecessary rx dma related logspam
SVN-Revision: 32709
2012-07-14 17:48:49 +00:00
Felix Fietkau
877797c60e ath9k: fix 5 ghz frequency selection on ar934x devices with 25 mhz refclock
SVN-Revision: 32705
2012-07-13 23:18:11 +00:00
Jo-Philipp Wich
00f1b1d62a uhttpd: various changes
- remove unused variables
	- simply ignore command line args which belong to not enabled features
	- resolve peer address at accept() time, should solve (#11850)
	- remove floating point operations where possible

SVN-Revision: 32704
2012-07-13 17:10:56 +00:00
Felix Fietkau
abc3d9493b netifd: update to latest version, fixes wlan network state getting stuck on wifi restarts, adds support for setting wlan device parameters such as mtu or txqueuelen
SVN-Revision: 32689
2012-07-12 21:50:49 +00:00
Felix Fietkau
f600a611ad librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc
SVN-Revision: 32686
2012-07-12 16:24:01 +00:00
Felix Fietkau
a1f0b3a771 ath9k: fix selecting the second antenna on a single-stream device with diversity
SVN-Revision: 32685
2012-07-12 14:45:59 +00:00
Felix Fietkau
c78c2f80a1 mac80211: fix an ap + sta mode regression that prevented the sta from connecting (#11847)
SVN-Revision: 32684
2012-07-12 14:14:57 +00:00
Luka Perkov
f3112b06d2 openssl: enable the use of cryptodev digests
SVN-Revision: 32673
2012-07-11 23:38:16 +00:00
Hauke Mehrtens
5e4100bcf9 mac80211: update brcmsmac patches
SVN-Revision: 32671
2012-07-11 22:18:09 +00:00
Felix Fietkau
d23e0491f0 ath9k: add a number of ar93xx eeprom related fixes / enhancements
SVN-Revision: 32669
2012-07-11 16:45:58 +00:00
Felix Fietkau
883e308016 ath9k: add missing part of the aggregation duration fix
SVN-Revision: 32668
2012-07-11 16:44:13 +00:00
Jo-Philipp Wich
f9eede184e mac80211: fix patch order (#11839, #11842)
SVN-Revision: 32664
2012-07-11 09:59:08 +00:00
Jo-Philipp Wich
0000ce2271 uhttpd: retry parsing the CGI header until the buffer space is exhausted
SVN-Revision: 32662
2012-07-11 09:59:05 +00:00
Felix Fietkau
32eef456df ath9k: fix some bugs related to txop limit handling and aggregation
SVN-Revision: 32658
2012-07-11 02:11:33 +00:00
Felix Fietkau
ed06d0bb26 ath9k: disable hardware full sleep with active client mode interface until mac80211 IEEE80211_CONF_IDLE support has been fixed
SVN-Revision: 32657
2012-07-10 23:42:30 +00:00
Felix Fietkau
7f153913f8 ath9k: clean up / fix some initval related code
SVN-Revision: 32656
2012-07-10 01:13:15 +00:00
Felix Fietkau
b718813b57 mac80211: update to latest version, fix tx gain patch
SVN-Revision: 32655
2012-07-10 00:21:25 +00:00
Felix Fietkau
178df184a1 libubox: update to latest version, fixes timer/process deletion on uloop_done()
SVN-Revision: 32654
2012-07-09 15:13:26 +00:00
Jo-Philipp Wich
4127e73b84 firewall: also set up nat reflection rules for redirects with proto all and/or no src_dport set
SVN-Revision: 32652
2012-07-09 12:23:36 +00:00
Jo-Philipp Wich
86de034767 uhttpd: various fixes
- avoid closing descriptors before removing them from uloop (#11755, #11830)
    - do not auto-initialize ubus if no prefix is set (#11832)
    - remove extraneous client context pointer from cgi and lua states
    - code cleanups and debug message changes

SVN-Revision: 32651
2012-07-09 00:08:20 +00:00
Felix Fietkau
be8a73be3d ath9k: fix the ar9340 tx gain patch
SVN-Revision: 32647
2012-07-07 20:03:35 +00:00
Felix Fietkau
e764dd1132 ath9k: fix tx gain tables for ar934x
SVN-Revision: 32646
2012-07-07 17:34:33 +00:00
Jo-Philipp Wich
bd1cfd2cca libubox: bump to latest git head - uloop: prevent callback invocation for already removed descriptors - uloop: handle EPOLLHUP - blob, blobmsg: various changes
SVN-Revision: 32645
2012-07-07 16:49:17 +00:00
Jo-Philipp Wich
92e2e3f567 uhttpd: do not dispatch pipe error events, fixes use after free for cgi and lua scripts
SVN-Revision: 32644
2012-07-07 16:43:27 +00:00
Jo-Philipp Wich
1f2d5da887 uhttpd: do not subscribe to epoll write events Watch child read pipe end for data instead of relying on socket write notification to process cgi data, should lower cpu consumption during requests on weaker devices.
SVN-Revision: 32640
2012-07-06 17:29:25 +00:00
Gabor Juhos
6fbb548eb9 uboot-envtools: OM2P LC support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32636
2012-07-06 11:11:59 +00:00
Jo-Philipp Wich
a650d33490 iwinfo: properly deal with channels 7..12 on 5GHz
SVN-Revision: 32634
2012-07-06 09:30:50 +00:00
Jo-Philipp Wich
4347abcaf6 iwinfo: find channel & frequency via nl80211 or hostapd instead of wext
SVN-Revision: 32630
2012-07-06 01:00:14 +00:00
Felix Fietkau
d8bf3d82e5 netifd: update to latest version, fixes various issues related to interface alias handling, improves handling of wifi interfaces in /etc/config/network
SVN-Revision: 32625
2012-07-05 18:42:29 +00:00
Jo-Philipp Wich
ed98b1f41c package/dnsmasq: allow /etc/config/dhcp to specify --address arguments
Add a config list to the 'config dnsmasq' section to specify fixed DNS
addresses.

For example:

  config dnsmasq:
	[snip]
	list address '/example.com/192.168.0.1'

will result in the argument '-A /example.com/192.168.0.1' to the dnsmasq
options. This configures dnsmasq to return the specified IP for any
queries to '*.example.com' names.

Useful for overriding lookups to a range of DNS names.

[jow: "append args" -> "xappend", "-A" -> "--address"]

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 32624
2012-07-05 17:54:14 +00:00
Jo-Philipp Wich
8de3880c02 Add local TTL option to dnsmasq
-T, --local-ttl=<time>
    When replying with information from /etc/hosts or the DHCP leases
file dnsmasq by default sets the time-to-live field to zero, meaning
that the requestor should not itself cache the information. This is
the correct thing to do in almost all situations. This option allows a
time-to-live (in seconds) to be given for these replies. This will
reduce the load on the server at the expense of clients using stale
data under some circumstances.

[jow: change -T to --local--ttl to conform with the other options]

Signed-off-by: Andrew Byrne <openwrt@andy.id.au>

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

SVN-Revision: 32623
2012-07-05 17:46:32 +00:00
Jo-Philipp Wich
cc5187c024 dropbear: set DEFAULT_PATH for non-interactive logins
Set PATH in non-interactive logins to include /sbin paths,
so to be consistent with what is currently set in /etc/profile
for interactive shells.

[jow: reapply with current patch level, fix inner patch, refresh]

Signed-off-by: Gui Iribarren <gui@altermundi.net>

SVN-Revision: 32620
2012-07-05 16:44:05 +00:00
Jo-Philipp Wich
17f5287b0e hostapd: change wpa_supplicant.sh to pass 64 byte hex psk unquoted and remove the undocumented usepasspharse option, this makes it match the logic of the hostapd setup
SVN-Revision: 32614
2012-07-05 12:25:29 +00:00
Gabor Juhos
79910a3e71 uboot-envtools: OM2P partition information
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32612
2012-07-05 08:26:55 +00:00
Gabor Juhos
518a70f06c package/om-watchdog: add om2p-lc support
Patch-by: Marek Linder <marek@open-mesh.com>

SVN-Revision: 32610
2012-07-05 08:26:52 +00:00
Jo-Philipp Wich
38cb1da868 mtd - remove partition table assumption when writing fis table
When mtd alters the fis partition table it assumes that the first partition
table entry also is the first logical parition table entry. For instance our
table could look like this (irrelevant partitions put aside):
 * vmlinux.bin.l7 0xA8710000
 * rootfs         0xA8030000
Here mtd would assume vmlinux.bin.l7 being the first partition and use its
address to calculate the size and offset which ultimately leads to a broken
partition table.
This patch alters the behavior by checking what partition has the smaller
address to do the calculations based on that address.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32601
2012-07-04 11:56:25 +00:00
Jo-Philipp Wich
0b83775202 mtd - add partition offset parameter
The offset parameter can be used to write the data at the offset
instead of writing it to the beginning of the partition.

Signed-off-by: Marek Linder <lindner_marek@yahoo.de>

SVN-Revision: 32600
2012-07-04 11:37:53 +00:00
Travis Kemen
62d9f257a1 mac80211: make channel bandwidth setting generic
SVN-Revision: 32596
2012-07-04 00:25:46 +00:00
Travis Kemen
9452ad74bb commit patch from https://lists.ath5k.org/pipermail/ath5k-devel/2011-November/005043.html, fixed up for newer ath5k and added in more radios.
SVN-Revision: 32595
2012-07-04 00:09:18 +00:00
Felix Fietkau
5cd249655d ath9k: add a patch to make the hw queue length configurable via debugfs
SVN-Revision: 32589
2012-07-03 21:00:47 +00:00
Gabor Juhos
5ad36ca723 mac80211: add support for AR9550
SVN-Revision: 32588
2012-07-03 18:05:04 +00:00
Jo-Philipp Wich
ff3161a6c4 base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it
SVN-Revision: 32587
2012-07-03 15:43:43 +00:00
Jo-Philipp Wich
b2e2de794e 6to4: fix ifname resolving for adv_interface option (#11796)
SVN-Revision: 32576
2012-07-02 12:14:50 +00:00
Jo-Philipp Wich
bcacf552fd netifd: repair dhcp client id option Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id, change the dhcp protocol script accordingly and filter all colons from the id while we're at it. This change supersedes http://patchwork.openwrt.org/patch/1810/
SVN-Revision: 32573
2012-07-01 12:43:14 +00:00
Jo-Philipp Wich
faab751760 dnsmasq: introduce "add_local_hostname" and "add_local_domain" options - add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname These change supersedes http://patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/
SVN-Revision: 32570
2012-07-01 11:32:46 +00:00
Jo-Philipp Wich
c49f8068cd package/dnsmasq: permit UCI configuration of --dhcp-fqdn option
This adds a new boolean option, fqdn, to the "config dnsmasq" section of
/etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn
option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve
unqualifed local hostnames. The "domain" option is required when using "fqdn".
Local hostnames will remain available for lookup using fully-qualified names.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 32569
2012-07-01 11:32:45 +00:00
Jo-Philipp Wich
7f573ef7e3 package/dnsmasq: permit dhcp_option in global dnsmasq config section
dnsmasq currently permits dhcp_options to be specified only in "config dhcp"
sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for
multiple subnets and there are multiple "config dhcp" sections without "option
ignore", it makes sense to allow dhcp_options that should apply globally in
the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option.

[jow: rework patch to apply after dhcp-option-force handling got introduced]

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 32568
2012-07-01 11:32:29 +00:00
Jo-Philipp Wich
6e419fbdeb Fix extroot by UUID
Extroot works fine when the target device is specified by a path. It fails
however if the device is specified by UUID (the target partition gets mounted
much later by hotplug hooks). This is because the blkid command is no longer
compiled into BusyBox (since changeset [1]) so it's unavailable for the
preinit phase.

The closest bug report I was able to find is [2], although the reporting person
mentions that /tmp/overlay-disabled showed up which wasn't there in my case.

This patch sets PATH and LD_LIBRARY_PATH environment variables so that the
blkid command installed on the target device can be used by that particular
preinit script.

[1] https://dev.openwrt.org/changeset/26245
[2] https://dev.openwrt.org/ticket/10653

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>

SVN-Revision: 32567
2012-07-01 11:06:32 +00:00
Jo-Philipp Wich
5d3f21904f kernel/modules: load pppol2tp after pppox
l2tp_ppp needs to be loaded after pppox, otherwise it ends up like this:
l2tp_ppp: Unknown symbol pppox_ioctl (err 0)
...
during boot.
I also fixed the dependency, it should be pppox rather than pppoe.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32562
2012-07-01 10:34:45 +00:00
Jo-Philipp Wich
b2e5c5f82e base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh
SVN-Revision: 32531
2012-06-29 19:04:11 +00:00
Felix Fietkau
5c49ad2096 ath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380 (fixes #11756)
SVN-Revision: 32528
2012-06-29 17:59:39 +00:00
Jo-Philipp Wich
e654014352 base-files: only consider enabled default routes when finding the wan iface (#11774)
SVN-Revision: 32525
2012-06-29 11:58:35 +00:00
Jo-Philipp Wich
1f8d8dca76 netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes
SVN-Revision: 32524
2012-06-29 11:42:15 +00:00
Felix Fietkau
dd80e8de1f ath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB
SVN-Revision: 32517
2012-06-28 00:34:19 +00:00
Felix Fietkau
669e79a45b ath9k: update the ar934x initvals
SVN-Revision: 32516
2012-06-27 22:32:56 +00:00
Felix Fietkau
cbf93f02ba ath9k: remove the queue length limiting patch, the approach was experimental, not used by default and a different solution is required
SVN-Revision: 32515
2012-06-27 22:32:51 +00:00
Felix Fietkau
6c2a295245 base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
A year of testing in the cerowrt project shows not using timestamps
to be a very bad idea in nearly any TCP at speeds above a few Mbit.

Lastly sack/dsack help on recovery from larger amounts of packet
loss.

SVN-Revision: 32513
2012-06-27 22:32:44 +00:00
Felix Fietkau
0615bde13a ath9k: improve ani behavior during scanning
SVN-Revision: 32511
2012-06-27 12:45:00 +00:00
Felix Fietkau
d4c6868027 ath9k: more ani fixes
SVN-Revision: 32510
2012-06-27 02:15:25 +00:00
Felix Fietkau
1e884c0923 ath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix some validation corner cases
SVN-Revision: 32509
2012-06-27 01:29:56 +00:00
Felix Fietkau
d20470702f ath9k: make antenna mask validation more flexible, allow arbitrary tx chain combinations, enable rx for chains that have enabled tx as well, fix using the second antenna for single-stream diversity based devices
SVN-Revision: 32508
2012-06-27 01:23:17 +00:00
Felix Fietkau
3d83a7b636 ath9k: reject invalid antenna mask configurations
SVN-Revision: 32507
2012-06-27 01:10:18 +00:00
Felix Fietkau
2479910d45 netifd: update to latest version, fixes bridge member interface settings
SVN-Revision: 32506
2012-06-26 23:34:07 +00:00
Jo-Philipp Wich
bc41cc82ec broadcom-wl: fix WDS hotplug for multiple networks
SVN-Revision: 32505
2012-06-26 15:43:09 +00:00
Jo-Philipp Wich
089a80ae55 linux-atm: remove defunct ipoa protocol support
SVN-Revision: 32504
2012-06-26 15:40:03 +00:00
Jo-Philipp Wich
f2dde4f5ba base-files: allow wireless ifaces to be part of multiple networks
SVN-Revision: 32503
2012-06-26 15:25:33 +00:00
Felix Fietkau
8e1583475d ath9k: fix a dynamic WEP related regression
SVN-Revision: 32492
2012-06-23 17:30:45 +00:00
Felix Fietkau
0b88abd58d ath9k: merge a patch for improving ad-hoc mode performance
SVN-Revision: 32491
2012-06-23 17:30:40 +00:00
Jo-Philipp Wich
7ed9369cb3 ppp: the pptp buffering option is not supported anymore, remove it
SVN-Revision: 32482
2012-06-21 19:41:47 +00:00
Felix Fietkau
3143f03568 toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package
SVN-Revision: 32467
2012-06-20 13:45:01 +00:00
Vasilis Tsiligiannis
82dc07f6f2 busybox: Enable ibs, obs and conv options on 'dd'
SVN-Revision: 32464
2012-06-19 22:34:49 +00:00
Jo-Philipp Wich
6387e8e458 ppp: annotate most patches with description and S-o-b
SVN-Revision: 32463
2012-06-19 17:03:24 +00:00
Felix Fietkau
431e612d9e mac80211: fix linux 3.5 compatibility
SVN-Revision: 32449
2012-06-19 00:59:19 +00:00
Felix Fietkau
5e204a09cf mac80211: fix AP multi-BSSID support (#11698)
SVN-Revision: 32448
2012-06-19 00:53:20 +00:00
Jo-Philipp Wich
231f5ebb28 zlib fix for btrfs
Hi,

yes, it is true...

In the standard, unpatched trunk is zlib_inflate.ko compiled, but not included
in any package... So, my previous version was functional, but with system bug.

Here is fixed patch.

On Wed, Jun 13, 2012 at 05:00:02PM +0200, Jo-Philipp Wich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> - -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi.
>
> Shouldn't you also add CONFIG_ZLIB_DEFLATE to KCONFIG then?
>
> ~ Jow
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqrcACgkQdputYINPTPM6dgCfYDgzK1XHiKDJNSdc/+HgIoRp
> HSgAoKdUxcqXzHqTLiyEkiQqCnDuuVmu
> =0DUX
> - -----END PGP SIGNATURE-----
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqvIACgkQdputYINPTPNMagCePNwPSYHfoCd5eXywQ+sTATqQ
> 2CQAoJW/Fez+DqflHlJVcvng/LvsfrCm
> =s6B0
> -----END PGP SIGNATURE-----
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Signed-off-by: Michal Heppler <mhepp@ics.muni.cz>

SVN-Revision: 32444
2012-06-18 23:59:57 +00:00
Jo-Philipp Wich
c2b78f87d9 openssl does not compile with uml and arch x86_64
Hi,

I found that openssl did not compile on the uml target under x86_64. The
attached patch should
correct this and is working for me. Is this the right way to do it?

thanks,
Thomas

SVN-Revision: 32443
2012-06-18 23:54:08 +00:00
Felix Fietkau
cfe79471d1 kmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko
kmod-ipt-nathelper-extra is missing the package nf_conntrack_broadcast.ko

if it is not included into the kmod-ipt-nathelper-extra packge the modules
nf_conntrack_snmp and nf_nat_snmp_basic cant get loaded:

[   44.500000] nf_conntrack_snmp: Unknown symbol nf_conntrack_broadcast_help (err 0)
[   44.664000] nf_nat_snmp_basic: Unknown symbol nf_nat_snmp_hook (err 0)

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 32434
2012-06-18 23:30:48 +00:00
Jo-Philipp Wich
3cf347124a kernel: split kmod-pppoe into kmod-pppox and kmod-pppoe, make kmod-pptp depend on kmod-pppox (#11677)
SVN-Revision: 32433
2012-06-18 23:26:36 +00:00
Jo-Philipp Wich
d65c855203 6rd: apply the same simplifications done in 6to4 and 6in4
SVN-Revision: 32432
2012-06-18 23:08:20 +00:00
Jo-Philipp Wich
fdfffd0fbe Add new package for configuring 6rd tunnels.
This patch adds support for manually configuring 6rd tunnels. It depends on
the netifd patches I sent earlier, which add 6rd support.

A basic interface configuration looks like:

    config interface 'wan6'
      option proto '6rd'
      option peeraddr '192.0.2.1'
      option ip6prefix '2123::'
      option ip6prefixlen '16'
      option ip4prefixlen '0'

Where ip4prefixlen is optional and actually defaults to 0, which would use all
bits of the IPv4 in the calculated IPv6 subnet.

I believe it should be possible to configure a regular 6to4 tunnel using this,
and that we may want to merge the two eventually, but there are some larger

differences between the two at the moment:

 - 6rd addresses can be more difficult to calculate. My ISP, for example, has
   a setup with a v6 mask of 43 bits, and a v4 mask of 19.

 - 6to4 has support for configuring radvd. This is something we want, of
   course, but it seems best to deal with this in a separate patch.

Just creating a new package looked like the quickest way to get this in.

This work is based on the 6in4 package, and work by Stijn Tintel.

Signed-off-by: Stéphan Kochen <stephan@kochen.nl>

SVN-Revision: 32431
2012-06-18 23:08:18 +00:00
Jo-Philipp Wich
985eab3706 netifd: bump again to git head, fix device present state after reconnecting shell protos
SVN-Revision: 32430
2012-06-18 23:01:04 +00:00
Felix Fietkau
575f47b36e netifd: update to latest version again, fixes route6 issues (#11528)
SVN-Revision: 32429
2012-06-18 21:52:28 +00:00
Jo-Philipp Wich
4dc3b124e9 6in4, 6to4: further simplify protocol backends - use new default route dependencies to trigger bringup - remove old hotplug scripts
SVN-Revision: 32428
2012-06-18 21:40:34 +00:00
Felix Fietkau
992d685ea4 netifd: update to latest version, adds 6rd related changes and adds support for default route dependencies (through host route dependencies)
SVN-Revision: 32426
2012-06-18 21:23:09 +00:00
John Crispin
0a684babcc fix ccache related build breakage
SVN-Revision: 32421
2012-06-18 08:50:26 +00:00
Felix Fietkau
3360067932 mac80211: update to wireless-testing 2012-06-14
SVN-Revision: 32420
2012-06-18 01:26:36 +00:00
Jo-Philipp Wich
c73b39fd30 uhttpd: finish inherited uloop in forked childs, fixes misdispatched events leading to race conditions and bad memory accesses
SVN-Revision: 32419
2012-06-18 00:41:43 +00:00
Luka Perkov
fd38f78bfe e2fsprogs: fix md5sum issue
md5sum from kernel.org and sourceforge.net are not the same

SVN-Revision: 32418
2012-06-17 21:34:16 +00:00
Vasilis Tsiligiannis
8015c01f4f acx-mac80211: Add workaround for mac80211 hw-queue check
SVN-Revision: 32417
2012-06-17 20:50:43 +00:00
Vasilis Tsiligiannis
37c2235af7 acx-mac80211: Bump to v20120607
SVN-Revision: 32416
2012-06-17 20:49:55 +00:00
Vasilis Tsiligiannis
07d57edf59 acx-mac80211: Allow firmware downloading for more ACX1xx cards
SVN-Revision: 32415
2012-06-17 20:46:31 +00:00
Luka Perkov
e83e268100 e2fsprogs: update to 1.42.4
SVN-Revision: 32414
2012-06-17 17:53:01 +00:00
Jo-Philipp Wich
89701ec518 6in4, 6to4: remove dependency on "ip"
SVN-Revision: 32403
2012-06-17 13:18:40 +00:00
Jo-Philipp Wich
bb6dde0fbf 6to4: use network_find_wan() and network_get_iapddr() to find local ip, use json_get_vars() to read settings
SVN-Revision: 32402
2012-06-17 13:17:39 +00:00
Jo-Philipp Wich
89732577aa 6in4: change local4 option name back to ipaddr
SVN-Revision: 32401
2012-06-17 12:27:16 +00:00
Jo-Philipp Wich
76000dc6ed 6in4: use network_find_wan() and network_get_iapddr() to find local ip, use json_get_vars() to read settings
SVN-Revision: 32400
2012-06-17 12:18:39 +00:00
Jo-Philipp Wich
57a7257569 base-files: implement network_get_gateway(), network_get_gateway6(), network_find_wan() and network_find_wan6() in /lib/functions/network.sh
SVN-Revision: 32397
2012-06-17 11:50:50 +00:00
Felix Fietkau
70d9295138 fuse: update to 2.9.0
SVN-Revision: 32396
2012-06-16 21:06:37 +00:00
Felix Fietkau
a5e2890ecb fuse: move kmod-fuse to package/kernel
SVN-Revision: 32394
2012-06-16 21:06:24 +00:00
Felix Fietkau
0934a4035e fuse: remove obsolete patches
SVN-Revision: 32393
2012-06-16 21:06:20 +00:00
John Crispin
736e65715d set explicit -lpthread
SVN-Revision: 32388
2012-06-16 14:52:33 +00:00
John Crispin
75e9bbbcae fixes ccache compile and adds missing -lc
SVN-Revision: 32387
2012-06-15 23:42:48 +00:00
Felix Fietkau
fe94e174e5 ath9k: fix an invalid pointer access in the tx path
SVN-Revision: 32376
2012-06-14 21:36:05 +00:00
Felix Fietkau
9ea33a2ff1 add uclibc++ (from packages)
SVN-Revision: 32367
2012-06-14 20:25:57 +00:00
Felix Fietkau
de8bc3bfb7 netifd: update to latest version, adds back the workaround for ignoring wlan* in /etc/config/network
SVN-Revision: 32356
2012-06-14 16:50:45 +00:00
Jo-Philipp Wich
bfe966574f base-files: enable shell tracing in initscripts when INIT_TRACE is set
SVN-Revision: 32340
2012-06-13 17:10:41 +00:00
Felix Fietkau
9a1d6f0678 base-files: override Build/Compile/Default instead of Build/Compile (fixes #11667)
SVN-Revision: 32339
2012-06-13 16:25:29 +00:00
Jo-Philipp Wich
b0ef94f8da ppp: make ppp-mod-pptp depend on resolveip
SVN-Revision: 32269
2012-06-12 21:07:53 +00:00
Jo-Philipp Wich
0b5da2e16e ppp: add missing options.pptp
SVN-Revision: 32233
2012-06-11 23:22:52 +00:00
Jo-Philipp Wich
b43599598c drop userspace pptp - it is defunct, slow and badly integrated
SVN-Revision: 32198
2012-06-11 20:09:01 +00:00
Jo-Philipp Wich
13b8a13d48 ppp: add support for kernel mode pptp - add ppp-mod-pptp, based on patch by Daniel Golle <dgolle@allnet.de> - add netifd integration for pptp to ppp.sh
SVN-Revision: 32197
2012-06-11 20:07:46 +00:00
Jo-Philipp Wich
eb9b3bdb4f netifd: localize internally used shell variables (#11567)
SVN-Revision: 32192
2012-06-11 13:25:58 +00:00
Felix Fietkau
002f3a6940 e2fsprogs: move dependencies to the right packages
SVN-Revision: 32184
2012-06-11 00:56:45 +00:00
Felix Fietkau
11c8f45612 util-linux: disable udev support, add missing dependencies
SVN-Revision: 32183
2012-06-11 00:56:41 +00:00
Felix Fietkau
a546d41fc0 fuse: add missing dependency
SVN-Revision: 32182
2012-06-11 00:56:38 +00:00
Felix Fietkau
1e01b228c4 ebtables: add a missing dependency
SVN-Revision: 32181
2012-06-11 00:56:34 +00:00
Felix Fietkau
b2f70f0df0 toolchain: remove target dependencies on libgcc/libgfortran, add checks to package install template instead
SVN-Revision: 32176
2012-06-10 22:24:28 +00:00
Felix Fietkau
6a11725d42 busybox: remove BUSYBOX_USE_LIBRPC
SVN-Revision: 32175
2012-06-10 22:24:24 +00:00
Felix Fietkau
70e48cb877 ubus: add a missing dependency
SVN-Revision: 32174
2012-06-10 20:27:47 +00:00
Felix Fietkau
0013723df6 libubox: add a missing dependency
SVN-Revision: 32173
2012-06-10 20:27:44 +00:00
Felix Fietkau
9fe1b02ddf toolchain: fix libc dependency on libgcc
SVN-Revision: 32170
2012-06-10 20:27:34 +00:00
Felix Fietkau
07826e391d base-files: move all toolchain packages to a separate package directory 'toolchain'
SVN-Revision: 32169
2012-06-10 20:27:30 +00:00
Felix Fietkau
479336f824 util-linux: libblkid depends on libuuid
SVN-Revision: 32168
2012-06-10 20:27:24 +00:00
Luka Perkov
33dadd70ab mklibs: update to 0.1.34 (v2)
SVN-Revision: 32165
2012-06-10 17:07:46 +00:00
Jo-Philipp Wich
e2be7290b1 busybox: fix bad variable substitution on right hand side of I/O redirection, imported patch from upstream bug 5282
SVN-Revision: 32162
2012-06-10 13:19:45 +00:00
Felix Fietkau
378773f143 ppp: block restart of interfaces if pppd refused the command line options
SVN-Revision: 32160
2012-06-10 12:12:10 +00:00
Felix Fietkau
bfd06f261a ath9k: add some more ani fixes
SVN-Revision: 32159
2012-06-10 12:03:33 +00:00
Luka Perkov
cb9db16e2f zlib: update to 1.2.7
SVN-Revision: 32147
2012-06-09 23:29:28 +00:00
Felix Fietkau
557a3b5dd4 ppp: enable no_device in the netifd pppoa handler to bring it up at boot time (#11631)
SVN-Revision: 32146
2012-06-09 23:16:26 +00:00
Luka Perkov
30edb14356 util-linux: update to 2.21.2
SVN-Revision: 32141
2012-06-09 17:37:29 +00:00
Luka Perkov
d21fccaa2c e2fsprogs: update to 1.42.3
SVN-Revision: 32140
2012-06-09 17:37:27 +00:00
Felix Fietkau
4d8cd3afc0 make librpc compatible with eglibc, unconditionally enable it for packages that need rpc support
SVN-Revision: 32129
2012-06-08 15:10:18 +00:00
Jo-Philipp Wich
15189a628a firewall: allow incoming ICMPv6 router-advertisement and neighbor-advertisement, thanks swalker
SVN-Revision: 32127
2012-06-08 14:20:34 +00:00
Felix Fietkau
809cc8a435 mac80211: remove the passive-scan/no-ibss flag of channels 36-48 in the world regd similar to the default regd in ath
SVN-Revision: 32126
2012-06-08 12:09:36 +00:00
Felix Fietkau
287b504a2c kernel: add module packages for usbip (from the packages feed)
SVN-Revision: 32117
2012-06-07 16:51:53 +00:00
Jo-Philipp Wich
9869b4da3c base-files: implement network_defer_device() and network_ready_device() wrappers for upcoming netifd iface deferring support
SVN-Revision: 32106
2012-06-07 14:55:26 +00:00
Felix Fietkau
72d33803e7 iproute2: fix build errors with newer versions of eglibc
SVN-Revision: 32103
2012-06-07 12:37:49 +00:00
Felix Fietkau
93372a3e69 iptables: fix build error if only libraries are selected
SVN-Revision: 32102
2012-06-07 12:24:37 +00:00
Jo-Philipp Wich
1760bf569a netifd: fix typo in dhcp protocol handler, fixes reqopt handling (#11609)
SVN-Revision: 32098
2012-06-07 10:54:03 +00:00
Felix Fietkau
bcd4209323 hostapd: fix driver setting for wpa_s in IBSS/WPA-NONE
This fix is needed to correctly set the driver to use with wpa_s in case of
IBSS/WPA-NONE. The current setting is not made correctly.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32084
2012-06-06 15:25:52 +00:00
Felix Fietkau
b17afa9f65 libubox: add mirror md5sum
SVN-Revision: 32080
2012-06-06 13:45:57 +00:00
Luka Perkov
84a8853430 util-linux: fix typo
SVN-Revision: 32074
2012-06-05 20:54:33 +00:00
Jo-Philipp Wich
6cdf25289c base-files: add permission exceptions, do not clobber shadow permissions - based on patch by Mark Mentovai <mark@moxienet.com>
SVN-Revision: 32073
2012-06-05 18:02:00 +00:00
John Crispin
f8655c0177 remove bogus patch
SVN-Revision: 32071
2012-06-05 17:55:35 +00:00
John Crispin
e2a63ac51d rename libmisc.a to libipfixmisc.a
libmisc.a is too generic to be globally staged. It was clashing with xinetd
builds.

SVN-Revision: 32066
2012-06-05 17:49:57 +00:00
Jo-Philipp Wich
5e84df6bac base-files: ship a static initial shadow db instead of creating it from passwd with sed, this fixes registering of users at compile time
SVN-Revision: 32064
2012-06-05 17:48:41 +00:00
Jo-Philipp Wich
a044a43d06 base-files: make user_add() populate the shadow db as well
SVN-Revision: 32063
2012-06-05 17:40:32 +00:00
Jo-Philipp Wich
9ae901445b /etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
2012-06-05 16:04:23 +00:00
Luka Perkov
dc9e720739 uboot-envtools: forgot to remove uboot-envtools.init file
SVN-Revision: 32052
2012-06-04 22:03:00 +00:00
Luka Perkov
7f00e5ffc6 uboot-envtools: update to 2012.04.01
SVN-Revision: 32051
2012-06-04 21:55:49 +00:00
Felix Fietkau
2a80e86614 netifd: update to latest version, fixes wifi restart issues
SVN-Revision: 32049
2012-06-04 18:22:09 +00:00
Felix Fietkau
971c721c6f ubus: update to latest version, adds reconnect support
SVN-Revision: 32048
2012-06-04 18:22:04 +00:00
Felix Fietkau
8b0d6b2477 ath9k: fix typo in last commit
SVN-Revision: 32046
2012-06-04 13:46:29 +00:00
Felix Fietkau
c9e36f4709 ath9k: fix ANI weak signal detection handling
SVN-Revision: 32045
2012-06-04 13:42:39 +00:00
Felix Fietkau
b755998cd7 ath9k: fall back to OTP ROM if the platform data does not contain valid eeprom data
SVN-Revision: 32044
2012-06-04 10:42:03 +00:00
Luka Perkov
6c8d273721 pjsip: update to version 1.14.2
SVN-Revision: 32040
2012-06-03 23:37:58 +00:00
Felix Fietkau
785c3f1db8 pptp: fix passing setup json variables to the ppp setup code
SVN-Revision: 32035
2012-06-03 17:01:30 +00:00
Felix Fietkau
12cb49b233 kernel: kmod-video-gspca-core depends on kmod-input-core (fixes #11412)
SVN-Revision: 32033
2012-06-03 12:38:53 +00:00
John Crispin
1ee4031e14 fix videobuf2 escription
fixes #11411

SVN-Revision: 32032
2012-06-03 10:56:01 +00:00
John Crispin
c64fca15da Missing kernel module entry for GSPCA driver for SE401 webcam
fixes #11505

SVN-Revision: 32030
2012-06-03 07:28:48 +00:00
Jo-Philipp Wich
23eaea57ad uhttpd: remove some dead code
SVN-Revision: 32028
2012-06-02 15:08:54 +00:00
Jo-Philipp Wich
2cf72776d8 uhttpd: add explicit stdin eof notification for Lua and CGI childs
SVN-Revision: 32027
2012-06-02 14:56:24 +00:00
John Crispin
8d43ddab2f use symlinks for voip FW to make laoding easier
SVN-Revision: 32025
2012-06-02 14:03:30 +00:00
John Crispin
a4fa2cb611 move /dev/vmmcX creation to a more central place
SVN-Revision: 32024
2012-06-02 14:03:28 +00:00
Hauke Mehrtens
cedf84c348 mac80211: brcmsmac: add some patches starting to add support for some more chips
SVN-Revision: 32020
2012-06-01 21:17:04 +00:00
Hauke Mehrtens
1fb7419efb mac80211: make brcmfmac depend on usb
SVN-Revision: 32019
2012-06-01 21:14:08 +00:00
Felix Fietkau
e4e7c284dd mac80211: merge some pending fixes
SVN-Revision: 32018
2012-06-01 10:26:02 +00:00
John Crispin
e660665de1 fixes a descriptions mismatch
fixes #11381

SVN-Revision: 32012
2012-05-30 20:16:29 +00:00
Jo-Philipp Wich
afb93ae33b libubox: update to 2012-05-30, fixes bad non-empty return values in case of already cached variables
SVN-Revision: 32011
2012-05-30 19:53:01 +00:00
Jo-Philipp Wich
5aefe3b277 uhttpd: fix wrongly applied sizeof() leading to writing beyound end of buffer and subsequent data corruption (#11557)
SVN-Revision: 32005
2012-05-30 15:30:07 +00:00
Felix Fietkau
478ae49618 mac80211: update to wireless-testing 2012-05-29
SVN-Revision: 32002
2012-05-30 01:01:06 +00:00
Felix Fietkau
ce4aa59497 kernel: move esfq to kmod-sched-esfq, as it has extra netfilter dependencies
SVN-Revision: 32001
2012-05-29 22:22:19 +00:00
Gabor Juhos
eca7502dfd base-files: add LED specific functions to /lib/functions/uci-defaults
SVN-Revision: 31991
2012-05-29 16:39:16 +00:00
Felix Fietkau
c444edc6fd netifd: remove obsolete config variable dependency
SVN-Revision: 31988
2012-05-29 13:02:10 +00:00
Felix Fietkau
d8aabfe091 pptp: remove old network scripts
SVN-Revision: 31985
2012-05-29 12:59:23 +00:00
Felix Fietkau
b971ea720c ppp: remove old network scripts
SVN-Revision: 31984
2012-05-29 12:59:19 +00:00
Felix Fietkau
d3efcab813 6to4: remove old network scripts
SVN-Revision: 31983
2012-05-29 12:59:15 +00:00
Felix Fietkau
fdcc84f78e comgt: remove old network scripts
SVN-Revision: 31982
2012-05-29 12:59:11 +00:00
Felix Fietkau
d8d7529e0e 6in4: remove old network scripts
SVN-Revision: 31981
2012-05-29 12:59:07 +00:00
Felix Fietkau
8a9e94b077 base-files: remove base-files-network, netifd is the only supported option now
SVN-Revision: 31980
2012-05-29 12:59:03 +00:00
Felix Fietkau
16eda3e152 ppp: fix local ip in status info (fixes #11551)
SVN-Revision: 31979
2012-05-29 12:58:57 +00:00
Jo-Philipp Wich
c11151bc70 base-files: add network_is_up()
SVN-Revision: 31978
2012-05-29 02:03:25 +00:00
Jo-Philipp Wich
c998280a7c libubox: update to 2012-05-29
SVN-Revision: 31962
2012-05-29 00:36:46 +00:00
Jo-Philipp Wich
bf52cbf108 base-files: let network_get_device() return the l3 interface, introduce network_get_physdev() to obtain the underlying iface (if applicable)
SVN-Revision: 31960
2012-05-29 00:20:16 +00:00
Felix Fietkau
ba73b67726 mac80211: use built-in regulatory database instead of crda to avoid various race conditions
SVN-Revision: 31954
2012-05-28 16:17:30 +00:00
Felix Fietkau
9fba35fe7e netifd: call /sbin/wifi up on /etc/init.d/network reload
SVN-Revision: 31941
2012-05-28 14:22:42 +00:00
Jo-Philipp Wich
8ef9450b37 base-files: add network_get_device() to network.sh
SVN-Revision: 31937
2012-05-28 03:24:56 +00:00
Jo-Philipp Wich
963a0cd98b firewall: fix nat reflection after netifd status format change - use /lib/functions/network.sh - simplify nat reflection code
SVN-Revision: 31936
2012-05-28 03:15:05 +00:00
Jo-Philipp Wich
f1d04190c5 base-files: introduce /lib/functions/network.sh This file will contain common procedures to deal with network interfaces. Initially provides network_get_ipaddr(), network_get_ipaddr6(), network_get_subnet() and network_get_subnet6() to determine the primary IP addresses or subnets of a given logical interface.
SVN-Revision: 31935
2012-05-28 03:15:02 +00:00
Felix Fietkau
b03dd7a531 libubox: update to 2012-05-26
SVN-Revision: 31933
2012-05-28 02:55:50 +00:00
Jo-Philipp Wich
83758220ae iwinfo: assume that no tx power information is available if nl80211 returns 0 dBm maximum
SVN-Revision: 31932
2012-05-28 00:52:26 +00:00
Jo-Philipp Wich
022fa36b40 uhttpd: - rewrite large parts of the server, use uloop event driven structure - support concurrent requests and make the upper limit configurable - implement initial version of HTTP-to-ubus JSON proxy and session.* namespace - add compile time support for debug information - code style changes - bump package revision
SVN-Revision: 31931
2012-05-28 00:52:24 +00:00
Felix Fietkau
d1ad1c2c56 kernel: remove more unnecessary kernel version checks/dependencies
SVN-Revision: 31907
2012-05-27 15:22:13 +00:00
Felix Fietkau
b85c7c117a kernel: remove a few more obsolete CompareKernelPatchVer calls, add dependencies on @TARGET_x86 for a few network drivers that are typically not found in non-PC equipment
SVN-Revision: 31870
2012-05-27 12:33:55 +00:00
Felix Fietkau
d7522444d2 netifd: fix "Command failed: Not found" error with dhcp
SVN-Revision: 31863
2012-05-26 20:36:49 +00:00
Felix Fietkau
11397a5f75 mac80211: backport a fix for single-queue drivers (fixes #11534)
SVN-Revision: 31862
2012-05-26 20:15:28 +00:00
Felix Fietkau
925fcc107d ncurses: libncursesw should not depend on libncurses
SVN-Revision: 31861
2012-05-26 18:03:56 +00:00
Felix Fietkau
f2db9f2339 ppp: add back ip-{up,down}.d support for now
SVN-Revision: 31860
2012-05-26 15:31:54 +00:00
Felix Fietkau
7c1c457855 mac80211: get rid of duplicate iw reg set command (thx, stintel)
SVN-Revision: 31859
2012-05-26 14:56:04 +00:00
Felix Fietkau
38c2c53e65 netifd: update to latest version, fixes an endian issue in broadcast address handling
SVN-Revision: 31858
2012-05-25 07:59:29 +00:00
Felix Fietkau
ad98ada7d8 netifd: update to latest version, fixes overriding the mac address for bridge interfaces (#11526)
SVN-Revision: 31857
2012-05-24 18:45:01 +00:00
Felix Fietkau
cc61ab5c6d netifd: bring up wifi at boot
SVN-Revision: 31855
2012-05-24 16:24:55 +00:00
Jo-Philipp Wich
44f64af730 util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508)
SVN-Revision: 31854
2012-05-24 09:17:27 +00:00
Felix Fietkau
166db84309 base-files: kill ubusd and udhcpc on sysupgrade as well
SVN-Revision: 31852
2012-05-23 21:54:12 +00:00
Felix Fietkau
5d6628a88c base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade
SVN-Revision: 31851
2012-05-23 21:49:31 +00:00
Felix Fietkau
b86652832e netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init.d/netifd into /etc/init.d/network
SVN-Revision: 31850
2012-05-23 21:49:28 +00:00
Jo-Philipp Wich
267b414b4c netifd: port r27720 (#9763) to the netifd ifup variant
SVN-Revision: 31849
2012-05-23 21:26:20 +00:00
Gabor Juhos
6aec1d72c2 package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
SVN-Revision: 31842
2012-05-23 21:05:20 +00:00
Felix Fietkau
cba8c384fc netifd: update to latest version, adds interface alias support (#11518), and fixes network route drops on dhcp renew
SVN-Revision: 31840
2012-05-23 20:38:45 +00:00
Felix Fietkau
9037c2ccc6 lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
SVN-Revision: 31835
2012-05-20 21:58:03 +00:00
Felix Fietkau
102640b4cf kernel: fix kmod-sched-core build for kernels without codel
SVN-Revision: 31834
2012-05-20 21:57:58 +00:00
Felix Fietkau
64b882f002 pppd: add noipdefault option to /etc/ppp/options (fixes #11499)
SVN-Revision: 31831
2012-05-20 14:02:05 +00:00
Felix Fietkau
402393bbee netifd: update to latest version, fixes dns server issues (#11501)
SVN-Revision: 31830
2012-05-20 13:56:25 +00:00
Felix Fietkau
52e16e27ec netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings
SVN-Revision: 31822
2012-05-19 23:47:33 +00:00
Jo-Philipp Wich
fc7c50c1d3 kernel: fix packaging of act_connmark.ko (#11492)
SVN-Revision: 31821
2012-05-19 23:33:47 +00:00
Jo-Philipp Wich
df754ded76 openssl: update to v1.0.1c (CVE-2012-2333)
SVN-Revision: 31819
2012-05-19 21:00:14 +00:00
Jo-Philipp Wich
7345133eae dnsmasq: bump package revision
SVN-Revision: 31817
2012-05-19 20:17:57 +00:00
Jo-Philipp Wich
0e540ec90d dnsmasq: allow forcing options
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.

This is useful for forcing options to be sent back to a client (even options it didn't ask for).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31816
2012-05-19 20:17:56 +00:00
Jo-Philipp Wich
38cf8379b0 dnsmasq: add support for set: and tag: pairs
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.

For example:

config host
	option name 'client'
	option mac '00:01:02:03:04:05'
	option ip '192.168.1.20'
	option tag 'acme'

config tag acme
	option force '1'
	list dhcp_option 'option:router,192.168.1.253'
	list dhcp_option 'option:domain-name,acme.com'
	list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'

which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.

this causes the following config lines:

dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
dhcp-option-force=tag:acme,option:router,192.168.1.253
dhcp-option-force=tag:acme,option:domain-name,acme.com
dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com

This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31815
2012-05-19 20:17:54 +00:00
Jo-Philipp Wich
3eb1820532 dnsmasq: fix parsing of mx record options (#11365)
SVN-Revision: 31814
2012-05-19 20:17:19 +00:00
Felix Fietkau
5348608f9f netifd: update to latest version, fixes a crash on restart
SVN-Revision: 31812
2012-05-18 21:59:23 +00:00
Felix Fietkau
0b41ae819d ubus: update to latest version, fixes a socket race condition in the client library with uloop
SVN-Revision: 31811
2012-05-18 20:36:02 +00:00
Gabor Juhos
d9dab97d38 x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.

SVN-Revision: 31802
2012-05-18 20:10:33 +00:00
Gabor Juhos
7217afc657 package/ep80579-drivers: refresh patches
SVN-Revision: 31801
2012-05-18 20:10:28 +00:00
Felix Fietkau
1751186f18 kernel: add et131x from packages/
SVN-Revision: 31792
2012-05-18 19:03:35 +00:00
Felix Fietkau
040ce45f98 kernel: split off act_connmark into a separate package to avoid cluttering kmod-sched with a netfilter dependency (fixes #11483)
SVN-Revision: 31791
2012-05-18 18:36:36 +00:00
Hauke Mehrtens
7dd6e5c7bb mac80211: add brcmfmac driver
SVN-Revision: 31786
2012-05-18 15:43:04 +00:00
Felix Fietkau
2360a53116 kernel: remove obsolete dependencies and conditionals
SVN-Revision: 31779
2012-05-17 15:28:17 +00:00
Felix Fietkau
ce9b21bc11 kernel: remove the dummy kmod-rtc-core-* package, make all rtc drivers depend on @RTC_SUPPORT - prevent RTC support from leaking into kernels for targets that do not need this
SVN-Revision: 31778
2012-05-17 15:28:13 +00:00
Felix Fietkau
1963c6b019 kernel: remove kmod-gpio-cs5535, it was only relevant for old kernel versions
SVN-Revision: 31776
2012-05-17 15:28:06 +00:00
Felix Fietkau
8ff9b93dfa kernel: remove obsolete CompareKernelPatchVer calls
SVN-Revision: 31775
2012-05-17 15:28:02 +00:00
Hauke Mehrtens
23f253fbdc mac80211: brcmsmac update to version from wireless-testing tag master-2012-05-16-2
SVN-Revision: 31773
2012-05-17 13:24:47 +00:00
Hauke Mehrtens
273797f15a kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
SVN-Revision: 31772
2012-05-17 13:22:38 +00:00
Felix Fietkau
c8dc123892 6to4: load the network config to fix radvd announce (#11467)
SVN-Revision: 31770
2012-05-17 12:42:05 +00:00
Felix Fietkau
57d3b4b47d tc: depend on kmod-sched-core instead of kmod-sched (fixes #11465)
SVN-Revision: 31769
2012-05-17 12:36:00 +00:00
Felix Fietkau
d4961fbcb7 6in4: remove some obsolete functions
SVN-Revision: 31768
2012-05-17 12:35:56 +00:00
Felix Fietkau
4bd4fd2ca2 libubox: fix jshn handling of variables with numbers (fixes #11468)
SVN-Revision: 31767
2012-05-17 12:35:52 +00:00
Felix Fietkau
ef86a2c081 qos-scripts: use kmod-sched-core instead of kmod-sched
SVN-Revision: 31761
2012-05-16 15:23:23 +00:00
Felix Fietkau
96d0c04d9a kernel: split kmod-sched into kmod-sched-core and kmod-sched
SVN-Revision: 31760
2012-05-16 15:23:19 +00:00
Felix Fietkau
d5fc598d62 qos-scripts: replace sfq/red with fq_codel - massively improves latency under load
SVN-Revision: 31759
2012-05-16 15:23:16 +00:00
Felix Fietkau
3f97b9eb36 iproute2: update to 3.3.0, drop a few useless old patches, add codel support
SVN-Revision: 31758
2012-05-16 15:23:12 +00:00
Felix Fietkau
f9b64e59ca kernel: add codel and fq_codel support to kmod-sched (patch by Dave Täht)
SVN-Revision: 31757
2012-05-16 15:23:08 +00:00
Jo-Philipp Wich
329d18a25c firewall: rework interface address determination to skip ipv6 addresses
SVN-Revision: 31755
2012-05-16 13:37:49 +00:00
Jo-Philipp Wich
82fc13d3c2 firewall: fix nat reflection after netifd switch (#11460)
SVN-Revision: 31754
2012-05-16 13:03:54 +00:00
Felix Fietkau
ee8322c3c9 libubox: update to latest version, fixes handling of numbers in jshn variables
SVN-Revision: 31747
2012-05-16 08:45:24 +00:00
Felix Fietkau
768d49a428 netifd: bring up all interfaces on /etc/init.d/network restart
SVN-Revision: 31732
2012-05-14 23:50:59 +00:00
Felix Fietkau
5eed1d8f6b enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
SVN-Revision: 31730
2012-05-14 23:33:35 +00:00
Felix Fietkau
a6e7b3cffe netifd: use the new json_get_vars function in the dhcp helper script
SVN-Revision: 31727
2012-05-14 20:58:27 +00:00
Felix Fietkau
e8fa94daa4 ppp: use the new json_get_vars function
SVN-Revision: 31726
2012-05-14 20:58:24 +00:00
Felix Fietkau
3ee1a3abf0 pptp: use the new json_get_vars function
SVN-Revision: 31725
2012-05-14 20:58:20 +00:00
Felix Fietkau
189c25d318 pptp: use resolveip, schedule restart if dns lookups fail
SVN-Revision: 31724
2012-05-14 20:58:16 +00:00
Felix Fietkau
89532e6437 netifd: update to 2012-05-14, fixes a file descriptor leak, fixes a use-after-free on host dependencies, adds a command for scheduling proto-shell restarts and adds support for more address options (point to point, broadcast)
SVN-Revision: 31723
2012-05-14 20:58:13 +00:00
Felix Fietkau
c9d393186c pptp: drop the dependency on ip if netifd is selected
SVN-Revision: 31722
2012-05-14 20:58:09 +00:00
Felix Fietkau
fbe1a53770 libubox: update to latest version, adds a new function in jshn.sh
SVN-Revision: 31721
2012-05-14 20:58:06 +00:00
Felix Fietkau
cd1760ee41 relayd: fix return code check for resolving network->ifname mapping
SVN-Revision: 31712
2012-05-14 14:08:43 +00:00
Gabor Juhos
047c0b8d28 package/e2fsprogs: disable building of internal lib{blkid,uuid}
Also remove an empty patch.

SVN-Revision: 31702
2012-05-13 12:20:17 +00:00
Gabor Juhos
b15e49f2fa package/util-linux: install development files
Also remove trailing whitespaces from the Makefile.

Based on a patch by M. Braun.

SVN-Revision: 31701
2012-05-13 12:20:15 +00:00
Felix Fietkau
dc30d4fd3a ath9k: fix ar9330 internal regulator setup
SVN-Revision: 31692
2012-05-12 17:41:05 +00:00
Felix Fietkau
2e8e109624 ath9k: update initvals for ar9330 to fix issues with high power designs
SVN-Revision: 31691
2012-05-12 17:40:59 +00:00
Felix Fietkau
373d489a2c ath9k: fix a rare use-after-free bug
SVN-Revision: 31690
2012-05-12 17:40:53 +00:00
Felix Fietkau
5cc362bd7a ath9k: stop rx before tx, should reduce the frequency of "Failed to stop Tx DMA" errors
SVN-Revision: 31689
2012-05-12 17:40:47 +00:00
Felix Fietkau
d7bb955e45 remove kmod-mvswitch, it does not work on kernels <3.2 and is not necessary as a module anyway
SVN-Revision: 31678
2012-05-11 22:08:06 +00:00
Gabor Juhos
e976bf5600 package/kernel: add package for the ADT7473/7475/7476/7490 sensors
SVN-Revision: 31657
2012-05-09 10:48:36 +00:00
Gabor Juhos
0f8e0335a7 package/kernel: add package for the LM85 sensor
SVN-Revision: 31656
2012-05-09 10:48:34 +00:00
Gabor Juhos
c403828c57 package/kernel: move hwmon-vid into a separate package
SVN-Revision: 31655
2012-05-09 10:48:33 +00:00
Jo-Philipp Wich
0422ba4687 ppp: remove stray bracked in ppp-up script, thanks swalker
SVN-Revision: 31647
2012-05-07 22:41:41 +00:00
Jonas Gorski
80650c9475 base-files: wait for wifi modules to settle
On slower devices wifi drivers might take too long for detecting
devices, resulting in the wifi detect call not seeing them.

This was observed on a bcm6348 with bcm4318 wifi. Adding a one second
pause was enough for b43 to expose the device.

SVN-Revision: 31639
2012-05-06 21:25:42 +00:00
Felix Fietkau
c3f0b757a3 pptp: fix installation path for netifd proto handler
SVN-Revision: 31636
2012-05-06 21:19:04 +00:00
Hauke Mehrtens
8ff6417c41 kernel: remove kernel modules and references to kernels <= 2.6.36
OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.

SVN-Revision: 31634
2012-05-06 20:43:17 +00:00
Hauke Mehrtens
a42570bc3e kernel: remove kmod-usb-serial-airprime
This was removed from kernel 2.6.27

SVN-Revision: 31633
2012-05-06 20:40:54 +00:00
Hauke Mehrtens
2f93cd1fad kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.

The last commit (r31631) has the wrong message, kmod-usb-phidget was removed in kernel 2.6.30.

SVN-Revision: 31632
2012-05-06 20:40:19 +00:00
Hauke Mehrtens
34c32d3a9d kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.

SVN-Revision: 31631
2012-05-06 20:37:08 +00:00
Hauke Mehrtens
0fd86465d0 kernel: add video-videobuf2
This should fix #11349 and #11142

SVN-Revision: 31630
2012-05-06 20:35:54 +00:00
Hauke Mehrtens
655a320a6b kernel: build kmod-video-gspca-gl860 and kmod-video-gspca-jeilinj on all kernel versions
This module is available on all supported kernel versions

SVN-Revision: 31629
2012-05-06 20:34:55 +00:00
Hauke Mehrtens
216853d6ba kernel: add kmod-video-gspca-konica and remove kmod-video-konica
kmod-video-konica was removed from kernel 2.6.38 and is now replaced by kmod-video-gspca-konica

SVN-Revision: 31628
2012-05-06 20:34:00 +00:00
Hauke Mehrtens
865ac15306 kernel: remove kmod-video-ov511 and kmod-video-ovcamchip
These two modules where removed from kernel with kernel version 2.6.36, use kmod-video-gspca-ov519 instead.

SVN-Revision: 31627
2012-05-06 20:33:17 +00:00
Felix Fietkau
ffa7a3ac35 ubus: update to latest version, add LUAPATH to cmake options - fixes #11398
SVN-Revision: 31622
2012-05-06 08:27:40 +00:00
Jo-Philipp Wich
7dc263ddaa ubus: update to current git, package up libubus-lua
SVN-Revision: 31619
2012-05-05 20:47:38 +00:00
Gabor Juhos
71dc2715a9 package/ar7-atm: allow to build on 3.3
SVN-Revision: 31613
2012-05-05 17:32:33 +00:00
Gabor Juhos
1e041ba72a package/ar7-atm: refresh patches
SVN-Revision: 31612
2012-05-05 17:32:29 +00:00
Felix Fietkau
73383c252e pptp: kill the call manager process on shutdown
SVN-Revision: 31606
2012-05-05 16:56:42 +00:00
Felix Fietkau
3225530e1e pptp: add netifd support
SVN-Revision: 31605
2012-05-05 16:56:28 +00:00
Felix Fietkau
b76a1b49aa pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
SVN-Revision: 31604
2012-05-05 16:56:24 +00:00
Felix Fietkau
50edcbde35 netifd: update to latest version, adds support for host route dependencies
SVN-Revision: 31603
2012-05-05 16:56:20 +00:00
Felix Fietkau
7591ffded8 pptp: compile with the openwrt cflags instead of -O0
SVN-Revision: 31600
2012-05-05 13:06:33 +00:00
Imre Kaloz
44631ef595 switch to the new linux-firmware git tree, use the new wl12xx firmware files
SVN-Revision: 31575
2012-05-03 21:50:41 +00:00
Jo-Philipp Wich
8e9d914343 uhttpd: display errors in init script, code formatting changes, bump package version
SVN-Revision: 31572
2012-05-03 17:19:22 +00:00
Jo-Philipp Wich
54b34ccbc5 uhttpd: added uhttpd.docroot
Passes the document-root to the Lua handler by placing it in uhttpd.docroot.

It could alternatively be placed in env.DOCUMENT_ROOT which would more closely
resemble the CGI protocol; but would mean that it is not available at the time
when the handler-chunk is loaded but rather not until the handler is called,
without any code savings.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

SVN-Revision: 31571
2012-05-03 17:19:20 +00:00
Jo-Philipp Wich
bcd8d530d1 Fixed: [PATCH 2/3] uhttpd URL-codec enhancements.
My apologies, the 2nd of those patches had a syntax error -- that's what
I get for making a last-minute edit, even to the comments, without
testing! :-p

Here is the corrected patch.

-- David

From d259cff104d2084455476b82e92a3a27524f4263 Mon Sep 17 00:00:00 2001
From: David Favro <openwrt@meta-dynamic.com>
Date: Fri, 27 Apr 2012 14:17:52 -0400
Subject: [PATCH] uhttpd URL-codec enhancements.

* uh_urlencode() and uh_urldecode() now return an error condition for
  buffer-overflow and malformed-encoding rather than normal return with corrupt
  or truncated data.  As HTTP request processing is currently implemented, this
  causes a 404 HTTP status returned to the client, while 400 is more
  appropriate.

* Exposed urlencode() to Lua.

* Lua's uhttpd.urlencode() and .urldecode() now raise an error condition for
  buffer-overflow and malformed-encoding rather than normal return with
  incorrect data.

SVN-Revision: 31570
2016-03-20 20:05:13 +01:00
Jo-Philipp Wich
2bfb1e012a uhttpd URL-codec bug fixes.
* Fixed output-buffer-overflow bug in uh_urlencode() and uh_urldecode() [tested
  input-buffer index against output-buffer length].  In reality, this would not
  typically cause an overflow on decode, where the output string would be
  expected to be shorter than the input string; and uh_urlencode() seems to have
  been unreferenced in the source.

* Fixed bug: uh_urlencode() and uh_urldecode() both read one extra byte from the
  input-string.  While this could manifest in C code, the result was most
  egregious when called from Lua, where it caused an extra null byte to be
  embedded at the end of the output string.

* uh_urlencode() cleanup: removed redundant bitwise-and.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

SVN-Revision: 31569
2012-05-03 17:19:16 +00:00
Gabor Juhos
6e5db7ed69 package/pptp: remove a stray bracket
SVN-Revision: 31568
2012-05-03 13:29:36 +00:00
Gabor Juhos
3349cf2691 Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31566
2012-05-03 09:43:10 +00:00
Gabor Juhos
60db046ef2 Fix pptp handling of routes to server.
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.

Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31565
2012-05-03 09:39:01 +00:00
Gabor Juhos
97697c332f Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31564
2012-05-03 09:38:58 +00:00
Florian Fainelli
e69d1b9940 openssl: update to 1.0.1b
SVN-Revision: 31551
2012-05-02 15:40:32 +00:00
Gabor Juhos
70322ba3d1 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
SVN-Revision: 31547
2012-05-01 08:00:25 +00:00
Felix Fietkau
7a8d12bafa relayd: move the interface fixup to the right place
SVN-Revision: 31545
2012-04-30 18:27:12 +00:00
Felix Fietkau
ea1d49fc90 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
SVN-Revision: 31544
2012-04-30 18:24:00 +00:00
Felix Fietkau
4ea86b956c base-files-network: add a fixup_interface function like with the netifd compatibility scripts - allows selective fixup of individual interface sections instead of having to do the full scan_interfaces
SVN-Revision: 31543
2012-04-30 18:23:56 +00:00
Felix Fietkau
8a790d9730 relayd: use an init script instead of a legacy network proto handler (fixes #11276)
SVN-Revision: 31542
2012-04-30 18:23:52 +00:00
Felix Fietkau
f8868fc87b ath9k: merge a ar93xx ht40 performance fix
SVN-Revision: 31540
2012-04-30 08:20:34 +00:00