tun2socks: Bump to 2.5.2

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2024-02-14 13:10:21 +01:00
parent 8d8e8a3e57
commit 59ee916ee5
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
EAPI="8"
inherit go-module
HOMEPAGE="https://github.com/xjasonlyu/tun2socks"
SRC_URI="https://github.com/xjasonlyu/tun2socks/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://git.bitplumber.de/api/packages/stkn/generic/gentoo-overlay/distfiles/${P}-vendor.tar.xz"
LICENSE="GPL-3"
KEYWORDS="amd64"
SLOT="0"
DEPEND=""
RDEPEND=""
src_compile() {
ego build \
-ldflags "-X 'github.com/xjasonlyu/tun2socks/v2/internal/version.Version=${PV}' -X 'github.com/xjasonlyu/tun2socks/v2/internal/version.GitCommit=Gentoo ${PF}'"
}
src_install() {
dobin tun2socks
}