diff options
| author | 2025-11-26 00:32:35 +0100 | |
|---|---|---|
| committer | 2025-11-26 00:54:43 +0100 | |
| commit | 285004314b293a8c07ded9774735e3ab415fb2c1 (patch) | |
| tree | 822e9a2339aaef41c22f72ff785b1db78f5d2f80 /net-proxy/traefik/traefik-3.6.2.ebuild | |
| parent | media-fonts/departuremono: treeclean (diff) | |
| download | ebuilds-285004314b293a8c07ded9774735e3ab415fb2c1.tar.xz | |
net-proxy/traefik: add 3.6.2, drop 3.5.2
Diffstat (limited to 'net-proxy/traefik/traefik-3.6.2.ebuild')
| -rw-r--r-- | net-proxy/traefik/traefik-3.6.2.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-proxy/traefik/traefik-3.6.2.ebuild b/net-proxy/traefik/traefik-3.6.2.ebuild new file mode 100644 index 0000000..351004c --- /dev/null +++ b/net-proxy/traefik/traefik-3.6.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="The Cloud Native Application Proxy " +HOMEPAGE="https://traefik.io/" +BDEPEND=">=dev-lang/go-1.24.0" +SRC_URI="https://github.com/traefik/traefik/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz" + +LICENSE="MIT" +LICENSE+=" Apache-2.0 BSD ISC MPL-2.0 " +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + local BUILD_DATE + BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) + + ego generate + ego build -ldflags=" + -X github.com/traefik/traefik/v3/pkg/version.Version=${PV} + -X github.com/traefik/traefik/v3/pkg/version.BuildDate=${BUILD_DATE} + " ./cmd/traefik +} + +src_test() { + ego test ./... +} + +src_install() { + dobin traefik +} |
