git: 2f6ad46b2de2 - main - devel/please: Update version 15.17.1=>16.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Dec 2024 04:26:19 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f6ad46b2de2787860a6a7c376806391ce9308d6 commit 2f6ad46b2de2787860a6a7c376806391ce9308d6 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-12-23 04:24:59 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> 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 <dg@syrec.org> 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 <stdio.h> +-#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 <stdio.h> 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