From 7bbc3ba1cb59752158092a0b1df0abc9dc70901b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 18 Jan 2021 07:50:10 -0800 Subject: [PATCH] app-emulation/podman: rename app-emulation/libpod Closes: https://bugs.gentoo.org/765844 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Zac Medico --- app-emulation/cri-o/cri-o-1.17.1.ebuild | 2 +- app-emulation/cri-o/cri-o-1.18.3.ebuild | 2 +- app-emulation/cri-o/cri-o-1.19.0.ebuild | 2 +- app-emulation/{libpod => podman}/Manifest | 0 app-emulation/{libpod => podman}/files/podman.initd | 0 .../{libpod => podman}/files/podman.logrotated | 0 app-emulation/{libpod => podman}/metadata.xml | 13 ++++++++----- .../podman-2.2.1.ebuild} | 8 ++++---- profiles/updates/1Q-2021 | 1 + 9 files changed, 16 insertions(+), 12 deletions(-) rename app-emulation/{libpod => podman}/Manifest (100%) rename app-emulation/{libpod => podman}/files/podman.initd (100%) rename app-emulation/{libpod => podman}/files/podman.logrotated (100%) rename app-emulation/{libpod => podman}/metadata.xml (62%) rename app-emulation/{libpod/libpod-2.2.1.ebuild => podman/podman-2.2.1.ebuild} (95%) diff --git a/app-emulation/cri-o/cri-o-1.17.1.ebuild b/app-emulation/cri-o/cri-o-1.17.1.ebuild index f8d6d2c59f40d..d528603cf5242 100644 --- a/app-emulation/cri-o/cri-o-1.17.1.ebuild +++ b/app-emulation/cri-o/cri-o-1.17.1.ebuild @@ -36,7 +36,7 @@ COMMON_DEPEND=" DEPEND=" ${COMMON_DEPEND}" RDEPEND="${COMMON_DEPEND} - !Zac Medico - libpod provides a library for applications looking to use the - Container Pod concept popularized by Kubernetes. libpod also - contains a tool called podman for managing Pods, Containers, - and Container Images. + Podman (the POD MANager) is a tool for managing containers + and images, volumes mounted into those containers, and pods + made from groups of containers. Podman is based on libpod, + a library for container lifecycle management that is also + contained in this repository. The libpod library provides + APIs for managing containers, pods, container images, + and volumes. @@ -28,6 +31,6 @@ - containers/libpod + containers/podman diff --git a/app-emulation/libpod/libpod-2.2.1.ebuild b/app-emulation/podman/podman-2.2.1.ebuild similarity index 95% rename from app-emulation/libpod/libpod-2.2.1.ebuild rename to app-emulation/podman/podman-2.2.1.ebuild index fc16a6b258ee1..bca75d6fddbdc 100644 --- a/app-emulation/libpod/libpod-2.2.1.ebuild +++ b/app-emulation/podman/podman-2.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -131,9 +131,9 @@ src_install() { } pkg_preinst() { - LIBPOD_ROOTLESS_UPGRADE=false + PODMAN_ROOTLESS_UPGRADE=false if use rootless; then - has_version 'app-emulation/libpod[rootless]' || LIBPOD_ROOTLESS_UPGRADE=true + has_version 'app-emulation/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true fi } @@ -148,7 +148,7 @@ pkg_postinst() { elog "cp /etc/containers/policy.json{.example,}" want_newline=true fi - if [[ ${LIBPOD_ROOTLESS_UPGRADE} == true ]] ; then + if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then ${want_newline} && elog "" elog "For rootless operation, you need to configure subuid/subgid" elog "for user running podman. In case subuid/subgid has only been" diff --git a/profiles/updates/1Q-2021 b/profiles/updates/1Q-2021 index 38b0edfd30fdb..0cd6d8950281a 100644 --- a/profiles/updates/1Q-2021 +++ b/profiles/updates/1Q-2021 @@ -1 +1,2 @@ slotmove >=sys-auth/libfprint-1.90 0 2 +move app-emulation/libpod app-emulation/podman