diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-03-09 10:28:34 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-03-09 10:29:06 +0100 |
commit | 7fe36e945ae7d9e88a9ddeb6f9245ab4a856f86c (patch) | |
tree | e5d107e51f8da59610b6320ee7b5ad3974e994e6 /app-admin/cgmanager | |
parent | app-admin/cgmanager: Bump to version 0.41 (diff) | |
download | gentoo-7fe36e945ae7d9e88a9ddeb6f9245ab4a856f86c.tar.gz gentoo-7fe36e945ae7d9e88a9ddeb6f9245ab4a856f86c.tar.bz2 gentoo-7fe36e945ae7d9e88a9ddeb6f9245ab4a856f86c.zip |
app-admin/cgmanager: Removed old.
Package-Manager: portage-2.2.27
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-admin/cgmanager')
-rw-r--r-- | app-admin/cgmanager/Manifest | 2 | ||||
-rw-r--r-- | app-admin/cgmanager/cgmanager-0.36-r1.ebuild | 41 | ||||
-rw-r--r-- | app-admin/cgmanager/cgmanager-0.37.ebuild | 41 | ||||
-rw-r--r-- | app-admin/cgmanager/files/cgmanager.initd | 28 | ||||
-rw-r--r-- | app-admin/cgmanager/files/cgproxy.initd | 37 |
5 files changed, 0 insertions, 149 deletions
diff --git a/app-admin/cgmanager/Manifest b/app-admin/cgmanager/Manifest index d8a813bc0b6f..1df9cafb5454 100644 --- a/app-admin/cgmanager/Manifest +++ b/app-admin/cgmanager/Manifest @@ -1,4 +1,2 @@ -DIST cgmanager-0.36.tar.gz 428374 SHA256 f4707f0130efb50ccd8a1900e7ae626c0631947528ce921a63b15ef848fb2a0d SHA512 3325c03e25b7bd7b8dcfb68bb3dedccf9367ce80c23ac8df3f1af6cdb9ee706eafc0f95fcea055cc1fe9b31acb5bb66c61b16b21dfa057e661fdace3ff207f43 WHIRLPOOL dcaad06e6281f89e672b843f9903473cb1ee5d1b938c72d1b806f7bc7a1014144dd9e6e304e9ce6e2b941a1b224177747dacc7affa122f9a17a14598969a4779 -DIST cgmanager-0.37.tar.gz 430522 SHA256 8309e7f2ae5f4a6b52cc2fca62c098b18ecfe90bca2c9c034ba80f68aa427b6e SHA512 fbe96af36d556c988351f1136f4382d907b8fb6d4098a90b17f4abfbdf182060d8ba059878455a8842597e7ad33ff12b91bddf68a6c42b02ad9549a2ad900a89 WHIRLPOOL 9a78226ec2a6a84c7fb84f3bb2622df159a4b857d990b2d4f22a1d8c7d02d071c0ed046e5d17ea9d2bd4b970a0a6ad9bf59ba68401248db318b89e16010c720a DIST cgmanager-0.39.tar.gz 437683 SHA256 9e65487fb4e4aa0a6acd87ba7f8f00b8007d8c52608aa6d411e72e6fe9445b7b SHA512 2adf2c639191fb681ffed083629d6ba93f6d5a3534d4dc00b2cff1917c3273febcb30ec7d524ee95ce4a1b8811d902a2ff1cdffe911a66850fb9f10750ef1801 WHIRLPOOL b57c0feb75543af7e7eadccd5287962034fa2c54883289822b54ed184873fb1b6e1eb6d9dcc952fcda2f3027d84fa517c2bfed22a855ede8e700c2298d5d210a DIST cgmanager-0.41.tar.gz 461805 SHA256 29b155befb3ac233d5d29dbca7c791c8138bab01bfa78ea4757ebb88ce23b458 SHA512 e8ba64665a21d987cd835580c2b6bafbcb05e22ce7f6216762d04840957c2cd21fb571360e0206ae9143656beed88ff3396eb1f644052c05189093a665a705fd WHIRLPOOL 4571c88415f24dbd3aae240e2427e27786538653602b4b6ba862eff1abd7fc8b2f97784ca5bced4481f738638030a5777f3d687ee5d115492d7a91ebf4985ab1 diff --git a/app-admin/cgmanager/cgmanager-0.36-r1.ebuild b/app-admin/cgmanager/cgmanager-0.36-r1.ebuild deleted file mode 100644 index fad5d258467e..000000000000 --- a/app-admin/cgmanager/cgmanager-0.36-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -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="~amd64 ~arm ~x86" - -RDEPEND=" - sys-libs/libnih[dbus] - sys-apps/dbus" -DEPEND="${RDEPEND}" - -src_prepare() { - # 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 -} - -src_configure() { - econf \ - --with-distro=gentoo \ - --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" - # FIXME: openRC init scripts are not well tested - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newinitd "${FILESDIR}"/cgproxy.initd cgproxy -} diff --git a/app-admin/cgmanager/cgmanager-0.37.ebuild b/app-admin/cgmanager/cgmanager-0.37.ebuild deleted file mode 100644 index fad5d258467e..000000000000 --- a/app-admin/cgmanager/cgmanager-0.37.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -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="~amd64 ~arm ~x86" - -RDEPEND=" - sys-libs/libnih[dbus] - sys-apps/dbus" -DEPEND="${RDEPEND}" - -src_prepare() { - # 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 -} - -src_configure() { - econf \ - --with-distro=gentoo \ - --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" - # FIXME: openRC init scripts are not well tested - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newinitd "${FILESDIR}"/cgproxy.initd cgproxy -} diff --git a/app-admin/cgmanager/files/cgmanager.initd b/app-admin/cgmanager/files/cgmanager.initd deleted file mode 100644 index 46b1e01fd170..000000000000 --- a/app-admin/cgmanager/files/cgmanager.initd +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -DAEMON=/usr/sbin/cgmanager -PIDFILE=/run/cgmanager.pid -NESTED=yes -OPTIONS= - -depend() { - before cgproxy -} - -start() { - ebegin "Starting cgmanager server" - - start-stop-daemon --start --pidfile ${PIDFILE} --exec ${DAEMON} \ - -- --daemon -m name=systemd ${OPTIONS} - - eend $? -} - -stop() { - ebegin "Stopping cgproxy server" - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE} - eend $? -} diff --git a/app-admin/cgmanager/files/cgproxy.initd b/app-admin/cgmanager/files/cgproxy.initd deleted file mode 100644 index 458dcb6ec278..000000000000 --- a/app-admin/cgmanager/files/cgproxy.initd +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -DAEMON=/usr/sbin/cgproxy -PIDFILE=/run/cgproxy.pid -NESTED=yes -OPTIONS= - -depend() { - after cgmanager -} - -start() { - ebegin "Starting cgproxy server" - 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 - - start-stop-daemon --start --pidfile ${PIDFILE} --exec ${DAEMON} \ - -- --daemon ${OPTIONS} - - eend $? -} - -stop() { - ebegin "Stopping cgproxy server" - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE} - eend $? -} |