diff --git a/net/traefik/Makefile b/net/traefik/Makefile index 47147406091c..dfb5d8a685f9 100644 --- a/net/traefik/Makefile +++ b/net/traefik/Makefile @@ -1,46 +1,45 @@ PORTNAME= traefik -PORTVERSION= 2.11.0 -PORTREVISION= 1 +PORTVERSION= 2.11.2 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 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'`" 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 765aff718661..f14b71a70e23 100644 --- a/net/traefik/distinfo +++ b/net/traefik/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708775341 -SHA256 (traefik-2.11.0.tar.xz) = 1ee0dbf384cca92fe29b13697bd7d7a4e471c2ec79a8242100d95c7ad524ada4 -SIZE (traefik-2.11.0.tar.xz) = 21482284 +TIMESTAMP = 1712998209 +SHA256 (traefik-2.11.2.tar.xz) = 001d59c2540d22b37b690cadb49ea67bec7980b04e9947413e3133041fd3b7ec +SIZE (traefik-2.11.2.tar.xz) = 21235432 diff --git a/net/traefik/files/patch-pkg_collector_hydratation_hydration.go b/net/traefik/files/patch-pkg_collector_hydratation_hydration.go deleted file mode 100644 index 599cf8be55c8..000000000000 --- a/net/traefik/files/patch-pkg_collector_hydratation_hydration.go +++ /dev/null @@ -1,11 +0,0 @@ ---- pkg/collector/hydratation/hydration.go.orig 2024-02-12 15:25:23 UTC -+++ pkg/collector/hydratation/hydration.go -@@ -56,7 +56,7 @@ func fill(field reflect.Value) error { - case reflect.Int64: - switch field.Type() { - case reflect.TypeOf(types.Duration(time.Second)): -- setTyped(field, int64(defaultNumber*int(time.Second))) -+ setTyped(field, int64(defaultNumber)*int64(time.Second)) - default: - setTyped(field, int64(defaultNumber)) - }