net-proxy/v2rayA: drop 2.2.7.5, 2.4.23

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-11-13 01:20:58 +11:00
1 parent fe6f771d75
commit b0f5b85ea5
4 files changed
-205

No files matched your search

-7
View File
@@ -1,15 +1,8 @@
DIST v2rayA-2.2.7.5-deps.tar.xz 117988020 BLAKE2B f21573508e0911442e5be30cbaa61e514f0e705c9a21edec7adf894fd357d6af49365bae8a37b3433b8db0d290d97281987bf2ba826df95286dd64e98dc49cb3 SHA512 32d8c862c156d572f6f30a48382c30b4358c31fcdb2791590af168a98fd7fa2ed74b87733c4dbb4ca515eac306662aee119813377b788459808bad16c9996974
DIST v2rayA-2.2.7.5-web.tar.gz 2816578 BLAKE2B 1911c3cb144146bc5fc9d5a4f40539d7ca386a316ebdee5d7fb7b35c04d52c45e73f480a95d909aff63ff52d9ab8d978a133201ba612373ebf61ee1d6bbf8903 SHA512 ddb8df5a55b67b05a11e1dc1be6e979269ed4874032ca5f74911649a046fe40d9de97055904f2898e41d9c5d8a2733b76debb4e726c0f6d9a888bfc85260b11b
DIST v2rayA-2.2.7.5.tar.gz 1069095 BLAKE2B 76a5356f77b71fab8d0fe5ad3092556d49d7b7d74dcdd4e2c26f519ef3441b93276fe624d23ba876550e616adb129bdb4cadffd75a0f76082e706675fd336b45 SHA512 cb63b2df7a8dbaf927db7c5d3fc6c47abefae2b4c19e423aa7ba741107bdfb2643328ca3faf23c283f7cca65cbe776202311a7c98783f2a837cb3b860c78955b
DIST v2rayA-2.4.23-web.tar.gz 635786 BLAKE2B f9b4ca19dc87dd83147bbebe3bed3417440e1b022588c40eae9202373f16ae86b843cb30c9330c2db640ceccb37b2386d9c06fbc5a405aa584f3db3ed7465428 SHA512 f90d4fe5ca8472266390ac8aa7370dc23a7054edc9d7deaad2032dff6fbadf9c8c09951abda8df8965e4c68b2d37bb6564a6ae45c7f5d4f3374b571f9ae88cee
DIST v2rayA-2.4.23.tar.gz 1101469 BLAKE2B 2cca53dd3a319e7712a9df26a5234dcc1fe3e46cb1505ad347769059b6322f5bd6ecd9be76341a119a96a4fe9c283be282843b1d0097b73660c6d3188e085e65 SHA512 a03f7b42dcf86e548735fc3cf4bff06b8deb1ff064226f7fbd822a80ae6763fb2dc04874878e4a4817c08498da595e54929ee09a55f82469656ad730afabf05f
DIST v2rayA-2.4.25-web.tar.gz 650699 BLAKE2B 182a92976609d68ec113c9ba098d8d26813f70729b08b3a2bfdcff884091aaf72870bd77d78a5f2cbc560cae2505114955fa197658d1379354684d322b787329 SHA512 21bd8305c3e6d3a0d9870a7d292be66ffea74b948a9765eac27b3d0832241daf2a9f20140f53320c0480032775901fb5a6b61acba766496718e315dc57c856d0
DIST v2rayA-2.4.25.tar.gz 1155289 BLAKE2B 82882d25e33585d1713c969b83af7e8bbe8b0363bb5a902d68187ebe72f2b82a461c7e7de03dded702ab55d8f3505fef3ee403d12c1e29909737f48d9f40462d SHA512 8074ab8c057ecb19236f42b423175a90fa9c0c83ce7ee0d1304ee976a31be2c9420c69b793a7670842fe6bca07fe212bb4d18a120ef1e66f6d88a4f9552a3fc1
DIST v2rayA-2.5.14-web.tar.gz 867671 BLAKE2B ecc9f2cf233a56eea07049f1587231cff7419596670a6d3d2749e93e03738ac6f9bb9189edba43a4428ca754d712d0d9e219224dfc6248e7eb5e810449c7235a SHA512 c4a4d6aa6dda3e6a4094289a9d8f5cd8ea5c10a9a57ad9acd430ab214c423bffd9fb49370359a428fb3355e93094b27ec96ce683869d43dda03c22ef41178d93
DIST v2rayA-2.5.14.tar.gz 1858957 BLAKE2B a09f58438e6869e10361861bcdab5a4615decd7f327e5bd2579cd79ec5c161f2fccc2fecadf0b5048cb5933ab70b4f4cdd6cc206bd916d7957e71e447dccb89b SHA512 9b1d9a4bf573fdedfeea41512fe287d91ab2111589fe5fbaf70cb448026d51532672c1b6f4bafb97ab6a77825ac676134b8dcd3bd7a58e950164af6f46b90e23
DIST v2rayA-core-2.4.23-vendor.tar.xz 4379232 BLAKE2B 72f7aa7f52fbe9ebefe0223695eba0757d7645522c11f44b8d0474cb2de66d9b573a0837c5dc712a528246bf830ba2a915b0fd08dc6d0c33f26c943c0a9effdf SHA512 292d4e4a229b23ebab6b3e233c802cb9be5980f63fee1818a120102d211c02210d2d9863939016c8c273b3644d2c6e564c69276f68841453c6c140e267434d10
DIST v2rayA-core-2.4.25-vendor.tar.xz 4632632 BLAKE2B 8b81b25e03d160ea91b8c3009a0bfab948b9b3e80a0f30cf12f65c4bbcb5b12bea9f4623520a9874ba8700a15b1c6377f4b0de758cd346f44c415e53a473bfec SHA512 39ff1faa26b6fc3853efb40d1a4adfe56fc4ee655515a2186fa53b971acb72747df90d673a03d45b51376978fd9d257e81197db073572ca6b0ef84382df07749
DIST v2rayA-core-2.5.14-vendor.tar.xz 4497916 BLAKE2B 0f95f4dffcb73e0500fcdc3681f9db220ba64896b90aab820d776dfb4870f4f4c83f9468a8589591e89781e86a909b9af88276bc57ff5213ddce40a42ca0e4e2 SHA512 626f7476f89a6a0cc5cc0dee0782aeca48aa5c66201030ada8c0df71e89e0e5153a05caa0ea0de1414d0f361ee22176eece283874f0cebfa54e5f66e98435bc9
DIST v2rayA-service-2.4.23-vendor.tar.xz 11991308 BLAKE2B 0d50be1970c946b11eaf05c0b20a444b4c20dc9dbc6573f15dd38992e1e4d22f6fd51527308e5505b212127b6a4a1a3a7e431e83492c95506b8f7b94434929bd SHA512 b6db69fdfde5fdbf68af5e5ad8b30150e850c2156676ffc6bcbe2f079f8c5774e6bfde6d1cf0a9f39f7f2985c80d73f1d80caadabb7c1863ff1a7336ac4c8b16
DIST v2rayA-service-2.4.25-vendor.tar.xz 12008304 BLAKE2B af3f9da725aa202af85a8d0627def972c30260cc37741da672f95afdf98c713bad223b7996496c21a3f7595422027e79234a481c65a4000d03b8fa05dc1a60a2 SHA512 08405f27e861f6c3d4df8d9fe4f99c67df5a4478b399395696575b75c4c07578cdd6ff7389c9a331e042854170dd4c4d4fa5fd91bb378acb37398b49296321fd
DIST v2rayA-service-2.5.14-vendor.tar.xz 12134360 BLAKE2B b1d02a6c62fced8736eeadc14abe69b8bc63b7e86cad5180d0449ef30860c8e5ca6596adf8ae8b9596a3173d102f357b1977fa21ff63483048f667b343928087 SHA512 7cca278be1519c436e84280d7c0f53df5e880a149025ec1425c705deddcd413f7272f56842974e59cbdad33f503a76222cfaa5059ed6c925988a0d73de66a3bf
-4
View File
@@ -5,10 +5,6 @@
<email>2073201758GD@gmail.com</email>
<name>liuyujielol</name>
</maintainer>
<use>
<!--<flag name="v2ray">Use net-proxy/v2ray as default</flag>-->
<flag name="xray">To be able to use net-proxy/Xray. Disable the v2ray useflag to use xray as default</flag>
</use>
<upstream>
<remote-id type="github">v2rayA/v2rayA</remote-id>
</upstream>
-79
View File
@@ -1,79 +0,0 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NONFATAL_VERIFY=1
inherit systemd go-module desktop xdg
DESCRIPTION="web GUI of Project V which supports V2Ray, Xray, SS, SSR, Trojan and Pingtunnel"
HOMEPAGE="https://v2raya.org/"
SRC_URI="
https://github.com/v2rayA/v2rayA/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/v2rayA/v2rayA/releases/download/v${PV}/web.tar.gz -> ${P}-web.tar.gz
"
# maintainer generated deps pack
# generated with liuyujielol/gentoo-go-deps/.github/workflows/generator.yml
SRC_URI+="
https://github.com/liuyujielol/gentoo-go-deps/releases/download/${P}/${P}-deps.tar.xz
"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong"
IUSE="xray"
RDEPEND="
|| (
>=net-proxy/v2ray-5
>=net-proxy/v2ray-bin-5
)
xray? ( net-proxy/Xray )
"
BDEPEND="
>=dev-lang/go-1.21:*
"
src_compile() {
mv -v "${WORKDIR}/web" "${S}/service/server/router/web" || die
cd "${S}/service" || die
ego build -tags "with_gvisor" \
-ldflags "-X github.com/v2rayA/v2rayA/conf.Version=${PV}" \
-o v2raya -trimpath
}
src_install() {
dobin "${S}"/service/v2raya
# directory for runtime use
keepdir "/etc/v2raya"
./service/v2raya --report config | sed '1,6d' | fold -s -w 78 | sed -E 's/^([^#].+)/# \1/'\
>> "${S}"/install/universal/v2raya.default || die
# config /etc/default/v2raya
insinto "/etc/default"
newins "${S}"/install/universal/v2raya.default v2raya
systemd_dounit "${S}"/install/universal/v2raya.service
systemd_douserunit "${S}"/install/universal/v2raya-lite.service
#thanks to @Universebenzene
newinitd "${FILESDIR}/${PN}.initd-r1" v2raya
newinitd "${FILESDIR}/${PN}-user.initd" v2raya-user
newconfd "${FILESDIR}/${PN}.confd" v2raya
newconfd "${FILESDIR}/${PN}-user.confd" v2raya-user
doicon -s 512 "${S}"/install/universal/v2raya.png
domenu "${S}"/install/universal/v2raya.desktop
}
pkg_postinst() {
xdg_pkg_postinst
if has_version '<net-proxy/v2rayA-2.0.0' ; then
elog "Starting from net-proxy/v2rayA-2.0.0"
elog "Support for v2ray-4 has been dropped"
elog "A config migration may be required"
fi
}
-115
View File
@@ -1,115 +0,0 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NONFATAL_VERIFY=1
inherit systemd go-module desktop xdg
DESCRIPTION="web GUI of Project V which supports V2Ray, Xray, SS, SSR, Trojan and Pingtunnel"
HOMEPAGE="https://v2raya.org/"
SRC_URI="
https://github.com/v2rayA/v2rayA/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/v2rayA/v2rayA/releases/download/v${PV}/web.tar.gz -> ${P}-web.tar.gz
"
# maintainer generated vendor tarballs (service and core have different go.mod)
# generated with gentoo-zh/gentoo-deps/.github/workflows/generator.yml
SRC_URI+="
https://github.com/gentoo-zh/gentoo-deps/releases/download/v2rayA-service-${PV}/v2rayA-service-${PV}-vendor.tar.xz
https://github.com/gentoo-zh/gentoo-deps/releases/download/v2rayA-core-${PV}/v2rayA-core-${PV}-vendor.tar.xz
"
LICENSE="AGPL-3"
# statically linked Go deps; core is a fork of xtls/xray-core (MPL-2.0)
LICENSE+=" Apache-2.0 BSD BSD-2 GPL-3+ LGPL-3 MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong"
RDEPEND="
app-alternatives/v2ray-geoip
app-alternatives/v2ray-geosite
"
BDEPEND="
>=dev-lang/go-1.26:*
"
src_compile() {
mv -v "${WORKDIR}/web" "${S}/service/server/router/web" || die
# v2rayA 2.4.6 ships its own core (a fork of xray-core with the
# MultiObservatory patches) instead of calling an external v2ray/xray.
# The core is a separate Go module; build it from its own vendored deps.
cd "${S}/core" || die
ego build -mod=vendor -trimpath \
-ldflags "-X main.Version=${PV}" \
-o v2raya_core ./main
cd "${S}/service" || die
ego build -mod=vendor -tags "with_gvisor" \
-ldflags "-X github.com/v2rayA/v2rayA/conf.Version=${PV}" \
-o v2raya -trimpath
}
src_install() {
dobin "${S}"/service/v2raya
dobin "${S}"/core/v2raya_core
# v2rayA looks for geodata in /usr/share/v2raya/ and symlinks it into the
# core's runtime asset dir from there. Point it at /usr/share/v2ray/, where
# app-alternatives/v2ray-geoip and v2ray-geosite install the actual
# geoip.dat/geosite.dat. The core's own /usr/share/xray/ path is installed
# by net-proxy/Xray and is unused here, so it is not linked (avoids a file
# collision when both packages are installed).
dosym -r /usr/share/v2ray/geoip.dat /usr/share/v2raya/geoip.dat
dosym -r /usr/share/v2ray/geosite.dat /usr/share/v2raya/geosite.dat
# directory for runtime use
keepdir "/etc/v2raya"
./service/v2raya --report config | sed '1,6d' | fold -s -w 78 | sed -E 's/^([^#].+)/# \1/'\
>> "${S}"/install/universal/v2raya.default || die
# config /etc/default/v2raya
insinto "/etc/default"
newins "${S}"/install/universal/v2raya.default v2raya
systemd_dounit "${S}"/install/universal/v2raya.service
systemd_douserunit "${S}"/install/universal/v2raya-lite.service
#thanks to @Universebenzene
newinitd "${FILESDIR}/${PN}.initd-r1" v2raya
newinitd "${FILESDIR}/${PN}-user.initd" v2raya-user
newconfd "${FILESDIR}/${PN}.confd" v2raya
newconfd "${FILESDIR}/${PN}-user.confd" v2raya-user
doicon -s 512 "${S}"/install/universal/v2raya.png
domenu "${S}"/install/universal/v2raya.desktop
}
pkg_postinst() {
xdg_pkg_postinst
if has_version '<net-proxy/v2rayA-2.0.0' ; then
elog "Starting from net-proxy/v2rayA-2.0.0"
elog "Support for v2ray-4 has been dropped"
elog "A config migration may be required"
fi
if has_version '<net-proxy/v2rayA-2.4.0' ; then
elog "2.4.0 moved v2rayA's data store to SQLite. Upgrading from an"
elog "older version runs a one-time migration that has dropped saved"
elog "servers/subscriptions for some users (2.4.1 fixed empty"
elog "subscriptions). Back up your config before upgrading."
elog "net-proxy/v2rayA-2.2.7.5 is kept if you need the old version."
elog ">> 2.4.0 起数据改用 SQLite,从旧版升级会做一次迁移,部分用户"
elog ">> 遇到过服务器/订阅丢失(2.4.1 已修空订阅)。升级前请先备份。旧版 2.2.7.5 保留。"
fi
if has_version '<net-proxy/v2rayA-2.4.6' ; then
elog "2.4.6 bundles its own v2raya_core binary (a fork of xray-core)."
elog "net-proxy/v2ray and net-proxy/v2ray-bin are no longer required"
elog "by v2rayA. You may remove them if not needed by other packages."
elog ">> 2.4.6 起使用自带的 v2raya_core 内核(基于 xray-core),"
elog ">> 不再依赖独立的 v2ray/v2ray-bin 包,可以按需清理。"
fi
}