From 4d5549b1807f0cbd95abc56f3f76b43a07fc442f Mon Sep 17 00:00:00 2001 From: Christian Rebischke Date: Sat, 6 Feb 2021 19:31:42 +0000 Subject: [PATCH] fix full relro --- PKGBUILD | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 862b859..1e681c0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer : Christian Rebischke 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 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/traefik/rele 'traefik.service' 'traefik.sysusers') noextract=("${pkgname}-${pkgver}.tar.gz") -sha512sums=('780b39c94544b36159fdd6753f384bedde4bdd4ded1209838a2bf6c8643f32048daa695f6a873161a8ed5aecf9b63046fd9e7166edfa1d076790e51ac3b032c5' +sha512sums=('77796e039b33e23a597635c5b1f51e96af9b9d53f767802137b8d5cc669261fda6f82f461f557a414955743d3976efb0dd287bc6446280381211f8233b525b80' '25ab1113bb69936c443fe49d5d3da7d39171fc82e8fa06f46ed4e2dfcaa89685d50ca50b58c32215852d79e5c8d4736a287c15b75420c78a853c51502cb2641a' '5fecfed5df77bf28c2c976ebaebedb030904d41509e740821140a4889bda20327f416e78f8d19b0ee78c8bc422d1907ce05ef3562e4d3e36ddfbdbea5e860b2a') @@ -31,11 +31,10 @@ build() { 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() {