From nobody Tue Apr 11 21:42:55 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pwzpm0fxYz44dhq; Tue, 11 Apr 2023 21:42:56 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pwzpm0CCQz3yKm; Tue, 11 Apr 2023 21:42:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681249376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BdjE45W4HonCfFVKOACZhIIw3R8Y1D8qByKtCWxzIoc=; b=flJ7YKske6kUZjFWjCUjznDzMiOLTLCVcjhcgIUxuNLQhRZiDff6kIOXVaiQw4UfOr8OFr /IzN4zwBSaQGfkvFpASv9XRJaZOy4Z8P2oczAiTCj9K0yh6FpIRko85As0FH5RKN1cNqjb 1O81xaexCAJ+DAmBwq4iMXM455UqQ4/4A/ygfL7rdGEnpyXdA+W+Q7B7F4h8hrtM3i3lEv 2SA/ZCLKU/5Zbut5OS9TF23swsjnUb88/fB0x/X8+qC//a0tnnqiSkixGeVpve5Ken+0sW PgWq1zyKYzI4KqRzT9lx0nJ7/6PX/vRzt75DKDWVG20WzWtEsrt/EL2UQ2enNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681249376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BdjE45W4HonCfFVKOACZhIIw3R8Y1D8qByKtCWxzIoc=; b=NkhsRBgEoHdLpQ5MYUfrULnhqpQUOk3TtPJe5FzzYQhHAAqE94ZkK1P7ZLwfSKY6fuSVm1 St3Eh8AqMOh8wRiqw0gtUI5kOvU4vk5qOuekfLXaU1uOFHZM+6z3/vKGEVzE0oGZZ+gEka KvMbaH4laSJybU6WF9db5DG62+f3Wsa22fj50IMSXFlE0MjpjJwkA8ulm3zVPJOwGhg8AF xEqQXH3NhX+wMMAnf7evvAsU1aMdnYpxNMfI36wX2iqPFjdUQIAfzVpfl9IhegKctjaC// mhv6nLPqgUSBxQS/TVpLqZhb48S7vU3KT5b2zFU+v1EdztjdLahlxMFgCBA8Tg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681249376; a=rsa-sha256; cv=none; b=as3rLdZmVVntIZMntqOiK81RXNUkL76zZesh6IAXX6122KThQEwryey+L6YmAUr6T69csw pUQUa4vXQM87ly3R0E32BtKf6lsSjni5Vl49rV7glOHu7PrkXgHiTPdEYIsG4bSUqRFLpQ uq1WSSUrfDfxePf8ubEHrRw5mGYL4nQPjABwCMTvAHqJv66koOiQr6mulbQvw/TtIAVcqp PJSqJXaIWav85mrWCoymiiI4ro0jl6ORgl3dQ3CcwcRh+nax4o9IdGmt2YB3zmUGTum7Nh VXKQ7S9G12nsxgV9D/xveY0h7bgl1uGKLmiF3hwfMEG819cqg4DPB0iRtnk8Rw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pwzpl6NZ0zZ8t; Tue, 11 Apr 2023 21:42:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33BLgt9K040037; Tue, 11 Apr 2023 21:42:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33BLgtbo040036; Tue, 11 Apr 2023 21:42:55 GMT (envelope-from git) Date: Tue, 11 Apr 2023 21:42:55 GMT Message-Id: <202304112142.33BLgtbo040036@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: 471f9291a828 - main - net/syncthing: Add test target List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 471f9291a828f3b5824d942c8f85fea57fb53506 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=471f9291a828f3b5824d942c8f85fea57fb53506 commit 471f9291a828f3b5824d942c8f85fea57fb53506 Author: Dan Langille AuthorDate: 2023-04-11 21:40:25 +0000 Commit: Dan Langille CommitDate: 2023-04-11 21:40:25 +0000 net/syncthing: Add test target This also moves from PORTVERSION to DISTVERSION PR: 270722 --- net/syncthing/Makefile | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile index 8493a4250afd..0e584f51c181 100644 --- a/net/syncthing/Makefile +++ b/net/syncthing/Makefile @@ -1,10 +1,10 @@ PORTNAME= syncthing -PORTVERSION= 1.23.4 +DISTVERSION= 1.23.4 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= net -MASTER_SITES= https://github.com/syncthing/syncthing/releases/download/v${PORTVERSION}/ -DISTNAME= ${PORTNAME}-source-${DISTVERSIONPREFIX}${PORTVERSION} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ +DISTNAME= ${PORTNAME}-source-${DISTVERSIONFULL} MAINTAINER= dvl@FreeBSD.org COMMENT= Encrypted file sync tool @@ -37,10 +37,15 @@ NO_WRKSUBDIR= yes do-build: @( cd ${WRKSRC}/${PORTNAME} ; \ - ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${PORTVERSION} -no-upgrade build ; \ - ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${PORTVERSION} -no-upgrade build stdiscosrv; \ - ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${PORTVERSION} -no-upgrade build strelaysrv; \ - ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${PORTVERSION} -no-upgrade build strelaypoolsrv; \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade build ; \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade build stdiscosrv; \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade build strelaysrv; \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade build strelaypoolsrv; \ + ) + +do-test: + @( cd ${WRKSRC}/${PORTNAME} ; \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade test ; \ ) do-install: