Hi,
Here's an update to syncthing-1.1.1.
I've also enabled installation of the other binaries that come with
Synchting.
I'll be testing over the next couple of days.
Thanks
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/syncthing/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile 7 Feb 2019 15:50:09 -0000 1.24
+++ Makefile 21 Apr 2019 11:19:06 -0000
@@ -2,7 +2,7 @@
COMMENT = open decentralized synchronization utility
-V = 1.0.1
+V = 1.1.1
DISTNAME = syncthing-${V}
DISTFILES = syncthing-source-v${V}${EXTRACT_SUFX}
@@ -37,8 +37,7 @@ do-test:
cd ${WRKSRC} && ${MODGO_CMD} run build.go test
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/syncthing ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/stcli ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin/
.for sec in 1 5 7
${INSTALL_MAN} ${WRKSRC}/man/*.${sec} ${PREFIX}/man/man${sec}/
.endfor
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/syncthing/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo 7 Feb 2019 15:50:09 -0000 1.15
+++ distinfo 21 Apr 2019 11:20:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (syncthing-source-v1.0.1.tar.gz) =
w2KR786nkN+ds7Z6OaZOMqdzMkiava6CYKKV2ukBWj0=
-SIZE (syncthing-source-v1.0.1.tar.gz) = 6876569
+SHA256 (syncthing-source-v1.1.1.tar.gz) =
p5ZYPBKJR2U5S+OOjehYcFSR3GdCibtpNuaK60viNHc=
+SIZE (syncthing-source-v1.1.1.tar.gz) = 6966579
Index: patches/patch-build_go
===================================================================
RCS file: /cvs/ports/net/syncthing/patches/patch-build_go,v
retrieving revision 1.7
diff -u -p -r1.7 patch-build_go
--- patches/patch-build_go 7 Feb 2019 15:50:09 -0000 1.7
+++ patches/patch-build_go 21 Apr 2019 11:00:23 -0000
@@ -2,7 +2,7 @@ $OpenBSD: patch-build_go,v 1.7 2019/02/0
Index: build.go
--- build.go.orig
+++ build.go
-@@ -186,6 +186,20 @@ var targets = map[string]target{
+@@ -188,6 +188,20 @@ var targets = map[string]target{
{src: "AUTHORS", dst:
"deb/usr/share/doc/syncthing-relaypoolsrv/AUTHORS.txt", perm: 0644},
},
},
@@ -22,8 +22,8 @@ Index: build.go
+ },
}
- func init() {
-@@ -490,7 +504,7 @@ func appendParameters(args []string, tags []string, ta
+ // These are repos we need to clone to run "go generate"
+@@ -435,7 +449,7 @@ func appendParameters(args []string, tags []string, ta
if !debugBinary {
// Regular binaries get version tagged and skip some debug
symbols
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/syncthing/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST 7 Feb 2019 15:50:09 -0000 1.5
+++ pkg/PLIST 21 Apr 2019 11:00:23 -0000
@@ -8,8 +8,26 @@
@extraunexec rm -rf ${VARBASE}/syncthing/{.,}*
@owner
@group
-@bin bin/syncthing
+@bin bin/stbench
@bin bin/stcli
+@bin bin/stcompdirs
+@bin bin/stdisco
+@bin bin/stdiscosrv
+@bin bin/stevents
+@bin bin/stfileinfo
+@bin bin/stfinddevice
+@bin bin/stfindignored
+@bin bin/stgenfiles
+@bin bin/stindex
+@bin bin/strelaypoolsrv
+@bin bin/strelaysrv
+@bin bin/stsigtool
+@bin bin/stvanity
+@bin bin/stwatchfile
+@bin bin/syncthing
+@bin bin/testutil
+@bin bin/uraggregate
+@bin bin/ursrv
@man man/man1/stdiscosrv.1
@man man/man1/strelaysrv.1
@man man/man1/syncthing.1
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk