Commit Graph

32492 Commits (0db74510c05e7f1c3c4518f9ba1de7f13d8be86c)

Author SHA1 Message Date
John Crispin 0db74510c0 base-files: Fix switch settings for uci-defaults-new.sh.
The enable and reset settings need to be added even when they're false. This is true at least for 'enable', that seems to default to true otherwise.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:52 +00:00
John Crispin ec797db397 openvpn: procd_set_param respawn
Makes sure that the openvpn instance gets restarted in case of a crash.

Intentional stops using /etc/init.d/openvpn stop will not result in
respawning. Anything else will, e.g. killall openvpn.

Signed-off-by: Lars Gierth <larsg@systemli.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:41 +00:00
John Crispin d0eb060915 gemini: add ata driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:34 +00:00
John Crispin 3d5e389698 gemini: add rtc-gemini driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:27 +00:00
John Crispin b8f3eecf55 ramips: Fix HooToo HT-TM02 support.
- Fix LED definitions.
- Add mode-switch slider definition (at GPIO 14).
- Remove unneeded VLAN now that the ethernet driver is fixed and TCP packets get passed correctly now. (This router only has one port.)
- Fix LAN port MAC address, which is defined in the factory partition as WLAN MAC address + 1.
- Fix board name, as the company name is HooToo and not HOOTOO.
- Remove unnecessary packages from the profile. (The end-user is supposed to use mechanisms such as the ImageBuilder in order to add his own set of packages to his own images... while the precompiled images should just contain the core set of packages needed to run the base functions of a wireless router.)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:20 +00:00
John Crispin 15aa6d23b8 ramips: Fix for gpio falling interrupt mask
This patch fixes a wrong mask operation for the rt2880-compatible ralink devices.
The mask operation reads the actual flags and then logical combines it with the pin flag it want to set.
Unfortunally, for rising as for falling interrupt flags the actual flag status of the rising interrupts was used.
That caused a problem if you want to use more than one falling GPIO interrupt.
Now the correct (seperated) actual status is used for both, falling and rising.

Signed-off-by: Jonas Arndt <info@greenwire-elektronik.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:13 +00:00
John Crispin e8a5bd7e28 ramips: update BR-6475ND dts
Update firmware location for 2.4GHz radio on the Edimax BR-6475nD.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:02 +00:00
John Crispin a733affa00 ramips: base-files: Whitespace fixes.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:55 +00:00
John Crispin 2f58f4729b lantiq: BT Home Hub 3A - userspace
BT Home Hub 3A - userspace

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:48 +00:00
John Crispin 2292309153 lantiq: BT Home Hub 3A - profile
BT Home Hub 3A - profile

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:41 +00:00
John Crispin 6b176045f3 lantiq: BT Home Hub3A - device tree
BT Home Hub3A - device tree

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:35 +00:00
John Crispin adabf431dc lantiq: Fix adsl led on Home Hub 2B
This fixes the adsl led on the Home Hub 2B.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:28 +00:00
Steven Barth ab095633cf openssl: bump to 1.0.1j
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 18:29:26 +00:00
Jo-Philipp Wich c2b95604c9 firewall: respect src_dip option for reflection (#18544)
Also fix wrong IPv4 netmask calculation on x86-64, thanks Ulrich Weber.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 16:10:46 +00:00
Felix Fietkau 648b9ba08b scripts/config: sync with linux upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 14:33:53 +00:00
Jo-Philipp Wich 074a033f4e base-files: update default url template and complete kconfig help
Change the kconfig default for the repository url template to use "%s"
instead of "%T" as well.

Also complete the kconfig help text do cover the recently introduced
manufacturer, product and hwrev options.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 12:46:44 +00:00
Jo-Philipp Wich 2aa90929e6 version.mk: add "%s" placeholder for dotted target.subtarget notation
Implement "%s" placeholder that expands to either the target name,
e.g. "ar71xx" if the subtarget is generic or to target.subtarget, e.g.
"ar71xx.nand" is a subtarget is choosen.

Also change the default repository url template to use "%s" instead
of "%T" to reflect the directory structure used by the buildbot systems.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 12:46:37 +00:00
Steven Barth c3f870fa11 nftables: bump to latest git / all patches upstreamed
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 11:31:36 +00:00
Jo-Philipp Wich a8bb90bd2f build: add version number to filenames
This commit introduces a new option CONFIG_VERSION_FILENAMES which causes
OpenWrt to embed the version number in generated image files, SDK- and
ImageBuilder archives.

The option is enabled by default if CONFIG_VERSIONOPT is set.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 11:02:00 +00:00
Rafał Miłecki 49305aa537 fstools: update to the latest git HEAD
This allows using UBIFS volume as overlay and adds support for Btrfs.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-07 17:10:02 +00:00
Felix Fietkau a036637af6 package/binutils: actually support the target toolchain
This fixes a bug, where ld on ARM EABI platforms expects OABI code.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-07 16:02:59 +00:00
Jo-Philipp Wich 0ed789a6ab qos-scripts: bump PKG_REVISION and copyright year
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-06 12:42:38 +00:00
Jo-Philipp Wich d17751d46e openvpn: bump PKG_REVISION and copyright year
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-06 12:41:22 +00:00
Steven Barth 0742ac3b05 openssl: fix CVE-2014-3569
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-06 09:59:55 +00:00
Felix Fietkau ce5f09061f kernel: add missing dependency for kmod-crypto-ghash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 21:37:29 +00:00
Felix Fietkau d0eb0abc79 lantiq: add missing NAND_WRITE_DATA in NAND driver.
Signed-off-by: Sylwester Petela <sscapi@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 21:37:21 +00:00
Imre Kaloz 61c6d6013d [mvebu/3.18]: refresh kernel config, add cpuidle and cpufreq support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 15:08:20 +00:00
Imre Kaloz a8ca723b3b [mvebu]: enable swconfig and the mvsw6171 driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 15:02:18 +00:00
Felix Fietkau de97391c61 mac80211: fix ad-hoc basic/multicast rate regression from r43782
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:19:20 +00:00
Felix Fietkau 55dc272f32 nettle: add CONFIG_LIBNETTLE_MINI to PKG_CONFIG_DEPENDS to fix rebuild issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:55 +00:00
Felix Fietkau afdb4caec6 dnsmasq: fix dependency problems of the dnsmasq-full variant.
This patch tries to

 - Let the DHCPv6 feature depend on CONFIG_IPV6.
 - Conditionally select libnettle, kmod-ipv6, kmod-ipt-ipset only if the
   corresponding features are enabled.
 - Install `trust-anchors.conf` only if DNSSEC is selected.
 - Add PKG_CONFIG_DEPENDS for the configurable options.
 - Add a patch to let the Makefile of dnsmasq be aware of changes in
   COPTS variable.

Big thanks goes to Frank Schäfer <fschaefer.oss@googlemail.com> for
providing necessary information on connections and dependency relations
between these CONFIGs and packages.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:48 +00:00
Felix Fietkau cc0700a38f package: remove references to symbols TARGET_{ps3,pxcab}.
Target pxcab and ps3 were removed from maintaince in r34764 and r34765
respectively.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:40 +00:00
Felix Fietkau daa9422c5d e2fsprogs: bump release
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:33 +00:00
Felix Fietkau 9657c45d0f e2fsprogs: package dumpe2fs, e2freefrag, filefrag, debugfs
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:26 +00:00
Felix Fietkau a18cd1f1cf e2fsprogs: symlink e2fsck to fsck.ext{2, 3, 4}, and tune2fs to findfs
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:20 +00:00
Felix Fietkau 88fc7e777f hostapd: Add uapsd option to netifd.sh
The uapsd option sets the uapsd_advertisement_enabled flag in hostapd.

The check for phy support is already implemented here in hostapd since 2011:
http://w1.fi/cgit/hostap/commit/?id=70619a5d8a3d32faa43d66bcb1b670cacf0c243e

So this can be safely set to 1 as default.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:12 +00:00
Felix Fietkau dbe77b94a0 ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c
Move all AR8327/AR8337-specific driver code into a separate source file
ar8327.c and adjust patches so that ar8327.c is compiled if
CONFIG_AR8216_PHY is set.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:03:07 +00:00
Felix Fietkau 724b3b940a ar8216: move definitions from ar8216.c to ar8216.h and introduce ar8327.h
Move several structure definitions and #defines from ar8216.c
to ar8216.h and move AR8327/AR8337 header stuff into a new
header file ar8327.h.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:02:57 +00:00
Felix Fietkau f3fbdbd1aa kernel/hwmon: package pwm-fan kernel module
pwm-fan was introduced in kernel 3.18

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:02:49 +00:00
Felix Fietkau 805f9e574d all targets: remove all =m kernel config symbols
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:02:44 +00:00
Felix Fietkau 71919ae344 kernel: bridge: multicast: backport a few more fixes for 3.10
The following patches unfortunately didn't hit the kernel stable
branches yet, therefore cherrypicking them for OpenWRT here:

* bridge: fix netfilter/NF_BR_LOCAL_OUT for own, locally generated queries
* bridge: multicast: enable snooping on general queries only
* bridge: multicast: add sanity check for general query destination

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:02:31 +00:00
Felix Fietkau 28f5eeb833 octeon: enable VLAN support
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:02:26 +00:00
Felix Fietkau 686f45580a octeon: remove config-default
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:02:21 +00:00
Felix Fietkau 96af999afd kernel/modules: add kmod-crypto-gcm
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:02:14 +00:00
Felix Fietkau 2d02649b87 kernel/modules: add kmod-crypto-ghash
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:02:08 +00:00
Felix Fietkau 25a2bdc2f6 kernel/modules: kmod-crypto-xts: depend on kmod-crypto-gf128
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:02:01 +00:00
Felix Fietkau d19df5716d kernel/modules: add kmod-crypto-gf128
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:01:56 +00:00
Felix Fietkau 710f989eef kernel/modules: add kmod-crypto-ctr
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:01:52 +00:00
Felix Fietkau 658e2edfb6 kernel/modules: add kmod-crypto-seqiv
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:01:42 +00:00
Felix Fietkau 49267890b7 kernel/modules: remove CRYPTOMGR_MODULES
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-05 13:01:36 +00:00