opnsense-ports/security/honeytrap/files/patch-cmd_constants.go
Franco Fichtner e702817f5d */*: sync with upstream
Taken from: HardenedBSD
2020-09-29 16:38:19 +02:00

21 lines
561 B
Go

--- cmd/constants.go.orig 2020-08-11 10:18:40 UTC
+++ cmd/constants.go
@@ -19,15 +19,12 @@ var (
// GOPATH - GOPATH value at the time of build.
GOPATH = ""
- // Go get development tag.
- goGetTag = "DEVELOPMENT.GOGET"
-
// Version - version time.RFC3339.
- Version = goGetTag
+ Version = ""
// ReleaseTag - release tag in TAG.%Y-%m-%dT%H-%M-%SZ.
- ReleaseTag = goGetTag
+ ReleaseTag = ""
// CommitID - latest commit id.
- CommitID = goGetTag
+ CommitID = ""
// ShortCommitID - first 12 characters from CommitID.
ShortCommitID = CommitID[:12]
)