From owner-svn-ports-head@freebsd.org Thu Apr 4 16:53:39 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E21BB15769F3; Thu, 4 Apr 2019 16:53:38 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 838D9824A6; Thu, 4 Apr 2019 16:53:38 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 48CDB3ED; Thu, 4 Apr 2019 16:53:38 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x34GrcK8017475; Thu, 4 Apr 2019 16:53:38 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x34GrbMm017472; Thu, 4 Apr 2019 16:53:37 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201904041653.x34GrbMm017472@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Thu, 4 Apr 2019 16:53:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497854 - in head/net/syncthing: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/net/syncthing: . files X-SVN-Commit-Revision: 497854 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 838D9824A6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 16:53:39 -0000 Author: swills Date: Thu Apr 4 16:53:37 2019 New Revision: 497854 URL: https://svnweb.freebsd.org/changeset/ports/497854 Log: net/syncthing: update to 1.1.1 Added: head/net/syncthing/files/patch-syncthing_build.go (contents, props changed) Modified: head/net/syncthing/Makefile (contents, props changed) head/net/syncthing/distinfo (contents, props changed) Modified: head/net/syncthing/Makefile ============================================================================== --- head/net/syncthing/Makefile Thu Apr 4 16:44:51 2019 (r497853) +++ head/net/syncthing/Makefile Thu Apr 4 16:53:37 2019 (r497854) @@ -1,22 +1,24 @@ # $FreeBSD$ PORTNAME= syncthing -PORTVERSION= 1.0.0 +PORTVERSION= 1.1.1 DISTVERSIONPREFIX= v CATEGORIES= net +MASTER_SITES= https://github.com/syncthing/syncthing/releases/download/v${PORTVERSION}/ +DISTNAME= ${PORTNAME}-source-${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= swills@FreeBSD.org COMMENT= Encrypted file sync tool +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/${PORTNAME}/LICENSE + BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go -USE_GITHUB= yes -GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME} USE_RC_SUBR= syncthing syncthing-discosrv syncthing-relaysrv syncthing-relaypoolsrv -BINS= stbench stcli stcompdirs stdisco stdiscosrv stevents stfileinfo \ - stfinddevice stgenfiles stindex strelaypoolsrv strelaysrv \ - stsigtool sttestutil stvanity stwatchfile syncthing +BINS= syncthing stdiscosrv strelaysrv strelaypoolsrv + .for x in ${BINS} PLIST_FILES+= bin/${x} .endfor @@ -28,20 +30,24 @@ GROUPS= syncthing OPTIONS_DEFINE= DOCS +NO_WRKSUBDIR= yes + do-build: - @cd ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME} ; \ - ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 go run build.go -no-upgrade=true -version v${PORTVERSION} - @${MV} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/bin/testutil \ - ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/bin/sttestutil + @( cd ${WRKSRC}/${PORTNAME} ; \ + ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOFLAGS="-mod=vendor" go run build.go -version v${PORTVERSION} -no-upgrade build ; \ + ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOFLAGS="-mod=vendor" go run build.go -version v${PORTVERSION} -no-upgrade build stdiscosrv ; \ + ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOFLAGS="-mod=vendor" go run build.go -version v${PORTVERSION} -no-upgrade build strelaysrv ; \ + ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOFLAGS="-mod=vendor" go run build.go -version v${PORTVERSION} -no-upgrade build strelaypoolsrv ; \ + ) do-install: .for x in ${BINS} - ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/bin/${x} \ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${x} \ ${STAGEDIR}${PREFIX}/bin/ .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in AUTHORS LICENSE README.md - ${INSTALL_DATA} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/${x} \ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${x} \ ${STAGEDIR}${DOCSDIR} .endfor Modified: head/net/syncthing/distinfo ============================================================================== --- head/net/syncthing/distinfo Thu Apr 4 16:44:51 2019 (r497853) +++ head/net/syncthing/distinfo Thu Apr 4 16:53:37 2019 (r497854) @@ -1,3 +1,3 @@ -TIMESTAMP = 1546704293 -SHA256 (syncthing-syncthing-v1.0.0_GH0.tar.gz) = 737161bc87c1f414c142d95e04102de2bbdc8b0bfff908a114898305956a16c1 -SIZE (syncthing-syncthing-v1.0.0_GH0.tar.gz) = 10601948 +TIMESTAMP = 1554384503 +SHA256 (syncthing-source-v1.1.1.tar.gz) = a796583c12894765394be38e8de858705491dc674289bb6936e68aeb4be23477 +SIZE (syncthing-source-v1.1.1.tar.gz) = 6966579 Added: head/net/syncthing/files/patch-syncthing_build.go ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/syncthing/files/patch-syncthing_build.go Thu Apr 4 16:53:37 2019 (r497854) @@ -0,0 +1,11 @@ +--- syncthing/build.go.orig 2019-04-04 16:46:36 UTC ++++ syncthing/build.go +@@ -398,7 +398,7 @@ func build(target target, tags []string) { + + rmr(target.BinaryName()) + +- args := []string{"build", "-v"} ++ args := []string{"build"} + args = appendParameters(args, tags, target) + + os.Setenv("GOOS", goos)