pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53951: Syncthing update



>Number:         53951
>Category:       pkg
>Synopsis:       Updates Syncthing to the current version
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 06 08:55:00 +0000 2019
>Originator:     "Daniel Ziltener" <dziltener%lyrion.ch@localhost>
>Release:        NetBSD 8.0
>Organization:
	
>Environment:
	
	
System: NetBSD lyrion.ch 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	
        The Syncthing version in pkgsrc is outdated. This patch fixes this.
>How-To-Repeat:
>Fix:
	
	diff -ENwbur /usr/pkgsrc/net/syncthing/Makefile /usr/pkgsrc/net/syncthing/Makefile
	--- /usr/pkgsrc/net/syncthing/Makefile	2019-02-06 09:29:24.601539771 +0100
	+++ /usr/pkgsrc/net/syncthing/Makefile	2019-02-06 09:29:03.343411651 +0100
	@@ -13,7 +13,7 @@
	 # Note that the android versioning is disconnected from syncthing versioning;
	 # see https://github.com/syncthing/syncthing-android/issues/652 for
	 # a fuller explanation.
	-DISTNAME=	syncthing-0.14.54
	+DISTNAME=	syncthing-1.0.1
	 PKGREVISION=	1
	 CATEGORIES=	net
	 MASTER_SITES=	${MASTER_SITE_GITHUB:=syncthing/}
	@@ -53,7 +53,7 @@
	 SUBST_SED.go+=		-e 's|go run|"${GO}" run|'
	 
	 do-build:
	-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO} run build.go build syncthing
	+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO} run build.go -no-upgrade build syncthing
	 
	 # Binaries other than syncthing proper should perhaps be installed.
	 do-install:
	diff -ENwbur /usr/pkgsrc/net/syncthing/distinfo /usr/pkgsrc/net/syncthing/distinfo
	--- /usr/pkgsrc/net/syncthing/distinfo	2019-02-06 09:29:24.602089382 +0100
	+++ /usr/pkgsrc/net/syncthing/distinfo	2019-02-06 09:30:15.501014646 +0100
	@@ -1,7 +1,6 @@
	 $NetBSD: distinfo,v 1.65 2018/12/06 07:09:07 wiz Exp $
	 
	-SHA1 (syncthing-0.14.54.tar.gz) = 0da0057c920d6382781435b6a1b091db0bbe1000
	-RMD160 (syncthing-0.14.54.tar.gz) = 5497738b8f293504e4e52924c7cf623c4d87396b
	-SHA512 (syncthing-0.14.54.tar.gz) = 979a4099e188d213d21b1b7b2a2baea7e7c65bda403713245f1d1c0f3fafd935c0697ea0283b77284e8e24325088e43756814c9ae24bbebb3526f91235e9ae82
	-Size (syncthing-0.14.54.tar.gz) = 10609474 bytes
	-SHA1 (patch-build.go) = 9fc31a4bcb251e299b671903f540839f45a9bf32
	+SHA1 (syncthing-1.0.1.tar.gz) = 2588cf71e6b1a4a3469a736087e2684d389a2646
	+RMD160 (syncthing-1.0.1.tar.gz) = 0b5b784ba883479068fcf0f79b56f27b42f865aa
	+SHA512 (syncthing-1.0.1.tar.gz) = 7f9fd48e00fae2f0913eb9eeddadaad1d5d7559164a24020706e70411f8ec43420192c4c9422699be6faa1641a382d5b8627038ca9a5dad38ee0e189970efbb7
	+Size (syncthing-1.0.1.tar.gz) = 7114455 bytes
	diff -ENwbur /usr/pkgsrc/net/syncthing/patches/CVS/Entries /usr/pkgsrc/net/syncthing/patches/CVS/Entries
	--- /usr/pkgsrc/net/syncthing/patches/CVS/Entries	2019-02-06 09:29:24.781066491 +0100
	+++ /usr/pkgsrc/net/syncthing/patches/CVS/Entries	2019-02-06 09:27:05.116574041 +0100
	@@ -1,2 +1,2 @@
	-/patch-build.go/1.1/Wed Feb  6 08:29:24 2019//Tpkgsrc-2018Q4
	+/patch-build.go/1.1/Mon Feb  4 13:03:35 2019//Tpkgsrc-2018Q4
	 D
	diff -ENwbur /usr/pkgsrc/net/syncthing/patches/patch-build.go /usr/pkgsrc/net/syncthing/patches/patch-build.go
	--- /usr/pkgsrc/net/syncthing/patches/patch-build.go	2019-02-06 09:29:24.779941946 +0100
	+++ /usr/pkgsrc/net/syncthing/patches/patch-build.go	1970-01-01 01:00:00.000000000 +0100
	@@ -1,19 +0,0 @@
	-$NetBSD: patch-build.go,v 1.1 2018/08/29 13:27:40 tnn Exp $
	-
	-Without this I get:
	-
	-open /usr/pkg/go/pkg/netbsd_amd64/runtime/cgo.a: permission denied
	-
	-when building as non-root.
	-
	---- build.go.orig	2018-07-10 15:40:06.000000000 +0000
	-+++ build.go
	-@@ -440,7 +440,7 @@ func build(target target, tags []string)
	- 
	- 	rmr(target.BinaryName())
	- 
	--	args := []string{"build", "-i", "-v"}
	-+	args := []string{"build", "-v"}
	- 	args = appendParameters(args, tags, target)
	- 
	- 	os.Setenv("GOOS", goos)

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index