]> git.99rst.org Git - openwrt-packages.git/commitdiff
wget: rank wget-nossl below uclient-fetch for the wget alternative
authorAlexandru Ardelean <redacted>
Sat, 18 Jul 2026 14:54:50 +0000 (17:54 +0300)
committerAlexandru Ardelean <redacted>
Sat, 18 Jul 2026 19:40:00 +0000 (22:40 +0300)
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 <redacted>
net/wget/Makefile

index 945a65d311585b84c32393a15cc388cb4ffa0d79..d868becb40899ac6791a237e4bfddf5e5667c02e 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT