From: Alexandru Ardelean Date: Sat, 18 Jul 2026 14:54:50 +0000 (+0300) Subject: wget: rank wget-nossl below uclient-fetch for the wget alternative X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=16b3c7b2dc027af6cc0e51076f1f48739ca50fe0;p=openwrt-packages.git wget: rank wget-nossl below uclient-fetch for the wget alternative apk uses whatever /usr/bin/wget resolves to for HTTPS index downloads. wget-nossl's alternative was ranked 300, above the HTTPS-capable uclient-fetch (200), so pulling it in transitively silently broke apk update. Lower it to 100 so uclient-fetch keeps the default while wget-nossl stays selectable. wget-ssl (400) is unchanged. Fixes: https://github.com/openwrt/openwrt/issues/24270 Signed-off-by: Alexandru Ardelean --- diff --git a/net/wget/Makefile b/net/wget/Makefile index 945a65d31..d868becb4 100644 --- a/net/wget/Makefile +++ b/net/wget/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wget PKG_VERSION:=1.25.0 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/$(PKG_NAME) @@ -61,7 +61,7 @@ define Package/wget-nossl $(call Package/wget/Default) TITLE+= (without SSL support) VARIANT:=nossl - ALTERNATIVES:=300:/usr/bin/wget:/usr/libexec/wget-nossl + ALTERNATIVES:=100:/usr/bin/wget:/usr/libexec/wget-nossl endef define Package/wget-nossl/description