Commit Graph

180 Commits

Author SHA1 Message Date
nbd 5c953af45e mac80211: fix key flush handling in AP+STA
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r43079

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 11:07:45 +00:00
nbd 42cd4e3de9 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>

Backport of r43061

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 17:23:14 +00:00
cyrus f34834fe36 odhcp6c: avoid some unnecessary big mallocs
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 10:39:31 +00:00
nbd e3da990876 ath9k: fix regulatory notifier calls with CONFIG_ATH_USER_REGD=y (#18211)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 09:31:04 +00:00
nbd fdbd75e036 mac80211: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 09:31:01 +00:00
nbd 66a76be5c1 ath9k: backport tx power reporting fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 09:30:59 +00:00
nbd 22808d019d openssl: add ABI_VERSION to fix package rebuild issues (fixes #18169)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42963

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 16:54:33 +00:00
nbd 31e8fdda0e polarssl: do not build the unused programs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42960

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 09:43:49 +00:00
nbd 9a5b2585d3 polarssl: add missing version bump
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42949

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

Backport of r42947

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 09:19:51 +00:00
cyrus 249857af0e hostapd: CVE-2014-3686 fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-17 06:16:07 +00:00
jow fb6b39b78c BB: 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>

Backport of r42929

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 08:34:38 +00:00
blogic 543ede0f1f lantiq: mac80211: add support for rf5362 (needed by vgv7519 wifi)
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 11:03:30 +00:00
nbd 038578cac7 procd: fix initial nand sysupgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42884

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:51:35 +00:00
nbd 0273133e34 procd: fix parsing of the has_env parameter
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42883

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:51:33 +00:00
nbd f2ee60ca8b mac80211: remove NO-IR from channel 36-48
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42882

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:51:31 +00:00
cyrus 60012ae40e odhcp6c: fix parse errors with some dhcpv6 servers
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 12:18:58 +00:00
cyrus 6f93bcd13b odhcp6c: fix typo in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 15:27:38 +00:00
cyrus 58b855cae6 odhcp6c: don't assign addresses or prefixes prematurely
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 15:16:41 +00:00
cyrus a292e3b8bc odhcp6c: ensure signal-safety of signal handlers
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 10:00:40 +00:00
cyrus 28c47a66d9 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/branches/barrier_breaker@42842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 10:00:36 +00:00
nbd 059675c34f hostapd: merge an upstream patch for pmksa cache
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42762

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:39:52 +00:00
cyrus d26726dbc7 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/branches/barrier_breaker@42742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:16:17 +00:00
florian b3f82943e9 brcm2708-gpu-fw: update to Sep. 27 2014 snapshot
Backport of r42676

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



git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 17:43:54 +00:00
cyrus a397aa16aa odhcp6c: work around weird ISP RS behaviour
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 16:58:15 +00:00
cyrus b03d43d551 odhcpd: fix segfault when parsing domain options in UCI
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 11:54:08 +00:00
jow 58c6e574c3 BB: firewall: allow '*' as synonym for any / all in family and proto options
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42620

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 18:23:20 +00:00
jow e12261d40a BB: firewall: fix heap corruption in fw3_bitlen2netmask() with IPv6 addresses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42610

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 18:23:17 +00:00
jow a3f528c624 BB: firewall: fix invalid memory access when processing /128 IPv6 addresses from ubus, properly emit REDIRECT rules for local port forwards
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42604

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 18:23:15 +00:00
blogic 533282da86 cyassl: update to version 3.2.0
This fixes a security problem:
Security fix for RSA Padding check vulnerability

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

Backport of r42526

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-18 15:24:45 +00:00
blogic f3c7b78225 ppp: update to version 2.4.7
This fixes: CVE-2014-3158 and some other bugs.

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

Backport of r42525

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-18 15:24:22 +00:00
blogic 42d19d4de6 curl: 7.36.0 -> 7.38.0
Main changes:
- URL parser: IPv6 zone identifiers are now supported
- cyassl: Use error-ssl.h when available (drop local patch)
- polarssl: support CURLOPT_CAPATH / --capath
- mkhelp: generate code for --disable-manual as well (drop local patch)

Full release notes: http://curl.haxx.se/changes.html

MIPS 34kc binary size:
- 7.36.0 before: 82,539 bytes
- 7.38.0 after: 83,321 bytes

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

Backport of r42517

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-18 15:24:07 +00:00
nbd 12854c65c3 ubus: update to latest version, adds various fixes and improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42594

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 11:34:40 +00:00
blogic 445be98788 mdns: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 11:01:26 +00:00
blogic 5d7d895845 hostapd: do not remove foreign wpa_supplicant sockets
https://dev.openwrt.org/ticket/17886

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

Backport of r42586

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 11:01:23 +00:00
blogic 355a78db56 ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 18:35:15 +00:00
blogic bfaaa74a45 procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 18:35:09 +00:00
blogic b1e0084f76 fs-tools: dont use mips16
this causes problems on 47xx/74k

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

Backport of r42570

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 18:35:03 +00:00
blogic 13237e2ea4 comgt: add directip proto
add a proto handler for sierra wireless directip modems

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

Backport of r42465

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 18:34:44 +00:00
nbd cebcd32fe8 hostapd: remove bogus default setting for wps_pin (#17873)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42553

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 16:09:36 +00:00
nbd f4de40a189 procd: allow adding empty strings to arrays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42456

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 12:57:07 +00:00
nbd 9d90bc20d4 ath9k: fix pll clock initialization on newer soc devices (fixes #14916)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42453

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-09 08:03:34 +00:00
nbd 1dd5b6e82b ath9k: add some ani related stability / performance fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42443

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 16:45:58 +00:00
blogic 6ca648e9e3 mac80211: add mt7620a/n to the rt2x00 depends list
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 15:14:03 +00:00
cyrus dbbf0efa00 netifd: work-around kernel IPv6 on-link route issue
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 14:47:26 +00:00
nbd ec58844c4a uclient: update to the latest version, fixes some crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42419

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-04 17:46:39 +00:00
nbd 3d2eefd4cb mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42405

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 21:06:59 +00:00
nbd 955146573b mtd: Fix trx check after partition rename ("linux" to "firmware")
On brcm47xx (Huawei E970), I noticed that sysupgrade now tries to flash trx images which don't fit into the flash, resulting in non-booting system.

I found that mtd does trx size checking only when flashing to a partition called "linux". This patch changes this to be "firmware".

This matches the following patch which changed partition name in bcm47xxpart.c driver to "firmware":

commit 86b4d5ef68ca77ff6724ebb9bddd6b93239c87fc
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date:   Sun Dec 1 16:32:32 2013 +0000

    brcm47xx: use "firmware" partition name
    ...
    Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

    Backport of r38973

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

Backport of r42403

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 17:14:24 +00:00
blogic 088b1cbba7 mac80211: rt2x00 correctly set ht20/ht40 filter
Simple patch to correct ht20/ht40 switching. Tested with rt3290/rt3352/rt5350

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

Backport of r42348

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:16 +00:00
blogic 67cfa7ee6e dnsmasq: Make the --dhcp-host logic easier to understand
Use an if/else statement to cover the two different syntaxes.  Add
comments explaining what the end results should look like.

This patch should not change the script's output.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>

Backport of r42320

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:08 +00:00
blogic 41ed6f55fb dnsmasq: Fix hosts file format when MAC address is not specified
An entry like this in /etc/config/dhcp:

    config 'host'
        option 'name' 'pc2'
        option 'ip' '192.168.100.56'
        option 'dns' '1'

results in a /tmp/hosts/dhcp entry that looks like this:

    192.168.100.56 .lan

Obviously it should say "pc2.lan".

This happens because $name is set to "" in order to support the MAC-less
syntax: "--dhcp-host=lap,192.168.0.199".  Fix this by reordering the
operations.  Also, refuse to add a DNS entry if the hostname or IP is
missing.

Fixes #17683

Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>

Backport of r42319

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:06 +00:00
blogic abd77939b4 dnsmasq: Create rDNS records for LuCI "Hostnames"
LuCI creates "domain" UCI config sections, which the dnsmasq init file
then, currently, translates into "address" config lines. This is not
the correct usage of "address" (see r36943), and also causes rDNS
records to not be created. This patches dnsmasq.init to utilize the
additional hosts file introduced in r40799 for such domain names,
resolving both issues.

Signed-off-by: Tyler Fenby <tylerf@securecominc.com>

Backport of r42318

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:05 +00:00
blogic 9bbef11096 mac80211/rt2x00: allow disabling bands through dts
Add dts property ralink,2ghz and ralink,5ghz
e.g. disable 2ghz band:
wmac@10180000 {
  status = "okay";
  ralink,2ghz = <0>;
}

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

Backport of r42281

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:57 +00:00
blogic cb8f6fa0b4 package/*: remove useless explicit set of function returncode
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.

myfunction()
{
	fire_command

	return $?
}

a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:

http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."

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

Backport of r42278

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:54 +00:00
blogic e848b54b53 firewall: the firewall did not start properly on boot
https://dev.openwrt.org/ticket/17593

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

Backport of r42233

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:46 +00:00
blogic 4e7194ad03 libubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42230

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:45 +00:00
blogic 9a35cceade valgrind: fix build failure on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

Backport of r42229

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:44 +00:00
blogic 19961bb643 gmp: add host compile
Currently, any package that uses host compile and depends on
libgmp.so will fail. This is because gmp is not compile for
host machine. So, staging_dir/host has only static lib for gmp

 $ ls staging_dir/host/lib/libgmp* -1
 staging_dir/host/lib/libgmp.a
 staging_dir/host/lib/libgmp.la
 staging_dir/host/lib/libgmpxx.a
 staging_dir/host/lib/libgmpxx.la

Addind host compile in gmp, the dependent package can use:

 PKG_BUILD_DEPENDS:=gmp/host

That will compile gmp to staging_dir/host with *.so files

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

Backport of r42196

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:38 +00:00
blogic 9558acae1a busybox: Fix pam_start link errors when PAM support is enabled
Patch to BusyBox Makefile to fix linker errors when PAM support is enabled by
CONFIG_BUSYBOX_CONFIG_PAM=y. Typical errors include:
login.c:(.text.login_main+0x122): undefined reference to `pam_start'

Signed-off-by: Stephen Parry <sgparry@mainscreen.com>

Backport of r42195

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:36 +00:00
blogic 64098682a1 ppp: enable IPv6CP by default
Signed-off-by: Steven Barth <steven@midlink.org>

Backport of r42158

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:11 +00:00
blogic 921a5bb956 firewall: fix potential NULL pointer access
Properly skip struct ifaddr entries with NULL ifa_addr, thanks Kostas Papadopoulos for reporting.

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

Backport of r42138

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:09 +00:00
blogic f76ea8c4ef firewall: implement selective conntrack flushing (#10225)
Utilize the new selective conntrack flushing facility to clear
out active conntrack entries referring to old IP addresses after
a firewall reload.

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

Backport of r42114

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:07 +00:00
blogic 3809133bd0 build: enable PER_FEED_REPO by default
Enable the separate feed repositories by default to align custom builds with the repositories
available on the snapshot download server.

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

Backport of r42112

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:05 +00:00
blogic 4eebf6dfc4 hostapd: fix some whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

Backport of r42111

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:04 +00:00
blogic 616838d4cf broadcom-wl: add default tx and rx antennas
This adds default tx and rx antennas, so that LuCI shows automatic as the default radio option for the antennas.

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

Backport of r42085

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:02 +00:00
nbd 3bbd43553f netifd: update to the latest version, adds interface cleanup fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42345

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 13:09:15 +00:00
nbd 6ac1ae4938 netifd: update to the latest version, fixes proto-shell teardown after renew
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42344

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 13:09:14 +00:00
nbd d6d23c0bb2 nettle: disable mips16 support to improve performance
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>

Backport of r42341

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 12:04:22 +00:00
jogo 32d501a8da BB: binutils: link libbfd and libopcodes dynamically again
Backport of r42337.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 11:04:19 +00:00
nbd d3b76e0a58 mac80211: fix crash when unloading drivers (#17706)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42329

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 20:41:20 +00:00
jow dc422c5293 BB: uhttpd: do not configure TLS parameters if libustream-ssl is not present
A quite frequent problem after sysupgrading from an older, SSL enabled build
is that ustream-ssl is not installed so uhttpd fails to come up again due to
https listening directives in the preserved configuration.

Skip key/cert and ssl listen options when libustream-ssl.so is not present.

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

Backport of r42284

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 12:46:35 +00:00
jow 6c3fc907a4 BB: iwinfo: properly decode SSIDs when scanning through wpa_supplicant
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42273

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 12:46:27 +00:00
cyrus 8583b7ca2c odhcp6c: enable softwires support by default
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:12:19 +00:00
cyrus fef411a8e3 odhcpd: fix static lease behavior with dhcpv4
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 08:13:42 +00:00
nbd a5098b2e34 uclient: update to latest version, fixes HTTP keepalive issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42257

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 19:13:10 +00:00
jogo b5cd5061ce BB: dropbear: restore performance by disabling mips16
Disable MIPS16 to prevent it negatively affecting performance.
Observed was a increase of connection delay from ~6 to ~11 seconds
and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx.

Fixes #15209.

Backport of r42250.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 18:28:09 +00:00
cyrus 21d363e5a0 base-files: increase igmp_max_memberships to improve multicast-proxy handling
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 10:19:03 +00:00
cyrus c15b063267 dnsmasq: fix a race condition possibly leading to lockup
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 09:53:29 +00:00
cyrus c7dc71aa9f odhcpd: bump for bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 06:00:09 +00:00
cyrus 6566ae535e dnsmasq: respect option dhcpv4 disabled in dhcp-config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 06:00:07 +00:00
cyrus 90dec7a948 bb: bump netifd
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 05:39:28 +00:00
cyrus 7a828618dc odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-12 13:30:38 +00:00
jow 8b999f8512 BB: package: fix segfault of iwinfo.scanlist("radio0").
This is a bug revealed in r41830.

First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname()
would be zeroed out if the argument is "wlan0" or the like.  This will
happen in the following call stack.

 nl80211_get_scanlist("radio0", buf, len);
   nl80211_phy2ifname("radio0")			// return static var nif with content "wlan0"
   nl80211_get_scanlist(nif, buf, len);		// tail call
     nl80211_get_mode(nif);
        nl80211_phy2ifname(nif);		// zero out nif

Later we try nl80211_ifadd("") which was supposed to create interface
"tmp.", but that won't happen because nl80211_msg() will put an invalid
ifidx 0 to the nlmsg.

Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily
nl80211_get_scanlist() returned 0 and left *len undefined.

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

Backport of r42151

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-12 11:15:38 +00:00
jow a62f6c751b BB: base-files: /lib/functions/network.sh: fix network_get_ipaddr6
When looking for the first ipaddr also consider the current prefix just
like network_get_ipaddrs6 does. If ipv6-address was empty the function
did not return the first ipaddr even if the list was non-empty.

fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006

Signed-off-by: Henning Schild <henning@hennsch.de>

Backport of r42139

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 18:17:09 +00:00
jow 991fe920cc BB: build: consider sub-directories when deploying packages to image with CONFIG_PER_FEED_REPO (#17430)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42041

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-09 12:11:34 +00:00
hauke 4a480c93d1 broadcom-wl: add support for a8xx broadcom devices
Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222).

backport of: r42084

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 23:06:16 +00:00
cyrus 9d93edf44c odhcpd: avoid logspam in certain corner cases
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 08:46:26 +00:00
cyrus 8e48d605c9 odhcpd: write host-entries for all leased IPv6 addresses
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:31:38 +00:00
cyrus ddd71e733d cyassl: update to 3.1.0
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:26:21 +00:00
cyrus 30425c13e2 polarssl: bump to 1.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:21:38 +00:00
blogic 3ddb03dada openssl: another day another bug fix update
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42055

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 20:55:33 +00:00
nbd 452b27c0be base-files: enable option to skip the netfilter "filter" table for established connection packets by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42048

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 19:31:19 +00:00
cyrus f7bc58852f odhcpd: update hostfile more often
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 18:08:10 +00:00
cyrus 27a73d7e5e iptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 12:33:22 +00:00
cyrus bd07219ece netifd: bump to latest version
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 10:24:28 +00:00
cyrus 0241b7792f iptables: NFLOG and NFQUEUE targets' full support
NFLOG and NFQUEUE targets' full support for iptables.

Includes all needed kernel modules (Xtables's and Netlink's)
 and userspace libraries.
All added kernel modules can be individually disabled,
 all other new libraries get their own individual packages.

Reported-by: Fabian Hugelshofer <hugelshofer2006@gmx.ch>
Reported-by: Rainer Poisel <rainer.poisel@fhstp.ac.at>
Reported-by: Derek LaHousse <dlahouss@mtu.edu>
Signed-off-by: Guillaume Déflache <guillaume.deflache@ibwag.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 10:00:28 +00:00
cyrus d91f530a55 odhcpd: correct incorrect commit-id in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 05:51:21 +00:00
cyrus 950a6a298f odhcpd: skip MSRs in RAs for prefixes with same size as DP
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 05:34:43 +00:00
hauke d2f8cfa892 BB: mac80211: b43: update b43 to version master-2014-07-29-1
This add 5GHz support for N-PHY to b43, thanks Rafał Miłecki.

b43_wflush16 was put into an extra function because it is pretty big in asm.

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

backport: r41900


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 22:02:14 +00:00
blogic d911822880 build: add new option to add disabled feeds commented out to opkg.conf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42004

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 18:18:49 +00:00