From nobody Wed Dec 22 16:03:27 2021 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 BBF12190A3B0; Wed, 22 Dec 2021 16:03:27 +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 4JJymH2D6xz3Cn8; Wed, 22 Dec 2021 16:03:27 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 2C37E1FF4B; Wed, 22 Dec 2021 16:03:27 +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 1BMG3Rs9075035; Wed, 22 Dec 2021 16:03:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BMG3Rvd075034; Wed, 22 Dec 2021 16:03:27 GMT (envelope-from git) Date: Wed, 22 Dec 2021 16:03:27 GMT Message-Id: <202112221603.1BMG3Rvd075034@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lewis Cook Subject: git: cc6aef99d65a - main - sysutils/zrepl: Include build version in command output 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: lcook X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cc6aef99d65a5cae3a48e007fa3036368938a153 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640189007; 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=rMATpJG5tKOD057lYF4Rkt3YWBSMhM07rEHShjaPvdU=; b=idFmpZJv+dwYroZQGa+TO5oGmtcsKNWmzxFf68NmWUroyYrn9q2TOJHHEjDsbNu3NxN6Rt AzA07gFOgWHc0TO0nBbdCTo/ZuL5TIEZEpxM9PvUKXTadrM2m4wMk3AUVB87QNmEtrK6Oo khHGGim86LfZMbxFOH8bxEcmYqB/GGZHHhdS0rYldyeAUB9trW4zJ+HUl8Fd58ieFavcoa lgOZfl0tFgCG/1dTCx8oQredHrWDxpgkVWQfFUW5WvzxOWD8X8OmL+XyHyf0Fc6WZNSYxg OVOPU75szQQY1WmgB8VHtaG5WFNFMpk8EE2g0awwMx9igIv4cxFveqtOHHYyXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640189007; a=rsa-sha256; cv=none; b=B8udyezUjkfEdgpOxQOv96kKmuwaR1goWGqB1vyEHvz3iy5IB0XQIrLbboKffUq8MADsO7 a5X9GV+GJOFC8iLNi3iJBFp/zx/lcdYCFwPd5DwaxX1wrHBPN2UNbJTOQT33Q0c7M49F0x cfGfs4TaXJIpSeVZKRbQ4ic2zFow3R902+55ZnjqZuw95RhrFBwniYY4hAwmdyVDdvhK1N YO3KEYx0+DjXHvVZGpzL7AuwVqEiMxeeJqAfkOF/zcW6Gh6WhF1bcgx0zCncPnOyt7rEQi Wi4Z0Qp5yjwS1XWAxlpXFyUErt8v9EjSALoxBraXIJJ3elXonHPN4MtbgJtMsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lcook: URL: https://cgit.FreeBSD.org/ports/commit/?id=cc6aef99d65a5cae3a48e007fa3036368938a153 commit cc6aef99d65a5cae3a48e007fa3036368938a153 Author: Lewis Cook AuthorDate: 2021-12-22 15:56:48 +0000 Commit: Lewis Cook CommitDate: 2021-12-22 16:00:35 +0000 sysutils/zrepl: Include build version in command output While here, only include gmake as a dependency when building the documentation. PR: 260608 Reported by: Lapo Luchini --- sysutils/zrepl/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sysutils/zrepl/Makefile b/sysutils/zrepl/Makefile index 23b3cc16c683..21b7cae06377 100644 --- a/sysutils/zrepl/Makefile +++ b/sysutils/zrepl/Makefile @@ -3,7 +3,7 @@ PORTNAME= zrepl DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= lcook@FreeBSD.org @@ -12,10 +12,13 @@ COMMENT= ZFS dataset replication tool LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake go:modules +USES= go:modules USE_RC_SUBR= zrepl GO_MODULE= github.com/${PORTNAME}/${PORTNAME} +GO_BUILDFLAGS= -ldflags "\ + -s -w\ + -X ${GO_MODULE}/version.${PORTNAME}Version=${DISTVERSION}" SUB_FILES= pkg-message @@ -23,7 +26,7 @@ OPTIONS_DEFINE= EXAMPLES MANPAGES OPTIONS_DEFAULT= MANPAGES MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.8.5,1:textproc/py-sphinx@${PY_FLAVOR} -MANPAGES_USES= python:build,3.6+ +MANPAGES_USES= gmake python:build,3.6+ MANPAGES_PLIST_FILES= man/man1/zrepl.1.gz .include