Browse Source

Merge pull request #16493 from 1715173329/v2raya

v2rayA: Update to 1.5.2
lilik-openwrt-22.03
Rosen Penev 3 years ago
committed by GitHub
parent
commit
e2efec35eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 11 deletions
  1. +2
    -2
      net/v2raya/Makefile
  2. +5
    -1
      net/v2raya/files/v2raya.config
  3. +9
    -8
      net/v2raya/files/v2raya.init

+ 2
- 2
net/v2raya/Makefile View File

@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=v2rayA PKG_NAME:=v2rayA
PKG_VERSION:=1.5.1
PKG_VERSION:=1.5.2
PKG_RELEASE:=$(AUTORELEASE) PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/v2rayA/v2rayA/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/v2rayA/v2rayA/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=232e61b76a03f28ab48cddc314ddf445ea3c625d7983679428a1328e8e84858e
PKG_HASH:=3611b9fa5a6e0421007f2a3ce9671847ffc39e82e1caa6782eff5db470e92fe0
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/service PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/service
PKG_LICENSE:=GPL-3.0-only PKG_LICENSE:=GPL-3.0-only


+ 5
- 1
net/v2raya/files/v2raya.config View File

@ -18,7 +18,11 @@ config v2raya 'config'
option v2ray_bin '' option v2ray_bin ''
# Additional v2ray config directory, files in it will be combined with config generated by v2rayA # Additional v2ray config directory, files in it will be combined with config generated by v2rayA
option v2ray_config ''
option v2ray_confdir ''
# Specify the certification path instead of automatically generating a self-signed certificate.
# Example: /etc/v2raya/grpc_certificate.crt,/etc/v2raya/grpc_private.key
option vless_grpc_inbound_cert_key ''
# Print detailed v2ray-core log to stdout # Print detailed v2ray-core log to stdout
option verbose '0' option verbose '0'


+ 9
- 8
net/v2raya/files/v2raya.init View File

@ -18,7 +18,7 @@ is_enabled() {
} }
append_param() { append_param() {
procd_append_param command "$1" $2
procd_append_param command "--$1" $2
} }
append_param_arg() { append_param_arg() {
@ -35,13 +35,14 @@ start_service() {
procd_open_instance "$CONF" procd_open_instance "$CONF"
procd_set_param command "$PROG" procd_set_param command "$PROG"
append_param_arg "config" "address" "--address" "0.0.0.0:2017"
append_param_arg "config" "config" "--config" "/etc/v2raya"
append_param_arg "config" "plugin_listen_port" "--pluginlistenport" "32346"
append_param_arg "config" "v2ray_bin" "--v2ray-bin"
append_param_arg "config" "v2ray_config" "--v2ray-config"
is_enabled "config" "force_ipv6_on" && append_param "--force_ipv6_on"
is_enabled "config" "verbose" && append_param "--verbose"
append_param_arg "config" "address" "address" "0.0.0.0:2017"
append_param_arg "config" "config" "config" "/etc/v2raya"
append_param_arg "config" "plugin_listen_port" "pluginlistenport" "32346"
append_param_arg "config" "v2ray_bin" "v2ray-bin"
append_param_arg "config" "v2ray_confdir" "v2ray-confdir"
append_param_arg "config" "vless_grpc_inbound_cert_key" "vless-grpc-inbound-cert-key"
is_enabled "config" "force_ipv6_on" && append_param "force-ipv6-on"
is_enabled "config" "verbose" && append_param "verbose"
procd_set_param limits core="unlimited" procd_set_param limits core="unlimited"
procd_set_param respawn procd_set_param respawn


Loading…
Cancel
Save