Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / trivy


Commits:
345526fe by Robin Candau at 2025-09-29T21:31:15+02:00
upgpkg: 0.66.0-2: Make package reproducible

Set an empty build ID and strip debug info to make the package reproducible

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = trivy
        pkgdesc = A Simple and Comprehensive Vulnerability Scanner for 
Containers, Suitable for CI
        pkgver = 0.66.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/aquasecurity/trivy
        arch = x86_64
        license = Apache-2.0


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=trivy
 pkgver=0.66.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A Simple and Comprehensive Vulnerability Scanner for Containers, 
Suitable for CI'
 arch=('x86_64')
 url='https://github.com/aquasecurity/trivy'
@@ -35,7 +35,7 @@ build() {
   export CGO_LDFLAGS="${LDFLAGS}"
   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
 
-  GO_LDFLAGS="-linkmode=external -s -w 
-X=github.com/aquasecurity/trivy/pkg/version/app.ver=${pkgver}"
+  GO_LDFLAGS="-linkmode=external -s -w 
-X=github.com/aquasecurity/trivy/pkg/version/app.ver=${pkgver} -buildid=''"
 
   go build -ldflags "${GO_LDFLAGS}" .
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/trivy/-/commit/345526fe555a2f30d64bdb50c2b8f0ca538e8786

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/trivy/-/commit/345526fe555a2f30d64bdb50c2b8f0ca538e8786
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to