Commit Graph

12851 Commits (ee00711ff8aea18194dd685f0916cced2addb5ba)

Author SHA1 Message Date
Hauke Mehrtens da0a29b323 grub: add download mirrors
Add three download mirrors for 'grub', as the Makefile currently defines only
one download location.

@GNU can not be used, as the most recent version of 'grub' is not available
at the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors.

Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-06 13:49:24 +00:00
Felix Fietkau 9e0443cd12 base-files: add openwrt snapshot key
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 18:21:53 +00:00
John Crispin 454a6bcfd1 opkg: Fix --force-checksum when using SHA256
Allow installing packages with mismatching SHA256 checksums via

$ opkg install --force-checksum $PACKAGE

Signed-off-by: Florian Fieber <florian@florianfieber.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 14:12:45 +00:00
John Crispin d831148740 base-files: default_do_upgrade: accept & forward image extraction command
get_image allows passing 2nd argument that is used in a pipe for
extracting firmware from a non-native format. By accepting such command
in default_do_upgrade we allow platforms to use this helper for vendor
specific images.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 14:12:05 +00:00
John Crispin da88531354 uboot-lantiq: Add Arcadyan VGV7510KW22 support
This is already applied in Daniel's ("upstream") tree and thus will be
part of upcoming version(s).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 14:11:45 +00:00
Felix Fietkau 55ec20b9a8 mtd: add missing <endian.h> include
trx.c in mtd would not include endian.h, so on systems that do not have
this header implicitly included from the other headers (like musl), both
__BYTE_ORDER and __BIG_ENDIAN would be undefined and thus 0, leading to
it always presuming a big-endian system. this would lead to issues when
running mtd fixtrx on little-endian systems, as it would never recognize
the TRX magic as result of the broken STORE32_LE() macro.

Signed-off-by: Shiz <hi@shiz.me>
Tested-by: Shiz <hi@shiz.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 09:00:02 +00:00
Steven Barth 7ec4092a0c Add sch_fq and sch_pie to the kmod-sched package.
These are two new packet schedulers introduced in Linux 3.12 and 3.14
respectively. sch_fq is a perfect fairness queueing scheduler that also
adds pacing on host TCP flows, and sch_pie is an AQM.

Having them available in kmod-sched makes it easier for people to test
these new queueing schemes.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-04 05:44:44 +00:00
John Crispin 722c9b412e lldpd: add option to disable custom TLVs
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-03 13:59:14 +00:00
John Crispin b224fbdca6 procd: work around a event race
there is a conceptual design flaw in our interface events. workaround this by
disabling duplicate message supression in procd. we need to fix this properly
for the next release

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-03 13:59:08 +00:00
Hauke Mehrtens d26ed22efb ncurses: Fix building with gcc 5.1
This patch is taken from the gentoo guys who extracted this from a large
upstream commit (with many unrelated changes).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-02 21:54:54 +00:00
Hauke Mehrtens 97ba27e510 kernel: add broadcom phy driver
This adds the Broadcom phy driver.
This also loses #19545.
Thank you bigtman43

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-02 20:01:21 +00:00
John Crispin 6d8301a5f7 procd: add a 10 second delay to the interface triggers
this is an ugly hack that will be removed when the netifd maintainers
have time to look at the problem.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-02 12:03:20 +00:00
Felix Fietkau 5c71763ccf ath9k: fix an issue with stopping rx/tx dma on AR93xx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-02 08:47:21 +00:00
Felix Fietkau ced63a693f hostapd: add a new option to control HT coexistance separate from noscan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-02 08:39:19 +00:00
John Crispin 6b7c96dad3 kernel: remove stmmac kernel package
We just moved the stmmac support in the kernel for ipq806x. Therefore,
nobody needs this driver so we'll just get rid of it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-01 20:11:45 +00:00
Steven Barth 3e2ff3cae0 odhcp6c: silence fw3 warnings
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-01 08:31:13 +00:00
Jo-Philipp Wich 3196465dca iwinfo: fix segfault in mtd parsing code (#19768)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-01 04:31:45 +00:00
John Crispin 652025853e kernel: bluetooth: Add dependency to kmod-crypto-ecb
Add dependency of kmod-crypto-ecb to kmod-bluetooth to avoid the kernel warning
"Bluetooth: Unable to create crypto context".

Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-31 17:46:24 +00:00
John Crispin 1c8d366254 lldpd: disable xml explicitly
This prevents auto-detection of libxml2 and thus the error:
Package lldpd is missing dependencies for the following libraries:
libxml2.so.2

Preventing a dependency to libxml2 is preferred, since libxml2
would be a out-of-(core-)tree dependency.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-31 17:46:09 +00:00
John Crispin 3182edb02c ca-certificates: update to version 20150426
update to version 20150426

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-31 17:45:54 +00:00
Felix Fietkau 4163b0853d mac80211: make netifd script create AP interface directly
Before starting hostapd we create interface for it. The problem is we
try to create STA interface just to let hostapd change it to AP later.

It may fail if device doesn't support STA interfaces or if we already
hit a limit. Consider following phy (it's from BCM43602 and brcmfmac):
$ iw phy phy0 info | tail
        valid interface combinations:
                 * #{ IBSS, managed } <= 1, #{ AP } <= 4, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
                   total <= 3, #channels <= 1

Trying to setup 2 interfaces: STA + AP results in:
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): Configuration file: /var/run/hostapd-phy0.conf
radio0 (1101): Could not read interface wlan0-1 flags: No such device

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 23:08:57 +00:00
Jo-Philipp Wich ec0c96c54c uhttpd: use 307 for HTTPS redirections to retain request method
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 21:14:33 +00:00
Jo-Philipp Wich 14bda8aad1 uhttpd: add support for enforcing https
Also set HTTPS environment variable for CGI programs on SSL connections.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 20:55:14 +00:00
Jo-Philipp Wich be3f7c4383 uhttpd: inhibit chunked transfer encoding for static file responses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 14:05:40 +00:00
Jo-Philipp Wich 7b915e400f kernel: kmod-stmmac depends on kmod-libphy
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 13:57:54 +00:00
Jo-Philipp Wich 99e7e43ace uboot-omap: allow generating dummy ipks, fixes omap imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 15:08:29 +00:00
John Crispin 3919b677db qca-nss-gmac: delete package
nss-gmac has been replaced by its upstream counterpart "stmmac", to
which we added the SoC glue layer required for it to run on IPQ806x.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:26:07 +00:00
John Crispin 8b5f3f7d6b kernel: add stmmac as a new kernel package
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:25:34 +00:00
John Crispin d4aa39c140 ixp4xx: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:20:39 +00:00
Jo-Philipp Wich b3c080638d kernel: fix kmod-k10temp target dependencies
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:03:00 +00:00
John Crispin d893bff4f0 brcm2708: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 11:28:54 +00:00
Jonas Gorski c5229de7b9 kernel: fix usb-ohci-pci description define
Copy paste error left defining usb2-pci again.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 10:20:50 +00:00
Luka Perkov 2c3163f9c1 base-files: remove ubi tool
ubi tool was removed from fstools in r41128.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 08:14:38 +00:00
Rafał Miłecki e4167ddb9a mac80211: backport one missed brcmfmac NVRAM-related patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 20:57:23 +00:00
Jo-Philipp Wich 2d0e828088 lldpd: update to v0.7.15 and add support for parsing /etc/openwrt_release
Also drop superseded patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 16:19:38 +00:00
Rafał Miłecki 22c6325291 mac80211: backport today's brcmfmac changes
This fixes various problems with parsing platform NVRAM. It's required
to get BCM43602 working in most cases.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 10:39:11 +00:00
Jo-Philipp Wich ace825551c feeds: use common macro "FeedSourcesAppend" to populate opkg configurations
This introduces a common macro to assemble the correct url templates to
avoid code duplication and have the feed config handling in a central place.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 09:47:37 +00:00
Steven Barth 8cf9206a26 map: add support for lw4o6 address matching, minor optimizations
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 14:36:20 +00:00
Imre Kaloz 2268583100 mwlwifi: upgrade to 10.3.0.1-20150525
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 13:24:46 +00:00
Steven Barth b03a58868c netifd: fix and optimize ipv6 onlink-route handling
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 12:48:12 +00:00
Rafał Miłecki 2679f7071a mac80211: backport today's brcmfmac changes
It should improve msgbuf throughput (PCIe devices like BCM43602).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 12:14:34 +00:00
Jo-Philipp Wich 17c4ddb6b9 iwinfo: fix hostapd status query (#19662)
* Rework hostapd and wpa_supplicant status parsing code
 * Add support for querying available HT rates
 * Relax definition of restricted channels

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 11:50:04 +00:00
Jo-Philipp Wich 13078aa71e build: trigger pacakge index creation for all feeds if required
When CONFIG_PER_FEED_REPO_ADD_DISABLED is set, trigger index creation for
any available feed, regardless of whether there where binaries built or not.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 11:37:05 +00:00
Jo-Philipp Wich 1b04c81ab8 firewall: link iptables extensions dynamically
Use shared libipt{,4,6}ext.so libraries instead of statically linking
the userspace matches into the fw3 executable.

As a side effect the match initialization is extremely simplified
compared to the weak function pointer juggling performed before.

This also fixes the initialization of the multiport match.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 11:11:48 +00:00
Jo-Philipp Wich 8182400cd3 iptables: reduce binary size
* drop unused lenient restore patch
 * instead of statically linking core extensions, build shared libraries
   for reuse in fw3
 * strip outdated match revisions and aliases to trim down library size

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 09:16:50 +00:00
Felix Fietkau 0e2a822b3a build: allow creating empty package feeds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 09:09:07 +00:00
Felix Fietkau 4b968fc70e ppp: do not warn if connect() before close() on pppoe terminate fails (fixes #19651)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 07:02:49 +00:00
Felix Fietkau b4f4dcdec4 fstools: update to the latest version, makes filesystem initialization state tracking more reliable (#19564)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-25 22:00:06 +00:00
Felix Fietkau 9077a2e704 ubus: update to the latest version, switch to git.openwrt.org, fixes a lua binding memory leak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-25 21:15:42 +00:00
Felix Fietkau 1f02e1eb45 netifd: bump to current HEAD
This introduces a new config parameter "no-proto-task" useful for
xl2tpd.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-25 21:15:31 +00:00
Nicolas Thill 1af89b3e6c gdb: disable liblzma explictly
* fix build failure when gdb is build after liblzma
 * bump release number

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-24 19:15:54 +00:00
Nicolas Thill 40a946028d fuse: fix exec environment for mount and umount
* add upstream patch (CVE-2015-3202)
 * refresh patches
 * bump release number

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-24 17:56:26 +00:00
Nicolas Thill cbf4417ef7 package/kernel: remove reference to ep93xx target
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-24 01:55:14 +00:00
Nicolas Thill d807337fcd package/kernel: remove reference to 3.12 kernel version
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-24 01:48:52 +00:00
John Crispin f535cc952d comgt: the package contained too many files
fixes #19698

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:29:46 +00:00
John Crispin 30f5079389 fuse: fix build on arm64
error:
../include/fuse_kernel.h:93:15: error: conflicting types for 'int64_t'
../include/fuse_kernel.h:92:15: error: conflicting types for 'uint64_t'

reported by buildbot

fix by adopting upstream patch:
http://git.baserock.org/cgi-bin/cgit.cgi/delta/fuse.git/commit/include/fuse_kernel.h?id=914871b20a901e3e1e981c92bc42b1c93b7ab81b

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:29:31 +00:00
John Crispin b67a559925 w1-gpio-custom: Fix uninitialised variable causing 1-wire to not bind to GPIO
Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:29:20 +00:00
John Crispin d5eaa13084 conntrack-tools: add init script for conntrackd
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:28:56 +00:00
John Crispin d4c2bebe5e modules/sound: cleanup by removing unsupported Kernel cases
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:28:36 +00:00
John Crispin 65092c70a3 modules/usb: another cleanup: remove ancient module names
modules relating to CONFIG_USB_AUDIO
Kernel <2.6.35 is not supported in trunk

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:28:32 +00:00
John Crispin 815d90644f modules/usb: cleanup remove old module names
delete cases for Kernel <3.10 (nop-usb-xceiv), <3.12 (phy-nop)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:28:26 +00:00
John Crispin 951b58723a ubox: various logd cleanups
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:26:29 +00:00
John Crispin 4a83700ac1 procd: make the jail code also work on arm
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:26:09 +00:00
Jonas Gorski 3dd7e9a86d ds-lite: fix resolve retry for fqdn peeraddrs
If the first resolveip call will fail, peeraddr will be now empty, and
the subsequent resolveip call will try to resolve an empty string.

Fix this by storing the result in a temporary variable.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-22 10:24:30 +00:00
Jonas Gorski 19deb0cf13 mac80211: make it work with 3.18.12+
3.18.12 backported 61ada528dea028331e99e8ceaed87c683ad25de2 ("sched/wait:
Provide infrastructure to deal with nested blocking") from 3.19, causing
the following error on load:

[   13.588000] compat: exports duplicate symbol woken_wake_function (owned by kernel)

Fix this by guarding it with a check for 3.18.11 or earlier instead of
3.19.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-21 19:32:16 +00:00
Steven Barth 335023a903 odhcpd: fix DHCPv6 downstream PD
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-21 15:07:54 +00:00
Jonas Gorski c6e0a4d123 base-files: fix default pre-/postrm for packages with a dot
Instead of stripping everything after the first dot, strip everything
after the last dot.
This fixes pre-/postrm actions for packages with a dot in their name,
like libusb-1.0.

Fixes #19668.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-19 09:13:17 +00:00
Steven Barth 376552be86 netifd: improve IPv6 onlink-route handling
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-19 09:01:34 +00:00
Steven Barth fcf1894720 ipv6: remove now unneeded source-dest-routing workarounds
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-19 07:53:08 +00:00
Jo-Philipp Wich 3b704c16f4 rpcd: unload package after uci reverts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-17 12:16:27 +00:00
Steven Barth 96bad91986 dnsmasq: bump to dnsmasq2.73rc8 Important.
Bump dnsmasq to v2.73rc8

Important - fixes remotely exploitable buffer overflow introduced in all v2.73 test/release candidates.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-17 08:06:45 +00:00
Steven Barth 90d3261e12 map: set ealen to psidlen for lw4over6
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-16 10:12:15 +00:00
Steven Barth 169904863d odhcp6c: fix parsing of LW4over6 parameters
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-16 07:29:42 +00:00
Steven Barth a4ca187436 odhcpd: ignore /64 on interface when doing PD
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-13 12:31:06 +00:00
Steven Barth 4e8655505b odhcpd: remove invalid call to free()
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-11 19:49:03 +00:00
Felix Fietkau 3ce7d548a8 ppp: remove the persist option, netifd handles reconnects
Significantly reduces reconnect delay

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-09 21:14:46 +00:00
Felix Fietkau d123ad1b88 mac80211: apply mesh parameters after starting authsae/wpa_supplicant (#16697)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-09 08:58:12 +00:00
Felix Fietkau f054425db3 mt76: include generated mac80211 config file and add an appropriate define for mesh support (fixes #19474)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 21:46:42 +00:00
Felix Fietkau 1df95bce05 usign: update to the latest version, use libubox base64 code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:37:26 +00:00
Felix Fietkau 95c14f9ff0 libubox: update to the latest version, adds a base64 implementation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:35:41 +00:00
Felix Fietkau 7b0bf7f37f netifd-dhcp: supply parameters to user-script
hand over parameters to user-script e.g. $1=deconfig

Signed-off-by: Leon George <leon@georgemail.de>
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 10:44:19 +00:00
Felix Fietkau 6fe1a18be0 trace-cmd: update to 2.4.2
fixes compile error:
(observed w. target arm64, all kernel build opts enabled)
error: call to '__open_missing_mode' declared with attribute
error: open with O_CREAT in second argument needs 3 arguments

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 10:44:08 +00:00
Felix Fietkau 7c7e70ad63 ustream-ssl: correct year in PKG_VERSION string
ustream-ssl: correct the year in the PKG_VERSION string, as both r45157 and
r45441 left the old year 2014 there. For a casual user it may seem that the
current code is from April 2014, although
a4ca61527236e89eb9efb782fd9bfd04796144e3 is from April 2015.

http://nbd.name/gitweb.cgi?p=ustream-ssl.git;a=commit;h=a4ca61527236e89eb9efb782fd9bfd04796144e3
https://dev.openwrt.org/changeset/45441/
https://dev.openwrt.org/changeset/45157/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 10:43:48 +00:00
Felix Fietkau 9633b360e3 hostapd: fix remote denial of service vulnerability in WMM action frame parsing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-06 09:45:39 +00:00
Felix Fietkau ad6c82948f iptables: disable unused xml support to save some space
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-06 00:59:41 +00:00
Felix Fietkau b045945a42 hostapd: enable 802.11w only for the full variants
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-06 00:59:36 +00:00
Felix Fietkau bc76393de3 uboot-envtools: disable AES support, reduces code size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-06 00:59:28 +00:00
Steven Barth b0b59d14ed firewall: Allow IGMP and MLD input on WAN
The WAN port should at least respond to IGMP and MLD queries as
otherwise a snooping bridge/switch might drop traffic.

RFC4890 recommends to leave IGMP and MLD unfiltered as they are always
link-scoped anyways.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-05 13:22:41 +00:00
Steven Barth dcf8ac794b netsupport: l2tp-ip: only depend on IPv6 if IPv6 support is enabled
Before r45593 kmod-l2tp-ip did not depend on kmod-ipv6.
With r45593 support for L2TP IPv6 encapsulation was added and
included in the kmod-l2tp-ip package. This change also
added the dependency to kmod-ipv6 to kmod-l2tp-ip, regardless
of whether the user chose to generally include IPv6 support
or not.
Change this so L2TP over IPv6 and the resulting dependency
to kmod-ipv6 is only included in kmod-l2tp-ip if IPv6 support
is enabled.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-05 13:22:33 +00:00
Jo-Philipp Wich 72931f3946 procd: fix uid/gid changing for service instances
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-05 11:00:53 +00:00
Felix Fietkau d9fcc3e993 polarssl: include PKG_RELEASE in ABI_VERSION
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-05 10:14:04 +00:00
Felix Fietkau fe0ecbfd95 curl: replace polarssl run-time version check with a compile-time one
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-05 10:12:49 +00:00
Felix Fietkau 523de2ca31 openvpn: replace polarssl run-time version check with a compile-time one
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-05 10:09:16 +00:00
Felix Fietkau 98ed1103cf polarssl: disable runtime version checks to save some space
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-05 10:00:49 +00:00
Felix Fietkau fcc2ed3b17 polarssl: disable an unused random number generator
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-05 10:00:36 +00:00
Jo-Philipp Wich 2569721374 openvpn: disable CBC record splitting in PolarSSL/mbedTLS (#19101)
OpenVPN assumes that its control channel messages are sent and received
unfragmented, this assumption is broken when CBC record splitting is
enabled in mbedTLS.

The record splitting is intended as countermeasure against BEAST attacks
which do not apply to OpenVPN, therefore we simply disable it until
upstream OpenVPN gains the ability to process fragmented control
messages.

Disabling the splitting also works around a (not remotely triggerable)
segmentation fault in mbedTLS.

References:

 * https://dev.openwrt.org/ticket/19101
 * https://community.openvpn.net/openvpn/ticket/524
 * https://github.com/ARMmbed/mbedtls/pull/185

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-04 08:49:21 +00:00
Felix Fietkau e7cb95c5c6 base-files: fix logic error in led default handling (patch from #19593)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-03 18:04:27 +00:00
Steven Barth 9c739ae448 nettle: bump to 3.1.1
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-03 11:19:42 +00:00
Steven Barth 834292fa30 dhcp: add option specifying overriding custom-routes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-02 07:44:55 +00:00
Steven Barth 0b42a29e7f netsupport: package L2TPv3 over IPv6 as well
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-02 07:44:47 +00:00