hashworks pushed to branch main at Arch Linux / Packaging / Packages / gitleaks
Commits:
f90a1b84 by Justin Kromlinger at 2023-10-30T17:09:18+01:00
upgpkg: 8.18.0-3: Add version flag
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = gitleaks
pkgdesc = Audit Git repos for secrets and keys
pkgver = 8.18.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/gitleaks/gitleaks
arch = x86_64
arch = i686
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
pkgname=gitleaks
pkgver=8.18.0
-pkgrel=2
+pkgrel=3
pkgdesc='Audit Git repos for secrets and keys'
url=https://github.com/gitleaks/gitleaks
arch=('x86_64' 'i686')
@@ -23,7 +23,7 @@ build() {
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external
-mod=readonly -modcacherw"
- go build .
+ go build -ldflags
"-X=github.com/zricethezav/gitleaks/v8/cmd.Version=${pkgver}" .
}
check() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gitleaks/-/commit/f90a1b8440da73f303f035e9b686b5060f1773ed
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gitleaks/-/commit/f90a1b8440da73f303f035e9b686b5060f1773ed
You're receiving this email because of your account on gitlab.archlinux.org.