Update net/syncthing to version 1.3.2.

OK gonzalo@ - thanks!
This commit is contained in:
edd 2020-01-03 17:57:34 +00:00
parent 48562cb22b
commit 6897277ccc
3 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.28 2019/11/10 12:06:38 edd Exp $
# $OpenBSD: Makefile,v 1.29 2020/01/03 17:57:34 edd Exp $
COMMENT = open decentralized synchronization utility
V = 1.3.0
V = 1.3.2
DISTNAME = syncthing-${V}
DISTFILES = syncthing-source-v${V}${EXTRACT_SUFX}

View File

@ -1,2 +1,2 @@
SHA256 (syncthing-source-v1.3.0.tar.gz) = aExHALb1HU/Im0IvvD8myucD30ZJ504geDwtDPhFU44=
SIZE (syncthing-source-v1.3.0.tar.gz) = 10250741
SHA256 (syncthing-source-v1.3.2.tar.gz) = DeMJa9MH1vhFojYQDm3DCWFFxR2FJEO1fNLFqaE4U3s=
SIZE (syncthing-source-v1.3.2.tar.gz) = 10337913

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-build_go,v 1.10 2019/11/10 12:06:38 edd Exp $
$OpenBSD: patch-build_go,v 1.11 2020/01/03 17:57:35 edd Exp $
Index: build.go
--- build.go.orig
+++ build.go
@ -11,7 +11,7 @@ Index: build.go
+ debname: "stcli",
+ debdeps: []string{"libc6"},
+ description: "Syncthing Commandline Interface",
+ buildPkg: "github.com/syncthing/syncthing/cmd/stcli",
+ buildPkgs: []string{"github.com/syncthing/syncthing/cmd/stcli"},
+ binaryName: "stcli", // .exe will be added automatically for Windows builds
+ archiveFiles: []archiveFile{
+ {src: "{{binary}}", dst: "{{binary}}", perm: 0755},
@ -23,12 +23,12 @@ Index: build.go
}
// These are repos we need to clone to run "go generate"
@@ -451,7 +465,7 @@ func appendParameters(args []string, tags []string, ta
@@ -466,7 +480,7 @@ func appendParameters(args []string, tags []string, pk
if !debugBinary {
// Regular binaries get version tagged and skip some debug symbols
- args = append(args, "-ldflags", ldflags())
+ args = append(args, "-x", "-ldflags", ldflags())
- args = append(args, "-ldflags", ldflags(path.Base(pkg)))
+ args = append(args, "-x", "-ldflags", ldflags(path.Base(pkg)))
} else {
// -gcflags to disable optimizations and inlining. Skip -ldflags
// because `Could not launch program: decoding dwarf section info at