mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-04 01:18:31 -04:00
Compare commits
3 Commits
f20372bf90
...
99d208e7ad
Author | SHA1 | Date | |
---|---|---|---|
|
99d208e7ad | ||
|
47f0e4ad58 | ||
|
0324b4a1d6 |
15
metadata/md5-cache/net-proxy/Xray-25.3.31
Normal file
15
metadata/md5-cache/net-proxy/Xray-25.3.31
Normal file
@ -0,0 +1,15 @@
|
||||
BDEPEND=>=dev-lang/go-1.24 >=dev-lang/go-1.20:= app-arch/unzip virtual/pkgconfig
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DEPEND=app-alternatives/v2ray-geoip app-alternatives/v2ray-geosite
|
||||
DESCRIPTION=Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support.
|
||||
EAPI=8
|
||||
HOMEPAGE=https://xtls.github.io/ https://github.com/XTLS/Xray-core
|
||||
INHERIT=go-module systemd
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~loong ~riscv ~x86
|
||||
LICENSE=MPL-2.0
|
||||
RDEPEND=app-alternatives/v2ray-geoip app-alternatives/v2ray-geosite
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/XTLS/Xray-core/archive/refs/tags/v25.3.31.tar.gz -> Xray-25.3.31.tar.gz https://github.com/gentoo-zh/gentoo-deps/releases/download/Xray-25.3.31/Xray-25.3.31-vendor.tar.xz
|
||||
_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs 6afdb6107430c1832ca7e16aacbf8fa1 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic 16d3941ed2dc39f4819368ae51bc0b72 go-env 0e2babf96e7d0b045fc07ad199eb2399 go-module df32d29550d40a92da723d3b8e17b467 systemd 54bd206bb5c4efac6ae28b6b006713b0
|
||||
_md5_=ccd5394dd6afc3610626fbafd016df10
|
@ -268,7 +268,7 @@ net-p2p/n2n 3.0 3.1.1 9999: A Layer Two Peer-to-Peer VPN
|
||||
net-p2p/qbittorrent-enhanced 4.6.7.10 5.0.3.10: qBittorrent Enhanced, based on qBittorrent
|
||||
net-print/epson-inkjet-printer_201207w 1.0.0: Epson printer driver (L110, L210, L300, L350, L355, L550, L555)
|
||||
net-print/kyodialog 9.4-r2: Kyocera printer driver for linux
|
||||
net-proxy/Xray 25.3.6: Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support.
|
||||
net-proxy/Xray 25.3.6 25.3.31: Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support.
|
||||
net-proxy/bore 0.5.2: bore is a simple CLI tool for making tunnels to localhost
|
||||
net-proxy/cgproxy 0.20-r1: Transparent Proxy with cgroup v2
|
||||
net-proxy/clash-nyanpasu 1.5.1: Clash GUI based on tauri
|
||||
|
@ -1 +1 @@
|
||||
Mon, 31 Mar 2025 07:20:17 +0000
|
||||
Mon, 31 Mar 2025 13:05:10 +0000
|
||||
|
@ -1,2 +1,4 @@
|
||||
DIST Xray-25.3.31-vendor.tar.xz 3757672 BLAKE2B 4cbc36c2c27c729b1d388a40133cbb82a89877b52f3db4d9dafe9305537565201a5220d5ce8f751b54f161038bf4d7ac0ba0ec0d947bac2b4fde4b8c59877125 SHA512 111e8f5eba2477cff6803ece1a7525a37ad9d9dcb5bde4a532fdc398e544887102866e2b20cae040056d808d2ba931ea69053bd73d322090daf9c82389f74b47
|
||||
DIST Xray-25.3.31.tar.gz 636255 BLAKE2B 1db4df1757cc60157087b0e2b8de12adb42679617a40ab9ebfd2a016cdd750421191194f64ab0de3b5a9e15aedd459fa59e6f19cccb5ce42fb64af88d10d48b1 SHA512 852df3c7ce8a9f4c8eabe91caa29abd8bc272bfd5f5eadbd193f14b5e170a3622f895976a2667b2720fddea115fbf58e586e9615367779d430dc9c27c9049b6a
|
||||
DIST Xray-25.3.6-vendor.tar.xz 3740384 BLAKE2B bb07e05e4e235a5554475b42aeb157deeff19849f25ecb17e16b10875f53126bbc00c2b22266309a1b89e00de454e09ec5198bcce1ef2f67f35e07ae91c7168f SHA512 68e4e440ff3fd547302e977a03e8fe41c9b65541e65d200d8a60bd06ab542c2b0aa058fb13ac2f5596c89fcb4b37076d03ff0c92c324850d41476b8a9a69d151
|
||||
DIST Xray-25.3.6.tar.gz 633356 BLAKE2B bd3f5c249787ea64489cf65e9889a66f7306f23909fa67e8cfb6cd801ae9c88eb5a1ad946935670be78e790b79140ab3f90616727f7aa36f30f31effd9756b3e SHA512 bb349c38db4714c9535b6fc50ab8b4a7e19511468522a326fabae53ddcff5077d313428c47207ae105ee9028642c625243ea0c1d7c6c899839308b301728a13f
|
||||
|
36
net-proxy/Xray/Xray-25.3.31.ebuild
Normal file
36
net-proxy/Xray/Xray-25.3.31.ebuild
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support."
|
||||
HOMEPAGE="https://xtls.github.io/ https://github.com/XTLS/Xray-core"
|
||||
SRC_URI="https://github.com/XTLS/Xray-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/gentoo-zh/gentoo-deps/releases/download/${P}/${P}-vendor.tar.xz"
|
||||
|
||||
S="${WORKDIR}/${PN}-core-${PV}"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
|
||||
|
||||
DEPEND="app-alternatives/v2ray-geoip
|
||||
app-alternatives/v2ray-geosite"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=">=dev-lang/go-1.24"
|
||||
|
||||
src_compile() {
|
||||
ego build -o xray -trimpath -ldflags "-w -s -X 'github.com/XTLS/Xray-core/core.build=${PV}'" ./main
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin xray
|
||||
newinitd "${FILESDIR}/xray.initd" xray
|
||||
systemd_dounit "${FILESDIR}/xray.service"
|
||||
systemd_newunit "${FILESDIR}/xray_at.service" xray@.service
|
||||
dosym -r /usr/share/v2ray/geosite.dat /usr/share/xray/geosite.dat
|
||||
dosym -r /usr/share/v2ray/geoip.dat /usr/share/xray/geoip.dat
|
||||
keepdir /etc/xray
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user