Permalink
Commits on Nov 29, 2018
  1. rules.mk: fix syntax error

    jow- committed Nov 29, 2018
    Fix broken assignment operator added in a previous commit.
    
    Fixes db73ec9 ("rules.mk: add INSTALL_SUID macro")
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 1416b63)
  2. rules.mk: add INSTALL_SUID macro

    jow- committed Nov 29, 2018
    This is useful for packages that want to stage SUID executables.
    
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit b0261ee)
  3. base-files: fix prerm return value, align with postinst code

    guidosarducci authored and jow- committed Mar 3, 2018
    The return value of a package prerm script is discarded and not returned
    correctly by default_prerm(). This allows other operations like service
    shutdown to "leak" their return value, prompting workarounds like commit
    48cfc82 which do not address the root cause.
    
    Preserve a package prerm script return value for use by default_prerm(),
    sharing the corresponding code from default_postinst() for consistency.
    Also use consistent code for handling of /etc/init.d/ scripts.
    
    Run Tested on: LEDE 17.01.4 running ar71xx.
    
    Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
    (cherry picked from commit 8806da8)
  4. sdk: find kernel modules when KDIR is a symlink

    KarlVogel authored and jow- committed Nov 29, 2018
    The find statement would not return any results if the KDIR_BASE pointed to a
    symlink. Ran into this issue due to a custom Kernel/Prepare that was installing
    a symlink to the kernel directory.
    
    The extra slash at the end fixes this scenario and does no harm for targets that
    have a proper KDIR.
    
    Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
    (cherry picked from commit ae98045)
Commits on Nov 28, 2018
  1. uhttpd: update to latest Git head

    jow- committed Nov 28, 2018
    cdfc902 cgi: escape url in 403 error output
    0bba1ce uhttpd: fix building without TLS and Lua support
    2ed3341 help: document -A option
    fa5fd45 file: fix CPP syntax error
    77b774b build: avoid redefining _DEFAULT_SOURCE
    
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 56378bc)
  2. uhttpd: support multiple Lua prefixes

    jow- committed Aug 23, 2018
    Update to latest git HEAD in order to support configuring multiple
    concurrent Lua prefixes in a single uhttpd instance:
    
      b741dec lua: support multiple Lua prefixes
    
    Additionally rework the init script and update the default configuration
    example to treat the lua_prefix option as key=value uci list, similar to
    the interpreter extension mapping. Support for the old "option lua_prefix"
    plus "option lua_handler" notation is still present.
    
    Finally drop the sed postinstall hack in uhttpd-mod-lua to avoid mangling
    files belonging to other packages. Since Lua prefixes have precedence
    over CGI prefixes, simply register `/cgi-bin/luci` as Lua handler which
    will only become active if both luci-base and uhttpd-mod-lua is installed.
    
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 214146c)
  3. uhttpd: update to latest Git head

    jow- committed Aug 21, 2018
    952bf9d build: use _DEFAULT_SOURCE
    30a18cb uhttpd: recognize PATCH, PUT and DELETE HTTP methods
    
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 22681cd)
Commits on Nov 26, 2018
  1. apm821xx: MBL: load kernel/dtb from SATA 0:1 first

    Freddy Leitner authored and mkresin committed Nov 26, 2018
    This remedies an issue with the MBL Duo if both disks are inserted
    and contain OpenWrt. kernel and dtb would be loaded from SATA 1:1
    while rootfs (/dev/sda2) would be mounted on SATA 0:1.
    
    Such a mix&match would obviously only work if both OpenWrt versions/
    builds are identical, and especially fail after sysupgrade upgraded
    the system disk on SATA 0:1.
    
    The fallback to SATA 1:1 needs to be kept for MBL Single (only has
    SATA 1:1) and MBL Duo with one disk inserted on SATA 1:1. To speed
    up booting in those cases, the unneccesarily doubled "sata init"
    will only be called once. (In theory it could be omitted completely
    since the on-flash boot script already initializes SATA to load the
    on-disk boot script.)
    
    Tested on MBL Duo (all possible combination of disks) and MBL Single
    
    Signed-off-by: Freddy Leitner <hello@square.wf>
    Acked-by: Christian Lamparter <chunkeey@gmail.com>
  2. apm821xx: wndr4700: restore sd-card media detection

    chunkeey authored and blogic committed Oct 14, 2018
    This was not converted to the new, dt-based board name.
    
    Fixes: e90dc8d ("apm821xx: convert to device-tree board detection")
    Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Commits on Nov 24, 2018
  1. uclient: update to latest Git head

    jow- committed Nov 24, 2018
    3ba74eb uclient-http: properly handle HTTP redirects via proxy connections
    
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 0bd99db)
Commits on Nov 23, 2018
  1. tools: tplink-safeloader: add C7v5 EU SupportList

    blocktrron authored and ldir-EDB0 committed Nov 7, 2018
    Currently flash from WebIF is broken for Archer C7 v5 EU models as their
    SupportList entries are missing.
    
    The added entries originate from TP-Links latest Archer C7 v5 EU
    firmware.
    
    Signed-off-by: David Bauer <mail@david-bauer.net>
    (cherry picked from commit 53020ed)
Commits on Nov 22, 2018
  1. base-files: fix unkillable processes after restart

    Linus Kardell authored and jow- committed Nov 22, 2018
    When restart is run on an init script, the script traps SIGTERM. This is
    done as a workaround for scripts named the same name as the program they
    start. In that case, the init script process will have the same name as
    the program process, and so when the init script runs killall, it will
    kill itself. So SIGTERM is trapped to make the init script unkillable.
    
    However, the trap is retained when the init script runs start, and thus
    processes started by restart will not respond to SIGTERM, and will thus
    be unkillable unless you use SIGKILL. This fixes that by removing the
    trap before running start.
    
    Signed-off-by: Linus Kardell <linus@telliq.com>
    (cherry picked from commit 2ac1a57)
  2. kernel: bump 4.14 to 4.14.82

    xback committed Nov 21, 2018
    Refreshed all patches.
    
    Compile-tested: cns3xxx, imx6, x86_64
    Runtime-tested: cns3xxx, imx6, x86_64
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
  3. kernel: bump 4.9 to 4.9.138

    xback committed Nov 21, 2018
    Refreshed all patches.
    
    Compile-tested: ar71xx, layerscape
    Runtime-tested: ar71xx
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Commits on Nov 17, 2018
  1. ar71xx: fix TP-Link Archer C7 v5 switch LEDs

    Rinki13 authored and NeoRaider committed Sep 27, 2018
    Signed-off-by: Rinki Kumari <rinki13@gmail.com>
Commits on Nov 15, 2018
  1. kernel: fix ubifs loosing O_TMPFILE data after power cut

    Rafał Miłecki
    Rafał Miłecki committed Nov 15, 2018
    There was a bug in ubifs related to the O_TMPFILE. When reapplying
    changes after power cut data could be lost. This problem was exposed by
    overlayfs and the upstream commit 3a1e819b4e80 ("ovl: store file handle
    of lower inode on copy up").
    
    This fixes a regression introduced when switching from 4.9 to 4.14.
    
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
    (cherry picked from commit c6a1bca)
Commits on Nov 14, 2018
  1. kernel: bump 4.14 to 4.14.81

    xback committed Nov 14, 2018
    Refreshed all patches.
    
    Removed upstreamed patches:
    - 081-spi-bcm-qspi-switch-back-to-reading-flash-using-smal.patch
    
    Altered patches:
    - 0054-cpufreq-dt-Handle-OPP-voltage-adjust-events
    
    Compile-tested on: cns3xxx, imx6, ipq806x, x86_64
    Runtime-tested on: cns3xxx, imx6, x86_64
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
  2. kernel: bump 4.9 to 4.9.137

    xback committed Nov 14, 2018
    Refreshed all patches.
    
    Removed upstreamed hunks:
    - 703-phy-support-layerscape.patch
    
    Compile-tested on: ar71xx
    Runtime-tested on: ar71xx
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
  3. sunxi: remove kernel 4.9 support

    xback committed Nov 14, 2018
    This target has been on 4.14 for a long time now.
    Remove these leftovers as it interferes with kernel bumping.
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Commits on Nov 13, 2018
  1. mac80211: fix spurious disconnections with powersave clients

    nbd168 committed Nov 13, 2018
    Affects all drivers using ieee80211_tx_status_noskb, e.g. ath9k and mt76
    
    Signed-off-by: Felix Fietkau <nbd@nbd.name>
  2. kernel: bump 4.14 to 4.14.80

    stintel committed Nov 12, 2018
    Refresh patches.
    
    Compile-tested: cns3xxx, imx6, x86/64
    Runtime-tested: cns3xxx, imx6, x86/64
    
    Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
    Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
  3. tcpdump: explicitly disable libcap-ng support

    stintel committed Jul 19, 2018
    If libcap-ng is detected during tcpdump build, support for it is
    enabled and the binary is linked against it. Explicitly disable
    libcap-ng support to avoid build failing due to a missing depndency.
    
    Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
  4. mt76: update to the latest version, sync with master

    nbd168 committed Nov 12, 2018
    - adds new drivers for mt76x2u, mt76x0u and mt76x0e
    - adds back fixed version of the tx status fixes
    - improves mt7603e stability
    
    Signed-off-by: Felix Fietkau <nbd@nbd.name>
Commits on Nov 11, 2018
  1. oxnas: squash-pick commits from master branch

    dangowrt committed Nov 4, 2018
     4f017c8 oxnas: switch to generic board detect
     ef9b169 oxnas: remove stray kernel config symbols
     cf78961 oxnas: enable image metadata by setting SUPPORTED_DEVICES
     9bcc089 oxnas: add console=ttyS0,115200 argument to bootargs
     b831eb5 oxnas: kd20: correct memory size to 256MB
     217fe50 oxnas: remove superseded sysupgrade image check
    
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Commits on Nov 9, 2018
  1. mac80211: brcmfmac: add 2 more recent changes

    Rafał Miłecki
    Rafał Miłecki committed Nov 9, 2018
    First one is a fix for reporting channels to the user space. Important
    for users as they could try setting invalid channel and fail to start an
    interface.
    
    Later is a support for newer FullMAC chipset firmwares.
    
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  2. bcm53xx: add DT patch describing pins mux controller

    Rafał Miłecki
    Rafał Miłecki committed Nov 9, 2018
    It's needed to support new devices that use specific pin functions.
    
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
    (cherry picked from commit 0cf32de)
  3. mac80211: backport firmware_request_nowarn and firmware_request_cache

    nbd168 committed Nov 9, 2018
    Required for an mt76 update to the latest version from master
    
    Signed-off-by: Felix Fietkau <nbd@nbd.name>
  4. kernel: backport and include linux/overflow.h

    nbd168 committed Sep 12, 2018
    Signed-off-by: Felix Fietkau <nbd@nbd.name>
  5. mac80211: backport sg_init_marker()

    nbd168 committed Sep 6, 2018
    Signed-off-by: Felix Fietkau <nbd@nbd.name>
  6. bcm53xx: update pinctrl driver

    Rafał Miłecki
    Rafał Miłecki committed Nov 9, 2018
    It's upstream now with a one trivial fix.
    
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
    (cherry picked from commit f975ab8)
  7. bcm53xx: add pending pinctrl driver

    Rafał Miłecki
    Rafał Miłecki committed Oct 11, 2018
    It's required to support devices using adjustable SoC pins for some
    specific purpose (e.g. I2C, PWM, UART1).
    
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
    (cherry picked from commit f00cb94)
Commits on Nov 8, 2018
  1. script: ipkg-build: honour $SOURCE_DATE_EPOCH

    jow- committed Nov 8, 2018
    When the SOURCE_DATE_EPOCH environment variable is set, use it to
    override the timestamps of .ipk archive contents.
    
    This ensures that .ipk archives built in environments without SCM
    metadata (mainly the SDK) are reproducible between different runs.
    
    Ref: openwrt/packages#6954
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit d157a76)
Commits on Nov 7, 2018
  1. mac80211: brcmutil: backport chanspec debugging patch

    Rafał Miłecki
    Rafał Miłecki committed Nov 7, 2018
    It helps debugging possible WARN-ings.
    
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  2. mac80211: brcmfmac: backport the latest 4.20 changes

    Rafał Miłecki
    Rafał Miłecki committed Nov 7, 2018
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
    (cherry picked from commit b50f162)
  3. mac80211: brcmfmac: rename 4.20 backport patches

    Rafał Miłecki
    Rafał Miłecki committed Nov 7, 2018
    Include kernel version to help tracking changes.
    
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
    (cherry picked from commit f7a3459)