libcgroup: update to 3.0.0.

This commit is contained in:
chili-b 2022-08-11 19:54:28 -04:00 committed by Michal Vasilek
parent 548f81fae9
commit 98ea5ac0bf
2 changed files with 7 additions and 12 deletions

View file

@ -963,7 +963,7 @@ libIceDiscovery.so.37 libIce-3.7.5_2
libIceLocatorDiscovery.so.37 libIce-3.7.5_2
libvdpau.so.1 libvdpau-0.4.1_1
libgsm.so.1 libgsm-1.0.13_13
libcgroup.so.2 libcgroup-2.0.2_1
libcgroup.so.3 libcgroup-3.0.0_1
libxdg-basedir.so.1 libxdg-basedir-1.1.1_1
libev.so.4 libev-4.04_1
libell.so.0 ell-0.45_1

View file

@ -1,9 +1,9 @@
# Template file for 'libcgroup'
pkgname=libcgroup
version=2.0.2
version=3.0.0
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-pam-module-dir=/usr/lib/security"
configure_args="--sbindir=/usr/bin --enable-pam-module-dir=/usr/lib/security --enable-tests=no"
hostmakedepends="flex"
makedepends="pam-devel"
short_desc="Library that abstracts the control group file system in Linux"
@ -11,8 +11,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
make_dirs="/etc/cgconfig.d 0755 root root"
license="LGPL-2.1-only"
homepage="https://github.com/libcgroup/libcgroup"
distfiles="https://github.com/libcgroup/libcgroup/releases/download/v${version}/libcgroup-${version}.tar.gz"
checksum=8ef63b32e0aff619547dbb8a25e1f6bab152d7c4864795cf915571a5994d0cf8
distfiles="https://github.com/libcgroup/libcgroup/releases/download/v${version%.*}/libcgroup-${version}.tar.gz"
checksum=8d284d896fca1c981b55850e92acd3ad9648a69227c028dda7ae3402af878edd
case "$XBPS_TARGET_MACHINE" in
*-musl) # Add musl-fts implementation
@ -21,11 +21,6 @@ case "$XBPS_TARGET_MACHINE" in
;;
esac
post_configure() {
# Disable tests
sed -i Makefile -e "/SUBDIRS =/ s; tests;;"
}
libcgroup-utils_package() {
short_desc+=" - utilities"
conf_files="/etc/cgrules.conf /etc/cgconfig.conf"
@ -33,8 +28,8 @@ libcgroup-utils_package() {
pkg_install() {
vmove usr/bin
vmove usr/share/man
vconf samples/cgrules.conf
vconf samples/cgconfig.conf
vconf samples/config/cgrules.conf
vconf samples/config/cgconfig.conf
vsv cgred
}
}