Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: traefik-3.3.3 #54366

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions srcpkgs/traefik/files/traefik/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
exec 2>&1
exec traefik ${OPTS:---configFile=/etc/traefik.yml}

32 changes: 32 additions & 0 deletions srcpkgs/traefik/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Template file for 'traefik'
pkgname=traefik
version=3.3.3
revision=1
build_style=go
go_import_path="github.com/traefik/traefik/v3"
go_package="${go_import_path}/cmd/traefik"
short_desc="Cloud Native Application Proxy"
maintainer="fanyx <[email protected]>"
license="MIT"
homepage="https://traefik.io/"
changelog="https://raw.githubusercontent.com/traefik/traefik/v${version}/CHANGELOG.md"
distfiles="https://github.com/traefik/traefik/archive/v${version}.tar.gz"
checksum=b7deb42063f60abad2669129c1f565262e5c28ff0387627489c9faf56d6d4ed1
conf_files="/etc/traefik/traefik.yml"

post_install() {
vinstall traefik.sample.yml 644 /etc/traefik traefik.yml
vlicense LICENSE.md
vsv traefik
}

if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
# Checks are broken on x86, as they expect float64 values and 64-bit atomic
# operations
make_check=no
fi

# v3/integration requires running docker daemon
pre_check() {
make_check_target=$(go list ./... | grep -v github.com/traefik/traefik/v3/integration)
}