fix full relro
This commit is contained in:
parent
9f81689a5d
commit
4d5549b180
7
PKGBUILD
7
PKGBUILD
@ -1,7 +1,7 @@
|
|||||||
# Maintainer : Christian Rebischke <chris.rebischke@archlinux.org>
|
# Maintainer : Christian Rebischke <chris.rebischke@archlinux.org>
|
||||||
|
|
||||||
pkgname=traefik
|
pkgname=traefik
|
||||||
pkgver=2.3.1
|
pkgver=2.4.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Modern reverse proxy written in Go"
|
pkgdesc="Modern reverse proxy written in Go"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -16,7 +16,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/traefik/rele
|
|||||||
'traefik.service'
|
'traefik.service'
|
||||||
'traefik.sysusers')
|
'traefik.sysusers')
|
||||||
noextract=("${pkgname}-${pkgver}.tar.gz")
|
noextract=("${pkgname}-${pkgver}.tar.gz")
|
||||||
sha512sums=('780b39c94544b36159fdd6753f384bedde4bdd4ded1209838a2bf6c8643f32048daa695f6a873161a8ed5aecf9b63046fd9e7166edfa1d076790e51ac3b032c5'
|
sha512sums=('77796e039b33e23a597635c5b1f51e96af9b9d53f767802137b8d5cc669261fda6f82f461f557a414955743d3976efb0dd287bc6446280381211f8233b525b80'
|
||||||
'25ab1113bb69936c443fe49d5d3da7d39171fc82e8fa06f46ed4e2dfcaa89685d50ca50b58c32215852d79e5c8d4736a287c15b75420c78a853c51502cb2641a'
|
'25ab1113bb69936c443fe49d5d3da7d39171fc82e8fa06f46ed4e2dfcaa89685d50ca50b58c32215852d79e5c8d4736a287c15b75420c78a853c51502cb2641a'
|
||||||
'5fecfed5df77bf28c2c976ebaebedb030904d41509e740821140a4889bda20327f416e78f8d19b0ee78c8bc422d1907ce05ef3562e4d3e36ddfbdbea5e860b2a')
|
'5fecfed5df77bf28c2c976ebaebedb030904d41509e740821140a4889bda20327f416e78f8d19b0ee78c8bc422d1907ce05ef3562e4d3e36ddfbdbea5e860b2a')
|
||||||
|
|
||||||
@ -31,11 +31,10 @@ build() {
|
|||||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||||
export CGO_LDFLAGS="${LDFLAGS}"
|
export CGO_LDFLAGS="${LDFLAGS}"
|
||||||
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
|
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
|
||||||
export GOLDFLAGS="-linkmode=external"
|
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
go generate
|
go generate
|
||||||
cd cmd/traefik
|
cd cmd/traefik
|
||||||
go build
|
go build -ldflags="-linkmode=external"
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user