Сравнение libcgroup-3.0.0-r1 с libcgroup-3.1.0
/usr/portage/dev-libs/libcgroup/libcgroup-3.1.0.ebuild 2023-10-09 14:52:29.512368351 +0300 | ||
---|---|---|
7 | 7 | |
8 | 8 |
DESCRIPTION="Tools and libraries to configure and manage kernel control groups" |
9 | 9 |
HOMEPAGE="https://github.com/libcgroup/libcgroup" |
10 |
SRC_URI="https://github.com/libcgroup/libcgroup/releases/download/v$(ver_cut 1-2)/${P}.tar.gz" |
|
10 |
SRC_URI="https://github.com/libcgroup/libcgroup/releases/download/v${PV}/${P}.tar.gz" |
|
11 | 11 | |
12 | 12 |
LICENSE="LGPL-2.1" |
13 | 13 |
SLOT="0" |
14 | 14 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
15 |
IUSE="+daemon pam static-libs test +tools" |
|
15 |
IUSE="+daemon pam static-libs systemd test +tools" |
|
16 | 16 |
REQUIRED_USE="daemon? ( tools )" |
17 | 17 | |
18 | 18 |
# Test failure needs investigation |
19 | 19 |
RESTRICT="!test? ( test ) test" |
20 | 20 | |
21 |
BDEPEND=" |
|
22 |
sys-devel/bison |
|
23 |
sys-devel/flex |
|
24 |
" |
|
25 | 21 |
DEPEND=" |
26 | 22 |
elibc_musl? ( sys-libs/fts-standalone ) |
27 | 23 |
pam? ( sys-libs/pam ) |
24 |
systemd? ( sys-apps/systemd:= ) |
|
28 | 25 |
" |
29 | 26 |
RDEPEND="${DEPEND}" |
30 | ||
31 |
PATCHES=( |
|
32 |
"${FILESDIR}/${PN}-3.0.0-configure-bashism.patch" |
|
33 |
"${FILESDIR}/${PN}-3.0.0-musl-strerror_r.patch" |
|
34 |
) |
|
27 |
BDEPEND=" |
|
28 |
sys-devel/bison |
|
29 |
sys-devel/flex |
|
30 |
" |
|
35 | 31 | |
36 | 32 |
pkg_setup() { |
37 | 33 |
local CONFIG_CHECK="~CGROUPS" |
... | ... | |
67 | 63 |
append-ldflags -lfts |
68 | 64 |
fi |
69 | 65 | |
66 |
# Needs flex+bison |
|
67 |
unset LEX YACC |
|
68 | ||
70 | 69 |
local myconf=( |
71 |
"$(use_enable static-libs static)" |
|
72 |
"$(use_enable daemon)" |
|
73 |
"$(use_enable pam)" |
|
74 |
"$(use_enable tools)" |
|
75 |
"$(use_enable test tests)" |
|
70 |
--disable-python |
|
71 |
$(use_enable static-libs static) |
|
72 |
$(use_enable daemon) |
|
73 |
$(use_enable pam) |
|
74 |
$(use_enable systemd) |
|
75 |
$(use_enable tools) |
|
76 |
$(use_enable test tests) |
|
76 | 77 |
) |
77 | 78 | |
78 | 79 |
if use pam; then |
... | ... | |
96 | 97 |
insinto /etc/cgroup |
97 | 98 |
doins samples/config/cgconfig.conf |
98 | 99 |
doins samples/config/cgrules.conf |
99 |
doins samples/config/cgsnapshot_blacklist.conf |
|
100 |
doins samples/config/cgsnapshot_denylist.conf |
|
100 | 101 | |
101 | 102 |
keepdir /etc/cgroup/cgconfig.d |
102 | 103 |
keepdir /etc/cgroup/cgrules.d |