[arch-commits] Commit in traefik/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Sat Feb 6 19:31:42 UTC 2021


    Date: Saturday, February 6, 2021 @ 19:31:42
  Author: shibumi
Revision: 847051

upgpkg: traefik 2.4.2-1 fix full relro

Modified:
  traefik/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-06 19:31:21 UTC (rev 847050)
+++ PKGBUILD	2021-02-06 19:31:42 UTC (rev 847051)
@@ -1,7 +1,7 @@
 # Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
 
 pkgname=traefik
-pkgver=2.3.1
+pkgver=2.4.2
 pkgrel=1
 pkgdesc="Modern reverse proxy written in Go"
 arch=('x86_64')
@@ -16,7 +16,7 @@
   'traefik.service'
   'traefik.sysusers')
 noextract=("${pkgname}-${pkgver}.tar.gz")
-sha512sums=('780b39c94544b36159fdd6753f384bedde4bdd4ded1209838a2bf6c8643f32048daa695f6a873161a8ed5aecf9b63046fd9e7166edfa1d076790e51ac3b032c5'
+sha512sums=('77796e039b33e23a597635c5b1f51e96af9b9d53f767802137b8d5cc669261fda6f82f461f557a414955743d3976efb0dd287bc6446280381211f8233b525b80'
             '25ab1113bb69936c443fe49d5d3da7d39171fc82e8fa06f46ed4e2dfcaa89685d50ca50b58c32215852d79e5c8d4736a287c15b75420c78a853c51502cb2641a'
             '5fecfed5df77bf28c2c976ebaebedb030904d41509e740821140a4889bda20327f416e78f8d19b0ee78c8bc422d1907ce05ef3562e4d3e36ddfbdbea5e860b2a')
 
@@ -31,11 +31,10 @@
   export CGO_CXXFLAGS="${CXXFLAGS}"
   export CGO_LDFLAGS="${LDFLAGS}"
   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  export GOLDFLAGS="-linkmode=external"
   cd "${srcdir}/${pkgname}-${pkgver}"
   go generate
   cd cmd/traefik
-  go build
+  go build -ldflags="-linkmode=external"
 }
 
 check() {


More information about the arch-commits mailing list