Commit Graph

12313 Commits (c07d8fffd3bda085f52cf4f2c2a3f7fb43417f4b)

Author SHA1 Message Date
John Crispin 491ce2c749 kernel/modules: remove unused variable
https://dev.openwrt.org/ticket/18472

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 00:19:28 +00:00
John Crispin 05ebabab10 procd: more nand takeover fixes
if the initramfs kernel and payload were flashed in one block, the payload might not be at the start of the ubi partition due to bad blocks inside the kernel partition.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 20:22:37 +00:00
John Crispin 41c3bf1931 mtd: make the dump commnd honour the -o option
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 20:22:32 +00:00
John Crispin 3eb3771e2c uboot-envtools: use environment stored in UBI also for KD20
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 16:05:23 +00:00
John Crispin de06680bbd uboot-oxnas: adjust digtial drive strength of IC+ phy
This is what the vendor bootloader does on KD20.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 16:05:17 +00:00
John Crispin 0da34e4151 uboot-oxnas: re-add IC+ phy driver
KD20 got an IC+ phy, without the driver the phy is not properly
initialized resulting in ethernet not working unless being already
initialized by the vendor loader.

upstream commit 368b4d2b49bbbf379d9334747fbbd2aaaafe4356
drivers: net: remove dead drivers
removed icplus.c due to the lack of in-tree users.
Partially revert that commit adding back the IC+ driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 16:05:11 +00:00
John Crispin b049c3f4af procd: firstboot nand/ubi takeover support
it is now possible to flash a initramfs kernel and a sysupgrade tar file inside the ubi partition. on first boot, the takeover script will find the tar file, extract and finally sysupgrade it. this allows us to flash owrt/ubi images in a 2 phase setup using ODM webuis that are not ubi aware. this is needed by some mediatek and brokencom devices.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 14:32:32 +00:00
John Crispin a1a8c1a623 uqmi: Add --delete-message for deleting SMS messages
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 09:17:28 +00:00
John Crispin 31de27e5ec mtd: make the mtd dump call run properly on nand flash
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 19:28:23 +00:00
Felix Fietkau 9a03fea5ae kernel/modules: package xhci for kernel>=3.18
xhci-hcd was split into xhci-pci and xhci-platform since 3.18

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 19:26:45 +00:00
John Crispin a9d0c46233 mtd: add ability to dump a mtd device
this can be used on nand flashes and will skip bad blocks and run ecc on the
read data before dumping it.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 18:27:49 +00:00
John Crispin 606804741a uboot-oxnas: bump to U-Boot 2014.10
A few trivial changes were needed to adapt to upstream framework changes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:25:37 +00:00
John Crispin c8bcb7b313 kernel/modules: package gpio-beeper
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:25:03 +00:00
John Crispin 4a25cfb1d0 opkg: the PKG_UPGRADE env was not set properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 15:21:50 +00:00
John Crispin b5070b194e procd: drop the zram dependencies, theu caused a recursive deps warning
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 13:16:06 +00:00
John Crispin f7e5a4cf07 procd: reintroduce /sys/fs/cgroup mount
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 12:41:15 +00:00
John Crispin 29d2573dfc procd: add support for zram compressed /tmp
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-02 11:13:28 +00:00
Felix Fietkau 24f15f772e fstools: update to the latest version, fixes sysupgrade on linux 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 21:10:42 +00:00
Felix Fietkau 2cfa6cfefd ath10k: init devices synchronously to fix wifi detection at boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 20:01:05 +00:00
Felix Fietkau e4340ea1b7 openvpn: update to 2.3.6, fixes CVE-2014-8104
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 19:49:59 +00:00
John Crispin 43e9e12c6a fstools: make the block tool ignore case when comparing uuid strings
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 18:46:23 +00:00
John Crispin 0778adf28a util-linux: fix more missing dependencies introduced by r43459
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:50:43 +00:00
John Crispin 4a19221bbc uqmi: fix SEGFAULT on reading Unicode sms messages
Added complementary blobmsg_close_table() before returning from function
on error.

Signed-off-by: Sławomir Demeszko <s.demeszko@wireless-instruments.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:23:55 +00:00
John Crispin cf9c8a7760 util-linux: fix missing dependency introduced by r43459
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:18:15 +00:00
John Crispin b040855a91 hostapd: improve 802.1x dynamic vlan support with bridge names
In r41872 and r42787 Dynamic VLAN support was reintroduced, but the vlan_bridge
parameter is not read while setting up the config, so the default is used which
is undesirable for some uses.

Signed-off-by: Ben Franske <ben.mm@franske.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:15:20 +00:00
John Crispin 894af53f00 base-files: default_postinst() - create user:group first (resend)
create user:group before running postinst-pkg. the postinst hook might require
the user:group to already exist.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 16:15:13 +00:00
Luka Perkov c7615f858c util-linux: package libsmartcols
Packages fdisk and lsblk were missing dependency for libsmartcols.so.1

Add package for libsmartcols and add dependency from fdisk and lsblk.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 12:40:06 +00:00
Luka Perkov e24ab7ea32 util-linux: update to 2.25.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 22:11:09 +00:00
Felix Fietkau d6ec05aec4 ath5k: fix hardware queue index assignment
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 21:05:17 +00:00
Felix Fietkau 9178792bcb ath9k: fix hardware tx queue allocation order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 19:41:59 +00:00
Luka Perkov 03c303d3e9 uboot-kirkwood: bump to 2014.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 03:55:44 +00:00
Luka Perkov 5694907d83 uboot-envtools: bump to 2014.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 01:14:17 +00:00
Luka Perkov d498e13cc9 [package] uboot-*: update license info in uboot packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-29 23:45:53 +00:00
Rafał Miłecki c4c6ef099a procd: fix typo in nand.sh s/TRX/TAR/
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 19:13:24 +00:00
Steven Barth 7531671068 ntp: add hotplug class for ntp-events
Based on a patch by Luiz Angelo Daros de Luca

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 11:41:25 +00:00
Florian Fainelli 57f3c8dbf0 devel: import perf from oldpackages
perf was in the oldpackages repository, but it makes more sense to have
it part of the default package set since we build it from the Linux
kernel sources.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 01:29:41 +00:00
Steven Barth a67d72fa00 odhcp6c: avoid busylooping with strangely behaving dhcpv6 servers
Thanks to Dave Taht for debugging and thanks to Comcast for
shipping strangely behaving software so I can fix some corner cases.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 00:39:19 +00:00
Felix Fietkau d145ef383a mac80211: update regdb to master-2014-11-18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 17:26:06 +00:00
Felix Fietkau 5c4206bf5f mt76: fix a compile error on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 16:35:23 +00:00
Steven Barth e0ab4e96b3 netifd: correctly handle source-parameter for IPv4 routes
Thanks to Kristian Evensen

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 07:26:10 +00:00
John Crispin dadf44d9bb uboot-omap: add C4 revision in findfdt
fixes BeagleBoard C4 detection

error message in serial console was:
"WARNING: Could not determine device tree to use"

change is found in upstream u-boot

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-26 09:00:56 +00:00
John Crispin 37940a23fe uboot-envtools: add support for oxnas target
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-26 09:00:40 +00:00
John Crispin 10bfe12b38 add uboot-oxnas
This adds support for the oxnas target in U-Boot 2014.04
History can be found at https://github.com/kref/u-boot-oxnas up to 2013.10
changes from 2013.10 to 2014.04 can be followed at
https://gitorious.org/openwrt-oxnas

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-26 09:00:17 +00:00
John Crispin 7d4dfd7dd7 add new target 'oxnas'
This is the oxnas target previously developed at
http://gitorious.org/openwrt-oxnas
Basically, this consolidates the changes and addtionas from
http://github.org/kref/linux-oxnas
into a new OpenWrt hardware target 'oxnas' adding support for
 PLX Technology NAS7820/NAS7821/NAS7825/...
formally known as
 Oxford Semiconductor OXE810SE/OXE815/OX820/...

For now there are 4 supported boards:
Cloud Engines Pogoplug V3 (without PCIe)
 fully supported

Cloud Engines Pogoplug Pro (with PCIe)
 fully supported

MitraStar STG-212
 aka ZyXEL NSA-212,
 aka Medion Akoya P89625 / P89636 / P89626 / P89630,
 aka Medion MD 86407 / MD 86805 / MD 86517 / MD 86587
 fully supported, see http://wiki.openwrt.org/toh/medion/md86587

Shuttle KD-20
 partially supported (S-ATA driver lacks support for 2nd port)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-26 09:00:08 +00:00
John Crispin 030e67db75 mtd: fix 2 compiler warnings
mtd.c:544:7: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ssize_t’ [-Wformat]
mtd.c:602:1: warning: label ‘done’ defined but not used [-Wunused-label]

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-26 08:59:17 +00:00
Felix Fietkau 380051d86c uqmi: update to the latest version, also set 802.3 data format via the WDA service
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-25 20:34:08 +00:00
John Crispin b3fd443967 procd: fix/clean some conditions in nand.sh
1) nand_upgrade_tar: use a simpler condition that matches if () { }
   logic and fix check of $kernel_length variable
2) nand_do_upgrade_stage2: use case, otherwise one could believe we
   always call nand_upgrade_tar

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 19:14:29 +00:00
John Crispin b115a21948 procd: document nand.sh a bit
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 19:14:17 +00:00
Felix Fietkau b3672ac18f fstools: update to the latest version, fixes overlayfs mount on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 17:18:32 +00:00
Felix Fietkau 22672bc74f mac80211: fix a crash on getting the channel in WDS AP mode (#18400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 17:13:54 +00:00
Imre Kaloz cfa0c5b27f [base-files]: fix sysupgrade on overlayfs v23+
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 15:55:52 +00:00
Florian Fainelli 41a786620a libbsd: add support for aarch64
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 06:33:34 +00:00
Felix Fietkau 1254089c67 libubox: fix a variable handling regression in jshn
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-23 22:53:14 +00:00
Felix Fietkau 0a9a67ffed libubox: update to the latest version, adds some jshn optimizations
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-23 20:10:07 +00:00
Felix Fietkau 49c9b28562 lzo: disable unaligned access for everything except x86
Fixes issues on ARM

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-23 20:10:02 +00:00
Felix Fietkau 4efbc8d3f5 busybox: turn on BUSYBOX_DEFAULT_FEATURE_SH_NOFORK to slightly improve performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-23 20:09:56 +00:00
Felix Fietkau e238d1b161 netifd: update to the latest version, fixes issues when changing a bridge member from a vlan to its base device (#18351)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-23 16:07:00 +00:00
Felix Fietkau 92cccc6bf5 hostapd: fix build error on some variants with CONFIG_WPA_RFKILL_SUPPORT=y (#17765)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-23 14:16:47 +00:00
Felix Fietkau 84d30cba20 ath9k: fix some ar913x irq handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-23 12:53:35 +00:00
Felix Fietkau e2cc653b5c mac80211: fix a crash on using VHT rates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-21 22:29:48 +00:00
Felix Fietkau f0eb51712e hostapd: switch dependency from mac80211 to cfg80211
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-21 20:38:14 +00:00
Felix Fietkau d956640832 mt76: add new mediatek 802.11ac driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-20 20:27:36 +00:00
Felix Fietkau 9b9d569e4b procd: update to the latest version, fixes ubus service list
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 20:17:24 +00:00
Felix Fietkau ec132f29de mac80211: try to get interface addresses from wiphy sysfs 'addresses' if no mask is set
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 20:17:08 +00:00
Felix Fietkau 027cc6721a mac80211: add an intermediate software queueing implementation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 20:17:01 +00:00
Felix Fietkau 6ba64fa5fc mac80211: add support for passing sta rate table updates to the driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 20:16:55 +00:00
John Crispin 3b07d1414b uboot-envtools: add carambola2 support
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 13:49:54 +00:00
Jonas Gorski 7c7d2419a2 kernel: remove gpio-pwm kmod definition
r37490 removed the actual driver but left the kmod definition intact,
causing the build system hapily creating an empty package for it.
Remove it also to not make it seem as if it still exists.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 12:42:00 +00:00
Jonas Gorski a83eac388f base-files: supress errors from ldd
ldd might be called for shell scrips during sysupgrade, causing it to
complain that they are not a dynamic executables.

This is a harmless error, so supress it to avoid confusing about them
being serious ones.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 12:17:37 +00:00
Jonas Gorski b5ff15f705 toolchain: musl: fix symlink for ldd
ld-musl-*.so* is a symlink "broken" for the hostsystem, so wildcard
will skip it, causing LD_MUSL_NAME to empty and the ldd symlink pointing
to ../../lib directly.
This causes sysupgrade failing to copy any linked libaries and
consequently failing to run anything after switching to ram disk.

Fix this by creating a symlink directly pointing to where ld-musl-*.so*
points to.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 12:17:34 +00:00
John Crispin 41436967c3 nf_conntrack_rtsp: update to latest version
Update nf_conntrack_rtsp to latest version based on http://mike.it-loops.com/rtsp/ (rtsp-module-3.7-v2.tar.gz).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:21:12 +00:00
John Crispin 0c07215e8d uqmi: update to latest git HEAD
* fixes a bug in multipart sms
* adds a new call to read the sim phone number (partially functioanl)

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:21:07 +00:00
John Crispin b598129396 ralink: merge the mt7620a/n subtargets
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:19:38 +00:00
Steven Barth ceb0f117bf netifd: fix race, expose config options
Thanks to Hans Dedecker

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 08:31:13 +00:00
Felix Fietkau b86bf6a4e8 mac80211: fix a crash bug in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-18 22:20:50 +00:00
Felix Fietkau 792d02f2b6 mac80211: add support for reporting tx status without attached skb
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-18 22:20:45 +00:00
Felix Fietkau aa17299b5a mac80211: enable minstrel_ht VHT support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-18 22:20:37 +00:00
Jonas Gorski ac9840c22d base-files: properly fix copying ld*.so with eglibc
r36107 ("base-files: sysupgrade fail with eglibc") tried to fix
sysupgrade by changing the ld-soname to what is expected, but only
fixed MIPS while breaking ARM.

The underlying issue is that the ld.so name varies widely across
different architectures for eglibc:

eglibc-2.19-r25243$ grep -r "ld-soname :=" . | awk '{ print $3 }' | sort -u
ld64.so.1
ld64.so.2
ld-linux-aarch64_be.so.1
ld-linux-aarch64.so.1
ld-linux-armhf.so.3
ld-linux-mipsn8.so.1
ld-linux.so.2
ld-linux.so.3
ld-linux-x32.so.2
ld-linux-x86-64.so.2
ld.so.1

Instead of adding each different soname to check for and copy it,
replace the awk script with a sed script to extract it properly and
drop the hardcoded so-name.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-18 15:19:46 +00:00
Steven Barth e86b60dcd2 odhcp6c: be less verbose by default, increase musl compatibility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-18 09:40:39 +00:00
John Crispin a1e3550b37 kernel/modules: use crc32c_generic.ko instead of crc32c.ko
Starting from kernel version 3.15, the crc32c module was renamed to
crc32c_generic.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-17 14:30:42 +00:00
John Crispin 822237afe4 kernel/modules: location of usb-common.ko changed
usb-common.ko was moved to drivers/usb/common starting from kernel 3.16
by upstream commit f4cbd33fd5f0587910fa9db403a1b42f1cabf820

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-17 14:30:19 +00:00
Felix Fietkau e09bafca8c trace-cmd: update to v2.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-16 11:39:14 +00:00
Felix Fietkau 06d97f8331 mac80211: fix VHT rate selection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-16 11:39:07 +00:00
Felix Fietkau ee7266d742 mac80211: backport list_last_entry
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-16 11:39:01 +00:00
Felix Fietkau 8a328e2d03 mac80211: backport devm_kmemdup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-16 11:38:55 +00:00
John Crispin 95d7ac2e59 package/uboot-envtools: add OpenMesh MR900v2 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:55:26 +00:00
John Crispin c1a23063dc package/om-watchdog: add OpenMesh MR900v2 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:55:19 +00:00
John Crispin a3125f4044 package/uboot-envtools: add OpenMesh MR900 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:54:45 +00:00
John Crispin 72593dd631 package/om-watchdog: add OpenMesh MR900 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:54:38 +00:00
John Crispin 8765fe6662 procd: update to latest git HEAD
make sure /sys/fs/cgroup is mounted on boot

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:53:58 +00:00
Matteo Croce 789aa2bf5c pppd: add option to set custom host-uniq pppoe tag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:39:59 +00:00
Felix Fietkau 5748353e21 ath9k: fix crashes when using shared IRQs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-13 17:38:22 +00:00
Jo-Philipp Wich 3886bf6881 lldpd: allow discovery protocols to be disabled from menuconfig
Signed-off-by: Michel Stam <m.stam@fugro.nl>
[jow: fixed condition for CONFIG_LLDPD_WITH_JSON]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-11 09:49:20 +00:00
Luka Perkov 6c196e1ea7 kirkwood: add support for Linksys EA3500
http://wiki.openwrt.org/toh/linksys/ea3500

Signed-off-by: Dan Walters <dan@walters.io>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-10 23:55:10 +00:00
Steven Barth b59385e75e 6in4: detect curl and busybox wget
b52053b 6in4: https support for he.net tunnel api
introduced HTTPS support using wget.
The busybox version of wget, however, doesn't support the -V option,
thus poluting logfiles with a full invalid-parameter-output.
Redirect stderr to fix that.
As libcurl and curl support selecting the SSL library of your choice,
also add support for curl which is more commonly used on OpenWrt than
"real" wget which needs libopenssl.
Also make sure to respect SSL_CERT_DIR and increase timeouts.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-09 13:46:29 +00:00
Felix Fietkau 6b2a643341 mac80211: fix kernel crash on netdev unregister on newer 3.14 kernels
Based on patch by Mark Milburn

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-09 02:25:49 +00:00
Felix Fietkau e2675cba3e procd: update to the latest version, fixes job control on the console shell
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-08 18:10:37 +00:00
Steven Barth a5818dc814 netifd: fix default ORO-setting for 6rd
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-08 12:24:49 +00:00
Felix Fietkau 47f462d167 mac80211: update to wireless-testing 2014-11-04
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-07 19:41:07 +00:00
Felix Fietkau b798df3e96 mac80211: merge a few pending upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-07 11:12:51 +00:00
Nicolas Thill 1ee8ef9901 package/*: replace occurences of 'ln -sf' to '$(LN)'
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 19:35:34 +00:00
Nicolas Thill a1a5fab023 ncurses: cleanup InstallDev
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 19:35:23 +00:00
Nicolas Thill 45e37cba5c libusb-compat: cleanup InstallDev
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 19:35:14 +00:00
Steven Barth f2d1be9815 odhcpd: disable flash-renumbering hack for non-64 prefixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 13:37:50 +00:00
John Crispin ca1c7e3a82 procd: update to latest git
setsid is called fixing the pgrp issue
trigger the wdt while modules are being inserted

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 09:30:55 +00:00
Nicolas Thill b6a59fade5 busybox: add 2 upstream fixes
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 04:44:06 +00:00
Nicolas Thill e4cdf4c8f2 uboot-sunxi: add support for Olimex A20-OLinuXino-LIME
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 00:05:15 +00:00
Nicolas Thill 2043ee8be0 uboot-sunxi: cosmetic changes
This will ease adding new targets and updating:
 * split UBOOTS var into multiple lines
 * remove version from TITLE

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 00:05:10 +00:00
Steven Barth 9972bc1ad8 procd: fix kernel command-line argument parsing
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-05 14:21:40 +00:00
Steven Barth 1b5876a281 procd: Make askconsole work again when no tty is specified in inittab
Thanks to Michel Stam

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-04 18:48:17 +00:00
Steven Barth 19327bad2d procd: fix serial console login (#18278)
Many thanks to Michel Stam for his work.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-04 16:03:51 +00:00
Steven Barth 8d8d9ce2b9 openssl: reenable CMS (broke krb5)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-04 08:37:06 +00:00
Felix Fietkau 224bfe9779 netfilter: Enable compiling iptables match cluster
This patch adds the userspace and kernelspace for

- match NETFILTER_XT_MATCH_CLUSTER
  This match can be used to deploy gateway and back-end load-sharing clusters.
- target IP_NF_TARGET_CLUSTERIP
  This module allows you to configure a simple cluster of nodes
  that share a certain IP and MAC address
  without an explicit load balancer in front of them.
  Connections are statically distributed between the nodes in this cluster.

This is used i.e. by strongswan-ha.

Signed-off-by: Christian Scheele <cs@embedd.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 22:01:45 +00:00
Steven Barth 6e068f5d04 polarssl: update to 1.3.9
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 19:36:06 +00:00
Steven Barth fc724508ba mdnsd: add query / fetch methods, fix some bugs
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 19:35:53 +00:00
Jo-Philipp Wich 5563d9d4e5 px5g: generate unique serial numbers
Generate a random serial from /dev/urandom when creating selfsigned certs.
Fixes "sec_error_reused_issuer_and_serial" with Firefox.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 18:12:42 +00:00
John Crispin 85c10a8a6a license info - revert r43155
turns out that r43155 adds duplicate info.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 09:56:44 +00:00
John Crispin b8df8ca970 Add more license tags with SPDX identifiers
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 08:01:08 +00:00
John Crispin 42d5e6680c kernel/modules/vxlan: add +kmod-iptunnel as dependency
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 08:00:39 +00:00
Steven Barth 2bf2015c24 Add a few SPDX tags
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-02 12:20:54 +00:00
Steven Barth 46bc45696e procd: revert some changes breaking console on UML
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-01 14:01:02 +00:00
Jo-Philipp Wich fe13e6ccbd ppp: support adaptive LCP echos
Port Debians adaptive LCP echo patch to pppd, make it configurable with UCI
and enable it by default.

When adaptive LCP echo is enabled, LCP echo requests are only sent if the
link is idle, this avoids the common situation where a congested PPP link
(e.g. during torrenting) is falsely detected as disconnected because the
LCP replies are not received in time.

Also bump the copyright year in the Makefile, remove a redundant maintainer
entry and fix the shell processing of the keepalive option when the two-
value syntax is used.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-01 12:37:03 +00:00
Hauke Mehrtens 4b8c47639a kernel: add some missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 23:43:10 +00:00
Hauke Mehrtens 3324847acc packages: kernel: negate kernel version checks
Only list the kernel versions that do not match so that new kernel 
versions will automatically match. This improves support for kernel 
3.18.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 22:02:07 +00:00
Hauke Mehrtens 0077b4c46a mac80211: remove unused patch
This patch added stuff that is already there and if it would be needed 
this would result in a compile error.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 21:55:21 +00:00
John Crispin f28cdfa99d uqmi: update to latest git HEAD
this adds support for pin set/unlock/... and iccid.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 11:02:06 +00:00
John Crispin 4323cbba66 kernel/modules: add native vxlan package
More recent kernel versions (>= 3.12) support native VXLAN
support.

The Open VSwitch kernel module tries to build using native VXLAN
support if it detects a kernel version >=3.12.

The build works fine, but during startup the OVS kernel module
does not load.
dmesg output is something like this:
    [ 1201.262842] openvswitch: Unknown symbol vxlan_sock_release
    [ 1201.262949] openvswitch: Unknown symbol vxlan_xmit_skb
    [ 1201.263161] openvswitch: Unknown symbol vxlan_sock_add

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 11:01:28 +00:00
John Crispin bfb710247b lantiq: vr9-vdsl-fw: properly write firmware to flash
Using a redirect to a non-empty mtd partition will not erase the
blocks prior to writing to them resulting in broken dsl_fw.
Fix this by piping to mtd write - /dev/mtdX instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 11:00:42 +00:00
Steven Barth f7956003ae 6in4: https support for he.net tunnel api
HE.net tunnel update API requests are now made via https if an
SSL-capable wget is installed.  Certificate validation is
conditionally enabled if the CA certs are available.

Signed-off-by: Andrew Skalski <askalski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 13:15:18 +00:00
Steven Barth b5a50ff4e2 openssl: optimize build options, disable old SSL versions
Based on a patchset by Etienne CHAMPETIER <champetier.etienne@gmail.com>
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 13:11:04 +00:00
John Crispin 32fd7ede26 procd: Allow boot messages to be sent to console
update to latest git HEAD, adds "log to console"

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 10:10:45 +00:00
John Crispin a1a0c5c0c1 ltq-vdsl-app: use VDSL tone-setup if annex is unset
I had to use a VDSL-only tone-setup to get show-time.
Handle this in uci by checking if annex is unset.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 08:08:01 +00:00
John Crispin 487bb52889 ca-certificates: Update to Version 20141019
Update to Version 20141019

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 21:01:26 +00:00
John Crispin baaf2ce055 Add support for DHT11 driver
The DHT11 is a temperature and humidity sensor supported by linux
since 3.14.

This patch is tested on recent mxs with kernel 3.14.18.

Signed-off-by: Harald Geyer <harald@ccbib.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 15:02:38 +00:00
Jo-Philipp Wich ac7e9e859b iwinfo: add cli support for phy lookup from uci section
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 16:35:41 +00:00
John Crispin 8b02f63d43 fstools: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 15:51:33 +00:00
John Crispin 20db415b8f libiconv: do not replace untranslatable characters with * or ?
Instead throw an -EILSEQ error.

Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 15:51:25 +00:00
John Crispin edeaa79757 base-files: config_generate did not handle setups with more than 1 switch properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 15:51:17 +00:00
Jo-Philipp Wich c1baa9448d iwinfo: switch to external git repo, support lookup by phyname & macaddr
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 14:35:44 +00:00
Jo-Philipp Wich 5918907087 busybox: make high ASCII chars printable (#7993)
Currently busybox utils like "ls" fail to display filenames containing UTF-8
characters, replacing any special characters with "?".

Change libbb's printable_string() function to allow high ASCII characters so
that unicode filenames are displayed correctls.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 11:22:15 +00:00
Jo-Philipp Wich 8036afcbcb px5g-standalone: use /dev/urandom to initialize serial (#18232)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 11:07:38 +00:00
Felix Fietkau 9337856e36 mac80211: fix key flush handling in AP+STA
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 11:02:23 +00:00
Jo-Philipp Wich 64edfd8a14 uhttpd: fix HTTP incompatibilities in file handler
* Fixes sending an extraneous message body for 204 and 304 resoponses which
   breaks Chrome in keep-alive mode.

 * Adds mimetypes for JSON and JSONP.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 10:25:07 +00:00
John Crispin ff27d077d3 e2fsprogs: fix description, tune2fs is not part of the e2fsprogs package
https://dev.openwrt.org/ticket/18209

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 18:15:25 +00:00
John Crispin 1f71668727 comgt: fix typo in the ncm proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 16:57:38 +00:00
John Crispin 70fa8d00c0 util-linux-dmesg: Add missing install section
Package util-linux-dmesg is broken (at least) in Barrier Breaker git repo
as you can select it within menuconfig, it will compile (as a part of
util-linux) but it will not install as install section is missing from
package Makefile.

Signed-off-by: Tomasz Wasiak <tjwasiak@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 16:57:27 +00:00
Jo-Philipp Wich 5ae9ec8f88 broadcom-wl: align with mac80211 config
- Support HT40 instead of HT40+/HT40- like mac80211
 - Enable 11n if htmode is HT20 or HT40

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 18:43:18 +00:00
Felix Fietkau 29835cb287 base-files: add /etc/shadow to list of essential files to keep in sysupgrade (bug 18206)
Based on bug #18206 sysupgrade can lead to loss of password information in
certain situations. Most likely all users who will upgrade from versions
r43017-43040, will lose their current passwords. :-(
https://dev.openwrt.org/ticket/18206

Currently /etc/shadow is defined as a conffile in base-files:
https://dev.openwrt.org/browser/trunk/package/base-files/Makefile#L37

But it is not defined in the default list of essential files to keep in
sysupgrade:
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/keep.d/base-files-essential

If exporting conffiles info fails, /etc/shadow can get lost.

Shadow passwords are now the default, so saying that preserving /etc/passwd
is essential while /etc/shadow is not, makes no sense.

The attached patch adds /etc/shadow to the list of essential files.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 17:22:46 +00:00
Felix Fietkau 7d5e12fd4d hostapd: update to 2014-10-25
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 16:48:45 +00:00
Felix Fietkau e9cc6b9ec7 ath9k: add a few calibration related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 14:45:22 +00:00
Steven Barth 68d3c26b87 odhcp6c: avoid some unnecessary big mallocs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 10:39:02 +00:00
Felix Fietkau f328951d46 rtlwifi: unbreak usb drivers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 22:00:34 +00:00
Felix Fietkau 32f238845b broadcom_wl: eliminate compiler error with gcc-4.9-linaro
Attempting to build broadcom_wl (from trunk) with the linaro 4.9.x
toolchain produces the following errors:

<...>/wl_linux.c: In function 'wl_dump_ver':
<...>/wl_linux.c:2302:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
<...>/wl_linux.c:2302:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
             ^
cc1: some warnings being treated as errors

Remove the use of the __DATE__ and __TIME__ macros, as the info is not
really useful.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 18:05:51 +00:00
Felix Fietkau 0cf70f8a8b openssl: fix target definition for x86_64 (#18182)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 13:23:39 +00:00
Felix Fietkau c8ebaee059 netifd: update to the latest version, fixes a use-after-free bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 13:04:12 +00:00
Nicolas Thill 7c11d5f4b1 gdb: fix build failure on arm
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 11:19:29 +00:00
Jo-Philipp Wich 16f737c900 linux: add kmod-i2c-piix4
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 09:24:45 +00:00
Felix Fietkau 9fd987781d ath: process regulatory notifiers with CONFIG_ATH_USER_REGD set
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-23 13:33:18 +00:00
Felix Fietkau c405ee2be7 ath10k: fix survey output channel in-use flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-23 13:33:14 +00:00
Felix Fietkau 1fc9108622 ath9k: fix tx power reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 16:26:56 +00:00
Felix Fietkau c1459328a7 ath9k: merge ar9580/ar955x initval updates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 13:32:12 +00:00
Felix Fietkau 45ae2ae6ee ath9k: merge a regulatory handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 13:32:06 +00:00
Jo-Philipp Wich b520623563 linux: add kmod-hwmon-k10temp
This module is required to read the CPU core temperature sensors
on the Alix APU board.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 11:30:07 +00:00
Felix Fietkau bed253b432 kernel: use .ONESHELL to speed up processing of many kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 08:57:56 +00:00
Felix Fietkau c52c5e1d12 kernel: use /bin/sh instead of bash to speed up processing of many kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 08:57:45 +00:00
Felix Fietkau 9cd082856c comgt: drop the use of the non-standard XCASE termios flag (#18186)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-21 20:32:05 +00:00
Steven Barth f359b1d642 nftables: bump to latest, fix minigmp
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-21 20:00:56 +00:00
Steven Barth c0b565ba43 libnftnl: bump to latest
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-21 20:00:46 +00:00
Felix Fietkau 6b9acc65ec ath9k: merge a fix for queue start/stop handling (fixes #18164, #18130)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-21 16:30:01 +00:00
Felix Fietkau 07c8649499 netifd: update to the latest version, fixes link status handling on VLAN devices (#18106)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 20:09:35 +00:00
Felix Fietkau 6ae004207b base-files: fix telnet login on musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 15:07:19 +00:00
Felix Fietkau 50b9e7832e rpcd: add 802.11ac for iwinfo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 13:55:11 +00:00
John Crispin 058c79e407 openssl: host build fails when ccache is enabled
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 11:19:53 +00:00
John Crispin f16cd1a9e5 hostapd: Add wpa_psk_file option to netifd.sh
The wpa_psk_file option offers the possibility to use a different WPA-PSK key for each client. The directive points to a file with the following syntax:

mac_address wpa_passphrase_or_hex_key

Example:

00:11:22:33:44:55 passphrase_for_client_1
00:11:22:33:44:67 passphrase_for_client_2
00:11:22:33:44:89 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

So it is possible to specify both ASCII passphrases and raw 64-chars hex keys.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 11:19:21 +00:00
Imre Kaloz cbc5f498cd [comgt]: fix compile against musl
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 10:00:02 +00:00
Felix Fietkau c0464fcf03 Revert "openssl: add host build."
This reverts commit r42988

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:18:21 +00:00
John Crispin a762173207 openssl: add host build.
Only support Linux at the moment.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:27 +00:00
John Crispin c23daabb8c failsafe-mode: print short help on commandline
[base-files] failsafe-mode: print short help on commandline

Like mentioned in ticket https://dev.openwrt.org/ticket/11911
this should make the IRC much quieter. Failsafe is somehow
special and even experienced users are helpless, because they
are not used to this seldom situation. Also: likely you have
no internet access in this mode, so you cannot use the wiki.

a failsafe-session now looks like this:
first we see from 'package/base-files/files/bin/login.sh' the hint:

 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------

after this the /etc/banner ("OpenWrt - wireless freedom")
and then the new text:

================= FAILSAFE MODE active ================
special commands:
* firstboot          reset settings to factory defaults
* mount_root     mount root-partition with config files

after mount_root:
* passwd                         change root's password
* /etc/config               directory with config files

for more help see:
http://wiki.openwrt.org/doc/howto/generic.failsafe
=======================================================

this supersedes the old patches:
http://patchwork.openwrt.org/patch/3337/
http://patchwork.openwrt.org/patch/3553/

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:05 +00:00
Felix Fietkau 19cb89c9a0 iproute2: fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 23:04:17 +00:00
Felix Fietkau d7be7f6241 authsae: fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 23:04:02 +00:00
Felix Fietkau 500725cc51 gdb: update to version 7.8, fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 22:49:42 +00:00
Felix Fietkau 97249405f8 valgrind: update to the latest version, fix musl support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 22:35:27 +00:00
Felix Fietkau 069e264caa base-files: fix ldd definition if /usr/bin/ldd exists
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:46:08 +00:00
Felix Fietkau 8536f53c68 toolchain: drop the mips softfloat symlink hack
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:46:03 +00:00
Felix Fietkau e34f086b82 toolchain: when using musl, install a symlink from ld-musl-*.so to /usr/bin/ldd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:58 +00:00
Felix Fietkau e2048f6c80 mountd: explicitly link libubox (needed by libuci)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:45 +00:00
Felix Fietkau 2e352aab13 openssl: add ABI_VERSION to fix package rebuild issues (fixes #18169)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 16:19:07 +00:00
Felix Fietkau 5e574fc33f polarssl: do not build the unused programs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 09:43:31 +00:00
Felix Fietkau 48fe35fed7 rpcd: update to the latest version, fixes build after libubox update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 08:46:00 +00:00
Felix Fietkau dfb392d4db mac80211: add a maintenance script for upstream backport commits
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 17:39:04 +00:00
Felix Fietkau 2a685ec414 mac80211: update to 2014-10-08
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 17:38:59 +00:00
Steven Barth 3cb3abd960 odhcpd: fix regression in dhcpv6 t1 and t2 calculation
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 15:47:31 +00:00
Felix Fietkau e24404f6b3 polarssl: add missing version bump
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 09:20:38 +00:00
Felix Fietkau 44a7d8e7e6 polarssl: disable SSLv3 support, fixes CVE-2014-3566 (POODLE)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 09:17:31 +00:00
Steven Barth ea44512369 odhcpd: multiple fixes
* Rewrite ndp proxy using kernel proxying
* Aid flash-renumbering in hybrid DHCPv6-mode
* Unicast RAs to RS senders
* Add support for router address

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-17 11:18:52 +00:00
Steven Barth 65c4baa4a6 hostapd: CVE-2014-3686 fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-17 06:15:35 +00:00
Jo-Philipp Wich 41f4265101 build: improve feed handling for opkg.conf
- Consider not installed feeds as well
 - Add option to decide whether to comment disabled feeds

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 10:30:16 +00:00
Jo-Philipp Wich b3c29f9f23 openssl: update to v1.0.1j (CVE-2014-3513, CVE-2014-3567, CVE-2014-3568)
Also refresh patches and bump copyright year in Makefile.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 08:32:54 +00:00
John Crispin 9f53cd1006 default_postinst() fix wrong call of group_add
[base-files] default_postinst() fix wrong call of group_add
after 12bae65d07d29854204715cebc1ef1eae237fd9b group_add is
always called. shell scripting can be tricky...

wrong call:
[ -n "$gid" ] && group_exists $name || group_add $name $gid

this leads to a call of 'group_add' when $gid is emtpy, proof:

root@box:~ functionA() { echo A; }
root@box:~ functionB() { echo B; }
root@box:~ VAR=
root@box:~ [ -n "$VAR" ] && functionA || functionB
B
root@box:~ # functionB was called, but VAR is not filled
root@box:~ VAR=filled
root@box:~ [ -n "$VAR" ] && functionA || functionB
A

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-15 17:55:13 +00:00
John Crispin 19246191d3 base-files: default_postinst() force clear luci-indexcache
Inside every LuCI package you need to clear luci-indexcache and
sometimes when installing non LuCI pacakges it's also needed to clear
it. Easier put it into default_postinst().

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 19:01:30 +00:00
John Crispin 989a87e748 package: add libnetfilter-log.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 19:01:16 +00:00
John Crispin 2897186939 base-files: the USERID code path did not check for duplicate groups
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 19:01:05 +00:00
John Crispin d8bd66f630 procd: update to latest git
this adds the remaining patches that Michel Stam sent

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 15:53:05 +00:00
John Crispin c0c2f68bab libubox: update to latest git
this adds a new helper for setting/overriding the signal handlers

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 15:53:00 +00:00
John Crispin 96d2eba315 ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.
Qihoo C301 has 2 flash chips of which one is used as primary and the
other is used as backup.  OEM U-Boot will try to boot an activeregion N
with imageNstatus=0 and imageNtrynum <= imagemaxtry.  If such a region
is found, bootloader will try to increment imageNtrynum and boot it.

This patch tries to reset imageNtrynum after each successful boot (if
the boot process reaches the execution of /etc/init.d/done).

	root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9
	00000000  9e f3 63 91 61 63 74 69  76 65 72 65 67 69 6f 6e  |..c.activeregion|
	00000010  3d 31 00 69 6d 61 67 65  31 73 74 61 74 75 73 3d  |=1.image1status=|
	00000020  30 00 69 6d 61 67 65 32  73 74 61 74 75 73 3d 30  |0.image2status=0|
	00000030  00 69 6d 61 67 65 32 74  72 79 6e 75 6d 3d 30 00  |.image2trynum=0.|
	00000040  69 6d 61 67 65 6d 61 78  74 72 79 3d 33 00 69 6d  |imagemaxtry=3.im|
	00000050  61 67 65 31 74 72 79 6e  75 6d 3d 30 00 00 00 00  |age1trynum=0....|
	00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:36 +00:00
John Crispin 06dd1915e4 udev/Config.in: help format, and fix spelling mistake
Formatting and spelling fixes.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:24 +00:00
John Crispin 81d9f2d585 scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:11 +00:00
John Crispin 57f69d3a7d fstools: update to latest git HEAD
this adds support for overlayfs v23

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-13 19:41:16 +00:00
Felix Fietkau 55fe29b1b9 procd: fix initial nand sysupgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:50:15 +00:00
Felix Fietkau e7f7a8d1c5 procd: fix parsing of the has_env parameter
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:50:01 +00:00
Felix Fietkau dc6e09ebfa mac80211: remove NO-IR from channel 36-48
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:49:38 +00:00
Steven Barth 0ec6c11bed netifd: Make mtu configurable of dynamic 6rd tunnel interface
Patch allows to configure the mtu of the dynamic 6rd tunnel interface when created by dhcp script.
In some setups it's desirable to have config control over the 6rd tunnel mtu to maximize the traffic throughput

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 12:27:21 +00:00
Steven Barth 586546daf7 odhcp6c: fix parse errors with some dhcpv6 servers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 12:18:33 +00:00
John Crispin 3523e0f2d6 comgt: add ncm proto support
This will not work for all board/dongle combinations until we hit 3.17.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-10 08:56:33 +00:00
Felix Fietkau d77d06abad mac80211: remove error from detect script
Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 09:04:24 +00:00
Steven Barth 46e31e96bd ppp: add unconditional autoipv6-trigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:38:25 +00:00
Steven Barth ca4fa0c501 ppp: remove ugly ipv6-workaround
This is not needed after all:

Omitting option ipv6 or setting it to 'auto' will
fire up a dhcpv6 subprotocol (this was added).

Setting ipv6 to 1 will only cause the IPv6 link to
be brought up and an accompanying dhcpv6 or static
interface with ifname @wan can be used to configure addresses.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:35:28 +00:00
Steven Barth 143de7849f dropbear: ensure the interface has an ip-address
Use network_get_ipaddrs_all to get all ip-addresses of an interface. If the
function fails, the interface does not exists or has not any suiteable ip
addresses assigned.

Use the returned ip-address(es) to construct the dropbear listen address.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:16:35 +00:00
Steven Barth c9ab6f3a67 base-files: add network_get_ipaddrs_all()
Return all IPv4 and IPv6 addresses.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:16:29 +00:00
Steven Barth 6c80ad9288 ppp: allow auto-detecting and creation of ipv6 subinterface
this makes ipv6 with ppp a bit more comfortable

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 20:37:15 +00:00
Steven Barth 4954089149 odhcp6c: fix typo in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 15:27:17 +00:00
Steven Barth 363b7bb19b odhcp6c: don't assign addresses or prefixes prematurely
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 15:16:19 +00:00
Felix Fietkau 71d458084e mac80211: add a few upstream ath9k / mac80211 fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 15:09:53 +00:00
Steven Barth 3823e9634d network: Unbind DHCPv6 from underlying interfaces
This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 13:08:05 +00:00
Steven Barth fc78024c3e odhcp6c: ensure signal-safety of signal handlers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 09:58:40 +00:00
John Crispin b0ca0dd4b0 lldp: make use of new USERID syntax
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:01:33 +00:00
John Crispin f9cddd1fd9 base-files: extend USERID:=syntax
it is now possible to inlie the uid and gid in the syntax

USERID:=username=uid:group=gid:group2=gid2:...

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:01:28 +00:00
John Crispin 98e716884d wwan: add a generic 3g/4g proto
this proto handler will detect which of 3g, qmi, mbim, ncm or directip you need
for a stick and setup uci automagically

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:01:20 +00:00
John Crispin f93a2e4c7e comgt: split directip support into its own package
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:55 +00:00
John Crispin f4dd6b28f2 uqmi: dont use proto_block_restart
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:45 +00:00
John Crispin fd3d61ef08 uqmi: make the proto depend on the usb driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:21 +00:00
John Crispin fffd302f3c umbim: dont use proto_block_restart
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:17 +00:00
John Crispin ea6820d0cc umbim: work out the ifname instead of relying on it being in uci
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:07 +00:00
John Crispin aacd95e1f5 procd: handle hotplug events for the usbmisc subsystem
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:01 +00:00
John Crispin bb8e04d927 procd: r42814 added a bad git version
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:27:31 +00:00
John Crispin 06435798dc procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:41 +00:00
John Crispin c38a6c5213 ubox: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:26 +00:00
John Crispin f91238dc22 fstools: update to latest git
adds support for /dev/vd* virtual io

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:15 +00:00
Steven Barth bb49239274 odhcp6c: add route-workaround for broken IPv6-ISPs
Some ISP seem to only do stateful DHCPv6 and not sending RAs.
This is technically broken because plain DHCPv6 doesn't carry routes.

We work around here by faking a default route to the DHCPv6 server
if we do not receive a useful RA from the ISP.

This workaround can be turned off with: option fakeroutes 0

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 11:19:33 +00:00
Steven Barth 415543620a nftables: bump to 2014-09-30, disable gmp
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 06:24:53 +00:00
John Crispin fef66999f8 base-files: make postinst script run inside a subshell
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 05:55:35 +00:00
Steven Barth 6a1dd4f0e7 libnftnl: bump to 2014-10-02
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 05:30:36 +00:00
John Crispin 2e9a3b28f2 iwinfo: add AR9580 with new subsystem device ID and QCA9880 with no subsystem vendor/device IDs
The AR9580 with the new ID can be found in the EnGenius ESR900 and the
QCA9880 without any subsystem IDs can be found in the EnGenius ESR1750.

Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:53:04 +00:00
John Crispin 09039308fa kernel: add rtc-ds1307 module support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:51 +00:00
John Crispin 6e8e2303cb kernel: add ledtrig-transient module support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:44 +00:00
John Crispin 3bf58c8249 hostapd: read missing parameter for dynamic VLANs
In r41872 Dynamic VLAN support was reintroduced, but the vlan_naming
parameter is not read while setting up the config, so it always
defaults to 1.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:21 +00:00
John Crispin 37a33d7e8d sysupgrade: preserve symlinks in backups
Signed-off-by: Catalin Patulea <catalinp@google.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:51:56 +00:00
Felix Fietkau 40935a16aa lantiq: remove the useless ltqtapi.mk include file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 18:58:47 +00:00
Felix Fietkau af7fe5f5e0 iproute2: add conflict for ip with ip-full
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 17:13:34 +00:00
Felix Fietkau 6ca4824bc3 hostapd: add conflicts with wpad(-mini) to hostapd and wpa_supplicant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 16:41:50 +00:00
Felix Fietkau f7b51f6c07 ath10k: update firmware to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 14:59:59 +00:00
Felix Fietkau 4cb3d9cb9e mac80211_hwsim: select 802.11n support for hostapd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 11:50:42 +00:00
Felix Fietkau 16de94ff94 relayd: update to the latest version, fixes a build error with the new gcc (#18010)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 11:01:49 +00:00
Felix Fietkau b223fd3e4c hostapd: allow using iapp for any encryption type (fixes #18022)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:55:55 +00:00
Felix Fietkau 09cdef74a8 hostapd: merge an upstream patch for pmksa cache
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:26 +00:00
Felix Fietkau e684caba4e iwinfo: detect AC PHY for broadcom-wl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:17 +00:00
Felix Fietkau 016f5ba570 iwinfo: detect HT PHY for broadcom-wl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:10 +00:00
Felix Fietkau bfacdd543b iwinfo: fix handling of accessing nl80211 interfaces via radio*
look up device path via uci instead of assuming a direct phy index

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:05 +00:00
Felix Fietkau 0d160a4d3e iwinfo: enable nl80211 support based on cfg80211, not mac80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:25:55 +00:00
Jo-Philipp Wich 2ec28fde12 iwinfo: handle 802.11ac mode for lua
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-04 09:38:17 +00:00
Steven Barth 956a14a1b2 base-files: remove a 'not found' error message during system boot
During boot, a not found message is displayed for systems which do
not have uci 'network.globals.ula_prefix' defined in
/etc/config/network. The error message itself is not used and can
be ignored.

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-03 10:56:43 +00:00
Steven Barth c42e8fe0ab toolchain: Fix libthreaddb not being installed
Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:39 +00:00
Steven Barth 2ab44b72d3 busybox: remove validation message from bootup
A message:
uinteger - 9 = true
is displayed during boot. This is the result of the validate_data
command checking the cron log level. As the output is not
interesting, only the result, filter...

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:33 +00:00
Steven Barth 7644a74452 authsae: update to latest version
Send a netlink call to leave the mesh when meshd exits
Make hunting-and-pecking loop (more) resistant to side channel attack

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:28 +00:00
Steven Barth e3e254cd7e 6in4: Tos support
Tos support is added as a string parameter which can have the following values :
   -inherit (outer header inherits the tos value of the inner header)
   -hex value

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:38:15 +00:00
Steven Barth b5cf0a125b 6to4: Tos support
Tos support is added as a string parameter which can have the following values :
   -inherit (outer header inherits the tos value of the inner header)
   -hex value

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:38:04 +00:00
Steven Barth 35fbc3abaa 6rd: Tos support
Tos support is added as a string parameter which can have the following values :
     -inherit (outer header inherits the tos value of the inner header)
     -hex value

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:58 +00:00
Steven Barth b4c5339ffa IPIP: IP in IP package support
The package supports IP in IP by registering the ipip protocol handler

Following options are configurable
    -peeraddr (IPv4 remote address)
    -ipaddr (IPv4 local address)
    -ttl (time to live of encapsulating packet)
    -tos (type of service of encapsulating packet either inherit (outer header inherits the value of the inner header) or hex value)
    -df (don't fragment flag of encapsulating packet)
    -mtu (IPIP tunnel mtu)
    -tunlink (bind tunnel to this interface)
    -zone (firewall zone to which the IPIP tunnel will be added)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:36 +00:00
Steven Barth 3545c2dce5 netifd: fix an error message during network shutdown
When 'wifi down' is called by /etc/init.d/network, it is run from
stop_service( ). This function is in turn invoked from stop( ).
stop( ) messes up the order by first procd_kill-ing the network
settings, then calling wifi to down the wifi networking
interfaces. By redefining stop( ) instead, the proper order is
restored.

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:25 +00:00
Steven Barth 55316cc672 netifd: add IPIP tunnel support (thx Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:17 +00:00
Steven Barth 332585be14 map: fix portsets starting with 0 and use regular NAT for 1:1 MAP
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:15:38 +00:00
Jonas Gorski f4c1b25a5f brcm-wl: use new brcm63xx fallback sprom
This fixes brcm63xx fallback sprom extraction.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:24:05 +00:00
Felix Fietkau fed0932d4d uqmi: set data format to 802.3 at startup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:19:37 +00:00
Felix Fietkau 6419c9a961 uqmi: do not wait for network connection before starting dhcp
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:19:26 +00:00
Felix Fietkau 03e3d0d0a4 uqmi: update to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:19:09 +00:00
Felix Fietkau 700e098ab3 uqmi: use the autoconnect feature
Instead of connecting once and saving the packet data handle, let the
firmware handle connecting/reconnecting automatically. This is more
reliable and reduces reliance on potentially stale data.

Use the global packet data handle to attempt to disable autoconnect
before restarting the connection. This ensures that the firmware will
take the new APN/auth settings.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:18:58 +00:00
Felix Fietkau d2b5f93d8c uqmi: replace logger calls in netifd with echo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:18:43 +00:00
Felix Fietkau b003339cfb uqmi: work out the ifname instead of relying on it being in uci
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:18:28 +00:00
Felix Fietkau 2b96480b58 binutils: fix build with gcc 4.9
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-30 21:36:33 +00:00
Felix Fietkau ff783c9e70 ath9k: add a fix for dynack
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-30 21:36:04 +00:00
Felix Fietkau eeb2ae5353 ath9k: add back missing fixes from the last version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 18:51:25 +00:00
Steven Barth 2fceef9017 GRE: Tos support
Tos support is added as a generic grev4/grev6 parameter which can have the following values :
     -inherit (outer header inherits the tos value of the inner header)
     -hex value

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 18:00:02 +00:00
Steven Barth 696b5c1e57 netifd: add support for promisc and GRE tos option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 17:59:50 +00:00
Steven Barth 51e2e77081 nftables: bump for bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 08:35:18 +00:00
Steven Barth f48d0d2caf libnftnl: bump for bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 08:31:31 +00:00
Zoltan HERPAI 7642fcc283 uboot-sunxi: add support for Olimex A13 SOM
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-28 23:20:36 +00:00
Zoltan HERPAI ff9bc2fc42 uboot-sunxi: add patch to fix gmac reliability issue on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-28 20:39:04 +00:00
Felix Fietkau c65ab70b49 iw: add support for dynamic distance selection (supported by ath9k now)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 21:19:27 +00:00
Felix Fietkau 36ca9108cc iw: sync nl80211.h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 21:19:18 +00:00
Felix Fietkau bcc7e4a3d0 ath9k: fix some issues with ar934x rev 3 (especially ad-hoc mode)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 20:52:11 +00:00
Felix Fietkau dd8008aa78 mac80211: update to wireless-testing 2014-09-26
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 20:51:43 +00:00
Florian Fainelli 7771ecddf3 brcm2708-gpu-fw: update to Sep. 27 2014 snapshot
Update the brcm2708-gpu-fw package to commit
e25efc4545d0cef7c49c82e770b3e4ccfc8aba4c

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 17:42:15 +00:00
Steven Barth 8b4e066f80 odhcp6c: work around weird ISP RS behaviour
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 16:57:47 +00:00
Felix Fietkau b9b19931ab comgt: fix directip auth type
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-26 15:55:45 +00:00
Steven Barth c3d564bd29 comgt: fireup a dhcpv6-client for directip as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-26 13:58:40 +00:00
Felix Fietkau 83e01b374f comgt: in directip, derive the wwan ifname automatically instead of specifying it in the config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-26 13:44:21 +00:00
Steven Barth 992d1bbd8b dnsmasq: bump to 2.72
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-26 08:57:36 +00:00
Florian Fainelli ccd5dae4f1 base-files: add a protocol argument to ucidef_set_interface_raw
Add a third argument to ucidef_set_interface_raw, which is specifying
the protocol.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 19:08:56 +00:00
Steven Barth e4c755d65f odhcpd: fix segfault when parsing domain options in UCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 11:53:12 +00:00
Felix Fietkau 763502f621 curl: only set ca path for openssl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 10:51:56 +00:00