summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-05 23:57:21 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-05 23:57:21 +0100
commit8cd8969d73ce4ae8017fc71a21d5b82bca15bce3 (patch)
treea90e517787d894ee39ddacf97b12aa422308081b
parentgui-libs/display-manager-init: start after elogind (diff)
downloadgentoo-8cd8969d73ce4ae8017fc71a21d5b82bca15bce3.tar.gz
gentoo-8cd8969d73ce4ae8017fc71a21d5b82bca15bce3.tar.bz2
gentoo-8cd8969d73ce4ae8017fc71a21d5b82bca15bce3.zip
app-admin/cgmanager: Remove last-rited package
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--app-admin/cgmanager/Manifest2
-rw-r--r--app-admin/cgmanager/cgmanager-0.41.ebuild52
-rw-r--r--app-admin/cgmanager/cgmanager-0.42.ebuild52
-rw-r--r--app-admin/cgmanager/files/cgmanager.initd-r114
-rw-r--r--app-admin/cgmanager/files/cgproxy.initd-r127
-rw-r--r--app-admin/cgmanager/metadata.xml8
-rw-r--r--profiles/package.mask1
7 files changed, 0 insertions, 156 deletions
diff --git a/app-admin/cgmanager/Manifest b/app-admin/cgmanager/Manifest
deleted file mode 100644
index e4950e78879..00000000000
--- a/app-admin/cgmanager/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST cgmanager-0.41.tar.gz 461805 BLAKE2B 22c779953d637012694c19490da9d3707b9e2a935f910d192fd1e6a44c27e933e93b6ae516399991924175a9e8e05fd650cf3117d3e7bde034a20bc083ebaa09 SHA512 e8ba64665a21d987cd835580c2b6bafbcb05e22ce7f6216762d04840957c2cd21fb571360e0206ae9143656beed88ff3396eb1f644052c05189093a665a705fd
-DIST cgmanager-0.42.tar.gz 467980 BLAKE2B 70df5ebda230773f3a2a4ed6f784e591126769122533182821b0fe2c157f9bd7b9fd58a3bb104b0ef089320b167d3136c379d760ea6c65dab0c88f46d41596cb SHA512 d92113a6748084f1c0708f75c8bdf5de484d534bf00f664a5288902be887c2a1c7cf3d91afaab3331f0d573a86fbc6edb2fa1d37c070250cf53e0621213d7d74
diff --git a/app-admin/cgmanager/cgmanager-0.41.ebuild b/app-admin/cgmanager/cgmanager-0.41.ebuild
deleted file mode 100644
index 834e67e35d9..00000000000
--- a/app-admin/cgmanager/cgmanager-0.41.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools pam
-
-DESCRIPTION="Control Group manager daemon"
-HOMEPAGE="https://linuxcontainers.org/cgmanager/introduction/"
-SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86"
-IUSE="pam selinux"
-
-RDEPEND="sys-libs/libnih[dbus]
- sys-apps/dbus
- selinux? ( sec-policy/selinux-cgmanager )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- eapply_user
-
- # systemd expects files in /sbin but we will have them in /usr/sbin
- pushd config/init/systemd > /dev/null || die
- sed -i -e "s@sbin@usr/&@" {${PN},cgproxy}.service || \
- die "Failed to fix paths in systemd service files"
- popd > /dev/null || die
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --with-distro=gentoo \
- --with-pamdir="$(usex pam $(getpam_mod_dir) none)" \
- --with-init-script=systemd \
- --disable-static
-}
-
-src_install() {
- default
-
- # I see no reason to have the tests in the filesystem. Drop them
- rm -r "${D}"/usr/share/${PN}/tests || die "Failed to remove ${PN} tests"
-
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
- newinitd "${FILESDIR}"/cgproxy.initd-r1 cgproxy
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/app-admin/cgmanager/cgmanager-0.42.ebuild b/app-admin/cgmanager/cgmanager-0.42.ebuild
deleted file mode 100644
index da4663f6c80..00000000000
--- a/app-admin/cgmanager/cgmanager-0.42.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools pam
-
-DESCRIPTION="Control Group manager daemon"
-HOMEPAGE="https://linuxcontainers.org/cgmanager/introduction/"
-SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="pam selinux"
-
-RDEPEND="sys-libs/libnih[dbus]
- sys-apps/dbus
- selinux? ( sec-policy/selinux-cgmanager )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- eapply_user
-
- # systemd expects files in /sbin but we will have them in /usr/sbin
- pushd config/init/systemd > /dev/null || die
- sed -i -e "s@sbin@usr/&@" {${PN},cgproxy}.service || \
- die "Failed to fix paths in systemd service files"
- popd > /dev/null || die
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --with-distro=gentoo \
- --with-pamdir="$(usex pam $(getpam_mod_dir) none)" \
- --with-init-script=systemd \
- --disable-static
-}
-
-src_install() {
- default
-
- # I see no reason to have the tests in the filesystem. Drop them
- rm -r "${D}"/usr/share/${PN}/tests || die "Failed to remove ${PN} tests"
-
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
- newinitd "${FILESDIR}"/cgproxy.initd-r1 cgproxy
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/app-admin/cgmanager/files/cgmanager.initd-r1 b/app-admin/cgmanager/files/cgmanager.initd-r1
deleted file mode 100644
index 6efc80b7155..00000000000
--- a/app-admin/cgmanager/files/cgmanager.initd-r1
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Control Group manager daemon"
-pidfile="/run/cgmanager.pid"
-command="/usr/sbin/cgmanager"
-command_args="-m name=systemd"
-command_background="yes"
-retry="TERM/45"
-
-depend() {
- before cgproxy
-}
diff --git a/app-admin/cgmanager/files/cgproxy.initd-r1 b/app-admin/cgmanager/files/cgproxy.initd-r1
deleted file mode 100644
index ceb075254a3..00000000000
--- a/app-admin/cgmanager/files/cgproxy.initd-r1
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Control Group manager proxy"
-pidfile="/run/cgproxy.pid"
-command="/usr/sbin/cgproxy"
-command_args="--daemon"
-command_background="yes"
-retry="TERM/45"
-NESTED="${NESTED:-no}"
-
-depend() {
- after cgmanager
-}
-
-start_pre() {
- if ! /usr/sbin/cgproxy --check-master; then
- ewarn "cgmanager is not running"
- return 1
- fi
- # cgproxy should only run on container unless on older kernel
- if [ -e /proc/self/ns/pid ] && [ "$NESTED" != "yes" ]; then
- eerror "Too old kernel to support cgroup, please update to >3.8"
- return 1
- fi
-}
diff --git a/app-admin/cgmanager/metadata.xml b/app-admin/cgmanager/metadata.xml
deleted file mode 100644
index 76f45cdee0f..00000000000
--- a/app-admin/cgmanager/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>perfinion@gentoo.org</email>
- <name>Jason Zaman</name>
- </maintainer>
-</pkgmetadata>
diff --git a/profiles/package.mask b/profiles/package.mask
index 4af1a4b3bab..f6c03982fa6 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -174,7 +174,6 @@ x11-terms/pangoterm
# Post-consolekit cleanup, dead upstream since 2016.
# https://s3hh.wordpress.com/2016/06/18/whither-cgmanager/
# Masked for removal in 30 days.
-app-admin/cgmanager
sys-libs/libnih
# Andreas Sturmlechner <asturm@gentoo.org> (2021-01-06)