diff --git a/net/traefik/Makefile b/net/traefik/Makefile index 938e5131000f..014eb56ff2d0 100644 --- a/net/traefik/Makefile +++ b/net/traefik/Makefile @@ -1,45 +1,45 @@ PORTNAME= traefik -PORTVERSION= 2.11.8 +PORTVERSION= 3.1.4 CATEGORIES= net MASTER_SITES= LOCAL/riggs/${PORTNAME} 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.22,modules tar:xz +USES= cpe go:1.23,modules tar:xz USE_RC_SUBR= traefik GO_BUILDFLAGS= -ldflags "-s -w \ - -X github.com/traefik/traefik/v2/pkg/version.Version=${DISTVERSION} \ - -X github.com/traefik/traefik/v2/pkg/version.Codename=portbuild \ - -X github.com/traefik/traefik/v2/pkg/version.BuildDate=`date -u '+%Y-%m-%d_%I:%M:%S%p'`" + -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 87c9498f673b..c5a30f53517c 100644 --- a/net/traefik/distinfo +++ b/net/traefik/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1723360118 -SHA256 (traefik-2.11.8.tar.xz) = 707a27d502cce8221d73ac5c7fd2a93aa4af38729b8f0b190056ef439492753b -SIZE (traefik-2.11.8.tar.xz) = 21943340 +TIMESTAMP = 1727472280 +SHA256 (traefik-3.1.4.tar.xz) = e280a9e7b42a3b421e994fb3360b79c360c3162cbedc44567176958208e5ab9e +SIZE (traefik-3.1.4.tar.xz) = 21578328