aboutsummaryrefslogtreecommitdiff
path: root/net/traefik
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2018-04-07 11:01:08 +0000
committerThomas Zander <riggs@FreeBSD.org>2018-04-07 11:01:08 +0000
commit819cf3797c66dcb9a696e3b93585c3b84d952cc8 (patch)
tree1a06a4676a365d736703f427bf212d6f2a21caec /net/traefik
parentecd441ae18bb6ebe5a471830dacd222581740204 (diff)
downloadports-819cf3797c66dcb9a696e3b93585c3b84d952cc8.tar.gz
ports-819cf3797c66dcb9a696e3b93585c3b84d952cc8.zip
Notes
Diffstat (limited to 'net/traefik')
-rw-r--r--net/traefik/Makefile7
-rw-r--r--net/traefik/distinfo10
-rw-r--r--net/traefik/pkg-message16
3 files changed, 26 insertions, 7 deletions
diff --git a/net/traefik/Makefile b/net/traefik/Makefile
index 6b5ccd0bbd5e..c0f0a0aa9f15 100644
--- a/net/traefik/Makefile
+++ b/net/traefik/Makefile
@@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= traefik
-PORTVERSION= 1.5.3
+PORTVERSION= 1.5.4
DISTVERSIONPREFIX= v
-PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= LOCAL/riggs/${PORTNAME}:webui
DISTFILES= ${PORTNAME}-webui-static-${PORTVERSION}${EXTRACT_SUFX}:webui
@@ -51,6 +50,10 @@ TRAEFIK_LDARGS= -ldflags "-s -w \
post-extract:
@${MV} ${WRKDIR}/static ${WRKSRC}
+ # Install a sample configuration file which works by default
+ # without manual tweaking
+ ${REINPLACE_CMD} -e 's|:80|:8088|' \
+ -e 's|\[docker|# \[docker|' ${WRKSRC}/traefik.sample.toml
do-build:
@cd ${WRKSRC}/src/github.com/containous/traefik; \
diff --git a/net/traefik/distinfo b/net/traefik/distinfo
index d97c55c4ebea..c4aa6afae1d4 100644
--- a/net/traefik/distinfo
+++ b/net/traefik/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1520701876
-SHA256 (traefik-webui-static-1.5.3.tar.gz) = ddc0d6311b892e4dee6342068181a3365ef46e0cff1c804b26f18ebb6a271167
-SIZE (traefik-webui-static-1.5.3.tar.gz) = 647897
-SHA256 (containous-traefik-v1.5.3_GH0.tar.gz) = b6876834290dd3f916c78f6810597d40dbbd461e1d1d25fd30d31cd99b9c062b
-SIZE (containous-traefik-v1.5.3_GH0.tar.gz) = 7828055
+TIMESTAMP = 1523094469
+SHA256 (traefik-webui-static-1.5.4.tar.gz) = 879b95fd31ef6813155a90903e2bc6be6d1266e8bf7a76c45f00679890c719c3
+SIZE (traefik-webui-static-1.5.4.tar.gz) = 649631
+SHA256 (containous-traefik-v1.5.4_GH0.tar.gz) = d07999a03fb2732945d10d4f476db0cccd5c0df53020c5988cf99318936fe79e
+SIZE (containous-traefik-v1.5.4_GH0.tar.gz) = 7978182
diff --git a/net/traefik/pkg-message b/net/traefik/pkg-message
new file mode 100644
index 000000000000..170402ad9ca5
--- /dev/null
+++ b/net/traefik/pkg-message
@@ -0,0 +1,16 @@
+==============================================================
+
+Note that traefik starts as unpriviliged user. Thus, it cannot
+bind to privileged ports (by default, ports below 1024) and
+will exit when configured to do so.
+
+If traefik should serve ports in the privileged range, there
+are options to achieve this:
+- Have traffic bind to an unprivileged port and use the
+ packet filter configuration to redirect requests to the
+ desired privileged port to the unprivileged port in
+ traefik's configuration file e.g. the rdr rules in pf(4).
+- The mac_portacl kernel module allows unprivileged processes
+ to bind to privileged ports.
+
+==============================================================