mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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 <zmedico@gentoo.org>
This commit is contained in:
@@ -36,7 +36,7 @@ COMMON_DEPEND="
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<app-emulation/libpod-1.3.2-r1"
|
||||
!<app-emulation/podman-1.3.2-r1"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
@@ -36,7 +36,7 @@ COMMON_DEPEND="
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<app-emulation/libpod-1.3.2-r1"
|
||||
!<app-emulation/podman-1.3.2-r1"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
@@ -36,7 +36,7 @@ COMMON_DEPEND="
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<app-emulation/libpod-1.3.2-r1"
|
||||
!<app-emulation/podman-1.3.2-r1"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
@@ -6,10 +6,13 @@
|
||||
<name>Zac Medico</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
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.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="apparmor">
|
||||
@@ -28,6 +31,6 @@
|
||||
</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">containers/libpod</remote-id>
|
||||
<remote-id type="github">containers/podman</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -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"
|
||||
@@ -1 +1,2 @@
|
||||
slotmove >=sys-auth/libfprint-1.90 0 2
|
||||
move app-emulation/libpod app-emulation/podman
|
||||
|
||||
Reference in New Issue
Block a user