Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2018 11:02:48 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r466715 - branches/2018Q2/net/traefik
Message-ID:  <201804071102.w37B2mvv099979@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sat Apr  7 11:02:48 2018
New Revision: 466715
URL: https://svnweb.freebsd.org/changeset/ports/466715

Log:
  MFH: r466714
  
  Update to upstream release 1.5.4 (bugfix release)
  
  Details:
  - Update to upstream release 1.5.4, changelog see
    https://github.com/containous/traefik/releases/tag/v1.5.4
  - Install sample configuration file that allows to
    start traefik out of the box without configuration tweaks
  - Add pkg-message; includes a note on how to accomplish
    binding to privileged ports
  
  Approved by:	ports-secteam (riggs)

Added:
  branches/2018Q2/net/traefik/pkg-message
     - copied unchanged from r466714, head/net/traefik/pkg-message
Modified:
  branches/2018Q2/net/traefik/Makefile
  branches/2018Q2/net/traefik/distinfo
Directory Properties:
  branches/2018Q2/   (props changed)

Modified: branches/2018Q2/net/traefik/Makefile
==============================================================================
--- branches/2018Q2/net/traefik/Makefile	Sat Apr  7 11:01:08 2018	(r466714)
+++ branches/2018Q2/net/traefik/Makefile	Sat Apr  7 11:02:48 2018	(r466715)
@@ -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; \

Modified: branches/2018Q2/net/traefik/distinfo
==============================================================================
--- branches/2018Q2/net/traefik/distinfo	Sat Apr  7 11:01:08 2018	(r466714)
+++ branches/2018Q2/net/traefik/distinfo	Sat Apr  7 11:02:48 2018	(r466715)
@@ -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

Copied: branches/2018Q2/net/traefik/pkg-message (from r466714, head/net/traefik/pkg-message)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2018Q2/net/traefik/pkg-message	Sat Apr  7 11:02:48 2018	(r466715, copy of r466714, head/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.
+
+==============================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804071102.w37B2mvv099979>