wget: make the ssl variant provides wget-ssl
This is to address the need for specifying dependency on a wget implementation with ssl support. Now we have a game of names for opkg 1. uclient-fetch: minimal version by openwrt project 2. wget-nossl: gnu wget w/o ssl support 3. wget-ssl: for the moment since this commit, gnu wget w/ ssl support 4. wget: uclient-fetch, wget-nossl, or wget-ssl 5. gnu-wget: wget-nossl or wget-ssl By the time we provide some dummy package like uclient-fetch-ssl and make it also provide wget-ssl, I guess by then we will also need gnu-wget-ssl... Ref: https://github.com/openwrt/packages/issues/11534 Ref: https://github.com/openwrt/packages/pull/9941 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
7ad02ef9e0
commit
585e4a38fe
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=wget
|
PKG_NAME:=wget
|
||||||
PKG_VERSION:=1.20.3
|
PKG_VERSION:=1.20.3
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
||||||
|
@ -46,6 +46,7 @@ $(call Package/wget/Default)
|
||||||
DEPENDS+= +libopenssl +librt
|
DEPENDS+= +libopenssl +librt
|
||||||
TITLE+= (with SSL support)
|
TITLE+= (with SSL support)
|
||||||
VARIANT:=ssl
|
VARIANT:=ssl
|
||||||
|
PROVIDES+=wget-ssl
|
||||||
ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-ssl
|
ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-ssl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue