View | Details | Raw Unified | Return to bug 255044
Collapse All | Expand All

(-)b/MOVED (+1 lines)
Lines 16286-16288 security/netpgp||2021-04-12|Broken 12+, unmaintained upstream Link Here
16286
net/freenet6||2021-04-12|Broken 12+, service discontinued
16286
net/freenet6||2021-04-12|Broken 12+, service discontinued
16287
devel/sd-mux|devel/sd-mux-ctrl|2021-04-13|Renamed to match upstream naming
16287
devel/sd-mux|devel/sd-mux-ctrl|2021-04-13|Renamed to match upstream naming
16288
sysutils/sd-mux-ctrl|devel/sd-mux-ctrl|2021-04-13|Remove duplicate port
16288
sysutils/sd-mux-ctrl|devel/sd-mux-ctrl|2021-04-13|Remove duplicate port
16289
net/traefik2|net/traefik|2021-04-28|Superseded by net/traefik update
(-)b/net/Makefile (-1 lines)
Lines 1472-1478 Link Here
1472
    SUBDIR += toonel
1472
    SUBDIR += toonel
1473
    SUBDIR += torsocks
1473
    SUBDIR += torsocks
1474
    SUBDIR += traefik
1474
    SUBDIR += traefik
1475
    SUBDIR += traefik2
1476
    SUBDIR += traff
1475
    SUBDIR += traff
1477
    SUBDIR += trafshow
1476
    SUBDIR += trafshow
1478
    SUBDIR += trafshow3
1477
    SUBDIR += trafshow3
(-)a/net/traefik2/Makefile (-44 lines)
Removed Link Here
1
PORTNAME=	traefik2
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	2.2.0
4
DISTVERSIONSUFFIX=	-vendor
5
CATEGORIES=	net
6
7
MAINTAINER=	freebsd@funzi.org
8
COMMENT=	High availability reverse proxy and load balancer
9
10
LICENSE=	MIT
11
LICENSE_FILE=	${WRKSRC}/LICENSE.md
12
13
USES=		go:modules
14
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	Funzinator
17
GH_PROJECT=	traefik
18
GH_SUBDIR=	src/github.com/containous/traefik
19
20
USE_RC_SUBR=	traefik
21
22
GO_BUILDFLAGS=	-ldflags "-s -w \
23
		-X github.com/containous/traefik/v2/pkg/version.Version=${DISTVERSION} \
24
		-X github.com/containous/traefik/v2/pkg/version.Codename=chevrotin \
25
		-X github.com/containous/traefik/v2/pkg/version.BuildDate=`date -u '+%Y-%m-%d_%I:%M:%S%p'`"
26
GO_TARGET=	./cmd/traefik
27
CGO_ENABLED=	0
28
29
USERS=		traefik
30
GROUPS=		traefik
31
32
PLIST_FILES=	bin/traefik \
33
		"@sample etc/traefik.toml.sample"
34
35
post-patch:
36
	# Install a sample configuration file which works by default
37
	# without manual tweaking
38
	${REINPLACE_CMD} -e 's|:80|:8088|' -e 's|:443|:8443|' \
39
			 -e 's|\[docker|# \[docker|' ${WRKSRC}/traefik.sample.toml
40
41
post-install:
42
	${INSTALL_DATA} ${WRKSRC}/traefik.sample.toml ${STAGEDIR}${PREFIX}/etc/traefik.toml.sample
43
44
.include <bsd.port.mk>
(-)a/net/traefik2/distinfo (-3 lines)
Removed Link Here
1
TIMESTAMP = 1586190057
2
SHA256 (Funzinator-traefik-v2.2.0-vendor_GH0.tar.gz) = ae01a3d771a41944850c242f756a7edc6124969cbdc2d217039581514a085611
3
SIZE (Funzinator-traefik-v2.2.0-vendor_GH0.tar.gz) = 20733835
(-)a/net/traefik2/files/traefik.in (-51 lines)
Removed Link Here
1
#!/bin/sh
2
3
# PROVIDE: traefik
4
# REQUIRE: LOGIN
5
# KEYWORD: shutdown
6
#
7
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
8
# to enable this service:
9
#
10
# traefik_enable (bool):	Set to NO by default.
11
#				Set it to YES to enable traefik.
12
# traefik_user (user):		Set user to run traefik.
13
#				Default is "traefik".
14
# traefik_group (group):	Set group to run traefik.
15
#				Default is "traefik".
16
# traefik_conf (path):		Path to traefik configuration file.
17
#				Default is %%PREFIX%%/etc/traefik.toml
18
# traefik_env (vars):		Set environment variables used with traefik
19
#				Default is "".
20
#				These are necessary for ACME (Let's Encrypt)
21
#				configuration, see
22
#				https://docs.traefik.io/configuration/acme/
23
24
. /etc/rc.subr
25
26
name=traefik
27
rcvar=traefik_enable
28
29
load_rc_config $name
30
31
: ${traefik_enable:="NO"}
32
: ${traefik_user:="traefik"}
33
: ${traefik_group:="traefik"}
34
: ${traefik_conf:="%%PREFIX%%/etc/traefik.toml"}
35
: ${traefik_env:=""}
36
37
pidfile=/var/run/traefik.pid
38
procname="%%PREFIX%%/bin/traefik"
39
command="/usr/sbin/daemon"
40
command_args="-f -p ${pidfile} /usr/bin/env ${traefik_env} ${procname} --configFile=${traefik_conf} ${traefik_args}"
41
42
start_precmd=traefik_startprecmd
43
44
traefik_startprecmd()
45
{
46
        if [ ! -e ${pidfile} ]; then
47
                install -o ${traefik_user} -g ${traefik_group} /dev/null ${pidfile};
48
        fi
49
}
50
51
run_rc_command "$1"
(-)a/net/traefik2/pkg-descr (-6 lines)
Removed Link Here
1
Traefik (pronounced like traffic) is a modern HTTP reverse proxy and load
2
balancer made to deploy microservices with ease. It supports several backends
3
(Docker, Swarm mode, Kubernetes, Marathon, Consul, Etcd, Rancher, Amazon ECS,
4
and a lot more) to manage its configuration automatically and dynamically.
5
6
WWW: https://traefik.io/
(-)a/net/traefik2/pkg-message (-21 lines)
Removed Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
Note that traefik starts as unprivileged user. Thus, it cannot
5
bind to privileged ports (by default, ports below 1024) and
6
will exit when configured to do so.
7
8
If traefik should serve ports in the privileged range, there
9
are options to achieve this:
10
- Have traffic bind to an unprivileged port and use the
11
  packet filter configuration to redirect requests to the
12
  desired privileged port to the unprivileged port in
13
  traefik's configuration file e.g. the rdr rules in pf(4).
14
- The mac_portacl kernel module allows unprivileged processes
15
  to bind to privileged ports.
16
17
Note: If you are upgrading from traefik 1.x keep in mind that
18
the configuration is not compatible.
19
EOM
20
}
21
]

Return to bug 255044