pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/syncthing net/syncthing: Disable upgrade checks



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91655f7b284a
branches:  trunk
changeset: 399662:91655f7b284a
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Tue Aug 13 23:41:29 2019 +0000

description:
net/syncthing: Disable upgrade checks

syncthing phones home to check the version; not only is this a privacy
leak, but pkgsrc does updates differently so it isn't really useful.
Add a flag to the build to disable this.

>From pkg/53951 by Daniel Ziltener.

diffstat:

 net/syncthing/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a0ed6d71920c -r 91655f7b284a net/syncthing/Makefile
--- a/net/syncthing/Makefile    Tue Aug 13 22:50:58 2019 +0000
+++ b/net/syncthing/Makefile    Tue Aug 13 23:41:29 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2019/07/14 20:48:39 triaxx Exp $
+# $NetBSD: Makefile,v 1.93 2019/08/13 23:41:29 gdt Exp $
 
 # Upstream used to frequently break protocol compatibility.  While
 # users of pkgsrc syncthing on multiple systems can update
@@ -16,6 +16,7 @@
 # a fuller explanation.
 DISTNAME=      syncthing-source-v1.2.0
 PKGNAME=       ${DISTNAME:S,source-v,,}
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=syncthing/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
@@ -73,7 +74,7 @@
 RCD_SCRIPTS+=          syncthing
 
 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:



Home | Main Index | Thread Index | Old Index