Files
gopass/do-not-strip.patch
Marcus Rueckert 060bc316ca - Update to 1.16.0:
- [BUGFIX] reorg: List all secrets instead of just top-level
    folders (#3245)
  - [chore] Add capability and vulnerability checks (#3266)
  - [chore] Initial fixes and added a warning for CryptFS and JJFS
    (#3270)
  - [chore] Logging improvements (#3273)
  - [chore] Run linux builds with multiple Go versions (#3272)
  - [fix] Correctly handle IsGitCommit false in store.Move (#3246)
  - [fix] Drop Go 1.23 (#3274)
  - [fix] Fix clipboard issues (#3267)
  - [fix] Fix version check (#3268)
  - chore: Update golangci-lint (#3287)
  - docs: Add GoDoc to pkg and improve markdown files (#3251)
  - feat(age): Add unlock command to age agent (#3244)
  - feat: Add cryptfs storage backend for filename encryption
    (#3249)
  - feat: Clone remote on init (#3247)
  - fix: Fix release helper and update capabilities for caplos
    (#3288)
- remove the -w flag from the ldflags

OBS-URL: https://build.opensuse.org/package/show/security:privacy/gopass?expand=0&rev=31
2025-11-13 19:52:22 +00:00

14 lines
1.0 KiB
Diff

Index: gopass/Makefile
===================================================================
--- gopass.orig/Makefile
+++ gopass/Makefile
@@ -11,7 +11,7 @@ ZSH_COMPLETION_OUTPUT := zsh.complet
CLIPHELPERS ?= ""
# Support reproducible builds by embedding date according to SOURCE_DATE_EPOCH if present
DATE := $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" '+%FT%T%z' 2>/dev/null || date -u '+%FT%T%z')
-BUILDFLAGS_NOPIE := -buildvcs=true -tags=netgo -trimpath -ldflags="-s -w -X main.version=$(GOPASS_VERSION) -X main.commit=$(GOPASS_REVISION) -X main.date=$(DATE) $(CLIPHELPERS)" -gcflags="-trimpath=$(GOPATH)" -asmflags="-trimpath=$(GOPATH)"
+BUILDFLAGS_NOPIE := -tags=netgo -trimpath -ldflags="-X main.version=$(GOPASS_VERSION) -X main.commit=$(GOPASS_REVISION) -X main.date=$(DATE) $(CLIPHELPERS)" -gcflags="-trimpath=$(GOPATH)" -asmflags="-trimpath=$(GOPATH)"
BUILDFLAGS ?= $(BUILDFLAGS_NOPIE) -buildmode=pie
TESTFLAGS ?=
PWD := $(shell pwd)