Commit graph

11058 commits

Author SHA1 Message Date
Felix Fietkau
322de4101a lldpd: implement a reload hook
Seems the default one is not working as expected.
The way that reload should work is that the 'start' service
call should return 1 (if lldpd is running) and then a normal
restart would be called.

However, for lldpd a reload would mean just clearing all custom TLVs
(if they're configured) and reloading the configuration.

So, this patch adds a reload hook, which would:
 - 'start' lldpd if it's not running (because we return 1 if not running)
 - reload configuration if it is running (also previously
    clearing custom TLVs if present)

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

SVN-Revision: 47367
2015-11-03 11:59:09 +00:00
Imre Kaloz
1345073268 uboot: create the uboot config file for the shelby as well
fixes #20827

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47365
2015-11-03 11:07:30 +00:00
Felix Fietkau
7224c5d249 mac80211: fix crash when using mesh (11s) VIF together with another VIF
llid_in_use needs to be limited to stations of the same VIF, otherwise it
will cause a NULL deref as the sta_info of non-mesh-VIFs don't have
sta->mesh set.

Steps to reproduce:

   modprobe mac80211_hwsim channels=2
   iw phy phy0 interface add ibss0 type ibss
   iw phy phy0 interface add mesh0 type mp
   iw phy phy1 interface add ibss1 type ibss
   iw phy phy1 interface add mesh1 type mp
   ip link set ibss0 up
   ip link set mesh0 up
   ip link set ibss1 up
   ip link set mesh1 up
   iw dev ibss0 ibss join foo 2412
   iw dev ibss1 ibss join foo 2412
   # Ensure that ibss0 and ibss1 are actually associated; I often need to
   # leave and join the cell on ibss1 a second time.
   iw dev mesh0 mesh join bar
   iw dev mesh1 mesh join bar # crash

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47364
2015-11-02 18:26:15 +00:00
Felix Fietkau
a946367371 busybox: enable find mtime support by default
busybox binary in openwrt neither supports stat nor find
mtime. This patch adds find mtime support by default.

I've compared ipk size for three different targets
(ar71xx, brcm2708, x86):

209908 Okt 16 13:48 busybox_1.23.2-3_ar71xx.ipk-0before
210031 Okt 16 16:47 busybox_1.23.2-3_ar71xx.ipk-1after
difference: +123 Byte

223519 Okt 16 13:06 busybox_1.23.2-3_brcm2708.ipk-0before
223720 Okt 16 13:53 busybox_1.23.2-3_brcm2708.ipk-1after
difference: +201 Byte

221477 Okt 16 13:47 busybox_1.23.2-3_x86_64.ipk-0before
221622 Okt 16 13:52 busybox_1.23.2-3_x86_64.ipk-1after
difference: +145 Byte

Signed-off-by: Dirk Brenken <dirk@brenken.org>

SVN-Revision: 47362
2015-11-02 18:12:59 +00:00
Felix Fietkau
460640b6d7 hostapd: add default value to eapol_version (#20641)
r46861 introduced a new option eapol_version to hostapd, but did not
provide a default value. When the option value is evaluated,
the non-existing value causes errors to the systen log:
"netifd: radio0: sh: out of range"

Add a no-op default value 0 for eapol_version. Only values 1 or 2 are
actually passed on, so 0 will not change the default action in hostapd.

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

SVN-Revision: 47361
2015-11-02 18:12:54 +00:00
Felix Fietkau
8ca8fd757a iproute2: always use -DHAVE_SETNS, since the old uclibc is gone now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47358
2015-11-02 18:12:23 +00:00
John Crispin
12e0d2737f fstools: update to latest git HEAD
update libblkid code and add support for F2SF

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

SVN-Revision: 47353
2015-11-02 10:18:29 +00:00
John Crispin
67d890315c uboot-lantiq: Add SoC version 1.2 support for Arcadyan VGV7510KW22
This fixes #20409

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47352
2015-11-02 10:18:24 +00:00
John Crispin
4f9fcd94bd package/devel/perf: fix build for kernel 4.1
This fix contains 2 parts:
 - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file"
 - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support

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

SVN-Revision: 47338
2015-11-02 10:16:28 +00:00
Felix Fietkau
97abe48112 kobs-ng: fix compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47332
2015-11-01 12:38:38 +00:00
Luka Perkov
e920d31f4b uboot-envtools: update to 2015.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47328
2015-10-31 19:46:56 +00:00
Felix Fietkau
8babf4654c mac80211: update regulatory database to master-2015-10-22
Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>

SVN-Revision: 47297
2015-10-30 22:31:05 +00:00
Felix Fietkau
d89b1ea706 ath10k-firmware: add qca99x0 firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47295
2015-10-30 22:01:22 +00:00
Felix Fietkau
3fd8621f62 ath10k: split out ath10k firmware into a separate source package and .ipk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47294
2015-10-30 22:01:18 +00:00
Felix Fietkau
eda1b3a3f6 linux-firmware: minor makefile cleanup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47293
2015-10-30 22:01:04 +00:00
Felix Fietkau
0a95179556 samba: convert init script to procd, add reload support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47292
2015-10-30 15:32:54 +00:00
Felix Fietkau
6de8a82f85 iproute2: fix compile with uClibc-ng
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47291
2015-10-30 15:20:41 +00:00
Felix Fietkau
1cfa2a6747 busybox: fix non-portable invocation of mktemp
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47289
2015-10-30 15:18:22 +00:00
Felix Fietkau
e35d42e890 busybox: update to version 1.24.1
Patches applied upstream and dropped:
280-fix_find_regression.patch
300-ip-addr-improvements.patch

Fixed upstream:
290-ash-fix-a-regression-in-handling-local-variables.patch (see thread: http://lists.busybox.net/pipermail/busybox/2015-April/082783.html)

Signed-off-by: Magnus Kroken <mkroken@gmail.com>

SVN-Revision: 47288
2015-10-30 15:18:17 +00:00
Felix Fietkau
ce09894398 mac80211: add pending ath9k/ath10k patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47287
2015-10-30 15:18:03 +00:00
Felix Fietkau
ec3ee0969e mac80211: update to wireless-testing 2015-10-26
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47286
2015-10-30 15:17:56 +00:00
Felix Fietkau
f79bae2fc0 relayd: update to the latest version, fixes some issues found by Coverity
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47285
2015-10-30 15:17:47 +00:00
Imre Kaloz
c7b5822031 mwlwifi: upgrade to 10.3.0.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47279
2015-10-29 12:11:58 +00:00
John Crispin
9bcacd2853 modules: crypto-rng changes additions for kernel 4.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47276
2015-10-26 11:56:16 +00:00
John Crispin
91a46f9df1 modules: package VIA AC97 modules
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47274
2015-10-26 11:54:15 +00:00
John Crispin
f02f20e721 modules: enable crypto hardware modules
set CONFIG_CRYPTO_HW=y to enable build of crypto-hw modules.

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

SVN-Revision: 47273
2015-10-26 11:53:57 +00:00
John Crispin
06b032d6dc procd: update to latest git
this unbreaks glibc builds

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

SVN-Revision: 47266
2015-10-26 09:02:09 +00:00
John Crispin
4ce2b7cda5 libpcap: USB support by default if usbmon is enabled
If building usbmon support then you'll likely want to have
USB support in libpcap as well.

Signed-off-by: Bjørn Mork <bjorn@mork.no>

SVN-Revision: 47265
2015-10-26 09:02:03 +00:00
John Crispin
4725cde867 omcproxy: fix PKG_LICENSE string
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47264
2015-10-26 09:01:48 +00:00
John Crispin
63a50eeba3 brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47257
2015-10-26 09:00:47 +00:00
Steven Barth
6ce1cc3b30 bzip2: extend/fix the Host/Install rule to install libbz2.so files
It looks like the bzip2 package does not install any shared libs
and has no build rules to install any shared libs.

So, for the host build we're installing the libbz2 shared libs manually
so that other modules can link against them.

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

SVN-Revision: 47245
2015-10-22 13:24:35 +00:00
John Crispin
27002c207e uhttpd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47240
2015-10-20 18:16:05 +00:00
Jo-Philipp Wich
e73c42876f kernel: force CONFIG_BT_HCIUART_ATH3K to y
The CONFIG_BT_HCIUART_ATH3K may not be "m", therfore we cannot inherit the
kmod selection state. Force the "CONFIG_BT_HCIUART_ATH3K" symbol to "y" in
order to avoid `warning: symbol value 'm' invalid for BT_HCIUART_ATH3K` and
subsequent kconfig stalls.

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

SVN-Revision: 47237
2015-10-20 00:00:39 +00:00
John Crispin
795cc23a08 kernel: add usb-mass-storage-gadget driver package
This is another useful gadget driver that can allow an OTG port to act as a
mass storage device.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47225
2015-10-19 10:10:51 +00:00
John Crispin
5c338cb0d8 kernel: add mvsw61xx module package
Adds the package to select the mvsw61xx module present in the 3.18/4.0/4.1
kernels.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47224
2015-10-19 10:10:41 +00:00
John Crispin
729a5378cd kernel: add ath3k module package
Adds a package for the ath3k kernel module, present in 3.18/4.0/4.1 kernels

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47223
2015-10-19 10:10:20 +00:00
John Crispin
c3d310356d firmware: linux-firmware: Add ibt-firmware and ar3k-firmware packages
Some bluetooth devices require firmware. Add intel bluetooth and ar3k for now.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47222
2015-10-19 10:10:14 +00:00
John Crispin
1c74d046ed base-files: create /var/tmp on boot
FHS mandates presence of /var/tmp on compliant systems.

The lack of /var/tmp was discovered when using MIT Kerberos libraries
which default to that location for storing credentials cache.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 47219
2015-10-19 10:09:46 +00:00
John Crispin
00df239f60 uhttpd: update to latest git revision
adds URL alias support

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

SVN-Revision: 47206
2015-10-19 10:08:01 +00:00
John Crispin
51dd991d39 ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47203
2015-10-19 10:07:38 +00:00
Hauke Mehrtens
b792ea7ac0 polarssl: update to version 1.3.14
This fixes CVE-2015-5291 and some other smaller security issues.

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

SVN-Revision: 47201
2015-10-18 21:48:32 +00:00
Hauke Mehrtens
43d397d7d6 mbedtls: update to version 2.1.2
This fixes CVE-2015-5291 and some other smaller security issues.

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

SVN-Revision: 47200
2015-10-18 21:48:04 +00:00
Luka Perkov
75078acd93 cosmetic: remove trailing whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47197
2015-10-15 22:12:13 +00:00
Steven Barth
8e9196d1cb 6in4: add tunlink option support
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 47189
2015-10-15 08:56:59 +00:00
Felix Fietkau
ee480b694f mt76: update to the latest version, fixes tx related crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47187
2015-10-12 13:11:26 +00:00
Luka Perkov
d57bba8560 iperf3: update URL
Update iperf3 to point to the correct project website. Prior URL was the
old iperf2 website.

Signed-off-by: Karl Palsson <karlp@remake.is>

SVN-Revision: 47184
2015-10-11 22:41:30 +00:00
Luka Perkov
c420373557 libnl: fix URL
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>

SVN-Revision: 47183
2015-10-11 22:19:25 +00:00
John Crispin
f457ae99f2 lantiq: fix use of IRQF_DISABLED in lantiq kmods
The IRQF_DISABLED flag was removed in kernel 4.1 with commit
"genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely" [1].

Therefore the compilation of ltq-hcd and ltq-vmmc kmods fails.

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc

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

SVN-Revision: 47180
2015-10-11 16:24:43 +00:00
Luka Perkov
c2425ac649 uboot-envtools: Add Gateworks Ventana Support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47167
2015-10-10 12:34:45 +00:00
Jo-Philipp Wich
b345461070 uhttpd: fix keep-alive bug (#20607, #20661)
The two commits

  5162e3b0ee7bd1d0fd6e75e1ca7993a1834b5291
	"allow request handlers to disable chunked reponses"

and

  618493e378e2239f0d30902e47adfa134e649fdc
	"file: disable chunked encoding for file responses"

broke the chunked transfer encoding handling for proc responses in keep-alive
connections that followed a file response with http status 204 or 304.

The effect of this bug is that cgi responses following a 204 or 304 one where
sent neither in chunked encoding nor with a content-length header, causing
browsers to stall until the keep alive timeout was reached.

Fix the logic flaw by inverting the chunk prevention flag in the client state
and by testing the chunked encoding preconditions every time instead of
once upon client (re-)initialization.

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

SVN-Revision: 47161
2015-10-07 22:14:48 +00:00