Wget: don't compile non-ssl variant and use gnu-wget instead of uclient-fetch
Our users notified us that Subordinates tab is no longer present in Foris in HBT branch and above. I've tested it on Turris 1.1 running the latest HBK build and I am able to reproduce it.
root@turris:~# opkg install foris-subordinates-plugin
Installing foris-subordinates-plugin (0.4-3.6-1.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/turrispackages/foris-subordinates-plugin_0.4-3.6-1_powerpc_8540.ipk
Installing dtc (1.4.6-2.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/packages/dtc_1.4.6-2_powerpc_8540.ipk
Installing uboot-mkimage (2018.03-1.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/core/uboot-mkimage_2018.03-1_powerpc_8540.ipk
Installing wget-nossl (1.19.5-3.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/packages/wget-nossl_1.19.5-3_powerpc_8540.ipk
Installing turris-netboot-tools (0.6.0-1.0) to root...
Downloading https://repo.turris.cz/hbk/turris1x/packages/turrispackages/turris-netboot-tools_0.6.0-1_powerpc_8540.ipk
Configuring uboot-mkimage.
Configuring wget-nossl.
Configuring dtc.
Collected errors:
* opkg_download: Failed to download https://repo.turris.cz/hbk/turris1x/packages/turrispackages/turris-netboot-tools_0.6.0-1_powerpc_8540.ipk, wget returned 1.
* opkg_install_pkg: Failed to download turris-netboot-tools. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package foris-subordinates-plugin.
root@turris:~# opkg update
Downloading https://repo.turris.cz/hbk/turris1x/packages/core/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbk/turris1x/packages/core/Packages.gz
It seems that the proposed solution from PR https://gitlab.labs.nic.cz/turris/turris-build/merge_requests/52 is not sufficient. When I installed gnu-wget it was better. It chose wget with SSL. I'm in favor to use gnu-wget instead of uclient-fetch which provides wget. See: https://github.com/openwrt/packages/issues/9456#issuecomment-510729460
Anyway, the sizes of wget
and wget-nossl
- wget-nossl: 176K
- wget: 194K
The difference is 18K, so let's don't compile wget-nossl and it will save us a lot of troubles.