summaryrefslogtreecommitdiff
path: root/app-admin/cgmanager
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /app-admin/cgmanager
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'app-admin/cgmanager')
-rw-r--r--app-admin/cgmanager/Manifest7
-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
6 files changed, 0 insertions, 160 deletions
diff --git a/app-admin/cgmanager/Manifest b/app-admin/cgmanager/Manifest
deleted file mode 100644
index adaa8c20d372..000000000000
--- a/app-admin/cgmanager/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX cgmanager.initd-r1 331 BLAKE2B 725b5044fa567e7f7146bd62cc63a0674873d6fcb022eda77b7296dbe1af76645815b67b113a41eec8f83898aba90be3706a10f672a2565c7af26967c196fb54 SHA512 f50afaf471f9e9d500cbc909da1185c1342481699eb1887f694ef91bd49c7cd727d21871ff5d6c0b6046601cfa72a4ac167926c62920b2f3a4902ec817401948
-AUX cgproxy.initd-r1 661 BLAKE2B f84189b5fe16b6327cd1a6a2cd1805f1bbd75791d0f6f75a601ea58fa51d5a490d655371355205c499a51628b4e9cdf21f98431adcb3000397508cdacef2928b SHA512 7f43ea6369428d71d122a191c6a1718987ed09eafe2217ae326606ddf2a50f0500d0de0520fe21e5d2edefb8ddd4c3a85623d2aac1212e821ea922cb8256fffc
-DIST cgmanager-0.41.tar.gz 461805 BLAKE2B 22c779953d637012694c19490da9d3707b9e2a935f910d192fd1e6a44c27e933e93b6ae516399991924175a9e8e05fd650cf3117d3e7bde034a20bc083ebaa09 SHA512 e8ba64665a21d987cd835580c2b6bafbcb05e22ce7f6216762d04840957c2cd21fb571360e0206ae9143656beed88ff3396eb1f644052c05189093a665a705fd
-DIST cgmanager-0.42.tar.gz 467980 BLAKE2B 70df5ebda230773f3a2a4ed6f784e591126769122533182821b0fe2c157f9bd7b9fd58a3bb104b0ef089320b167d3136c379d760ea6c65dab0c88f46d41596cb SHA512 d92113a6748084f1c0708f75c8bdf5de484d534bf00f664a5288902be887c2a1c7cf3d91afaab3331f0d573a86fbc6edb2fa1d37c070250cf53e0621213d7d74
-EBUILD cgmanager-0.41.ebuild 1301 BLAKE2B e3dfc897fdc053f1ef4c040ff683e8961898fad8cd201dd8b699da7b92f12f5bc2fb7bcb0024aaa5935011296f568cffe51626b8f4dd324898f6125c550251f5 SHA512 9f45b44d501f7d4a5874c1f9bae738821b8af2777b12d8d6133a8dc1d30260060429acbf967ec72208fd603029a67f076d6c882f9b17b2bd7571685989a3f793
-EBUILD cgmanager-0.42.ebuild 1309 BLAKE2B 985d4a6688f42a7827b44bee2a32049a3737bca821f063390b3a4e0d53e52fcbd618a5a78fbdfd5dd837c5b8c5ea5cff2e33d7d6a701752d36709347eb198cc4 SHA512 bcae337c5d161982540b87aaee4fd9132d976ff0644534f50a032ade8673ad369fbd7d12b2c0744a13145c65f2dbb7712940380b2f8f2527e7c9ed884ae23697
-MISC metadata.xml 247 BLAKE2B fad006bd63156a3ffcdfe9e4c216b806d3b341fa5b7e8de2608ad51674b482493f7d0fabdeb6010ce0c41aef65a55abe404b8ba5ba7d72f36822b7d96d58182b SHA512 189f876175728dfb474cf2ccb122ebfe48b068cc5fd65a3cfed7dad947dd9ce0fc7c89ce5c0982fdee5262025236b7d5cccf48b55c67c5cd33e84910c28e0b46
diff --git a/app-admin/cgmanager/cgmanager-0.41.ebuild b/app-admin/cgmanager/cgmanager-0.41.ebuild
deleted file mode 100644
index 834e67e35d92..000000000000
--- 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 da4663f6c806..000000000000
--- 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 6efc80b7155a..000000000000
--- 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 ceb075254a3f..000000000000
--- 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 76f45cdee0f4..000000000000
--- 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>