From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D8F1158F57 for ; Mon, 16 Aug 2021 20:48:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D810FE08A0; Sun, 15 Aug 2021 21:06:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7B03E08A0 for ; Sun, 15 Aug 2021 21:06:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D9D334594E for ; Sun, 15 Aug 2021 21:06:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1657E7B4 for ; Sun, 15 Aug 2021 21:06:39 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1629061568.4787450a82cbb93faac7b3c07ae669483e24281b.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcgroup/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libcgroup/libcgroup-0.41-r5.ebuild X-VCS-Directories: dev-libs/libcgroup/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4787450a82cbb93faac7b3c07ae669483e24281b X-VCS-Branch: master Date: Sun, 15 Aug 2021 21:06:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c7b9ab0d-c666-4992-9bb4-3e2c6bd3a3cf X-Archives-Hash: ddcde6b33f2fbacaba27635183c2f68a commit: 4787450a82cbb93faac7b3c07ae669483e24281b Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Aug 3 12:34:54 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Aug 15 21:06:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4787450a dev-libs/libcgroup: Drop 0.41-r5, EAPI6-- Closes: https://bugs.gentoo.org/783873 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/libcgroup/libcgroup-0.41-r5.ebuild | 102 ---------------------------- 1 file changed, 102 deletions(-) diff --git a/dev-libs/libcgroup/libcgroup-0.41-r5.ebuild b/dev-libs/libcgroup/libcgroup-0.41-r5.ebuild deleted file mode 100644 index a3ee8b14b97..00000000000 --- a/dev-libs/libcgroup/libcgroup-0.41-r5.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic linux-info pam - -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 arm arm64 ~ppc ~ppc64 x86" -IUSE="+daemon elibc_musl pam static-libs test +tools" -RESTRICT="!test? ( test )" - -RDEPEND="pam? ( sys-libs/pam )" - -DEPEND=" - ${RDEPEND} - sys-devel/bison - sys-devel/flex - elibc_musl? ( sys-libs/fts-standalone ) - " -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 -} - -PATCHES=( - "${FILESDIR}"/${P}-replace_DECLS.patch - "${FILESDIR}"/${P}-replace_INLCUDES.patch - "${FILESDIR}"/${P}-reorder-headers.patch - "${FILESDIR}"/${P}-remove-umask.patch -) - -src_prepare() { - default - # 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:/etc/cgconfig.conf:/etc/cgroup/cgconfig.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" - - # If we're not running tests, don't bother building them. - if ! use test; then - sed -i '/^SUBDIRS/s:tests::' Makefile.am || die - fi - - eautoreconf -} - -src_configure() { - local my_conf - - if use pam; then - my_conf=" --enable-pam-module-dir=$(getpam_mod_dir) " - fi - - use elibc_musl && append-ldflags "-lfts" - econf \ - $(use_enable static-libs static) \ - $(use_enable daemon) \ - $(use_enable pam) \ - $(use_enable tools) \ - ${my_conf} -} - -src_test() { - # Use mount cgroup to build directory - # sandbox restricted to trivial build, - # possible kill Diego tanderbox ;) - true -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - - insinto /etc/cgroup - doins samples/*.conf - - if use tools; then - newconfd "${FILESDIR}"/cgconfig.confd-r1 cgconfig - newinitd "${FILESDIR}"/cgconfig.initd-r1 cgconfig - fi - - if use daemon; then - newconfd "${FILESDIR}"/cgred.confd-r2 cgred - newinitd "${FILESDIR}"/cgred.initd-r1 cgred - fi -}