From 9ddd540bd8f037519f531431acb17f1d9d284f08 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Tue, 30 Jul 2024 22:15:20 -0700 Subject: [PATCH] upgpkg: 3.1.1-1 --- .SRCINFO | 10 +++++----- PKGBUILD | 17 ++++++++++------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index cdce686..f8ffb60 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,23 +1,23 @@ pkgbase = traefik pkgdesc = Modern reverse proxy written in Go - pkgver = 2.10.5 + pkgver = 3.1.1 pkgrel = 1 url = https://github.com/traefik/traefik arch = x86_64 license = MIT makedepends = go - makedepends = go-bindata-hashicorp makedepends = patch depends = glibc - noextract = traefik-2.10.5.tar.gz + noextract = traefik-3.1.1.tar.gz options = !lto + backup = etc/traefik/acme.json backup = etc/traefik/traefik.toml backup = etc/traefik/traefik.yaml backup = etc/traefik/traefik.yml - source = traefik-2.10.5.tar.gz::https://github.com/containous/traefik/releases/download/v2.10.5/traefik-v2.10.5.src.tar.gz + source = traefik-3.1.1.tar.gz::https://github.com/traefik/traefik/releases/download/v3.1.1/traefik-v3.1.1.src.tar.gz source = traefik.service source = traefik.sysusers - sha512sums = f92ece277c4ed12823899897b1a07b01e5bcdffde85369ce72a1eb3907f27597d350bd3d9e9627e645a5bd265daf971595af81b78d17e74261ce289df2036925 + sha512sums = c9626e120ceb624f482f61c2ac9c4eb754f1d9bb01ca151810a14bccaf20a0d6e995836e8db6ba45d92d4efbcde7b94f89b82b2176ebf92c9bb12035a3d5a0bd sha512sums = 25ab1113bb69936c443fe49d5d3da7d39171fc82e8fa06f46ed4e2dfcaa89685d50ca50b58c32215852d79e5c8d4736a287c15b75420c78a853c51502cb2641a sha512sums = 5fecfed5df77bf28c2c976ebaebedb030904d41509e740821140a4889bda20327f416e78f8d19b0ee78c8bc422d1907ce05ef3562e4d3e36ddfbdbea5e860b2a diff --git a/PKGBUILD b/PKGBUILD index d1f0d86..84792c3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer : Christian Rebischke pkgname=traefik -pkgver=3.0.4 +pkgver=3.1.1 pkgrel=1 pkgdesc="Modern reverse proxy written in Go" arch=('x86_64') @@ -9,14 +9,17 @@ url="https://github.com/traefik/traefik" license=('MIT') makedepends=('go' 'patch') depends=('glibc') -backup=('etc/traefik/traefik.toml' +backup=( + 'etc/traefik/acme.json' + 'etc/traefik/traefik.toml' 'etc/traefik/traefik.yaml' - 'etc/traefik/traefik.yml') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/traefik/releases/download/v${pkgver}/traefik-v${pkgver}.src.tar.gz" + 'etc/traefik/traefik.yml' + ) +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/traefik/traefik/releases/download/v${pkgver}/traefik-v${pkgver}.src.tar.gz" 'traefik.service' 'traefik.sysusers') noextract=("${pkgname}-${pkgver}.tar.gz") -sha512sums=('f9be7d009be4d02c8909195d704e74df47800494c91ef3351da363c27ddadbb1d6dda78fc1436d6e841e3ceb58ba888efe8036920b4e927c6de5b01132f3e323' +sha512sums=('c9626e120ceb624f482f61c2ac9c4eb754f1d9bb01ca151810a14bccaf20a0d6e995836e8db6ba45d92d4efbcde7b94f89b82b2176ebf92c9bb12035a3d5a0bd' '25ab1113bb69936c443fe49d5d3da7d39171fc82e8fa06f46ed4e2dfcaa89685d50ca50b58c32215852d79e5c8d4736a287c15b75420c78a853c51502cb2641a' '5fecfed5df77bf28c2c976ebaebedb030904d41509e740821140a4889bda20327f416e78f8d19b0ee78c8bc422d1907ce05ef3562e4d3e36ddfbdbea5e860b2a') options=('!lto') @@ -51,7 +54,7 @@ package() { install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 "${srcdir}/traefik.service" "${pkgdir}/usr/lib/systemd/system/traefik.service" install -Dm644 "${srcdir}/traefik.sysusers" "${pkgdir}/usr/lib/sysusers.d/traefik.conf" + # create empty acme.json file, otherwise the service file will fail - mkdir -p "${pkgdir}/etc/traefik/" - touch "${pkgdir}/etc/traefik/acme.json" + install -Dm600 /dev/null "${pkgdir}/etc/traefik/acme.json" }