[packages/cgmanager] - updated to 0.42 - added glibc patch (fixes mount headers issue)
qboosh
qboosh at pld-linux.org
Thu Jan 26 18:05:54 CET 2023
commit abbd9578fea9a82f797c254b52b2c4d5921643f1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jan 26 18:04:09 2023 +0100
- updated to 0.42
- added glibc patch (fixes mount headers issue)
cgmanager-glibc.patch | 10 ++++++++++
cgmanager.spec | 7 +++++--
2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/cgmanager.spec b/cgmanager.spec
index 3abb282..4c1d967 100644
--- a/cgmanager.spec
+++ b/cgmanager.spec
@@ -6,12 +6,14 @@
Summary: Linux cgroup manager
Summary(pl.UTF-8): Zarządca linuksowych cgroup
Name: cgmanager
-Version: 0.41
+Version: 0.42
Release: 1
License: GPL v2
Group: Daemons
+#Source0Download: https://linuxcontainers.org/cgmanager/downloads/
Source0: https://linuxcontainers.org/downloads/cgmanager/%{name}-%{version}.tar.gz
-# Source0-md5: 6ebed9ed3bf0751eb3cde47a94c45340
+# Source0-md5: 6cf7549e91a73c56164a28ef4d2980ce
+Patch0: %{name}-glibc.patch
URL: https://linuxcontainers.org/cgmanager/
BuildRequires: dbus-devel >= 1.2.16
BuildRequires: help2man
@@ -81,6 +83,7 @@ Statyczna biblioteka cgmanager.
%prep
%setup -q
+%patch0 -p1
%build
%configure \
diff --git a/cgmanager-glibc.patch b/cgmanager-glibc.patch
new file mode 100644
index 0000000..30ba7ed
--- /dev/null
+++ b/cgmanager-glibc.patch
@@ -0,0 +1,10 @@
+--- cgmanager-0.42/cgmanager.c.orig 2019-03-12 17:08:19.000000000 +0100
++++ cgmanager-0.42/cgmanager.c 2023-01-14 12:48:14.065767918 +0100
+@@ -20,7 +20,6 @@
+ #include <frontend.h>
+ #include <sys/resource.h>
+ #include <sys/vfs.h>
+-#include <linux/fs.h>
+
+ struct autoremove_entry {
+ NihList entry;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cgmanager.git/commitdiff/abbd9578fea9a82f797c254b52b2c4d5921643f1
More information about the pld-cvs-commit
mailing list