From nobody Tue Feb 20 15:35:38 2024 X-Original-To: ports-bugs@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 4TfNlZ3wJKz5CFXD for ; Tue, 20 Feb 2024 15:35:38 +0000 (UTC) (envelope-from bugzilla-noreply@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 4TfNlZ2gzLz42sc for ; Tue, 20 Feb 2024 15:35:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708443338; 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=fsMVXpxgxsAB77Km6ZbVEEc/JVm+U5LodNxlxJct2wQ=; b=PVTehuJeUhgBPN4h39DbuoZAC8v3DVTEPNXa67oPaKhfKHa/0E6TuA7LmOTIKx0OSfta0w Fgmnnaue3AKMEEHkCSE/eFlc+eVqfcGqHFpBq/IpVE651yROo3XFdVE4+NCnt33mL5MANU R1H7VDk9Mvd4uEyzs+l4EsU6dHwN212FeJtM0ZklZsSncs6azUIUsFiQaI8P6t17jaEg6S axX4c0asnPt0CoPcU0cImH3jP9zKMxkzo3UMSMf5h9K/dYzzQmHRKSe0LqmyazN7Xo37xh pK73VKMdyo20gr7Nt+uDeBmReZ4TXQ3qORaOGajTREmMFumh1s8hPiBYHQj2rA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708443338; a=rsa-sha256; cv=none; b=XacQdjYmoDym53dBoddEk/gr3nQ4FL/0DhTp9PicK01PNQLvq/OJB99Z2ornl0dyEurDnp L6/TU6KEA2nUshGp1GspanaYylWKpgXOK4Ky6AqQJOAsgge55TDQShrQqpRo8LmfhsIjW1 bshrSNu81TzmkC6acM08vo2bUHGm3QcqK9P8/J9w0mKMZ8uFrJhPw1tkZvrCyR4wBStiA3 PCZXAmeDMrgdCn8qLvTtblUnM6fquAwe4t2NYIqmhcIr/ZoRCyKvEy+kpN4L8dstL8Gx6i JAhx+43t4Rm/v+PayLzgqrZk3cUIbLH6+9IZkDFbAH9eR45EzOZL83zZho5G0g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4TfNlZ1cn7zNjk for ; Tue, 20 Feb 2024 15:35:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41KFZcEc025099 for ; Tue, 20 Feb 2024 15:35:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41KFZcbv025098 for ports-bugs@FreeBSD.org; Tue, 20 Feb 2024 15:35:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277194] shells/elvish: Update build flags for enhancing version information. Date: Tue, 20 Feb 2024 15:35:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xiaqqaix@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277194 Bug ID: 277194 Summary: shells/elvish: Update build flags for enhancing version information. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: xiaqqaix@gmail.com CC: vendion@gmail.com CC: vendion@gmail.com Flags: maintainer-feedback?(vendion@gmail.com) The instructions for how to enhance Elvish's version information has change= d. See https://github.com/elves/elvish/blob/master/PACKAGING.md and https://pkg.go.dev/src.elv.sh@master/pkg/buildinfo for the latest instructi= on. Ideally the package revision should also be set, but I'm not sure how to do that, so I'm leaving that out for now. Elvish's Go package name has also changed to src.elv.sh from github.com/elves/elvish, but since this doesn't seem to impact the usabilit= y of the port I'm also keeping that unchanged for now. Feel free to update that = too. diff --git a/shells/elvish/Makefile b/shells/elvish/Makefile index 5ab1f4d25033..0fbf9b722e62 100644 --- a/shells/elvish/Makefile +++ b/shells/elvish/Makefile @@ -27,7 +27,7 @@ GH_TUPLE=3D \ GO_PKGNAME=3D github.com/${GH_ACCOUNT}/${PORTNAME} GO_TARGET=3D ./cmd/elvish -GO_BUILDFLAGS=3D -ldflags=3D"-s -w -X src.elv.sh/pkg/buildinfo.Version=3D${DISTVERSIONPREFIX}${DISTVERSION} -X src.elv.sh/pkg/buildinfo.Reproducible=3Dtrue" \ +GO_BUILDFLAGS=3D -ldflags=3D"-s -w -X src.elv.sh/pkg/buildinfo.BuildVariant=3Dfreebsd" \ -buildmode=3Dpie GO_TESTFLAGS=3D -race CGO_ENABLED=3D 0 --=20 You are receiving this mail because: You are the assignee for the bug.=