-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
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-#!/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 $?
-}
+++ /dev/null
-#!/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 $?
-}