@ -5,15 +5,15 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := v2rayA
PKG_VERSION := 1.5.2
PKG_VERSION := 1.5.3
PKG_RELEASE := $( AUTORELEASE)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/v2rayA/v2rayA/tar.gz/v$( PKG_VERSION) ?
PKG_HASH := 3611b9fa5a6e0421007f2a3ce9671847ffc39e82e1caa6782eff5db470e92fe0
PKG_HASH := 0f6faeb297279dba138c2afc8525f090f965a0141a4f9d071165ea8500921a55
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) -$( PKG_VERSION) /service
PKG_LICENSE := GPL-3.0-only
PKG_LICENSE := A GPL-3.0-only
PKG_LICENSE_FILES := LICENSE
PKG_MAINTAINER := Tianling Shen <cnsztl@immortalwrt.org>
@ -22,7 +22,7 @@ PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16 := 0
GO_PKG := github.com/v2rayA/v2rayA
GO_PKG_LDFLAGS_X := $( GO_PKG) /global .Version= $( PKG_VERSION)
GO_PKG_LDFLAGS_X := $( GO_PKG) /conf .Version= $( PKG_VERSION)
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e . . / . . / l a n g / g o l a n g / g o l a n g - p a c k a g e . m k
@ -30,13 +30,15 @@ include ../../lang/golang/golang-package.mk
TAR_OPTIONS += --strip-components 1
TAR_CMD = $( HOST_TAR) -C $( 1) /.. $( TAR_OPTIONS)
d e f i n e P a c k a g e / v 2 r a y A
d e f i n e P a c k a g e / v 2 r a y a
TITLE:= A Linux web GUI client of Project V
SECTION:= net
CATEGORY:= Network
SUBMENU:= Web Servers/Proxies
DEPENDS:= $( GO_ARCH_DEPENDS) \
+ca-bundle \
+iptables-mod-conntrack-extra \
+iptables-mod-extra \
+iptables-mod-filter \
+iptables-mod-tproxy \
+kmod-ipt-nat6 \
@ -44,11 +46,16 @@ define Package/v2rayA
URL:= https://v2raya.org
e n d e f
d e f i n e P a c k a g e / v 2 r a y A / d e s c r i p t i o n
d e f i n e P a c k a g e / v 2 r a y a / d e s c r i p t i o n
v2rayA is a V2Ray Linux client supporting global transparent proxy,
compatible with SS, SSR, Trojan( trojan-go) , PingTunnel protocols.
e n d e f
d e f i n e P a c k a g e / v 2 r a y a / c o n f f i l e s
/ e t c / v 2 r a y a /
/ e t c / c o n f i g / v 2 r a y a
e n d e f
d e f i n e B u i l d / C o m p i l e
( \
pushd $( PKG_BUILD_DIR) /../gui ; \
@ -59,7 +66,7 @@ define Build/Compile
)
e n d e f
d e f i n e P a c k a g e / v 2 r a y A / i n s t a l l
d e f i n e P a c k a g e / v 2 r a y a / i n s t a l l
$( call GoPackage/Package/Install/Bin,$( PKG_INSTALL_DIR) )
$( INSTALL_DIR) $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/v2rayA $( 1) /usr/bin/v2raya
@ -70,5 +77,5 @@ define Package/v2rayA/install
$( INSTALL_BIN) $( CURDIR) /files/v2raya.init $( 1) /etc/init.d/v2raya
e n d e f
$( eval $ ( call GoBinPackage ,v 2rayA ) )
$( eval $ ( call BuildPackage ,v 2rayA ) )
$( eval $ ( call GoBinPackage ,v 2raya ) )
$( eval $ ( call BuildPackage ,v 2raya ) )