From: chasinglogic <chasinglogic@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: talosctl-1.8.1
Date: Thu, 10 Oct 2024 17:53:12 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52593@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1503 bytes --]
There is a new pull request by chasinglogic against master on the void-packages repository
https://github.com/chasinglogic/void-packages new-package/talosctl
https://github.com/void-linux/void-packages/pull/52593
New package: talosctl-1.8.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- armv7l (crossbuild)
- armv6l-musl (crossbuild)
- armv6l (crossbuild)
Closes #52591
I tried a crossbuild of aarch64 but got a strange error that it couldn't find the linker `ld`. I wasn't sure how to proceed with that but happy to try again if there's some troubleshooting steps I can follow.
A patch file from https://github.com/void-linux/void-packages/pull/52593.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package/talosctl-52593.patch --]
[-- Type: text/x-diff, Size: 1733 bytes --]
From af7c96f51176b0b31281977b17b5a8396c2d3318 Mon Sep 17 00:00:00 2001
From: Mathew Robinson <mathew@chasinglogic.io>
Date: Thu, 10 Oct 2024 16:24:37 +0100
Subject: [PATCH] New package: talosctl-1.8.1
---
srcpkgs/talosctl/template | 25 +++++++++++++++++++++++++
srcpkgs/talosctl/update | 2 ++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/talosctl/template
create mode 100644 srcpkgs/talosctl/update
diff --git a/srcpkgs/talosctl/template b/srcpkgs/talosctl/template
new file mode 100644
index 00000000000000..fba0b69bc7f2fc
--- /dev/null
+++ b/srcpkgs/talosctl/template
@@ -0,0 +1,25 @@
+# Template file for 'talosctl'
+pkgname=talosctl
+version=1.8.1
+revision=1
+build_style=go
+go_import_path="github.com/siderolabs/talos"
+go_package="${go_import_path}/cmd/talosctl"
+go_build_tags="grpcnotrace"
+# use $(:) to silence xlint
+go_ldflags=$(:)
+short_desc="Talos Linux CLI client"
+maintainer="Mathew Robinson <chasinglogic@gmail.com>"
+license="MPL-2.0"
+homepage="https://www.talos.dev"
+changelog="https://github.com/siderolabs/talos/releases"
+distfiles="https://github.com/siderolabs/talos/archive/refs/tags/v${version}.tar.gz"
+checksum=65e2a8e046840d9df9a622c59652c825d7f937a29b70fd8ff6980900e6cf7765
+
+pre_build() {
+ local _date
+ if [ "$SOURCE_DATE_EPOCH" ]; then
+ _date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
+ go_ldflags="-X github.com/siderolabs/talos/pkg/machinery/version.Built=${_date}"
+ fi
+}
diff --git a/srcpkgs/talosctl/update b/srcpkgs/talosctl/update
new file mode 100644
index 00000000000000..12701ef28019ab
--- /dev/null
+++ b/srcpkgs/talosctl/update
@@ -0,0 +1,2 @@
+site="https://github.com/siderolabs/talos/releases"
+pattern='/tags/v\K[\d.]+(?=.tar.gz)'
next reply other threads:[~2024-10-10 15:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-10 15:53 chasinglogic [this message]
2024-10-10 16:21 ` chasinglogic
2024-10-10 16:21 ` chasinglogic
2024-10-11 16:53 ` [PR PATCH] [Updated] " chasinglogic
2025-01-10 2:01 ` github-actions
2025-01-25 1:54 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52593@inbox.vuxu.org \
--to=chasinglogic@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).