Browse Source

xray-core: remove PROVIDES

Xray now is no longer planning to keep compatibility with original
v2ray. Remove PROVIDES before it is totally broken.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
lilik-openwrt-22.03
Tianling Shen 4 years ago
parent
commit
92efcc2956
No known key found for this signature in database GPG Key ID: 6850B6345C862176
2 changed files with 2 additions and 4 deletions
  1. +1
    -3
      net/xray-core/Makefile
  2. +1
    -1
      net/xray-core/files/config.json.example

+ 1
- 3
net/xray-core/Makefile View File

@ -37,7 +37,6 @@ endef
define Package/xray-core
$(call Package/xray/template)
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
PROVIDES:=v2ray-core
endef
define Package/xray-example
@ -55,7 +54,7 @@ define Package/xray-geodata
endef
define Package/xray/description
Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
Xray, Penetrates Everything. It helps you to build your own computer network.
It secures your network connections and thus protects your privacy.
endef
@ -112,7 +111,6 @@ define Package/xray-core/install
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR))
$(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/main $(1)/usr/bin/xray
$(LN) xray $(1)/usr/bin/v2ray
$(INSTALL_DIR) $(1)/etc/xray/
$(INSTALL_CONF) $(CURDIR)/files/config.json.example $(1)/etc/xray/


+ 1
- 1
net/xray-core/files/config.json.example View File

@ -1,6 +1,6 @@
// Config file of Xray. This file follows standard JSON format, with comments support.
// Uncomment entries below to satisfy your needs. Also read our manual for more detail at
// https://www.v2fly.org/en_US/config/overview.html and https://xray.sh/en/config/
// https://xtls.github.io/en/config/
{
"log": {
// By default, Xray writes access log to stdout.


Loading…
Cancel
Save