Commits on Apr 21, 2017
  1. busybox: fix build of nslookup_lede applet without IPv6 (#728)

    jow- committed Apr 21, 2017
    Protect any IPv6 related with appropriate guards to fix compilation with
    disabled IPv6 support in Busybox.
    Fixes #728.
    Signed-off-by: Jo-Philipp Wich <>
  2. busybox: Move libresolv detection to LEDE Makefile

    ffainelli authored and jow- committed Apr 12, 2017
    Since the LEDE nslookup applet is already specific to LEDE, move the
    libresolv detection into the busybox Makefile that LEDE uses.
    This fixes builds with external toolchains that don't automatically
    search for headers and/or libraries without being told so.
    Fixes: de5b8e5 ("busybox: add musl compatible nslookup replacement")
    Signed-off-by: Florian Fainelli <>
Commits on Apr 20, 2017
  1. bcm53xx: backport BCM5301X patches

    Rafał Miłecki
    Rafał Miłecki committed Mar 18, 2017
    This fixes GIC interrupts (required before switching to 4.9), adds few
    new entires & introduces DTS for Archer C5.
    Signed-off-by: Rafał Miłecki <>
  2. bcm53xx: parepare for building more Linksys images

    Rafał Miłecki
    Rafał Miłecki committed Mar 12, 2017
    We still can't enable them by default without proper TRX support.
    Signed-off-by: Rafał Miłecki <>
  3. bcm53xx: prepare for building Archer C5 V2 image

    Rafał Miłecki
    Rafał Miłecki committed Mar 11, 2017
    Don't enable it yet as kernel needs to be updated first.
    Signed-off-by: Rafał Miłecki <>
  4. ar71xx: add TP-LINK TL-WR841N/ND v12 image

    VittGam authored and NeoRaider committed Mar 26, 2017
    This router has the same hardware as TP-LINK TL-WR841N/ND v11 (same FCC
    ID, same TFTP image name...).
    If the stock firmware web interface doesn't accept LEDE factory image,
    it can be flashed via the U-Boot TFTP recovery mode, by long-pressing
    the reset button after power on.
    The TFTP image name is wr841nv11_tp_recovery.bin (yes, v11, not v12).
    Signed-off-by: Vittorio Gambaletta <>
Commits on Apr 17, 2017
  1. utils/f2fs-tools: Update to 1.8.0

    diizzyy authored and jow- committed Mar 15, 2017
    Update f2fs-tools to 1.8.0
    Refresh patches
    Remove selinux patch, use configure argument instead.
    Switch to xz tarball
    Adjust url to avoid redirects
    Signed-off-by: Daniel Engberg <>
Commits on Apr 15, 2017
  1. busybox: add musl compatible nslookup replacement

    jow- committed Mar 14, 2017
    Add an alternative nslookup applet implementation which is compatible with
    musl libc wrt. name server selection and which supports a number of additional
    features such as query type selection.
    Fixes #155, #217
    Signed-off-by: Jo-Philipp Wich <>
  2. kernel: update kernel 4.4 to 4.4.61

    jow- committed Apr 15, 2017
    Signed-off-by: Jo-Philipp Wich <>
Commits on Apr 13, 2017
  1. odhcpd: update to version 2017-03-29 (FS#635)

    dedeckeh committed Apr 1, 2017
    3d9f406 rework IPv6 dns address selection (FS#635)
    bc6c3ac ndp: keep an exact copy of IPv6 interface addresses
    6eb1e01 ndp: code cleanup
    eea7d03 rework IPv6 address dump logic
    24d21c7 ndp: add syslog debug tracing
    Signed-off-by: Hans Dedecker <>
  2. odhcpd: update to version 2017-02-28

    ffainelli authored and dedeckeh committed Mar 4, 2017
    Brings in the following change:
    9eac2a896341 dhcpv6-ia: Check lockf return value
    Signed-off-by: Florian Fainelli <>
  3. odhcpd: update to version 2017-02-21

    dedeckeh committed Feb 23, 2017
    1b630f8 router: don't announce prefixes with valid lifetime equal to 0
    ba0cac0 router: fix arithmetic exception fault
    3495f17 router: allow RA prefix lifetime being set to leasetime value (FS#397)
    e437ce9 treewide: simplify dhcp leasetime checking
    942fb33 router: support ra_mininterval and ra_lifetime uci parameters (FS#397)
    f913337 router.h: fix alignment style
    4dc7edb Revert "odhcpd.h: fix alignment style"
    62ea54f odhcpd.h: fix alignment style
    a898ee5 config: make loglevel configurable via uci (FS#481)
    51c756c odhcpd: display correct default log level in usage text
    68ee0b5 treewide: define and use macro IN6_IS_ADDR_ULA
    fa57225 ndp: deregister netlink event socket for non recoverable errors
    ac70d28 odhcpd: fix white space errors
    Signed-off-by: Hans Dedecker <>
Commits on Apr 12, 2017
  1. ramips: add RP-N53 pcie wireless eeprom

    mkresin committed Apr 9, 2017
    Fix the PCIe 5GHz wireless by using the on flash eeprom/caldata.
    Disable the 2.4GHz band as this band has no antennas attached but is
    enabled in the eeprom/caldata.
    Fixes: FS#691
    Signed-off-by: Mathias Kresin <>
  2. ramips: fix WHR-600D eeprom dt property

    mkresin committed Apr 9, 2017
    Fix the PCIe 5GHz wireless by using the ralink mtd-eeprom property as
    this board have a RT5592 and uses the rt2x00 driver. The mediathek
    device tree bindings do not work here.
    Fixes: FS#691
    Fixes: d8dd207 ("ramips: use the ralink,mtd-eeprom device tree property")
    Signed-off-by: Mathias Kresin <>
Commits on Apr 11, 2017
  1. util-linux: re-enable parallel builds

    nbd168 committed Mar 22, 2017
    The original build error in 'more' seems to be gone
    Signed-off-by: Felix Fietkau <>
  2. util-linux: unconditionally enable ncursesw support

    nbd168 committed Mar 22, 2017
    The build dependency is unconditional, and some components might fail if
    ncurses is not available
    Signed-off-by: Felix Fietkau <>
  3. utils/util-linux: Update to 2.29.2

    diizzyy authored and nbd168 committed Mar 20, 2017
    Update util-linux to 2.29.2
    Remote 0001-fix-uClibc-ng-scanf-check.patch as it's been merged upstream.
    Refresh patches
    Change ncurses to ncursesw to fix compilation and avoid confusion
    Signed-off-by: Daniel Engberg <>
    Signed-off-by: Felix Fietkau <> [remove faulty dependency changes]
Commits on Apr 9, 2017
  1. build: fix triggering opkg/host compilation

    jow- committed Jan 19, 2017
    Commit 131db36 "build: remove separate /install step for host builds" dropped
    the package/*/host/install targets in favor to performing the install steps
    within the compile target instead.
    Adjust package/Makefile accordingly in order to prevent a missing
    staging_dir/host/bin/opkg when staging package archives into the rootfs.
    Signed-off-by: Jo-Philipp Wich <>
Commits on Apr 8, 2017
  1. libubox: fix host build on macOS

    nbd168 authored and jow- committed Feb 20, 2017
    Use the defaults instead of a custom non-portable Host/Install section
    Signed-off-by: Felix Fietkau <>
  2. libubox: add host build

    jow- committed Feb 17, 2017
    Our opkg fork requires libubox to build, so add a host build for it.
    Signed-off-by: Jo-Philipp Wich <>
  3. opkg: switch to LEDE fork (#120, #551, #571)

    jow- committed Feb 16, 2017
    Cherry-pick the following commits from master to bump opkg in LEDE 17.01:
    b65dc04 opkg: switch to own fork to improve memory usage
    55ffc38 opkg: re-enable usign support
    19720a6 opkg: fix handling conffiles in status lists
    9e4555f opkg: fix stray printf() (#551)
    ebf846b opkg: mark as essential (FS#571)
    aedd5d5 opkg: fix several package installation bugs
    48ae44d opkg: gracefully handle missing $PATH, fix build warnings
    1449b52 opkg: backport upstream fixes, code cleanups
    Signed-off-by: Jo-Philipp Wich <>
Commits on Apr 5, 2017
  1. mt76: ensure that the metapackage gets built as .ipk

    nbd168 committed Apr 5, 2017
    Fixes errors during the image builder run
    Signed-off-by: Felix Fietkau <>
  2. force kernel rebuild on every run

    nbd168 committed Mar 13, 2017
    DTS dependencies are not processed correctly so makes it safer against
    poentially stale builds
    Signed-off-by: Felix Fietkau <>
  3. kernel: Fix the incorrect i_nlink count after jffs2's RENAME_EXCHANGE…

    jingqiuELE authored and nbd168 committed Mar 14, 2017
    … operations.
    The problem is caused by the incorrect handling of the parent inode's
    i_nlink count for the dentry to be RENAME_EXCHANGED. There are 3 cases
    to consider. Assume we want to RENAME_EXCHANGE struct dentry *a and
    struct dentry *b, and inode_a is pointed to by dentry_a, inode_b is
    pointed to by dentry_b:
    1. If inode_a is a directory, but inode_b isn't, then we must decrease
       the i_nlink count of old_dir_i, and increase the i_nlink of new_dir_i.
    2. If inode_a isn't a directory, but inode_b is a directory, then we
       must increase the i_nlink of old_dir_i, and decrease the i_nlink count
       of new_dir_i.
    3. If the types of inode_a and inode_b are the same, we don't change the
       i_nlink for either old_dir_i or new_dir_i.
    Signed-off-by: Jing Qiu <>
    Signed-off-by: Felix Fietkau <>
Commits on Apr 3, 2017
  1. mac80211: backport an upstream fix for queue start/stop handling

    nbd168 committed Apr 3, 2017
    Fixes issues with 802.11s
    Signed-off-by: Felix Fietkau <>
Commits on Apr 2, 2017
  1. sysntpd: restore support for peer-less (standalone) mode

    pepe2k committed Mar 6, 2017
    ntpd from Busybox supports peer-less (standalone) mode when it's started
    with option -l and without any peer provided with option -p. In this
    mode ntpd uses local time as reference and acts as stratum 1 server.
    This mode can be used in isolated networks, where Internet access and/or
    other NTP server/s are not available, but the device has some other way
    of getting correct time, like e.g. GPS (ugps supports setting local time
    by default).
    Support for this mode was incorrectly disabled/removed in:
    Signed-off-by: Piotr Dymacz <>
    Acked-by: Jo-Philipp Wich <>
  2. ar71xx: fix Wallys DR344 ethernet MAC addresses offsets

    pepe2k committed Mar 12, 2017
    Without this fix, ethernet interfaces on Wallys DR344 use random MAC
    Signed-off-by: Piotr Dymacz <>
  3. ugps: fix and improve init script

    pepe2k committed Mar 5, 2017
    The ugps tool expects device path in last argument. If it's provided
    before other options, they won't be processed at all.
    Additionally, make it possible to use absolute path for gps character
    device in related uci configuration.
    Signed-off-by: Piotr Dymacz <>
  4. kernel: update kernel 4.4 to 4.4.59

    hauke committed Apr 2, 2017
    Signed-off-by: Hauke Mehrtens <>
Commits on Mar 30, 2017
  1. ubox: fix sha256 mirror hash

    Hauke Mehrtens authored and hauke committed Mar 30, 2017
    Commit 5c20a4f ("ubox: turn logd into a separate package") changed
    the PKG_SOURCE_DATE which is also included in the tar file. This change
    resulted in a new tar with a different hash, but the sha256 hash was not
    updated. Fix the sha256 hash value in this commit to match what would be
    created from git and what is already on the mirror.
    Signed-off-by: Hauke Mehrtens <>
  2. odhcpd: fix sha256 sum

    Hauke Mehrtens authored and dedeckeh committed Mar 30, 2017
    The sha256sum added in commit b8567cb ("odhcpd: update to git HEAD
    version (FS#396)") does not match the sha256sum of the file on the mirror or
    when I clone it. Update the sha256 sum to the correct value.
    Signed-off-by: Hauke Mehrtens <>
Commits on Mar 28, 2017
  1. firewall: document rules for IPSec ESP/ISAKMP with 'name' option

    yousong committed Mar 28, 2017
    These are recommended practices by REC-22 and REC-24 of RFC6092:
    "Recommended Simple Security Capabilities in Customer Premises Equipment
    (CPE) for Providing Residential IPv6 Internet Service"
    Fixes FS#640
    Signed-off-by: Yousong Zhou <>
Commits on Mar 25, 2017
  1. iw: enable MESH ID in scan output

    NeoRaider committed Mar 25, 2017
    Make scan output useful for 802.11s meshes. The common print_ssid function
    is used, so this doesn't add any additional code.
    Based-on-patch-by: Jan-Tarek Butt <>
    Signed-off-by: Matthias Schiffer <>
  2. busybox: vi: backporting patches to fix ZZ and :x command

    yousong committed Mar 25, 2017
    Signed-off-by: Yousong Zhou <>
Commits on Mar 24, 2017
  1. umdns: update to the version 2017-03-21

    Rafał Miłecki
    Rafał Miłecki committed Mar 21, 2017
    This includes following changes:
    480d7bc Fix sending unicast questions on cache expire
    a0403cd Keep source sockaddr for every cached DNS record
    1478293 Fix code freeing cached non-A(AAA) records too early
    9f1cc22 Fix replying to "QU" questions received on unicast interface
    943bedb Fix reading port of incoming packets
    c725494 Use MCAST_PORT define for port 5353
    ce7e9e9 Use one define for DNS-Based Service Discovery service name
    e1bacef Drop entries cached for interface we're going to delete
    496aeba Fix comment typo in cache_gc_timer
    f89986b Fix refreshing cached A(AAA) records that expire
    Previous updates made umdns work as expected on startup but there were
    still many bugs. They were mostly related to runtime - cache management
    and requests + responses. E.g. umdns was never able to send question on
    DNS record expire. It was also ignoring all incoming unicast questions.
    Since these issues are quite serious it makes sense to backport this
    update to the stable branch.
    Signed-off-by: Rafał Miłecki <>