Hello community,
here is the log from the commit of package libcgroup1 for openSUSE:Factory
checked in at Fri Feb 5 15:27:02 CET 2010.
--------
--- libcgroup1/libcgroup1.changes 2009-08-18 13:41:04.000000000 +0200
+++ /mounts/work_src_done/STABLE/libcgroup1/libcgroup1.changes 2010-02-04 14:40:46.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Feb 4 14:58:10 CET 2010 - jslaby@suse.de
+
+- fail to start when a parsing error occurs
+
+-------------------------------------------------------------------
+Mon Feb 1 11:21:54 UTC 2010 - jengelh@medozas.de
+
+- package baselibs.conf
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
fail-on-parse-mismatch.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libcgroup1.spec ++++++
--- /var/tmp/diff_new_pack.XHBXPA/_old 2010-02-05 15:22:41.000000000 +0100
+++ /var/tmp/diff_new_pack.XHBXPA/_new 2010-02-05 15:22:41.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libcgroup1 (Version 0.34)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,8 +20,8 @@
Name: libcgroup1
Version: 0.34
-Release: 2
-License: LGPL v2.1 only
+Release: 3
+License: LGPLv2.1
Group: System/Management
AutoReqProv: on
Summary: Control groups management tools
@@ -30,9 +30,11 @@
Source1: initd_cgconfig
Source2: initd_cgred
Source3: sysconfig.cgred
+Source99: baselibs.conf
Patch0: libcgroup-sigaction.patch
Patch1: libcgroup-pamlibdir.patch
Patch2: libcgroup-remove-suid.patch
+Patch3: fail-on-parse-mismatch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison flex gcc-c++ pam-devel
Requires: insserv pam
@@ -51,7 +53,7 @@
Dhaval Giani
%package -n libcgroup-devel
-License: LGPL v2.1 only
+License: LGPLv2.1
Summary: Control groups management tools devel package
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
++++++ fail-on-parse-mismatch.patch ++++++
Index: libcgroup-0.34/src/parse.y
===================================================================
--- libcgroup-0.34.orig/src/parse.y 2010-02-04 18:35:44.000000000 +0530
+++ libcgroup-0.34/src/parse.y 2010-02-04 18:59:53.000000000 +0530
@@ -72,7 +72,7 @@
else {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -85,7 +85,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -95,7 +95,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -105,7 +105,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -130,6 +130,7 @@
if ($1) {
$2 = strncat($2, ":", strlen(":"));
$$ = strncat($2, $1, strlen($1));
+ free($1);
}
free($4);
}
@@ -146,7 +147,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -156,7 +157,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -169,7 +170,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -179,7 +180,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -192,7 +193,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -202,7 +203,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -214,7 +215,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -226,7 +227,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
@@ -259,7 +260,7 @@
if (!$$) {
fprintf(stderr, "parsing failed at line number %d\n",
line_no);
- $$ = 0;
+ $$ = ECGCONFIGPARSEFAIL;
return $$;
}
}
Index: libcgroup-0.34/include/libcgroup.h
===================================================================
--- libcgroup-0.34.orig/include/libcgroup.h 2009-07-01 20:34:50.000000000 +0530
+++ libcgroup-0.34/include/libcgroup.h 2010-02-04 19:11:13.000000000 +0530
@@ -92,6 +92,7 @@
ECGMOUNTFAIL,
ECGSENTINEL, /* Please insert further error codes above this */
ECGEOF, /* End of file, iterator */
+ ECGCONFIGPARSEFAIL,/* Failed to parse config file (cgconfig.conf). */
};
/*
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org