From 0663d8c2f8df14f35e096c34dea72dff32b83b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 9 Oct 2020 10:38:39 +0200 Subject: [PATCH] wget: rename wget to wget-ssl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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čí --- net/wget/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/net/wget/Makefile b/net/wget/Makefile index fd1a2164b..1f2e96573 100644 --- a/net/wget/Makefile +++ b/net/wget/Makefile @@ -29,7 +29,7 @@ define Package/wget/Default SUBMENU:=File Transfer TITLE:=Non-interactive network downloader URL:=https://www.gnu.org/software/wget/index.html - PROVIDES:=gnu-wget + PROVIDES:=gnu-wget wget endef 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. endef -define Package/wget +define Package/wget-ssl $(call Package/wget/Default) DEPENDS+= +libopenssl +librt TITLE+= (with SSL support) VARIANT:=ssl - PROVIDES+=wget-ssl ALTERNATIVES:=300:/usr/bin/wget:/usr/libexec/wget-ssl endef @@ -59,7 +58,6 @@ define Package/wget-nossl $(call Package/wget/Default) TITLE+= (without SSL support) VARIANT:=nossl - PROVIDES+=wget ALTERNATIVES:=300:/usr/bin/wget:/usr/libexec/wget-nossl endef @@ -104,5 +102,5 @@ define Package/wget-nossl/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wget $(1)/usr/libexec/wget-nossl endef -$(eval $(call BuildPackage,wget)) +$(eval $(call BuildPackage,wget-ssl)) $(eval $(call BuildPackage,wget-nossl))