SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
net/syncthing/patches/patch-lib_build_build_go
Normal file
14
net/syncthing/patches/patch-lib_build_build_go
Normal file
|
@ -0,0 +1,14 @@
|
|||
Disable phone-home calls / anonymous usage reporting
|
||||
|
||||
Index: lib/build/build.go
|
||||
--- lib/build/build.go.orig
|
||||
+++ lib/build/build.go
|
||||
@@ -73,7 +73,7 @@ func setBuildData() {
|
||||
|
||||
exp := regexp.MustCompile(`^v\d+\.\d+\.\d+(-[a-z]+[\d\.]+)?$`)
|
||||
IsRelease = exp.MatchString(Version)
|
||||
- IsCandidate = strings.Contains(Version, "-rc.")
|
||||
+ IsCandidate = false
|
||||
IsBeta = strings.Contains(Version, "-")
|
||||
|
||||
stamp, _ := strconv.Atoi(Stamp)
|
Loading…
Add table
Add a link
Reference in a new issue