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 3139F138335 for ; Sat, 21 Sep 2019 09:15:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1470E0920; Sat, 21 Sep 2019 09:15:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 BB611E0920 for ; Sat, 21 Sep 2019 09:15:53 +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 A5FDA34B44A for ; Sat, 21 Sep 2019 09:15:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EC327F0 for ; Sat, 21 Sep 2019 09:15:49 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1569057321.cd7a823cb532735ce9541172f7c2af69b6fc532f.mgorny@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-r6.ebuild X-VCS-Directories: dev-libs/libcgroup/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cd7a823cb532735ce9541172f7c2af69b6fc532f X-VCS-Branch: master Date: Sat, 21 Sep 2019 09:15:49 +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: f8f37dd8-33fe-4ebf-b183-330dfb3b3b9e X-Archives-Hash: 2484d483855da0b1f36992fc0664756e commit: cd7a823cb532735ce9541172f7c2af69b6fc532f Author: Bernardo Meurer gmail com> AuthorDate: Sun Aug 11 00:42:22 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Sep 21 09:15:21 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7a823c dev-libs/libcgroup: EAPI-7 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Bernardo Meurer standard.ai> Signed-off-by: Michał Górny gentoo.org> dev-libs/libcgroup/libcgroup-0.41-r6.ebuild | 35 ++++++++++++++++------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/dev-libs/libcgroup/libcgroup-0.41-r6.ebuild b/dev-libs/libcgroup/libcgroup-0.41-r6.ebuild index 14021a85a76..f0164a2fa06 100644 --- a/dev-libs/libcgroup/libcgroup-0.41-r6.ebuild +++ b/dev-libs/libcgroup/libcgroup-0.41-r6.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools flag-o-matic linux-info pam systemd @@ -13,18 +13,27 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="+daemon elibc_musl pam static-libs test +tools" +REQUIRED_USE="daemon? ( tools )" -RDEPEND="pam? ( virtual/pam )" +# Use mount cgroup to build directory +# sandbox restricted to trivial build, +RESTRICT="test" -DEPEND=" - ${RDEPEND} +BDEPEND=" sys-devel/bison sys-devel/flex elibc_musl? ( sys-libs/fts-standalone ) - " -REQUIRED_USE="daemon? ( tools )" +" +DEPEND="pam? ( virtual/pam )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-replace-DECLS.patch + "${FILESDIR}"/${P}-replace-INLCUDES.patch + "${FILESDIR}"/${P}-reorder-headers.patch + "${FILESDIR}"/${P}-remove-umask.patch +) -DOCS=(README_daemon README README_systemd INSTALL) pkg_setup() { local CONFIG_CHECK="~CGROUPS" if use daemon; then @@ -56,6 +65,9 @@ src_prepare() { sed -i '/^SUBDIRS/s:tests::' Makefile.am || die fi + # Workaround configure.in + mv configure.in configure.ac || die + eautoreconf } @@ -75,16 +87,9 @@ src_configure() { ${my_conf} } -src_test() { - # Use mount cgroup to build directory - # sandbox restricted to trivial build, - # possible kill Diego tanderbox ;) - true -} - src_install() { default - prune_libtool_files --all + find "${D}" -name '*.la' -delete || die insinto /etc/cgroup doins samples/*.conf