Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] podman: install rootlessport command
@ 2022-03-11 18:45 CameronNemo
  2022-03-11 18:50 ` [PR PATCH] [Updated] " CameronNemo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: CameronNemo @ 2022-03-11 18:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1229 bytes --]

There is a new pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages podman
https://github.com/void-linux/void-packages/pull/36100

podman: install rootlessport command
See #36095 for report

<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36100.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-podman-36100.patch --]
[-- Type: text/x-diff, Size: 1315 bytes --]

From d9bcd87baf857a1b92902e1fc680464ab81464b5 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Fri, 11 Mar 2022 10:44:13 -0800
Subject: [PATCH] podman: install rootlessport command

See #36095 for report
---
 srcpkgs/podman/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template
index e83467c87f7c..dc06a762c8c4 100644
--- a/srcpkgs/podman/template
+++ b/srcpkgs/podman/template
@@ -1,10 +1,10 @@
 # Template file for 'podman'
 pkgname=podman
 version=4.0.2
-revision=1
+revision=2
 build_style=go
 go_import_path="github.com/containers/podman/v4"
-go_package="${go_import_path}/cmd/podman"
+go_package="${go_import_path}/cmd/podman ${go_import_path}/cmd/rootlessport"
 go_build_tags="seccomp apparmor containers_image_ostree_stub"
 hostmakedepends="pkg-config go-md2man"
 makedepends="gpgme-devel libseccomp-devel device-mapper-devel libbtrfs-devel"
@@ -26,6 +26,8 @@ post_build() {
 }
 
 post_install() {
+	vmkdir usr/libexec/podman
+	mv "${DESTDIR}/usr/bin/rootlessport" "${DESTDIR}/usr/libexec/podman/rootlessport"
 	make install.man DESTDIR="${DESTDIR}" PREFIX="/usr"
 	sed -e 's|# cgroup_manager = "systemd"|cgroup_manager = "cgroupfs"|g' \
 		vendor/github.com/containers/common/pkg/config/containers.conf \

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] podman: install rootlessport command
  2022-03-11 18:45 [PR PATCH] podman: install rootlessport command CameronNemo
@ 2022-03-11 18:50 ` CameronNemo
  2022-03-11 21:27 ` podman: install rootlessport and completions lemmi
  2022-03-11 21:27 ` [PR PATCH] [Merged]: " lemmi
  2 siblings, 0 replies; 4+ messages in thread
From: CameronNemo @ 2022-03-11 18:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1234 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages podman
https://github.com/void-linux/void-packages/pull/36100

podman: install rootlessport command
See #36095 for report

<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36100.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-podman-36100.patch --]
[-- Type: text/x-diff, Size: 1403 bytes --]

From 0d179ef903bedf394667aa48a3ee0a2a911b5ffa Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Fri, 11 Mar 2022 10:44:13 -0800
Subject: [PATCH] podman: install rootlessport and completions

Fixes #36095
---
 srcpkgs/podman/template | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template
index e83467c87f7c..c719e4ca6057 100644
--- a/srcpkgs/podman/template
+++ b/srcpkgs/podman/template
@@ -1,10 +1,10 @@
 # Template file for 'podman'
 pkgname=podman
 version=4.0.2
-revision=1
+revision=2
 build_style=go
 go_import_path="github.com/containers/podman/v4"
-go_package="${go_import_path}/cmd/podman"
+go_package="${go_import_path}/cmd/podman ${go_import_path}/cmd/rootlessport"
 go_build_tags="seccomp apparmor containers_image_ostree_stub"
 hostmakedepends="pkg-config go-md2man"
 makedepends="gpgme-devel libseccomp-devel device-mapper-devel libbtrfs-devel"
@@ -26,7 +26,10 @@ post_build() {
 }
 
 post_install() {
+	vmkdir usr/libexec/podman
+	mv "${DESTDIR}/usr/bin/rootlessport" "${DESTDIR}/usr/libexec/podman/rootlessport"
 	make install.man DESTDIR="${DESTDIR}" PREFIX="/usr"
+	make install.completions DESTDIR="${DESTDIR}" PREFIX="/usr"
 	sed -e 's|# cgroup_manager = "systemd"|cgroup_manager = "cgroupfs"|g' \
 		vendor/github.com/containers/common/pkg/config/containers.conf \
 		>containers.cgfs.conf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: podman: install rootlessport and completions
  2022-03-11 18:45 [PR PATCH] podman: install rootlessport command CameronNemo
  2022-03-11 18:50 ` [PR PATCH] [Updated] " CameronNemo
@ 2022-03-11 21:27 ` lemmi
  2022-03-11 21:27 ` [PR PATCH] [Merged]: " lemmi
  2 siblings, 0 replies; 4+ messages in thread
From: lemmi @ 2022-03-11 21:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

New comment by lemmi on void-packages repository

https://github.com/void-linux/void-packages/pull/36100#issuecomment-1065543635

Comment:
Thanks! Completions and rootless networking works again.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: podman: install rootlessport and completions
  2022-03-11 18:45 [PR PATCH] podman: install rootlessport command CameronNemo
  2022-03-11 18:50 ` [PR PATCH] [Updated] " CameronNemo
  2022-03-11 21:27 ` podman: install rootlessport and completions lemmi
@ 2022-03-11 21:27 ` lemmi
  2 siblings, 0 replies; 4+ messages in thread
From: lemmi @ 2022-03-11 21:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

There's a merged pull request on the void-packages repository

podman: install rootlessport and completions
https://github.com/void-linux/void-packages/pull/36100

Description:
Fixes #36095

<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-11 21:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 18:45 [PR PATCH] podman: install rootlessport command CameronNemo
2022-03-11 18:50 ` [PR PATCH] [Updated] " CameronNemo
2022-03-11 21:27 ` podman: install rootlessport and completions lemmi
2022-03-11 21:27 ` [PR PATCH] [Merged]: " lemmi

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).