diff options
-rw-r--r-- | net/traefik/Makefile | 16 | ||||
-rw-r--r-- | net/traefik/distinfo | 6 | ||||
-rw-r--r-- | net/traefik/files/patch-traefik.sample.toml | 24 | ||||
-rw-r--r-- | net/traefik/files/patch-traefik.sample.yml | 31 |
4 files changed, 64 insertions, 13 deletions
diff --git a/net/traefik/Makefile b/net/traefik/Makefile index 0874d8d10820..cc07622794fd 100644 --- a/net/traefik/Makefile +++ b/net/traefik/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= traefik -PORTVERSION= 2.3.1 +PORTVERSION= 2.3.2 CATEGORIES= net MASTER_SITES= LOCAL/riggs/${PORTNAME} @@ -28,23 +28,19 @@ USERS= traefik GROUPS= traefik PLIST_FILES= bin/traefik \ - "@sample etc/traefik.toml.sample" + "@sample etc/traefik.toml.sample" \ + "@sample etc/traefik.yml.sample" # Preparing the vendor dir for a self-contained tarball now works by just -# executing 'make gomod-vendor' and bundling the resulting ${WRKSRC}/vendor. +# running 'go mod vendor' as a user and bundling the resulting +# ${WRKSRC}/vendor directory. # Building the UI with node + yarn is no longer necessary. -post-patch: - # Install a sample configuration file which at least allows the daemon - # to start without manual tweaking. - ${REINPLACE_CMD} -e 's|:80|:8088|' \ - -e 's|:443|:8433|' \ - -e 's|\[providers.docker|# \[providers.docker|' ${WRKSRC}/traefik.sample.toml - 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 <bsd.port.mk> diff --git a/net/traefik/distinfo b/net/traefik/distinfo index 397f228578ab..92612356ba74 100644 --- a/net/traefik/distinfo +++ b/net/traefik/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1602282919 -SHA256 (traefik-2.3.1.tar.xz) = 4c270456282773e234057d8a7959856d7a61eac930a5f159cb4f7ea19dabcab6 -SIZE (traefik-2.3.1.tar.xz) = 13105328 +TIMESTAMP = 1603469984 +SHA256 (traefik-2.3.2.tar.xz) = 99a8fb607113e80cd317d4dd693601e35a910b60ec6cacbb6451241da53720b8 +SIZE (traefik-2.3.2.tar.xz) = 14088976 diff --git a/net/traefik/files/patch-traefik.sample.toml b/net/traefik/files/patch-traefik.sample.toml new file mode 100644 index 000000000000..fd4dbdd75bb9 --- /dev/null +++ b/net/traefik/files/patch-traefik.sample.toml @@ -0,0 +1,24 @@ +--- traefik.sample.toml.orig 2020-10-19 18:27:54 UTC ++++ traefik.sample.toml +@@ -23,10 +23,10 @@ + # Default: + [entryPoints] + [entryPoints.web] +- address = ":80" ++ address = ":8088" + + [entryPoints.websecure] +- address = ":443" ++ address = ":8443" + + ################################################################ + # Traefik logs configuration +@@ -100,7 +100,7 @@ + # Optional + # Default: false + # +- # insecure = true ++ insecure = true + + # Enabled Dashboard + # diff --git a/net/traefik/files/patch-traefik.sample.yml b/net/traefik/files/patch-traefik.sample.yml new file mode 100644 index 000000000000..93ada7a08bc1 --- /dev/null +++ b/net/traefik/files/patch-traefik.sample.yml @@ -0,0 +1,31 @@ +--- traefik.sample.yml.orig 2020-10-19 18:27:54 UTC ++++ traefik.sample.yml +@@ -23,10 +23,10 @@ global: + # + entryPoints: + web: +- address: :80 ++ address: :8088 + + websecure: +- address: :443 ++ address: :8443 + + ################################################################ + # Traefik logs configuration +@@ -94,13 +94,13 @@ entryPoints: + # + # Optional + # +-#api: ++api: + # Enable the API in insecure mode + # + # Optional + # Default: false + # +-# insecure: true ++ insecure: true + + # Enabled Dashboard + # |