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:
    90
    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
    Unfortunately I haven't clean up my code and patches to be able to submit it to github yet.

    Left TO DO:
    -clean the code and patches and uploaded to github (or some other repo)
    -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: Oct 24, 2018
    lrdnkn, PeterR, Frank_ and 2 others like this.
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. underdose

    underdose Occasional Visitor

    Joined:
    Dec 13, 2017
    Messages:
    34
    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!
     
  4. heysoundude

    heysoundude Senior Member

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

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    90
    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 :)
     
  6. heysoundude

    heysoundude Senior Member

    Joined:
    Sep 20, 2016
    Messages:
    246
    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
     
  7. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    90
    ...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 :)
     
  8. underdose

    underdose Occasional Visitor

    Joined:
    Dec 13, 2017
    Messages:
    34
    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,
     
  9. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    90
    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.
     
  10. underdose

    underdose Occasional Visitor

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

    PeterR Occasional Visitor

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

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,623
    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:
     
    maurer likes this.
  13. 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.
  14. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    90
    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
     
  15. 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.
     
  16. maurer

    maurer Regular Contributor

    Joined:
    May 13, 2014
    Messages:
    90
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!