diff --git a/net/traefik/Makefile b/net/traefik/Makefile index 0fcf95ecbb75..f28ab4ce8ea3 100644 --- a/net/traefik/Makefile +++ b/net/traefik/Makefile @@ -1,45 +1,52 @@ PORTNAME= traefik -PORTVERSION= 3.6.13 +PORTVERSION= 3.6.15 CATEGORIES= net MASTER_SITES= LOCAL/riggs/${PORTNAME} +DISTNAME= ${PORTNAME}-${DISTVERSIONPREFIX}${BASE_SRC}${DISTVERSIONSUFFIX} + +PATCH_SITES= ${MASTER_SITES} +PATCHFILES= ${PORTNAME}-${BASE_SRC}-${PORTVERSION}.patch.xz:-p1 MAINTAINER= riggs@FreeBSD.org COMMENT= High availability reverse proxy and load balancer WWW= https://traefik.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= go-bindata:devel/go-bindata USES= cpe go:1.25+,modules tar:xz +BASE_SRC= 3.6.13 +WRKSRC= ${WRKDIR}/traefik-${BASE_SRC} + USE_RC_SUBR= traefik GO_BUILDFLAGS= -ldflags "-s -w \ -X github.com/traefik/traefik/v3/pkg/version.Version=${DISTVERSION} \ -X github.com/traefik/traefik/v3/pkg/version.Codename=portbuild \ -X github.com/traefik/traefik/v3/pkg/version.BuildDate=`date -u '+%Y-%m-%d_%I:%M:%S%p'`" GO_TARGET= ./cmd/traefik CGO_ENABLED= 0 USERS= traefik GROUPS= traefik PLIST_FILES= bin/traefik \ "@sample etc/traefik.toml.sample" \ "@sample etc/traefik.yml.sample" # Preparing the vendor dir for a self-contained tarball now works by just # running 'go generate && go mod vendor' as a user and bundling the resulting # ${WRKSRC}/vendor directory. # Building the UI with node + yarn is no longer necessary. pre-build: cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} generate post-install: ${INSTALL_DATA} ${WRKSRC}/traefik.sample.toml ${STAGEDIR}${PREFIX}/etc/traefik.toml.sample ${INSTALL_DATA} ${WRKSRC}/traefik.sample.yml ${STAGEDIR}${PREFIX}/etc/traefik.yml.sample .include diff --git a/net/traefik/distinfo b/net/traefik/distinfo index 7e8ab7ad7d8c..f74c6f684643 100644 --- a/net/traefik/distinfo +++ b/net/traefik/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1776017659 +TIMESTAMP = 1777702240 SHA256 (traefik-3.6.13.tar.xz) = 4fd2ec3e18fdd3a568defa1ecdb293c49b39b68477fb91b60b05c00eade5983b SIZE (traefik-3.6.13.tar.xz) = 26388616 +SHA256 (traefik-3.6.13-3.6.15.patch.xz) = 9518a36490193326b9751fa377b721d5dc741456eba36b69a8bc2c80507d8e93 +SIZE (traefik-3.6.13-3.6.15.patch.xz) = 732956