1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

[MIPS] Entware-backports Repo (entware-ng reloaded)

Discussion in 'Asuswrt-Merlin' started by maurer, Oct 22, 2018.

  1. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    105
    As you already noticed entware-ng (http://pkg.entware.net/binaries/mipsel) doesn't get updated anymore.
    The repo on github is archived (read-only) and all the development moved to entware repo.
    It now supports MIPSsel with kernel >= 3.4 which means john's fork (+ older merlin installs) and freshtomato are left without an updated repo.
    For my own usage I've found some time to update and compile most of the packages in entware-mipsel-k3,4 using the entware-ng toolchain.
    The resulted packages are found in:

    or as a backup (in case of domain or hosting issues):

    if you want to use my repo you have 2 choices:

    -replace the entware-ng repo:
    Code:
    sed -i -e 's/src\/gz entware-ng http:\/\/pkg.entware.net\/binaries\/mipsel/src\/gz entware-backports http:\/\/pkg.entware-backports.tk\/packages/g' /opt/etc/opkg.conf
    - use it in paralel with entware-ng:
    Code:
     sed -i '2i\src/gz entware-backports http://pkg.entware-backports.tk/packages' /opt/etc/opkg.conf
    - if you want to use the backup repo:

    Code:
     sed -i '2i\src/gz entware-backports-bkp http://maurerr.github.io/packages/' /opt/etc/opkg.conf
    you can also change the repos via Diversion menu - see here

    Source code:
    https://github.com/maurerr/Entware-backports

    If you find an issue with a package or need a backport from Entware maineline open one:
    https://github.com/maurerr/Entware-backports/issues

    Left TO DO:
    -clean the code and patches and uploaded to github (or some other repo) - DONE
    -update the installation scripts pointing to this repo (if I receive requests :) )
    -update the toolchain (when I'll find the time)

    Your feedback is welcomed !
     
    Last edited: Apr 13, 2019
    papypaprika, lrdnkn, PeterR and 3 others like this.
  2. underdose

    underdose Occasional Visitor

    Joined:
    Dec 13, 2017
    Messages:
    46
    Location:
    Istanbul
    A few months before I've been trying to backport packages for myself but I realised that I'm a total noob when it comes to compiling stuff. Will take a loot at when I'm back home but thanks for the effort already!
     
  3. heysoundude

    heysoundude Senior Member

    Joined:
    Sep 20, 2016
    Messages:
    330
    wow, this would be awesome if I could run WireGuard on my n66u and still have Diversion etc.
     
  4. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    105
    you could run wireguard if you switch to dd-wrt (the're on 3.10 kernel - lowest supported by wireguard) and also it's very likely possible to modify Diversion to run on dd-wrt but you loose merlin...choices..choices :)
     
  5. heysoundude

    heysoundude Senior Member

    Joined:
    Sep 20, 2016
    Messages:
    330
    if you're saying 3.4 < 3.10 in kernel version numbering, I am rather disappointed and upset they've chosen to not follow...you know, counting.
    I'm a fan of the film This Is Spinal Tap because 11 is "better" than 10
     
  6. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    105
    ...aaand after the first day the free domain (entware-backports.ga) got suspended for not having a website :(

    I've registered entware-backports.tk and uploaded the first post in a wp hoping to get validation :)
     
  7. underdose

    underdose Occasional Visitor

    Joined:
    Dec 13, 2017
    Messages:
    46
    Location:
    Istanbul
    I'm using your repo side by side with the original, outdated one. Updated a few packages like htop and nano and they're working quite well. What I want to ask is, is it safe to update all packages and libraries shown in opkg list-upgaradable since some core/critical packages are listed there (or they seem like critical to me).

    This is the list of packages that are upgradable if it matters:
    Code:
    terminfo - 6.0-1c - 6.1-1
    ldconfig - 1.0.17-1 - 1.0.17-3
    libc - 1.0.17-1 - 1.0.17-3
    libpthread - 1.0.17-1 - 1.0.17-3
    pixelserv-tls - 2.0.1-1 - 2.1.2-1
    openssl-util - 1.0.2n-1 - 1.0.2p-1
    libpcre - 8.41-2 - 8.42-1
    libmagic - 5.25-2 - 5.33-2
    libstdcpp - 5.4.0-1 - 5.4.0-3
    libgcc - 5.4.0-1 - 5.4.0-3
    librt - 1.0.17-1 - 1.0.17-3
    bind-libs - 9.11.2-3 - 9.11.3-2
    libncurses - 6.0-1c - 6.1-1
    libpcap - 1.8.1-1 - 1.9.0-1
    ca-certificates - 20170717 - 20180409-3
    git - 2.15.1-1 - 2.18.0-1
    zlib - 1.2.11-1 - 1.2.11-2
    libncursesw - 6.0-1c - 6.1-1
    file - 5.25-2 - 5.33-2
    libssp - 5.4.0-1 - 5.4.0-3
    bind-dig - 9.11.2-3 - 9.11.3-2
    libexpat - 2.2.5-1 - 2.2.6-1
    libopenssl - 1.0.2n-1 - 1.0.2p-1
    Thanks in advance,
     
  8. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    105
    Hi,

    I can only say that i'm using about half of the packages you've listed and haven't encountered any issues.
    The best solution would be to make a backup before.
     
  9. underdose

    underdose Occasional Visitor

    Joined:
    Dec 13, 2017
    Messages:
    46
    Location:
    Istanbul
    Bit the bullet, updated all packages and everything seems fine. Thanks again!
     
  10. PeterR

    PeterR Occasional Visitor

    Joined:
    May 29, 2013
    Messages:
    32
    Changed to your repository yesterday, no issues so far. :)
     
    maurer likes this.
  11. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    5,243
    Location:
    Switzerland
    With some heavy modifications this is possible. But then, why not wait until Diversion is available for DD-WRT?
    One day it will be. I just need a little more time :cool:
     
    Billy Chaney and maurer like this.
  12. lrdnkn

    lrdnkn New Around Here

    Joined:
    Sep 26, 2018
    Messages:
    3
    Thank you for putting together this repo!

    Does your build of libopenssl 1.0.2p-1 implement a CFLAG optimization suggested by kvic (pixelserv-tls) to reduce RAM usage? If not, might it be a future possibility?
     
    kvic likes this.
  13. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    105
    no, it doesn't implement - as it's not available in entware repo.
    I could try to compile an alternative package if you're willing to test it
     
  14. lrdnkn

    lrdnkn New Around Here

    Joined:
    Sep 26, 2018
    Messages:
    3
    I would be most willing to test if you get to it. Either way, thanks for considering.
     
  15. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    105
  16. underdose

    underdose Occasional Visitor

    Joined:
    Dec 13, 2017
    Messages:
    46
    Location:
    Istanbul
    Do you have any update schedule in mind on the repo, like monthly upgrades to the packages?
     
  17. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    105
    My plan was to keep track with upstream entware but I am currently busy with the dayjob and didn't had/have time to work on this.
    From what I've noticed entware updates about every 3 months.
    I hope to release some updates in about 1 month maximum.
     
    underdose likes this.
  18. papypaprika

    papypaprika New Around Here

    Joined:
    Sep 13, 2018
    Messages:
    3
    Same here! Thank you !
     
  19. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    105
    so I had some free time today and managed to compile 1273 packages - see below
    http://paste.ubuntu.com/p/TfdZzDj5nr/
    if you are interested / need any of those please like this post and I'll update the repo.
    Otherwise you'll have to wait to fix all of the 147 compile errors :)
     
    Last edited: Jan 24, 2019
  20. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    105