Github messages for voidlinux
 help / color / mirror / Atom feed
From: chili-b <chili-b@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] libcgroup: update to 3.0.0.
Date: Fri, 12 Aug 2022 01:55:54 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38622@inbox.vuxu.org> (raw)

[-- 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
 	}
 }

             reply	other threads:[~2022-08-11 23:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-11 23:55 chili-b [this message]
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

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38622@inbox.vuxu.org \
    --to=chili-b@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).