summaryrefslogtreecommitdiff
path: root/app-admin/cgmanager
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/cgmanager
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/cgmanager')
-rw-r--r--app-admin/cgmanager/Manifest5
-rw-r--r--app-admin/cgmanager/cgmanager-0.41.ebuild49
-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.xml12
5 files changed, 0 insertions, 107 deletions
diff --git a/app-admin/cgmanager/Manifest b/app-admin/cgmanager/Manifest
deleted file mode 100644
index 274db0735b75..000000000000
--- a/app-admin/cgmanager/Manifest
+++ /dev/null
@@ -1,5 +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
-EBUILD cgmanager-0.41.ebuild 1234 BLAKE2B 3c69ccac261321f47b0064422a55541023efe27dcd902a94d0a9dc4e5c4c3f13a4d846b244903cbbec616196fb41a4294a4e4684bcf3ac9300b2138517439c9b SHA512 b5236eeb934b5a8679a965783ef187b4b3f603b69d37d1a572ea1c8a0f22bbd78c7339cad4aba8f4ffdf3970dc647cf46c1b132e18f19c4fd7057031fd06ba41
-MISC metadata.xml 370 BLAKE2B 663ce6f2f49c18a577d778210731960b1c750de6f4fb4c1d91d23ec2e409db04c94ea89a999e34be5d1520ef65c36c33085abf0011126e90584a1e9e2db3eb4b SHA512 eba74394c34246d7ca096cd81be0d41e4431cbb885331c9fdfde61e273a3f01bae0726dac514af8b96a4bf272961706a8845d84d802e216ce745793f930320dd
diff --git a/app-admin/cgmanager/cgmanager-0.41.ebuild b/app-admin/cgmanager/cgmanager-0.41.ebuild
deleted file mode 100644
index 88b2a849915a..000000000000
--- a/app-admin/cgmanager/cgmanager-0.41.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# 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 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
-}
-
-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
-}
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 734f29efb788..000000000000
--- a/app-admin/cgmanager/metadata.xml
+++ /dev/null
@@ -1,12 +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>
- <maintainer type="person">
- <email>hwoarang@gentoo.org</email>
- <name>Markos Chandras</name>
- </maintainer>
-</pkgmetadata>