FreeBSD Bugzilla – Attachment 212530 Details for
Bug 244913
[NEW PORT] net/traefik2 High availability reverse proxy and load balancer (Version 2.x)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
net/traefik2 shar
traefik2.shar (text/plain), 5.22 KB, created by
Christopher Beppler
on 2020-03-19 16:39:30 UTC
(
hide
)
Description:
net/traefik2 shar
Filename:
MIME Type:
Creator:
Christopher Beppler
Created:
2020-03-19 16:39:30 UTC
Size:
5.22 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># traefik2 ># traefik2/Makefile ># traefik2/distinfo ># traefik2/files ># traefik2/files/traefik.in ># traefik2/pkg-descr ># traefik2/pkg-message ># >echo c - traefik2 >mkdir -p traefik2 > /dev/null 2>&1 >echo x - traefik2/Makefile >sed 's/^X//' >traefik2/Makefile << 'aa7d05985f10ec6d378e865e0856b1b0' >X# $FreeBSD$ >X >XPORTNAME= traefik2 >XDISTVERSIONPREFIX= v >XDISTVERSION= 2.1.7 >XCATEGORIES= net >X >XMAINTAINER= freebsd@funzi.org >XCOMMENT= High availability reverse proxy and load balancer >X >XLICENSE= MIT >XLICENSE_FILE= ${WRKSRC}/LICENSE.md >X >XBUILD_DEPENDS= go-bindata:devel/go-bindata \ >X npm:www/npm-node12 >X >XUSES= go:modules >X >XUSE_GITHUB= yes >XGH_ACCOUNT= containous >XGH_PROJECT= traefik >XGH_SUBDIR= src/github.com/containous/traefik >X >XUSE_RC_SUBR= traefik >X >XGO_BUILDFLAGS= -ldflags "-s -w \ >X -X github.com/containous/traefik/version.Version=${DISTVERSION} \ >X -X github.com/containous/traefik/version.BuildDate=`date -u '+%Y-%m-%d_%I:%M:%S%p'`" >XGO_TARGET= ./cmd/traefik >XCGO_ENABLED= 0 >X >XUSERS= traefik >XGROUPS= traefik >X >XPLIST_FILES= bin/traefik \ >X "@sample etc/traefik.toml.sample" >X >Xpost-patch: >X # Install a sample configuration file which works by default >X # without manual tweaking >X ${REINPLACE_CMD} -e 's|:80|:8088|' -e 's|:443|:8443|' \ >X -e 's|\[docker|# \[docker|' ${WRKSRC}/traefik.sample.toml >X >Xpre-build: >X cd ${GO_WRKSRC}/webui; npm install; npm run build:nc >X cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} generate >X cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} mod vendor >X >Xpost-install: >X ${INSTALL_DATA} ${WRKSRC}/traefik.sample.toml ${STAGEDIR}${PREFIX}/etc/traefik.toml.sample >X >X.include <bsd.port.mk> >aa7d05985f10ec6d378e865e0856b1b0 >echo x - traefik2/distinfo >sed 's/^X//' >traefik2/distinfo << '191edb0723febf7f85eee5f2d4bed747' >XTIMESTAMP = 1584627220 >XSHA256 (containous-traefik-v2.1.7_GH0.tar.gz) = 54c8a88964fe33ca468534a4e561a4f1273b2615c6a87abc01ef295414f97d70 >XSIZE (containous-traefik-v2.1.7_GH0.tar.gz) = 6789471 >191edb0723febf7f85eee5f2d4bed747 >echo c - traefik2/files >mkdir -p traefik2/files > /dev/null 2>&1 >echo x - traefik2/files/traefik.in >sed 's/^X//' >traefik2/files/traefik.in << '3d97347f2927f68f6f0fd0d9ba4dbfd7' >X#!/bin/sh >X >X# $FreeBSD: head/net/traefik/files/traefik.in 452063 2017-10-14 12:58:24Z riggs $ >X# >X# PROVIDE: traefik >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X# >X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# traefik_enable (bool): Set to NO by default. >X# Set it to YES to enable traefik. >X# traefik_user (user): Set user to run traefik. >X# Default is "traefik". >X# traefik_group (group): Set group to run traefik. >X# Default is "traefik". >X# traefik_conf (path): Path to traefik configuration file. >X# Default is %%PREFIX%%/etc/traefik.toml >X# traefik_env (vars): Set environment variables used with traefik >X# Default is "". >X# These are necessary for ACME (Let's Encrypt) >X# configuration, see >X# https://docs.traefik.io/configuration/acme/ >X >X. /etc/rc.subr >X >Xname=traefik >Xrcvar=traefik_enable >X >Xload_rc_config $name >X >X: ${traefik_enable:="NO"} >X: ${traefik_user:="traefik"} >X: ${traefik_group:="traefik"} >X: ${traefik_conf:="%%PREFIX%%/etc/traefik.toml"} >X: ${traefik_env:=""} >X >Xpidfile=/var/run/traefik.pid >Xprocname="%%PREFIX%%/bin/traefik" >Xcommand="/usr/sbin/daemon" >Xcommand_args="-f -p ${pidfile} /usr/bin/env ${traefik_env} ${procname} --configFile=${traefik_conf} ${traefik_args}" >X >Xstart_precmd=traefik_startprecmd >X >Xtraefik_startprecmd() >X{ >X if [ ! -e ${pidfile} ]; then >X install -o ${traefik_user} -g ${traefik_group} /dev/null ${pidfile}; >X fi >X} >X >Xrun_rc_command "$1" >3d97347f2927f68f6f0fd0d9ba4dbfd7 >echo x - traefik2/pkg-descr >sed 's/^X//' >traefik2/pkg-descr << 'e754c65f4337988a27b5d6f5d1468a44' >XTraefik (pronounced like traffic) is a modern HTTP reverse proxy and load >Xbalancer made to deploy microservices with ease. It supports several backends >X(Docker, Swarm mode, Kubernetes, Marathon, Consul, Etcd, Rancher, Amazon ECS, >Xand a lot more) to manage its configuration automatically and dynamically. >X >XWWW: https://traefik.io/ >e754c65f4337988a27b5d6f5d1468a44 >echo x - traefik2/pkg-message >sed 's/^X//' >traefik2/pkg-message << '2449b11183f6f94965d51853d69c99e3' >X[ >X{ type: install >X message: <<EOM >XNote that traefik starts as unprivileged user. Thus, it cannot >Xbind to privileged ports (by default, ports below 1024) and >Xwill exit when configured to do so. >X >XIf traefik should serve ports in the privileged range, there >Xare options to achieve this: >X- Have traffic bind to an unprivileged port and use the >X packet filter configuration to redirect requests to the >X desired privileged port to the unprivileged port in >X traefik's configuration file e.g. the rdr rules in pf(4). >X- The mac_portacl kernel module allows unprivileged processes >X to bind to privileged ports. >X >XNote: If you are upgrading from traefik 1.x keep in mind that >Xthe configuration is not compatible. >XEOM >X} >X] >2449b11183f6f94965d51853d69c99e3 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 244913
:
212530
|
212547