From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcgroup/
Date: Thu, 21 Dec 2017 21:32:35 +0000 (UTC) [thread overview]
Message-ID: <1513891949.01225a1a3ebb0df92c4a63532994e146cab84fb8.blueness@gentoo> (raw)
commit: 01225a1a3ebb0df92c4a63532994e146cab84fb8
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 21 21:32:05 2017 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Dec 21 21:32:29 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01225a1a
dev-libs/libcgroup: remove older version
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-libs/libcgroup/libcgroup-0.41.ebuild | 104 -------------------------------
1 file changed, 104 deletions(-)
diff --git a/dev-libs/libcgroup/libcgroup-0.41.ebuild b/dev-libs/libcgroup/libcgroup-0.41.ebuild
deleted file mode 100644
index 033edd31d68..00000000000
--- a/dev-libs/libcgroup/libcgroup-0.41.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-AUTOTOOLS_AUTORECONF=1
-
-inherit eutils linux-info pam autotools-utils
-
-DESCRIPTION="Tools and libraries to configure and manage kernel control groups"
-HOMEPAGE="http://libcg.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/libcg/${PN}/v${PV}/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 x86"
-IUSE="+daemon debug pam static-libs +tools debug"
-
-RDEPEND="pam? ( virtual/pam )"
-
-DEPEND="
- ${RDEPEND}
- sys-devel/bison
- sys-devel/flex
- "
-REQUIRED_USE="daemon? ( tools )"
-
-DOCS=(README_daemon README README_systemd INSTALL)
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS"
- if use daemon; then
- CONFIG_CHECK="${CONFIG_CHECK} ~CONNECTOR ~PROC_EVENTS"
- fi
- linux-info_pkg_setup
-}
-
-src_prepare() {
-
- # Change rules file location
- sed -e 's:/etc/cgrules.conf:/etc/cgroup/cgrules.conf:' \
- -i src/libcgroup-internal.h || die "sed failed"
- sed -e 's:\(pam_cgroup_la_LDFLAGS.*\):\1\ -avoid-version:' \
- -i src/pam/Makefile.am || die "sed failed"
- sed -e 's#/var/run#/run#g' -i configure.in || die "sed failed"
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local my_conf
-
- if use pam; then
- my_conf=" --enable-pam-module-dir=$(getpam_mod_dir) "
- fi
-
- local myeconfargs=(
- $(use_enable daemon)
- $(use_enable debug)
- $(use_enable pam)
- $(use_enable tools)
- ${my_conf}
- )
- autotools-utils_src_configure
-}
-
-src_test() {
- # Use mount cgroup to build directory
- # sandbox restricted to trivial build,
- # possible kill Diego tanderbox ;)
- true
-}
-
-src_install() {
- autotools-utils_src_install
- prune_libtool_files --all
-
- insinto /etc/cgroup
- doins samples/*.conf || die
-
- if use tools; then
- newconfd "${FILESDIR}"/cgconfig.confd cgconfig || die
- newinitd "${FILESDIR}"/cgconfig.initd cgconfig || die
- fi
-
- if use daemon; then
- newconfd "${FILESDIR}"/cgred.confd cgred || die
- newinitd "${FILESDIR}"/cgred.initd cgred || die
- fi
-}
-
-pkg_postinst() {
- elog "Read the kernel docs on cgroups, related schedulers, and the"
- elog "block I/O controllers. The Redhat Resource Management Guide"
- elog "is also helpful. DO NOT enable the cgroup namespace subsytem"
- elog "if you want a custom config, rule processing, etc. This option"
- elog "should only be enabled for a VM environment. The UID wildcard"
- elog "rules seem to work only without a custom config (since wildcards"
- elog "don't work in config blocks). Specific user-id configs *do*"
- elog "work, but be careful about how the mem limits add up if using"
- elog "the memory.limit_* directives. There should be a basic task"
- elog "partitioning into the default group when running cgred with no"
- elog "specific config blocks or rules (other than the mount directive)."
- elog "See the docs for the pam module config, and as always, RTFM..."
-}
next reply other threads:[~2017-12-21 21:32 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-21 21:32 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-09 7:15 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcgroup/ Joonas Niilola
2023-12-08 8:51 Arthur Zamarin
2023-12-08 8:48 Arthur Zamarin
2023-12-08 8:48 Arthur Zamarin
2023-09-27 4:06 Sam James
2023-09-27 4:03 Sam James
2023-09-25 3:29 Sam James
2023-09-25 3:29 Sam James
2023-09-25 3:29 Sam James
2023-03-17 17:22 Sam James
2023-03-17 17:00 Sam James
2023-03-17 16:28 Arthur Zamarin
2023-03-17 16:12 Arthur Zamarin
2022-07-29 3:08 Sam James
2021-09-18 22:25 Anthony G. Basile
2021-08-15 21:06 Andreas Sturmlechner
2021-07-05 19:38 Marek Szuba
2021-05-04 19:13 Sam James
2021-05-01 18:11 Sam James
2021-05-01 18:11 Sam James
2021-05-01 17:13 Sam James
2019-10-12 18:58 Mikle Kolyada
2019-09-21 9:15 Michał Górny
2019-04-21 2:34 Anthony G. Basile
2019-04-16 12:48 Anthony G. Basile
2019-01-03 9:16 Mike Frysinger
2018-11-07 6:23 Anthony G. Basile
2018-08-23 0:39 Anthony G. Basile
2018-08-23 0:37 Anthony G. Basile
2018-08-23 0:28 Anthony G. Basile
2018-08-15 22:53 Anthony G. Basile
2018-04-21 11:15 Anthony G. Basile
2017-12-21 21:32 Anthony G. Basile
2017-12-21 21:32 Anthony G. Basile
2016-10-10 13:28 Anthony G. Basile
2015-09-06 16:40 Anthony G. Basile
2015-09-06 15:49 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1513891949.01225a1a3ebb0df92c4a63532994e146cab84fb8.blueness@gentoo \
--to=blueness@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox