From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcgroup/
Date: Mon, 25 Sep 2023 03:29:41 +0000 (UTC) [thread overview]
Message-ID: <1695612569.7aaf9bca2a43fb025591756fec8095901c17e8ab.sam@gentoo> (raw)
commit: 7aaf9bca2a43fb025591756fec8095901c17e8ab
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 03:28:31 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 03:29:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aaf9bca
dev-libs/libcgroup: fix 3.1.0
Closes: https://bugs.gentoo.org/914623
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libcgroup/libcgroup-3.1.0.ebuild | 35 ++++++++++++++++---------------
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/dev-libs/libcgroup/libcgroup-3.1.0.ebuild b/dev-libs/libcgroup/libcgroup-3.1.0.ebuild
index 9fdbb7a5bde3..2459a7f98d46 100644
--- a/dev-libs/libcgroup/libcgroup-3.1.0.ebuild
+++ b/dev-libs/libcgroup/libcgroup-3.1.0.ebuild
@@ -12,26 +12,22 @@ SRC_URI="https://github.com/libcgroup/libcgroup/releases/download/v${PV}/${P}.ta
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
-IUSE="+daemon pam static-libs test +tools"
+IUSE="+daemon pam static-libs systemd test +tools"
REQUIRED_USE="daemon? ( tools )"
# Test failure needs investigation
RESTRICT="!test? ( test ) test"
-BDEPEND="
- sys-devel/bison
- sys-devel/flex
-"
DEPEND="
elibc_musl? ( sys-libs/fts-standalone )
pam? ( sys-libs/pam )
+ systemd? ( sys-apps/systemd:= )
"
RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.0.0-configure-bashism.patch"
- "${FILESDIR}/${PN}-3.0.0-musl-strerror_r.patch"
-)
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+"
pkg_setup() {
local CONFIG_CHECK="~CGROUPS"
@@ -45,7 +41,7 @@ src_prepare() {
default
# Change rules file location
- find src -name '*.c' -o -name '*.h' -0 \
+ find src -name '*.c' -o -name '*.h' -print0 \
| xargs -0 sed -i '/^#define/s:/etc/cg:/etc/cgroup/cg:'
sed -i 's:/etc/cg:/etc/cgroup/cg:' \
doc/man/cg* samples/config/*.conf README* || die "sed failed"
@@ -67,12 +63,17 @@ src_configure() {
append-ldflags -lfts
fi
+ # Needs flex+bison
+ unset LEX YACC
+
local myconf=(
- "$(use_enable static-libs static)"
- "$(use_enable daemon)"
- "$(use_enable pam)"
- "$(use_enable tools)"
- "$(use_enable test tests)"
+ --disable-python
+ $(use_enable static-libs static)
+ $(use_enable daemon)
+ $(use_enable pam)
+ $(use_enable systemd)
+ $(use_enable tools)
+ $(use_enable test tests)
)
if use pam; then
@@ -96,7 +97,7 @@ src_install() {
insinto /etc/cgroup
doins samples/config/cgconfig.conf
doins samples/config/cgrules.conf
- doins samples/config/cgsnapshot_blacklist.conf
+ doins samples/config/cgsnapshot_denylist.conf
keepdir /etc/cgroup/cgconfig.d
keepdir /etc/cgroup/cgrules.d
next reply other threads:[~2023-09-25 3:29 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-25 3:29 Sam James [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-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
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=1695612569.7aaf9bca2a43fb025591756fec8095901c17e8ab.sam@gentoo \
--to=sam@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