mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 04:51:19 +08:00
wget: disable HST file
This commit is contained in:
parent
31561cfebb
commit
d9d7c9eda2
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=wget
|
||||
PKG_VERSION:=1.20.3
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
||||
@ -99,11 +99,15 @@ endif
|
||||
define Package/wget/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wget $(1)/usr/bin/wget-ssl
|
||||
$(INSTALL_DIR) $(1)/root
|
||||
$(INSTALL_DATA) ./files/.wgetrc $(1)/root/.wgetrc
|
||||
endef
|
||||
|
||||
define Package/wget-nossl/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wget $(1)/usr/bin/wget-nossl
|
||||
$(INSTALL_DIR) $(1)/root
|
||||
$(INSTALL_DATA) ./files/.wgetrc $(1)/root/.wgetrc
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,wget))
|
||||
|
1
net/wget/files/.wgetrc
Normal file
1
net/wget/files/.wgetrc
Normal file
@ -0,0 +1 @@
|
||||
hsts=0
|
Loading…
Reference in New Issue
Block a user