Index: head/net/traefik/Makefile =================================================================== --- head/net/traefik/Makefile (revision 466713) +++ head/net/traefik/Makefile (revision 466714) @@ -1,64 +1,67 @@ # $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 MAINTAINER= riggs@FreeBSD.org COMMENT= High availability reverse proxy and load balancer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= go-bindata:devel/go-bindata USES= go USE_GITHUB= yes GH_ACCOUNT= containous GH_SUBDIR= src/github.com/containous/traefik USE_RC_SUBR= traefik USERS= traefik GROUPS= traefik PLIST_FILES= bin/traefik \ "@sample etc/traefik.toml.sample" TRAEFIK_BUILD_ENV= ${MAKE_ENV} \ CGO_ENABLED=0 TRAEFIK_LDARGS= -ldflags "-s -w \ -X github.com/containous/traefik/version.Version=${DISTVERSION} \ -X github.com/containous/traefik/version.BuildDate=`date -u '+%Y-%m-%d_%I:%M:%S%p'`" # Recipe for building the web UI # Note this is not done during a standard port build as # it downloads node modules from the internet during build. # Instead, we use the pre-generated from LOCAL. # BUILD_DEPENDS+= npm:www/npm \ # yarnpkg:www/yarn #USES+= python:2.7,build #pre-build: # @cd ${WRKSRC}/webui; \ # yarn install && \ # yarn run build 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; \ ${SETENV} ${BUILD_ENV} ${TRAEFIK_BUILD_ENV} GOPATH=${WRKSRC} go generate && \ ${SETENV} ${BUILD_ENV} ${TRAEFIK_BUILD_ENV} GOPATH=${WRKSRC} go build ${TRAEFIK_LDARGS} -v -x ./cmd/traefik do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/containous/traefik/traefik ${STAGEDIR}${PREFIX}/bin/traefik ${INSTALL_DATA} ${WRKSRC}/src/github.com/containous/traefik/traefik.sample.toml ${STAGEDIR}${PREFIX}/etc/traefik.toml.sample .include Index: head/net/traefik/distinfo =================================================================== --- head/net/traefik/distinfo (revision 466713) +++ head/net/traefik/distinfo (revision 466714) @@ -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 Index: head/net/traefik/pkg-message =================================================================== --- head/net/traefik/pkg-message (nonexistent) +++ head/net/traefik/pkg-message (revision 466714) @@ -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. + +============================================================== Property changes on: head/net/traefik/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property