* [PR PATCH] runc: add go_ldflags with the version
@ 2023-01-04 9:26 edganiukov
2023-01-05 21:36 ` [PR PATCH] [Merged]: " leahneukirchen
0 siblings, 1 reply; 2+ messages in thread
From: edganiukov @ 2023-01-04 9:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 598 bytes --]
There is a new pull request by edganiukov against master on the void-packages repository
https://github.com/edganiukov/void-packages feature/runc-set-binary-version
https://github.com/void-linux/void-packages/pull/41433
runc: add go_ldflags with the version
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
#### Note:
See https://github.com/opencontainers/runc/blob/main/main.go#L20
A patch file from https://github.com/void-linux/void-packages/pull/41433.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-feature/runc-set-binary-version-41433.patch --]
[-- Type: text/x-diff, Size: 716 bytes --]
From 7fa6cc2579102f399e2ff53926639ed7af6b959b Mon Sep 17 00:00:00 2001
From: Ed Ganiukov <ed@gnkv.io>
Date: Wed, 4 Jan 2023 10:20:13 +0100
Subject: [PATCH] runc: add go_ldflags with the version
---
srcpkgs/runc/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/runc/template b/srcpkgs/runc/template
index 2072901d6181..b72dc5d3eefb 100644
--- a/srcpkgs/runc/template
+++ b/srcpkgs/runc/template
@@ -5,6 +5,7 @@ revision=1
build_style=go
go_import_path=github.com/opencontainers/runc
go_build_tags="seccomp apparmor"
+go_ldflags="-X main.version=${version}"
hostmakedepends="pkg-config go-md2man"
makedepends="libseccomp-devel"
short_desc="CLI tool for spawning and running OCI containers"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: runc: add go_ldflags with the version
2023-01-04 9:26 [PR PATCH] runc: add go_ldflags with the version edganiukov
@ 2023-01-05 21:36 ` leahneukirchen
0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2023-01-05 21:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 417 bytes --]
There's a merged pull request on the void-packages repository
runc: add go_ldflags with the version
https://github.com/void-linux/void-packages/pull/41433
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
#### Note:
See https://github.com/opencontainers/runc/blob/main/main.go#L20
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-05 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-04 9:26 [PR PATCH] runc: add go_ldflags with the version edganiukov
2023-01-05 21:36 ` [PR PATCH] [Merged]: " leahneukirchen
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).