diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-05 23:57:21 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-05 23:57:21 +0100 |
commit | 8cd8969d73ce4ae8017fc71a21d5b82bca15bce3 (patch) | |
tree | a90e517787d894ee39ddacf97b12aa422308081b /app-admin | |
parent | gui-libs/display-manager-init: start after elogind (diff) | |
download | gentoo-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>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/cgmanager/Manifest | 2 | ||||
-rw-r--r-- | app-admin/cgmanager/cgmanager-0.41.ebuild | 52 | ||||
-rw-r--r-- | app-admin/cgmanager/cgmanager-0.42.ebuild | 52 | ||||
-rw-r--r-- | app-admin/cgmanager/files/cgmanager.initd-r1 | 14 | ||||
-rw-r--r-- | app-admin/cgmanager/files/cgproxy.initd-r1 | 27 | ||||
-rw-r--r-- | app-admin/cgmanager/metadata.xml | 8 |
6 files changed, 0 insertions, 155 deletions
diff --git a/app-admin/cgmanager/Manifest b/app-admin/cgmanager/Manifest deleted file mode 100644 index e4950e788797..000000000000 --- 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 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> |