From nobody Mon Dec 23 04:26:19 2024 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 4YGlMc0mYbz5Ww7K; Mon, 23 Dec 2024 04:26:20 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YGlMb5TsXz4pnM; Mon, 23 Dec 2024 04:26:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734927979; 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=Li6eyjR3Vfu84Q8Buz8PiSH6jOFotHBA1K7sN5St8PI=; b=cz2IvFwPk4uwq2s8TcftSxGkKxDHDIjAro9x9yMgofIIRgdHu2Kcof5qbHTTmI937eBDTg wpbtKjZV0cRnruNV3680TDQkP7hWMpGpo60KWmHRdjdP2s4hZoUDvZsR/pjd468Y70X2zS Rs13+r6U208wSwu5oMrOW2IQJIfXLrLKOiRqUkYbXZtXsFAuYsUcDCzFAyOqbBDtTZ/GXz k/OxpzAIIrjAz/C3Nj9xOv7LIrYUhR/gtgHZwMJBZqlgL08Ja271HWh3Si3RPJKgZSwtu0 qEx/s0tQ1qb9eDu2FDTEFsE+SyhyCNpbX0gX6UWE/1J5rAaCe5n4+yiYNPV1uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734927979; 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=Li6eyjR3Vfu84Q8Buz8PiSH6jOFotHBA1K7sN5St8PI=; b=qShPkHwp+6WSa9ErQlm9PhEb6K/5Uz0+slfJY+7ASW2BngzMnq8E2JMNKSWss4B67Zva/r PJ5TzvQzj8ClMoTT89IS8S/fNK6O2ktUbVsYi8+NjSS8eMNh018dhpKVgtSBXuopu0SlwH IR5D99/I2q9pTonN1rasRBDxa5dU/xWCigLM7TgvIBtubAcDDf9nxZflp0d6ETAHA1msrP IdqzCgCG1qIBv29N9HqkglbKYiRDxqyRKjl+GTVfnbphqSkxNWpl/slx/5hnR+53kMF6yT OmOykFLMq9k35bCmr2QUAIZfmFeCX4vDOI7bmOia1hpgenq1ouHTTFZ0YsR/EA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734927979; a=rsa-sha256; cv=none; b=sXwLba25/pufeCz4kGiu3kZjWeZbE/guTKRY+89P0E90d47yC+NnmE/7bZDOfhIytvoFOh kR5141696pzx5h866TeD2Odzv1U6fEUe9ysrQZFhI86+AHuwl27yGqffzJaWH0/fkHN2rE 0k4o1Orbr92KhoJEEbkyCGsRe5zRIrciMgRX9IM4mgahC6U6rT6xZbss+1XD7si/GqGzU6 4FaQYchCfyJKovcKadnXWNf5bpln39RFkIwDmQzPXnQyjVmFq0FbktjMraNlGn7Ua9JLV8 EhUQ2yR69K9hhaoi3lC1HLMuP60stML+THAGJoA3XgzJX6/A55LFux3Df2S8CA== 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 4YGlMb4wwDzdqF; Mon, 23 Dec 2024 04:26:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BN4QJQV040493; Mon, 23 Dec 2024 04:26:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BN4QJww040490; Mon, 23 Dec 2024 04:26:19 GMT (envelope-from git) Date: Mon, 23 Dec 2024 04:26:19 GMT Message-Id: <202412230426.4BN4QJww040490@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 2f6ad46b2de2 - main - devel/please: Update version 15.17.1=>16.0.0 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f6ad46b2de2787860a6a7c376806391ce9308d6 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f6ad46b2de2787860a6a7c376806391ce9308d6 commit 2f6ad46b2de2787860a6a7c376806391ce9308d6 Author: Muhammad Moinur Rahman AuthorDate: 2024-12-23 04:24:59 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-12-23 04:25:51 +0000 devel/please: Update version 15.17.1=>16.0.0 Changelog: https://github.com/thought-machine/please/releases/tag/v16.0.0 --- devel/please/Makefile | 11 ++++---- devel/please/distinfo | 10 ++++---- devel/please/files/patch-gopsutil_aarch64 | 32 +++--------------------- devel/please/files/patch-tools_sandbox_main.c | 11 ++++++++ devel/please/files/patch-tools_sandbox_sandbox.c | 8 ++++++ devel/please/pkg-plist | 5 ++-- 6 files changed, 37 insertions(+), 40 deletions(-) diff --git a/devel/please/Makefile b/devel/please/Makefile index 291305acc7a0..844e7438b9fb 100644 --- a/devel/please/Makefile +++ b/devel/please/Makefile @@ -1,6 +1,6 @@ PORTNAME= please DISTVERSIONPREFIX= v -DISTVERSION= 15.17.1 +DISTVERSION= 16.0.0 CATEGORIES= devel MASTER_SITES= https://raw.githubusercontent.com/thought-machine/please/${DISTVERSIONFULL}/ DISTFILES= go.mod @@ -25,20 +25,21 @@ USES= go:modules GO_MODULE= github.com/thought-machine/please GO_TARGET= src/please.go:please \ tools/build_langserver/langserver_main.go:build_langserver \ + tools/http_cache/main.go:http_cache \ tools/jarcat/main.go:jarcat \ + tools/please_go_embed/main.go:please_go_embed \ tools/please_go_filter/please_go_filter.go:please_go_filter \ - tools/please_go_install/please_go_install.go:please_go_install \ - tools/please_go_test/plz_go_test_main.go:please_go_test \ + tools/please_go/please_go.go:please_go \ tools/please_pex/pex_main.go:please_pex \ tools/release_signer/main.go:release_signer USE_GITHUB= yes GH_ACCOUNT= thought-machine post-extract: - ${CP} ${WRKSRC}/tools/please_go_test/plz_go_test.go ${WRKSRC}/tools/please_go_test/plz_go_test_main.go + ${REINPLACE_CMD} -e 's|99.0.9999|${DISTVERSION}|' ${WRKSRC}/src/core/version.go post-build: - cd ${WRKSRC} ; ${SETENV} ${CC} ${CFLAGS} -o please_sandbox tools/sandbox/main.c + cd ${WRKSRC} ; ${SETENV} ${CC} ${CFLAGS} -o please_sandbox tools/sandbox/main.c tools/sandbox/sandbox.c post-install: ${INSTALL_PROGRAM} ${WRKSRC}/please_sandbox ${STAGEDIR}${PREFIX}/bin diff --git a/devel/please/distinfo b/devel/please/distinfo index d4a6e2063c2d..663cd024febd 100644 --- a/devel/please/distinfo +++ b/devel/please/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1734736319 -SHA256 (go/devel_please/thought-machine-please-v15.17.1_GH0/go.mod) = 5d5f7c2404de9478986a0d7057c5a35067b792b9f62602ca2c59fa5e19e0d707 -SIZE (go/devel_please/thought-machine-please-v15.17.1_GH0/go.mod) = 2875 -SHA256 (go/devel_please/thought-machine-please-v15.17.1_GH0/thought-machine-please-v15.17.1_GH0.tar.gz) = 4541ef115ac8bd618a7c1dbdbe10fd4444b4bd14d5aa1072290031ca4cfe17b2 -SIZE (go/devel_please/thought-machine-please-v15.17.1_GH0/thought-machine-please-v15.17.1_GH0.tar.gz) = 2197644 +TIMESTAMP = 1734925708 +SHA256 (go/devel_please/thought-machine-please-v16.0.0_GH0/go.mod) = 2cd52d3b0f03b668d7934b1a17b3a22730e2da3e0478f4146a882f4e4cf7296c +SIZE (go/devel_please/thought-machine-please-v16.0.0_GH0/go.mod) = 2486 +SHA256 (go/devel_please/thought-machine-please-v16.0.0_GH0/thought-machine-please-v16.0.0_GH0.tar.gz) = e9f5b962770ba4373316c5fd1f9a95ce2b53e79dc1a8bc9a6a02c00226891c76 +SIZE (go/devel_please/thought-machine-please-v16.0.0_GH0/thought-machine-please-v16.0.0_GH0.tar.gz) = 1798117 diff --git a/devel/please/files/patch-gopsutil_aarch64 b/devel/please/files/patch-gopsutil_aarch64 index 08982f676d4c..0e977f150127 100644 --- a/devel/please/files/patch-gopsutil_aarch64 +++ b/devel/please/files/patch-gopsutil_aarch64 @@ -5,22 +5,7 @@ From: Dmitri Goutnik Date: Tue, 17 Dec 2019 02:51:35 -0500 Subject: [PATCH] Add support for freebsd/arm64 ---- - Gopkg.lock | 4 +- - cpu/cpu_freebsd_arm64.go | 9 ++ - disk/disk_freebsd_arm64.go | 115 ++++++++++++++++++ - host/host_freebsd_arm64.go | 39 ++++++ - process/process_freebsd_arm64.go | 201 +++++++++++++++++++++++++++++++ - 6 files changed, 369 insertions(+), 2 deletions(-) - create mode 100644 cpu/cpu_freebsd_arm64.go - create mode 100644 disk/disk_freebsd_arm64.go - create mode 100644 host/host_freebsd_arm64.go - create mode 100644 process/process_freebsd_arm64.go - -diff --git a/cpu/cpu_freebsd_arm64.go b/cpu/cpu_freebsd_arm64.go -new file mode 100644 -index 00000000..57e14528 ---- /dev/null +--- vendor/github.com/shirou/gopsutil/cpu/cpu_freebsd_arm64.go.orig 2024-12-23 04:03:22 UTC +++ vendor/github.com/shirou/gopsutil/cpu/cpu_freebsd_arm64.go @@ -0,0 +1,9 @@ +package cpu @@ -32,10 +17,7 @@ index 00000000..57e14528 + Intr uint64 + Idle uint64 +} -diff --git a/disk/disk_freebsd_arm64.go b/disk/disk_freebsd_arm64.go -new file mode 100644 -index 00000000..aff604c0 ---- /dev/null +--- vendor/github.com/shirou/gopsutil/disk/disk_freebsd_arm64.go.orig 2024-12-23 04:03:22 UTC +++ vendor/github.com/shirou/gopsutil/disk/disk_freebsd_arm64.go @@ -0,0 +1,115 @@ +// +build freebsd @@ -153,10 +135,7 @@ index 00000000..aff604c0 +type _Ctype_struct___0 struct { + Empty uint64 +} -diff --git a/host/host_freebsd_arm64.go b/host/host_freebsd_arm64.go -new file mode 100644 -index 00000000..88dc11fc ---- /dev/null +--- vendor/github.com/shirou/gopsutil/host/host_freebsd_arm64.go.orig 2024-12-23 04:03:22 UTC +++ vendor/github.com/shirou/gopsutil/host/host_freebsd_arm64.go @@ -0,0 +1,39 @@ +// +build freebsd @@ -198,10 +177,7 @@ index 00000000..88dc11fc + Line [16]int8 + Host [128]int8 +} -diff --git a/process/process_freebsd_arm64.go b/process/process_freebsd_arm64.go -new file mode 100644 -index 00000000..99781d1a ---- /dev/null +--- vendor/github.com/shirou/gopsutil/process/process_freebsd_arm64.go.orig 2024-12-23 04:03:22 UTC +++ vendor/github.com/shirou/gopsutil/process/process_freebsd_arm64.go @@ -0,0 +1,201 @@ +// +build freebsd diff --git a/devel/please/files/patch-tools_sandbox_main.c b/devel/please/files/patch-tools_sandbox_main.c new file mode 100644 index 000000000000..79ac1c31e46e --- /dev/null +++ b/devel/please/files/patch-tools_sandbox_main.c @@ -0,0 +1,11 @@ +--- tools/sandbox/main.c.orig 2024-12-23 04:03:39 UTC ++++ tools/sandbox/main.c +@@ -7,7 +7,7 @@ + // support namespaces / cgroups. We still behave similarly otherwise + // in order for it to be transparent to the rest of the system. + #include +-#include "tools/sandbox/sandbox.h" ++#include "sandbox.h" + + int main(int argc, char* argv[]) { + if (argc < 2) { diff --git a/devel/please/files/patch-tools_sandbox_sandbox.c b/devel/please/files/patch-tools_sandbox_sandbox.c new file mode 100644 index 000000000000..b9b0c2a98f64 --- /dev/null +++ b/devel/please/files/patch-tools_sandbox_sandbox.c @@ -0,0 +1,8 @@ +--- tools/sandbox/sandbox.c.orig 2024-12-23 04:06:56 UTC ++++ tools/sandbox/sandbox.c +@@ -1,4 +1,4 @@ +-#include "tools/sandbox/sandbox.h" ++#include "sandbox.h" + + #define _GNU_SOURCE + #include diff --git a/devel/please/pkg-plist b/devel/please/pkg-plist index 82824cd3ddcb..8693c19b2e99 100644 --- a/devel/please/pkg-plist +++ b/devel/please/pkg-plist @@ -1,9 +1,10 @@ bin/build_langserver +bin/http_cache bin/jarcat bin/please +bin/please_go +bin/please_go_embed bin/please_go_filter -bin/please_go_install -bin/please_go_test bin/please_pex bin/please_sandbox bin/release_signer