tun2socks: Bump to 2.5.1

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2023-10-25 14:43:58 +02:00
parent 8a44b6aebf
commit 75d0c4eeea
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
}