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

Discussion in 'Tomato Firmware' started by maurer, Oct 22, 2018.

  1. maurer

    maurer Network Guru Member

    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
    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: Feb 13, 2019
  2. Sean B.

    Sean B. Network Guru Member

    Nice job for taking it upon yourself to keep this going. Well done Sir.
     
  3. maurer

    maurer Network Guru Member

    thanks, Sean B.

    ...and 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 :)
     
  4. maurer

    maurer Network Guru Member

    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 updates 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
    cloneman, szpunk, M_ars and 2 others like this.
  5. maurer

    maurer Network Guru Member

    pedro311 likes this.
  6. maurer

    maurer Network Guru Member

    Last edited: Feb 20, 2019
    ataru80 and pedro311 like this.
  7. maurer

    maurer Network Guru Member

    Hello all,

    I've updated the repo on the secondary mirror (http://maurerr.github.io/packages/) - there are a lot of updates and managed to get the packages number up to ~2600.
    The highlight is the openssl update to 1.1.1 that might break some things during the upgrade - especially if you use the entware wget - I had to download the libssl manually and apply the package( cd /tmp; /usr/sbin/wget https://maurerr.github.io/packages/libopenssl_1.1.1a-2_mipselsf.ipk ; opkg install libopenssl_1.1.1a-2_mipselsf.ipk)
    let me know how goes the upgrade

    If all goes well in about a week I'll update the main repo too
    LE: I finally found some time to also update the main repo http://pkg.entware-backports.tk/packages/
     
    Last edited: Apr 17, 2019
    pedro311 likes this.
  8. davygravy

    davygravy Network Newbie Member

    Hi maurer,

    Are you intending to keep your repo synced somewhat with Alex/zyxmon's Entware repo?

    Which routers (mipsel, yes I know, but R1, R2 or both?) does it run on?

    I ask because a user wanted some help with this [ https://github.com/davygravy/AirPrint-on-Entware ] on his mipselsf router...

    I'm not sure what the difference is between your feed and the Entware feed... (I know, "ng" obviously, but is there some interoperability or compatibility?)
     
  9. maurer

    maurer Network Guru Member

    hi davygravy,

    I keep my repo as close as possible to Entware upstream (Alex/zyxmon's).
    I believe it should support both (is there someone still using R1?)
    My repo is a fork of entware-ng so a drop-in replacement
     
  10. davygravy

    davygravy Network Newbie Member

    Thank you maurer.

    So, the (newer) Entware packages are --not-- compatible with older MIPS (R1) routers?

    Perhaps older MIPS R1 routers are somewhat obsolete ... at least for wifi purposes.
     
  11. maurer

    maurer Network Guru Member

    I believe my entware-backports packages ---should--- work on R1.
    I have't tested this though
     
  12. davygravy

    davygravy Network Newbie Member

    Last edited: Apr 28, 2019
  13. davygravy

    davygravy Network Newbie Member

    @maurer : I've got some updates/fixes to CUPS, cups-filters, ghostscript, qpdf, hplip that I'd like to send your way. Tested and works to enable Airprint support on routers running entware-ng or presumably your entware-backports.

    Best way to send them to you is via "issue" at the github repo?
     
  14. maurer

    maurer Network Guru Member

    issue is fine but a PR would be better :)
     
  15. davygravy

    davygravy Network Newbie Member

  16. maurer

    maurer Network Guru Member

    no it's not :| - there are a lot of packages that need patching for the ancient 2.6.22 kernel

    LE: you can find the updated packages in http://maurerr.github.io/packages
     
    Last edited: May 2, 2019
  17. davygravy

    davygravy Network Newbie Member

    OK, I did my best... as much as I can today on #1.

    I'm still tinkering with the build system and fighting past a few more errors... took me a while to locate the "LibNettle 3.4.1 not found" ! but fixed now.... package vs packages ... :(:mad:
     
    Last edited: May 3, 2019
  18. davygravy

    davygravy Network Newbie Member

    @maurer : looks like it is sorted out nicely now. Well done!

    As far as the toolchain, are there some changes in Entware-backports/config/ or elsewhere that you haven't committed yet?

    Cloning from git doesn't seem to get me so far... even if I back off and use the older mipsel.config from here: ef87672

    Any tips would be appreciated, when you get the time.

    Thanks and regards,

    Dave
     
  19. maurer

    maurer Network Guru Member

    what error are you getting?
     
  20. davygravy

    davygravy Network Newbie Member

    Here's what I see, line-by-line, with either comments (###:) or relevant output:


    Code:
    git clone https://github.com/maurerr/Entware-backports.git
    cd Entware-backports/
    make package/symlinks
    cp configs/mipselsf.config .config
    
    make menuconfig
    Collecting package info: done
    tmp/.config-target.in:126:warning: config symbol defined without type
    package/network/utils/curl/Config.in:57:error: recursive dependency detected!
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    package/network/utils/curl/Config.in:57:    symbol LIBCURL_LDAP depends on PACKAGE_libcurl
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:42098:    symbol PACKAGE_libcurl is selected by PACKAGE_syslog-ng
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:1648:    symbol PACKAGE_syslog-ng depends on LIBCURL_LDAP
    tmp/.config-package.in:100253:error: recursive dependency detected!
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:100253:    symbol PACKAGE_lcd4linux-custom depends on LCD4LINUX_CUSTOM_NEEDS_libmysqlclient
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    feeds/packages/utils/lcd4linux/Config.in:21:    symbol LCD4LINUX_CUSTOM_NEEDS_libmysqlclient is selected by LCD4LINUX_CUSTOM_PLUGIN_mysql
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    feeds/packages/utils/lcd4linux/Config.in:423:    symbol LCD4LINUX_CUSTOM_PLUGIN_mysql depends on PACKAGE_lcd4linux-custom
    tmp/.config-package.in:75541:error: recursive dependency detected!
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:75541:    symbol PACKAGE_kamailio5-mod-h350 depends on PACKAGE_kamailio5-mod-ldap
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:75973:    symbol PACKAGE_kamailio5-mod-ldap is selected by PACKAGE_kamailio5-mod-h350
    tmp/.config-package.in:76449:error: recursive dependency detected!
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:76449:    symbol PACKAGE_kamailio5-mod-presence-xml depends on PACKAGE_kamailio5-mod-xcap-client
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:77496:    symbol PACKAGE_kamailio5-mod-xcap-client is selected by PACKAGE_kamailio5-mod-presence-xml
    tmp/.config-package.in:68554:error: recursive dependency detected!
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:68554:    symbol PACKAGE_asterisk15-curl is selected by PACKAGE_asterisk15-res-http-media-cache
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:70374:    symbol PACKAGE_asterisk15-res-http-media-cache depends on PACKAGE_asterisk15-curl
    
    
    *** End of the configuration.
    *** Execute 'make' to start the build or try 'make help'.
    
    ###:  Note messages/errors above.  While in ncurses menuconfig nearly no options are available to enable (packages).
    
    make tools/install
    make toolchain/install
    make target/compile
    
    
    So the tools, toolchain, etc. all build normally.

    The problem seems to be that some of the Config.in files may have some inconsistent entries in them and that seems to prevent
    Code:
     make menuconfig
    from working correctly.
     
  21. maurer

    maurer Network Guru Member

    yeah, I never run
    Code:
    make menuconfig
    that's why we have a predefined .config in /configs :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice