* [PR PATCH] libcgroup: update to 3.0.0.
@ 2022-08-11 23:55 chili-b
2022-08-12 0:02 ` [PR REVIEW] " classabbyamp
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: chili-b @ 2022-08-11 23:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
There is a new pull request by chili-b against master on the void-packages repository
https://github.com/chili-b/void-packages libcgroup
https://github.com/void-linux/void-packages/pull/38622
libcgroup: update to 3.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/38622.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libcgroup-38622.patch --]
[-- Type: text/x-diff, Size: 2317 bytes --]
From 1dccc1d644adad7c20dd37d9e3ecba50c342accf Mon Sep 17 00:00:00 2001
From: chili-b <dexter.gaonshatford@gmail.com>
Date: Thu, 11 Aug 2022 19:54:28 -0400
Subject: [PATCH] libcgroup: update to 3.0.0.
---
common/shlibs | 2 +-
srcpkgs/libcgroup/template | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 61924610cc52..df2c484c3b30 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -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
diff --git a/srcpkgs/libcgroup/template b/srcpkgs/libcgroup/template
index 986733be835d..cb947832711c 100644
--- a/srcpkgs/libcgroup/template
+++ b/srcpkgs/libcgroup/template
@@ -1,6 +1,6 @@
# 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"
@@ -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/v3.0/libcgroup-${version}.tar.gz"
+checksum=8d284d896fca1c981b55850e92acd3ad9648a69227c028dda7ae3402af878edd
case "$XBPS_TARGET_MACHINE" in
*-musl) # Add musl-fts implementation
@@ -22,8 +22,8 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_configure() {
- # Disable tests
- sed -i Makefile -e "/SUBDIRS =/ s; tests;;"
+ # Disable functional tests
+ echo -e "#/bin/sh\nexit 0" > tests/ftests/ftests.sh
}
libcgroup-utils_package() {
@@ -33,8 +33,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
}
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR REVIEW] libcgroup: update to 3.0.0.
2022-08-11 23:55 [PR PATCH] libcgroup: update to 3.0.0 chili-b
@ 2022-08-12 0:02 ` classabbyamp
2022-08-12 0:11 ` [PR PATCH] [Updated] " chili-b
2022-08-14 12:18 ` [PR PATCH] [Merged]: " paper42
2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2022-08-12 0:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38622#discussion_r944025193
Comment:
```suggestion
distfiles="https://github.com/libcgroup/libcgroup/releases/download/v${version%.*}/libcgroup-${version}.tar.gz"
```
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] libcgroup: update to 3.0.0.
2022-08-11 23:55 [PR PATCH] libcgroup: update to 3.0.0 chili-b
2022-08-12 0:02 ` [PR REVIEW] " classabbyamp
@ 2022-08-12 0:11 ` chili-b
2022-08-14 12:18 ` [PR PATCH] [Merged]: " paper42
2 siblings, 0 replies; 4+ messages in thread
From: chili-b @ 2022-08-12 0:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
There is an updated pull request by chili-b against master on the void-packages repository
https://github.com/chili-b/void-packages libcgroup
https://github.com/void-linux/void-packages/pull/38622
libcgroup: update to 3.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/38622.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libcgroup-38622.patch --]
[-- Type: text/x-diff, Size: 2558 bytes --]
From a294869dd9bfb2f75fea81d11bd7432dd84a558e Mon Sep 17 00:00:00 2001
From: chili-b <dexter.gaonshatford@gmail.com>
Date: Thu, 11 Aug 2022 19:54:28 -0400
Subject: [PATCH] libcgroup: update to 3.0.0.
---
common/shlibs | 2 +-
srcpkgs/libcgroup/template | 17 ++++++-----------
2 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 61924610cc52..df2c484c3b30 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -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
diff --git a/srcpkgs/libcgroup/template b/srcpkgs/libcgroup/template
index 986733be835d..18dfd5c9f8e5 100644
--- a/srcpkgs/libcgroup/template
+++ b/srcpkgs/libcgroup/template
@@ -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
}
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: libcgroup: update to 3.0.0.
2022-08-11 23:55 [PR PATCH] libcgroup: update to 3.0.0 chili-b
2022-08-12 0:02 ` [PR REVIEW] " classabbyamp
2022-08-12 0:11 ` [PR PATCH] [Updated] " chili-b
@ 2022-08-14 12:18 ` paper42
2 siblings, 0 replies; 4+ messages in thread
From: paper42 @ 2022-08-14 12:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
There's a merged pull request on the void-packages repository
libcgroup: update to 3.0.0.
https://github.com/void-linux/void-packages/pull/38622
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-14 12:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 23:55 [PR PATCH] libcgroup: update to 3.0.0 chili-b
2022-08-12 0:02 ` [PR REVIEW] " classabbyamp
2022-08-12 0:11 ` [PR PATCH] [Updated] " chili-b
2022-08-14 12:18 ` [PR PATCH] [Merged]: " paper42
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).