Update to syncthing-0.14.43.

From Björn Ketelaars. OK awolk@, thanks.
This commit is contained in:
edd 2018-02-05 11:53:03 +00:00
parent be8833a5bc
commit b07ade7891
3 changed files with 15 additions and 15 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.18 2018/01/11 19:27:08 rpe Exp $
# $OpenBSD: Makefile,v 1.19 2018/02/05 11:53:03 edd Exp $
COMMENT = open decentralized synchronization utility
V = 0.14.30
V = 0.14.43
DISTNAME = syncthing-${V}
DISTFILES = syncthing-source-v${V}${EXTRACT_SUFX}
REVISION = 0
CATEGORIES = net
HOMEPAGE = https://syncthing.net/

View File

@ -1,2 +1,2 @@
SHA256 (syncthing-source-v0.14.30.tar.gz) = zBrYIfGE7usYO23/Bzb1TtXj5DEPddjYPR/29GD3yp8=
SIZE (syncthing-source-v0.14.30.tar.gz) = 5593753
SHA256 (syncthing-source-v0.14.43.tar.gz) = uwJQ4Lr85pCozj9D8KuDSYdKwcjzzcIk7V0BEAmbvZw=
SIZE (syncthing-source-v0.14.43.tar.gz) = 9762513

View File

@ -1,21 +1,22 @@
$OpenBSD: patch-build_go,v 1.4 2017/03/22 13:42:12 edd Exp $
--- build.go.orig Wed Mar 1 21:27:02 2017
+++ build.go Wed Mar 1 21:27:02 2017
@@ -436,7 +436,7 @@ func install(target target, tags []string) {
$OpenBSD: patch-build_go,v 1.5 2018/02/05 11:53:03 edd Exp $
Index: build.go
--- build.go.orig
+++ build.go
@@ -419,7 +419,7 @@ func install(target target, tags []string) {
log.Fatal(err)
}
os.Setenv("GOBIN", filepath.Join(cwd, "bin"))
- args := []string{"install", "-v", "-ldflags", ldflags()}
+ args := []string{"install", "-v", "-x", "-ldflags", ldflags()}
if len(tags) > 0 {
args = append(args, "-tags", strings.Join(tags, " "))
if pkgdir != "" {
args = append(args, "-pkgdir", pkgdir)
}
@@ -456,7 +456,7 @@ func build(target target, tags []string) {
@@ -445,7 +445,7 @@ func build(target target, tags []string) {
tags = append(target.tags, tags...)
rmr(target.binaryName)
rmr(target.BinaryName())
- args := []string{"build", "-i", "-v", "-ldflags", ldflags()}
+ args := []string{"build", "-i", "-v", "-x", "-ldflags", ldflags()}
if len(tags) > 0 {
args = append(args, "-tags", strings.Join(tags, " "))
if pkgdir != "" {
args = append(args, "-pkgdir", pkgdir)
}