packages: libcgroup/libcgroup.spec, libcgroup/libcgroup-group-write.patch (...
baggins
baggins at pld-linux.org
Wed Feb 9 18:17:45 CET 2011
Author: baggins Date: Wed Feb 9 17:17:45 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- fix permissions so group also has write access as per documentation
---- Files affected:
packages/libcgroup:
libcgroup.spec (1.17 -> 1.18) , libcgroup-group-write.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libcgroup/libcgroup.spec
diff -u packages/libcgroup/libcgroup.spec:1.17 packages/libcgroup/libcgroup.spec:1.18
--- packages/libcgroup/libcgroup.spec:1.17 Tue Feb 8 23:23:48 2011
+++ packages/libcgroup/libcgroup.spec Wed Feb 9 18:17:40 2011
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Narzędzia i biblioteka do kontrolowania i monitorowania grup kontroli
Name: libcgroup
Version: 0.37
-Release: 2
+Release: 2.2
License: LGPL v2+
Group: Libraries
Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
@@ -11,6 +11,7 @@
Source1: cgconfig.init
Source2: cgred.init
Patch0: %{name}-pam.patch
+Patch1: %{name}-group-write.patch
URL: http://libcg.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -71,6 +72,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
@@ -162,6 +164,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2011/02/09 17:17:40 baggins
+- fix permissions so group also has write access as per documentation
+
Revision 1.17 2011/02/08 22:23:48 sparky
- auto*ize
================================================================
Index: packages/libcgroup/libcgroup-group-write.patch
diff -u /dev/null packages/libcgroup/libcgroup-group-write.patch:1.1
--- /dev/null Wed Feb 9 18:17:45 2011
+++ packages/libcgroup/libcgroup-group-write.patch Wed Feb 9 18:17:40 2011
@@ -0,0 +1,11 @@
+--- libcgroup-0.37/src/api.c~ 2011-02-09 18:07:42.010413505 +0100
++++ libcgroup-0.37/src/api.c 2011-02-09 18:08:48.317243502 +0100
+@@ -1409,6 +1409,8 @@
+ cgroup_dbg("Changing ownership of %s\n", fts_path[0]);
+ error = cg_chown_recursive(fts_path,
+ cgroup->control_uid, cgroup->control_gid);
++ if (!error)
++ error = cg_chmod_recursive(cgroup, 0775, 1, 0664, 1);
+ }
+
+ if (error)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libcgroup/libcgroup.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list