diff options
Diffstat (limited to 'security/crowdsec/files/patch-Makefile')
| -rw-r--r-- | security/crowdsec/files/patch-Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/crowdsec/files/patch-Makefile b/security/crowdsec/files/patch-Makefile new file mode 100644 index 000000000000..909dceada263 --- /dev/null +++ b/security/crowdsec/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2021-11-17 09:15:38 UTC ++++ Makefile +@@ -42,7 +42,7 @@ BUILD_VERSION?="$(shell git describe --tags `git rev-l + BUILD_GOVERSION="$(shell go version | cut -d " " -f3 | sed -E 's/[go]+//g')" + BUILD_CODENAME=$(shell cat RELEASE.json | jq -r .CodeName) + BUILD_TIMESTAMP=$(shell date +%F"_"%T) +-BUILD_TAG="$(shell git rev-parse HEAD)" ++BUILD_TAG?="$(shell git rev-parse HEAD)" + + export LD_OPTS=-ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=$(BUILD_VERSION) \ + -X github.com/crowdsecurity/crowdsec/pkg/cwversion.System=$(SYSTEM) \ |
