From 16b3c7b2dc027af6cc0e51076f1f48739ca50fe0 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sat, 18 Jul 2026 17:54:50 +0300 Subject: [PATCH] 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 --- net/wget/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/wget/Makefile b/net/wget/Makefile index 945a65d311..d868becb40 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