Hello community,
here is the log from the commit of package libdaemon
checked in at Fri Nov 28 15:25:47 CET 2008.
--------
--- libdaemon/libdaemon.changes 2007-12-18 15:08:30.000000000 +0100
+++ libdaemon/libdaemon.changes 2008-11-27 15:37:42.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Nov 27 15:36:41 CET 2008 - seife@suse.de
+
+- fix compiler warning (bnc#449728)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
libdaemon-0.12-bnc449728.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libdaemon.spec ++++++
--- /var/tmp/diff_new_pack.e19132/_old 2008-11-28 15:25:07.000000000 +0100
+++ /var/tmp/diff_new_pack.e19132/_new 2008-11-28 15:25:07.000000000 +0100
@@ -1,29 +1,39 @@
#
# spec file for package libdaemon (Version 0.12)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2008 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
+
Name: libdaemon
BuildRequires: doxygen
Url: http://0pointer.de/lennart/projects/libdaemon/
Version: 0.12
-Release: 28
+Release: 30
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
License: LGPL v2.1 or later
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Patch0: libdaemon-0.10-testd-fix-FD_SET.diff
Patch1: bnc-309132.patch
+Patch2: libdaemon-0.12-bnc449728.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package -n libdaemon0
+License: LGPL v2.1 or later
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
Group: System/Libraries
Provides: %{name} = %{version}
@@ -58,6 +68,7 @@
Lennart Poettering
%package devel
+License: GPL v2 or later
Summary: libdaemon is a lightweight C library that eases the writing of UNIX daemons.
Group: Development/Libraries/C and C++
Requires: libdaemon0 = %{version} glibc-devel
@@ -120,6 +131,7 @@
%setup -q
%patch0 -p0
%patch1 -p1
+%patch2 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -150,22 +162,24 @@
%{_includedir}/libdaemon/*.h
%changelog
-* Tue Dec 18 2007 - seife@suse.de
+* Thu Nov 27 2008 seife@suse.de
+- fix compiler warning (bnc#449728)
+* Tue Dec 18 2007 seife@suse.de
- reenabled static libraries to fix ifplugd build
-* Wed Nov 28 2007 - crrodriguez@suse.de
+* Wed Nov 28 2007 crrodriguez@suse.de
- libdaemon --> libdaemon0
- remove static libraries
- remove "la" files
- fix -devel package dependencies
-* Thu Sep 13 2007 - mauro@suse.de
+* Thu Sep 13 2007 mauro@suse.de
- Applied a patch from upstream, to fix bnc #309132.
-* Sun Jul 22 2007 - coolo@suse.de
+* Sun Jul 22 2007 coolo@suse.de
- disable lynx as it adds little featurewise (the README is packaged
in the tar), but make libdaemon build pretty late and we need it
-* Wed Jul 11 2007 - seife@suse.de
+* Wed Jul 11 2007 seife@suse.de
- Update to version 0.12
+ make daemon_close_all() actually work properly
-* Tue Jul 03 2007 - maw@suse.de
+* Tue Jul 03 2007 maw@suse.de
- Update to version 0.11
+ automatically detect whether lynx is installed
+ properly set errno on every error condition
@@ -176,23 +190,23 @@
+ add daemon_execv() in similar style
+ other fixes
- Remove upstreamed libdaemon-attributes.patch.
-* Thu Dec 14 2006 - seife@suse.de
+* Thu Dec 14 2006 seife@suse.de
- fix testd build
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Sun Jan 22 2006 - cthiel@suse.de
+* Sun Jan 22 2006 cthiel@suse.de
- update to version 0.10
-* Mon Oct 31 2005 - dmueller@suse.de
+* Mon Oct 31 2005 dmueller@suse.de
- don't build as root
-* Fri Sep 23 2005 - sbrabec@suse.cz
+* Fri Sep 23 2005 sbrabec@suse.cz
- Fixed devel dependencies.
-* Tue May 31 2005 - ro@suse.de
+* Tue May 31 2005 ro@suse.de
- fix libdir in pkgconfig file
-* Sat Feb 05 2005 - meissner@suse.de
+* Sat Feb 05 2005 meissner@suse.de
- added attributes
-* Wed Jan 19 2005 - seife@suse.de
+* Wed Jan 19 2005 seife@suse.de
- update to version 0.7
-* Thu Aug 12 2004 - seife@suse.de
+* Thu Aug 12 2004 seife@suse.de
- add libpng to neededforbuild (now required by doxygen)
-* Mon Jun 21 2004 - seife@suse.de
+* Mon Jun 21 2004 seife@suse.de
- initial package submission
++++++ libdaemon-0.12-bnc449728.diff ++++++
Index: b/libdaemon/dpid.c
===================================================================
--- a/libdaemon/dpid.c
+++ b/libdaemon/dpid.c
@@ -215,11 +215,12 @@ int daemon_pid_file_create(void) {
goto finish;
}
snprintf(t, sizeof(t), "%lu\n", (unsigned long) getpid());
- if (write(fd, t, l = strlen(t)) != l) {
+ l = strlen(t);
+ if (write(fd, t, l) != l) {
int saved_errno = errno;
daemon_log(LOG_WARNING, "write(): %s", strerror(errno));
unlink(fn);
errno = saved_errno;
goto finish;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org