|
@ -37,7 +37,6 @@ endef |
|
|
define Package/xray-core |
|
|
define Package/xray-core |
|
|
$(call Package/xray/template) |
|
|
$(call Package/xray/template) |
|
|
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle |
|
|
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle |
|
|
PROVIDES:=v2ray-core |
|
|
|
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/xray-example |
|
|
define Package/xray-example |
|
@ -55,7 +54,7 @@ define Package/xray-geodata |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/xray/description |
|
|
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. |
|
|
It secures your network connections and thus protects your privacy. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
@ -112,10 +111,9 @@ define Package/xray-core/install |
|
|
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR)) |
|
|
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR)) |
|
|
$(INSTALL_DIR) $(1)/usr/bin/ |
|
|
$(INSTALL_DIR) $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/main $(1)/usr/bin/xray |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/main $(1)/usr/bin/xray |
|
|
$(LN) xray $(1)/usr/bin/v2ray |
|
|
|
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/xray/ |
|
|
$(INSTALL_DIR) $(1)/etc/xray/ |
|
|
$(INSTALL_CONF) $(CURDIR)/files/config.json.example $(1)/etc/xray/ |
|
|
|
|
|
|
|
|
$(INSTALL_DATA) $(CURDIR)/files/config.json.example $(1)/etc/xray/ |
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config/ |
|
|
$(INSTALL_DIR) $(1)/etc/config/ |
|
|
$(INSTALL_CONF) $(CURDIR)/files/xray.conf $(1)/etc/config/xray |
|
|
$(INSTALL_CONF) $(CURDIR)/files/xray.conf $(1)/etc/config/xray |
|
@ -128,8 +126,8 @@ endef |
|
|
|
|
|
|
|
|
define Package/xray-example/install |
|
|
define Package/xray-example/install |
|
|
$(INSTALL_DIR) $(1)/etc/xray/ |
|
|
$(INSTALL_DIR) $(1)/etc/xray/ |
|
|
$(INSTALL_CONF) $(CURDIR)/files/vpoint_socks_vmess.json $(1)/etc/xray/ |
|
|
|
|
|
$(INSTALL_CONF) $(CURDIR)/files/vpoint_vmess_freedom.json $(1)/etc/xray/ |
|
|
|
|
|
|
|
|
$(INSTALL_DATA) $(CURDIR)/files/vpoint_socks_vmess.json $(1)/etc/xray/ |
|
|
|
|
|
$(INSTALL_DATA) $(CURDIR)/files/vpoint_vmess_freedom.json $(1)/etc/xray/ |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/xray-geodata/install |
|
|
define Package/xray-geodata/install |
|
|