Hello community, here is the log from the commit of package libdaemon checked in at Thu Dec 14 17:54:18 CET 2006. -------- --- libdaemon/libdaemon.changes 2006-01-25 21:37:24.000000000 +0100 +++ /mounts/work_src_done/STABLE/libdaemon/libdaemon.changes 2006-12-14 17:24:53.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Dec 14 17:24:47 CET 2006 - seife@suse.de + +- fix testd build + +------------------------------------------------------------------- New: ---- libdaemon-0.10-testd-fix-FD_SET.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdaemon.spec ++++++ --- /var/tmp/diff_new_pack.j8IV6u/_old 2006-12-14 17:53:28.000000000 +0100 +++ /var/tmp/diff_new_pack.j8IV6u/_new 2006-12-14 17:53:28.000000000 +0100 @@ -5,7 +5,7 @@ # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -14,12 +14,13 @@ BuildRequires: doxygen lynx URL: http://0pointer.de/lennart/projects/libdaemon/ Version: 0.10 -Release: 1 -Summary: libdaemon is a lightweight C library that eases the writing of UNIX daemons. -License: LGPL +Release: 39 +Summary: Lightweight C library That Eases the Writing of UNIX Daemons +License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: System/Libraries Source: %{name}-%{version}.tar.bz2 Patch: %{name}-attributes.patch +Patch1: libdaemon-0.10-testd-fix-FD_SET.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: /usr %package devel @@ -31,11 +32,11 @@ libdaemon is a lightweight C library that eases the writing of UNIX daemons. It consists of the following parts: -* A wrapper around fork() which does the correct daemonization +* A wrapper around fork() that does the correct daemonization procedure of a process -* A wrapper around syslog() for simpler and compatible log output to - Syslog or STDERR +* A wrapper around syslog() for simpler log output compatible with + syslog or STDERR * An API for writing PID files @@ -43,7 +44,7 @@ select() or poll() * An API for running subprocesses with STDOUT and STDERR redirected - to syslog. + to syslog APIs like these are used in most daemon software available. It is not that simple to get it done right and code duplication is not a goal. @@ -85,6 +86,7 @@ %prep %setup %patch +%patch1 -p0 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -116,6 +118,8 @@ /usr/include/libdaemon %changelog -n libdaemon +* Thu Dec 14 2006 - seife@suse.de +- fix testd build * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Sun Jan 22 2006 - cthiel@suse.de ++++++ libdaemon-0.10-testd-fix-FD_SET.diff ++++++ --- examples/testd.c +++ examples/testd.c @@ -116,7 +116,8 @@ /* Prepare for select() on the signal fd */ FD_ZERO(&fds); - FD_SET(fd = daemon_signal_fd(), &fds); + fd = daemon_signal_fd(); + FD_SET(fd, &fds); while (!quit) { fd_set fds2 = fds; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de