diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-05-18 12:58:22 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-05-24 04:34:23 -1000 |
commit | 6588c45d6c39f3cd1a6a58a53086bee8908ff7cd (patch) | |
tree | 58d4921f903e80f09e3253e355cdd7728dad448f /meta/recipes-core/libcgroup/libcgroup_2.0.2.bb | |
parent | 5b2f2ff633fcb5742ebaf309d86bba70c3eab398 (diff) | |
download | openembedded-core-contrib-6588c45d6c39f3cd1a6a58a53086bee8908ff7cd.tar.gz |
libcgroup: upgrade 2.0.1 -> 2.0.2
Bug fix release:
Fix extra spaces in configure.ac's --enable-bindings
Fix potential segfault if there are more than 100 cgroup mount points
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2139fd56da0d8e3769bcc0b337c446e7e4b98f90)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-core/libcgroup/libcgroup_2.0.2.bb')
-rw-r--r-- | meta/recipes-core/libcgroup/libcgroup_2.0.2.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-core/libcgroup/libcgroup_2.0.2.bb b/meta/recipes-core/libcgroup/libcgroup_2.0.2.bb new file mode 100644 index 0000000000..7ade372cae --- /dev/null +++ b/meta/recipes-core/libcgroup/libcgroup_2.0.2.bb @@ -0,0 +1,33 @@ +SUMMARY = "Linux control group abstraction library" +HOMEPAGE = "http://libcg.sourceforge.net/" +DESCRIPTION = "libcgroup is a library that abstracts the control group file system \ +in Linux. Control groups allow you to limit, account and isolate resource usage \ +(CPU, memory, disk I/O, etc.) of groups of processes." +SECTION = "libs" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" + +inherit autotools pkgconfig + +DEPENDS = "bison-native flex-native" + +SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz" + +SRC_URI[sha256sum] = "8ef63b32e0aff619547dbb8a25e1f6bab152d7c4864795cf915571a5994d0cf8" +UPSTREAM_CHECK_URI = "https://github.com/libcgroup/libcgroup/releases/" + +DEPENDS:append:libc-musl = " fts " +EXTRA_OEMAKE:append:libc-musl = " LIBS=-lfts" + +PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" +PACKAGECONFIG[pam] = "--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes,--enable-pam=no,libpam" + +PACKAGES =+ "cgroups-pam-plugin" +FILES:cgroups-pam-plugin = "${base_libdir}/security/pam_cgroup.so*" +FILES:${PN}-dev += "${base_libdir}/security/*.la" +FILES:${PN}-staticdev += "${base_libdir}/security/pam_cgroup.a" + +do_install:append() { + # Until we ship the test suite, this library isn't useful + rm -f ${D}${libdir}/libcgroupfortesting.* +} |