summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* ath79: add support for Qihoo C301Chuanhong Guo2019-07-161-0/+3
| | | | | | | | | | | | | | | | Specifications: - SoC: AR9344 - RAM: 128MB - Flash: 2 * 16MB (MX25L12845) - Ethernet: 2 * FE LAN & 1 * FE WAN - WiFi: 2.4G: AR9344 5G: QCA9882 Flash instruction: 1. Hold reset and power up the router 2. Set your IP to 192.168.1.x 3. Open 192.168.1.1 and upload the generated *factory* firmware Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* libroxml: bump to the 3.0.2 versionRafał Miłecki2019-07-151-3/+3
| | | | | | | * Fix for memory leak regression * Support for (un)escaping Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* libs/toolchain: remove eglibc remnant fileEneas U de Queiroz2019-07-151-13/+0
| | | | | | This removes package/libs/toolchain/eglibc-files/etc/nsswitch.conf. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* ubox: implement service_running() in log init.d scriptRafał Miłecki2019-07-152-1/+5
| | | | | | It allows checking if service is running. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* rpcd: implement service_running() in init.d scriptRafał Miłecki2019-07-152-1/+4
| | | | | | It allows checking if service is running. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* fstools: add direct dependencies on libblobmsg-json and libjson-cPetr Štetiar2019-07-151-2/+2
| | | | | | | | | | | | | | | | The OpenWrt buildroot ABI version rebuild tracker does not handle transient dependencies, therefore add all libraries linked by block-mount and blockd as direct dependencies to the corresponding binary package definition. This ensures that block-mount and blockd is automatically rebuilt and relinked if any of these libraries has its ABI_VERSION updated in the future. Fixes: FS#2373 [jow: similar fix for procd and 98.42% of commit message] Signed-off-by: Jo-Philip Wich <jow@mein.io> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* gpio-button-hotplug: unify polled and interrupt codeDavid Bauer2019-07-141-65/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch unifies the polled and interrupt-driven gpio_keys code paths as well implements consistent handling of the debounce interval set for the GPIO buttons and switches. Hotplug events will only be fired if 1. The input changes its state and remains stable for the duration of the debounce interval (default is 5 ms). 2. In the initial stable (no state-change for duration of the debounce interval) state once the driver module gets loaded. Switch type inputs will always report their stable state. Unpressed buttons will not trigger an event for the initial stable state. Whereas pressed buttons will trigger an event. This is consistent with upstream's gpio-key driver that uses the input subsystem (and dont use autorepeat). Prior to this patch, this was handled inconsistently for interrupt-based an polled gpio-keys. Hence this patch unifies the shared logic into the gpio_keys_handle_button() function and modify both implementations to handle the initial state properly. The changes described in 2. ) . can have an impact on the failsafe trigger. Up until now, the script checked for button state changes. On the down side, this allowed to trigger the failsafe by releasing a held button at the right time. On the plus side, the button's polarity setting didn't matter. Now, the failsafe will only engage when a button was pressed at the right moment (same as before), but now it can theoretically also trigger when the button was pressed the whole time the kernel booted and well into the fast-blinking preinit phase. However, the chances that this can happen are really small. This is because the gpio-button module is usually up and ready even before the preinit state is entered. So, the initial pressed button event gets lost and most devices behave as before. Bisectors: If this patch causes a device to permanently go into failsafe or experience weird behavior due to inputs, please check the following: - the GPIO polarity setting for the button - the software-debounce value Run-tested for 'gpio-keys' and 'gpio-keys-polled' on - devolo WiFi pro 1200e - devolo WiFi pro 1750c - devolo WiFi pro 1750x - Netgear WNDR4700 - Meraki MR24 - RT-AC58U Signed-off-by: David Bauer <mail@david-bauer.net> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [further cleanups, simplification and unification]
* brcm2708: switch to linux-firmware SDIO NVRAMÁlvaro Fernández Rojas2019-07-141-41/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* linux-firmware: add RPi SDIO NVRAM packagesÁlvaro Fernández Rojas2019-07-141-0/+36
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708-gpu-fw: add support for Raspberry Pi 4Álvaro Fernández Rojas2019-07-141-10/+70
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mt76: revert an accidental leftover debug changeFelix Fietkau2019-07-131-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: update to latest git HEADHans Dedecker2019-07-131-2/+2
| | | | | | 31f0765 procd: check strchr() result before using it Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* mt76: update to the latest versionFelix Fietkau2019-07-121-3/+3
| | | | | | | | | | | | | | | | | | 8fc3e6e mt76: mt7615: fix using VHT STBC rates b21b991 mt76: mt7615: fix PS buffering of action frames 3d43dd8 mt76: mt7615: fix invalid fallback rates 0ce4682 mt76: mt7603: fix invalid fallback rates 3b08966 Revert "mt76: usb: use full intermediate buffer in mt76u_copy" 48800e7 Revert "mt76: usb: remove unneeded {put,get}_unaligned" 439354d Revert "mt76: usb: fix endian in mt76u_copy" 8c1da93 mt76: usb: fix endian in mt76u_copy 307be50 mt76: usb: remove unneeded {put,get}_unaligned 5d29829 mt76: mt76x02: use params->ssn value directly f74d117 mt76: mt7603: use params->ssn value directly 649f2e8 mt76: mt7615: use params->ssn value directly b647180 mt76: mt7615: unlock dfs bands Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: Do not build b43legacy on BRCM47xx mips74 subtargetHauke Mehrtens2019-07-121-1/+1
| | | | | | | | | | | | | b43legacy needs ssb support and we do not compile the mips74 subtarget of the brcm47xx target with SSB support. This causes a build failure in the mac80211 package and only some of the kernel modules are being created. I am not aware of any device with a BRCM47xx mips74 CPU which uses a b43legacy compatible device. Fixes: FS#2334 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lua5.3: build shared libraryColby Whitney2019-07-113-4/+350
| | | | | | | | Update the lua5.3 package to build a shared object just like the old lua package. Ported / recreated the same patch number as the other lua package. Built and tested library / interpreter on BCM5301X. Signed-off-by: Colby Whitney <colby.whitney@luxul.com>
* base-files: move stage2 upgrade to separated fileRafał Miłecki2019-07-114-24/+27
| | | | | | | | | do_upgrade_stage2() isn't really any common code. It isn't used anywhere except for /sbin/sysupgrade that passes it to the stage2. Moving its code to separated file also simplifies COMMAND variable. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel/om-watchdog: Apply device renames from ramipsAdrian Schmutzler2019-07-101-6/+3
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* uboot-envtools: Apply ramips device renamesAdrian Schmutzler2019-07-101-9/+9
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* base-files: Fix path check in get_mac_binaryAdrian Schmutzler2019-07-091-1/+1
| | | | | | | | | Logic was inverted when changing from string check to file check. Fix it. Fixes: 8592602d0a88 ("base-files: Really check path in get_mac_binary") Reported-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* netsupport: move out sch_cake from kmod-schedKevin Darbyshire-Bryant2019-07-091-1/+1
| | | | | | | | | | Fix file installation clash between kmod-sched & kmod-sched-cake as both try to install sch_cake.ko Remove cake from kmod-sched package as cake is supposed to be the optional qdisc. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* usbreset: Add missing headerRosen Penev2019-07-082-1/+2
| | | | | | Fixes undefined reference to strtoul Signed-off-by: Rosen Penev <rosenp@gmail.com>
* netsupport: move out mqprio from kmod-schedKonstantin Demin2019-07-081-1/+1
| | | | | | | | | | | | | Currently, there's unable to install "kmod-sched-mqprio" after "kmod-sched" (or vice versa), because "sch_mqprio.ko" is shipped in both packages. Fixes: f83522fa6361 ("linux: Add kmod-sched-mqprio") Fixes: 6af639e0bf78 ("linux: Add kmod-sched-act-vlan") Fixes: 72c7e2dc467c ("linux: Add kmod-sched-flower") Signed-off-by: Konstantin Demin <rockdrilla@gmail.com> [Add cls_flower and act_vlan] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* util-linux: Update to 2.34Daniel Engberg2019-07-082-5/+5
| | | | | | | Update util-linux to 2.34 Refresh patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* iperf3: update to 3.7DENG Qingfang2019-07-081-2/+2
| | | | Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
* kmod-sched-cake: drop out of tree package, use kernel versionKevin Darbyshire-Bryant2019-07-082-42/+16
| | | | | | | | | | | | | | CAKE made it to kernel 4.19 and since OpenWrt now at kernel 4.19 we can drop the out of tree cake package in base repository. Add kmod-sched-cake to netsupport so package dependencies are still met. Similarly CAKE is retained as an optional qdisc module to avoid base scheduler package size implications. Backport upstream patches from k5.1 to address some small bugs and support fwmark usage. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* base-files: drop support for NAND upgrade in platform_pre_upgrade()Rafał Miłecki2019-07-084-17/+3
| | | | | | | With bcm53xx switched to the new procedure there is no more need for keeping that backward compatibility code. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: drop unused jffs2_copy_config()Rafał Miłecki2019-07-082-11/+1
| | | | | | | | Its last usage was dropped back in 2013 in the commit b95bdc8ab56e ("kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere"). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ath10k-firmware: Fix mirror hashHauke Mehrtens2019-07-071-1/+1
| | | | | Fixes: 7f79882d44ba ("ath10k-firmware: update board-2.bin for community firmwares") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* zram-swap: Add extra commands for status/compactionEmil Muratov2019-07-071-21/+34
| | | | | | | | | This patch adds two new commands: zram status - shows memory stats for all zram swaps zram compaction - trigger compaction for all zram swaps Signed-off-by: Emil Muratov <gpm@hotplug.ru> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* busybox: enable swapon/off by default to make it consistent with mkswapEmil Muratov2019-07-071-4/+4
| | | | | | | | | No size increase on busybox binary. Since busybox mkswap is already enabled by default it seems reasonable to enable swapon/off too. For ex. this obsoletes installing block-mount dependency for zram-swap. Signed-off-by: Emil Muratov <gpm@hotplug.ru>
* zram-swap: Add zram compaction and statistics info outputEmil Muratov2019-07-072-2/+58
| | | | | | | | | Executing '/etc/init.d/zram start' during runtime (with a swap being already mounted) triggers zram device compaction and prints out nice stats info about zram memory usage Signed-off-by: Emil Muratov <gpm@hotplug.ru> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [use IEC's MiB unit]
* zram-swap: Fix busybox dependency checkEmil Muratov2019-07-071-1/+1
| | | | | | | | - fix dependency on BUSYBOX_CONFIG_SWAPONOFF (removed in 84da2a6) - add busybox defaults checking (fix zram-swap always installs swap-utils and libblkid as dependency, even if busybox includes mkswap by default) Signed-off-by: Emil Muratov <gpm@hotplug.ru>
* libnftnl: bump to version 1.1.3Konstantin Demin2019-07-071-3/+3
| | | | | | bump ABI version accordingly (thanks to Jo-Philipp Wich). Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
* base-files: Really check path in get_mac_binaryAdrian Schmutzler2019-07-071-1/+1
| | | | | | | | Currently, path argument is only checked for being not empty. This changes behavior to actually check whether path exists. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* hostapd: adjust removed wolfssl optionsEneas U de Queiroz2019-07-071-4/+0
| | | | | | | | | This edjusts the selection of recently removed wolfssl options which have always been built into the library even in their abscence. Also remove the selection of libwolfssl itself, allowing the library to be built as a module. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* wolfssl: update to 4.0.0-stableEneas U de Queiroz2019-07-075-126/+62
| | | | | | | | | | | | | | | Removed options that can't be turned off because we're building with --enable-stunnel, some of which affect hostapd's Config.in. Adjusted the title of OCSP option, as OCSP itself can't be turned off, only the stapling part is selectable. Mark options turned on when wpad support is selected. Add building options for TLS 1.0, and TLS 1.3. Add hardware crypto support, which due to a bug, only works when CCM support is turned off. Reorganized option conditionals in Makefile. Add Eneas U de Queiroz as maintainer. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* wolfssl: update to 3.15.7, fix MakefileEneas U de Queiroz2019-07-074-13/+13
| | | | | | | | | This includes a fix for a medium-level potential cache attack with a variant of Bleichenbacher’s attack. Patches were refreshed. Increased FP_MAX_BITS to allow 4096-bit RSA keys. Fixed poly1305 build option, and some Makefile updates. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* ath10k-firmware: update board-2.bin for community firmwaresChristian Lamparter2019-07-071-3/+3
| | | | | | | | This patch updates the board-2.bin for the default IPQ4019, QCA9984 and QCA9888 ath10k-firmware-xyz-ct and -ct-htt firmwares. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* gdb-arc: RemoveRosen Penev2019-07-074-158/+0
| | | | | | Normal GDB has supported ARC since 8.0 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* gdb: Remove !arc dependencyRosen Penev2019-07-072-3/+14
| | | | | | | | Supported since 8.0. Added uClibc-ng patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* iproute2: update to 5.1.0Deng Qingfang2019-07-046-166/+64
| | | | | | | | Update iproute2 to 5.1.0 Remove upstream patch 010-cake-fwmark.patch Backport a patch to fix struct sysinfo redefinition error Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
* mt76: update to the latest versionFelix Fietkau2019-07-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6cafaca mt7603: use READ_ONCE instead of ACCESS_ONCE 9e2e0b8 mt76: round up length on mt76_wr_copy e378ef1 mt76: mt7615: fix sparse warnings: warning: restricted __le16 degrades to integer 7991dd7 mt76: mt7615: introduce mt7615_regd_notifier 901a4c7 mt76: mt7615: add hw dfs pattern detector support 57c600e mt76: mt7615: do not perform txcalibration before cac is complited 6afc952 mt76: mt7615: add csa support 8919516 mt76: mt7615: add radar pattern test knob to debugfs 3be723c mt76: mt7615: clean up FWDL TXQ during/after firmware upload 47fe37e mt76: mt7615: fall back to sw encryption for unsupported ciphers bc5e041 mt76: mt7603: enable hardware rate up/down selection ae760db mt76: mt7615: move mt7615_mcu_set_rates to mac.c 2ae01f7 mt76: mt7615: reset rate index/counters on rate table update 6f98378 mt76: mt7615: sync with mt7603 rate control changes edbe88e mt76: usb: fix endian in mt76u_copy f43b622 mt76: usb: remove unneeded {put,get}_unaligned 5e1e5b7 mt76: usb: use full intermediate buffer in mt76u_copy 017d0ff mt76: mt76u: fix typo in mt76u_fill_rx_sg 2c0ccf1 mt76: mt7615: always release sem in mt7615_load_patch 0c6f1a2 mt76: mt7615: introduce mt7615_mcu_send_ram_firmware routine 3dfc1ee mt76: mt7615: fix sparse warnings: incorrect type in assignment (different base types) 9475320 mt76: mt7603: fix sparse warnings: warning: incorrect type in assignment (different base types) e07451d mt76: mt7615: fix sparse warnings: warning: cast from restricted __le16 b973bef mt7603: do not use tssi-off power value for mt7628 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: ltq-tapi: fix compatibility with Linux 4.15+Martin Blumenstingl2019-07-041-0/+48
| | | | | | | | | | | | | Linux 4.15 removes the init_timer() API. It's replaced by two functions: - timer_setup() is used instead of init_timer() and also replaces the timer "function" (callback) setup. - from_timer() has to be used to obtain the use-case specific data from a struct timer_list, which is now passed to the timer callback. Update the timer API to be compatible with Linux 4.15+ so it compiles with the upcoming Linux 4.19 kernel update. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* openvpn: fix handling of list optionsMatt Merhar2019-07-032-3/+4
| | | | | | | | | | | | | | This addresses an issue where the list option specified in /etc/config/openvpn i.e. 'tls_cipher' would instead show up in the generated openvpn-<name>.conf as 'ncp-ciphers'. For context, 'ncp_ciphers' appears after 'tls_cipher' in OPENVPN_LIST from openvpn.options. Also, the ordering of the options in the UCI config file is now preserved when generating the OpenVPN config. The two currently supported list options deal with cipher preferences. Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
* comgt: add delay option for 3g protoFlorian Eckert2019-07-031-0/+4
| | | | | | | All protos for wwan (ncm,qmi,mbim) do have a delay option. To standardize that add also the missing delay option to the 3g proto. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* base-files: supress service restart of umountKarel Kočí2019-07-031-0/+5
| | | | | | | | | Restart is in default implemented so it calls stop and start. This is pretty unsafe to call on umount service. This service should not do anything on restart the same way as on start. Only use of this service is on stop. Signed-off-by: Karel Kočí <cynerd@email.cz>
* uqmi: fix indentation style and boundaryFlorian Eckert2019-07-031-5/+9
| | | | | | Fix indentation style and boundary. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* uqmi: add mtu config option possibilityFlorian Eckert2019-07-031-2/+8
| | | | | | | | There are mobile carrier who have different MTU size in their network. With this change it is now possible to configure this with the qmi proto handler. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* lua5.3: stage Lua headers in proper locationJo-Philipp Wich2019-07-031-4/+5
| | | | | | | | | | Fix wrong paths in InstallDev which cause Lua 5.3 headers to be staged in /usr/include/, overwriting Lua 5.1 headers and leading to widespread build failures in all Lua related packages. Fixes: FS#2348 Fixes: 6b161bb8d5 ("lua5.3: package Lua 5.3 version") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* wireguard: bump to 0.0.20190702Jason A. Donenfeld2019-07-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * curve25519: not all linkers support bmi2 and adx This should allow WireGuard to build on older toolchains. * global: switch to coarse ktime Our prior use of fast ktime before meant that sometimes, depending on how broken the motherboard was, we'd wind up calling into the HPET slow path. Here we move to coarse ktime which is always super speedy. In the process we had to fix the resolution of the clock, as well as introduce a new interface for it, landing in 5.3. Older kernels fall back to a fast-enough mechanism based on jiffies. https://lore.kernel.org/lkml/tip-e3ff9c3678b4d80e22d2557b68726174578eaf52@git.kernel.org/ https://lore.kernel.org/lkml/20190621203249.3909-3-Jason@zx2c4.com/ * netlink: cast struct over cb->args for type safety This follow recent upstream changes such as: https://lore.kernel.org/lkml/20190628144022.31376-1-Jason@zx2c4.com/ * peer: use LIST_HEAD macro Style nit. * receive: queue dead packets to napi queue instead of empty rx_queue This mitigates a WARN_ON being triggered by the workqueue code. It was quite hard to trigger, except sporadically, or reliably with a PC Engines ALIX, an extremely slow board with an AMD LX800 that Ryan Whelan of Axatrax was kind enough to mail me. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>