Skip to content
Snippets Groups Projects
Unverified Commit 2f6ad46b authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

devel/please: Update version 15.17.1=>16.0.0

parent 57e7f9cc
No related branches found
No related tags found
No related merge requests found
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
......
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
......@@ -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
......
--- 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) {
--- 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>
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment