wget: rename wget to wget-ssl
The idea behind this is to prevent confusion between "virtual" package wget and real one. Wget is provided by not just wget packages but also by uclient-fetch so technically it is better to threat wget as virtual package. Signed-off-by: Karel Kočí <karel.koci@nic.cz>
This commit is contained in:
parent
8b5af4ed6f
commit
0663d8c2f8
1 changed files with 3 additions and 5 deletions
|
@ -29,7 +29,7 @@ define Package/wget/Default
|
||||||
SUBMENU:=File Transfer
|
SUBMENU:=File Transfer
|
||||||
TITLE:=Non-interactive network downloader
|
TITLE:=Non-interactive network downloader
|
||||||
URL:=https://www.gnu.org/software/wget/index.html
|
URL:=https://www.gnu.org/software/wget/index.html
|
||||||
PROVIDES:=gnu-wget
|
PROVIDES:=gnu-wget wget
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/wget/Default/description
|
define Package/wget/Default/description
|
||||||
|
@ -41,12 +41,11 @@ define Package/wget/Default/description
|
||||||
archives and home pages or to travel the Web like a WWW robot.
|
archives and home pages or to travel the Web like a WWW robot.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/wget
|
define Package/wget-ssl
|
||||||
$(call Package/wget/Default)
|
$(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/libexec/wget-ssl
|
ALTERNATIVES:=300:/usr/bin/wget:/usr/libexec/wget-ssl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -59,7 +58,6 @@ define Package/wget-nossl
|
||||||
$(call Package/wget/Default)
|
$(call Package/wget/Default)
|
||||||
TITLE+= (without SSL support)
|
TITLE+= (without SSL support)
|
||||||
VARIANT:=nossl
|
VARIANT:=nossl
|
||||||
PROVIDES+=wget
|
|
||||||
ALTERNATIVES:=300:/usr/bin/wget:/usr/libexec/wget-nossl
|
ALTERNATIVES:=300:/usr/bin/wget:/usr/libexec/wget-nossl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -104,5 +102,5 @@ define Package/wget-nossl/install
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wget $(1)/usr/libexec/wget-nossl
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wget $(1)/usr/libexec/wget-nossl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,wget))
|
$(eval $(call BuildPackage,wget-ssl))
|
||||||
$(eval $(call BuildPackage,wget-nossl))
|
$(eval $(call BuildPackage,wget-nossl))
|
||||||
|
|
Loading…
Reference in a new issue