hwoarang    15/02/16 11:02:06

  Modified:             ChangeLog
  Added:                cgmanager-0.36-r1.ebuild
  Removed:              cgmanager-0.35.ebuild cgmanager-0.36.ebuild
  Log:
  Revbump to fix openrc init scripts. Bug (#540202) and patch by Nico Baggus
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 
09BF4F54C2BA7F3C!)

Revision  Changes    Path
1.5                  app-admin/cgmanager/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/cgmanager/ChangeLog?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/cgmanager/ChangeLog?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/cgmanager/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/cgmanager/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   14 Feb 2015 19:37:55 -0000      1.4
+++ ChangeLog   16 Feb 2015 11:02:06 -0000      1.5
@@ -1,6 +1,13 @@
 # ChangeLog for app-admin/cgmanager
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/cgmanager/ChangeLog,v 1.4 
2015/02/14 19:37:55 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/cgmanager/ChangeLog,v 1.5 
2015/02/16 11:02:06 hwoarang Exp $
+
+*cgmanager-0.36-r1 (16 Feb 2015)
+
+  16 Feb 2015; Markos Chandras <[email protected]> +cgmanager-0.36-r1.ebuild,
+  -cgmanager-0.35.ebuild, -cgmanager-0.36.ebuild, files/cgmanager.initd,
+  files/cgproxy.initd:
+  Revbump to fix openrc init scripts. Bug (#540202) and patch by Nico Baggus
 
 *cgmanager-0.36 (14 Feb 2015)
 



1.1                  app-admin/cgmanager/cgmanager-0.36-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/cgmanager/cgmanager-0.36-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/cgmanager/cgmanager-0.36-r1.ebuild?rev=1.1&content-type=text/plain

Index: cgmanager-0.36-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/app-admin/cgmanager/cgmanager-0.36-r1.ebuild,v 1.1 
2015/02/16 11:02:06 hwoarang Exp $

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 ~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
}




Reply via email to