OBS User unknown 2007-07-04 22:43:19 +00:00 committed by Git OBS Bridge
parent 24020997d1
commit 698a3385e3
5 changed files with 36 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01768ed6d21d631d2f403a8328bbb89329ba08eaf1966d0507c0b576024c6448
size 240568

3
libdaemon-0.11.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19527316ac1a4c2e147e995479afb2340120a85a10371c00fcddf93bf6b77a26
size 250567

View File

@ -1,15 +0,0 @@
--- libdaemon/dexec.h
+++ libdaemon/dexec.h
@@ -46,7 +46,11 @@
* @param ... The arguments to be passed to the program, followed by a (char *) NULL
* @return Nonzero on failure, zero on success
*/
-int daemon_exec(const char *dir, int *ret, const char *prog, ...);
+int daemon_exec(const char *dir, int *ret, const char *prog, ...)
+#if defined(__GNUC__) && (__GNUC__ >= 4)
+__attribute__((__sentinel__(0)))
+#endif
+;
#ifdef __cplusplus
}

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Jul 3 19:36:21 CEST 2007 - maw@suse.de
- Update to version 0.11
+ automatically detect whether lynx is installed
+ properly set errno on every error condition
+ add new function daemon_close_all() to close all open file
descriptors except a given set
+ add daemon_logv(), which is identical to daemon_log(), but
takes a va_list argument
+ add daemon_execv() in similar style
+ other fixes
- Remove upstreamed libdaemon-attributes.patch.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 14 17:24:47 CET 2006 - seife@suse.de Thu Dec 14 17:24:47 CET 2006 - seife@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libdaemon (Version 0.10) # spec file for package libdaemon (Version 0.11)
# #
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -13,14 +13,13 @@
Name: libdaemon Name: libdaemon
BuildRequires: doxygen lynx BuildRequires: doxygen lynx
URL: http://0pointer.de/lennart/projects/libdaemon/ URL: http://0pointer.de/lennart/projects/libdaemon/
Version: 0.10 Version: 0.11
Release: 39 Release: 1
Summary: Lightweight C library That Eases the Writing of UNIX Daemons Summary: Lightweight C library That Eases the Writing of UNIX Daemons
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) License: LGPL v2 or later
Group: System/Libraries Group: System/Libraries
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch: %{name}-attributes.patch Patch0: libdaemon-0.10-testd-fix-FD_SET.diff
Patch1: libdaemon-0.10-testd-fix-FD_SET.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: /usr Prefix: /usr
%package devel %package devel
@ -85,8 +84,7 @@ Authors:
%prep %prep
%setup %setup
%patch %patch0 -p0
%patch1 -p0
%build %build
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS"
@ -117,7 +115,18 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libdaemon.pc %{_libdir}/pkgconfig/libdaemon.pc
/usr/include/libdaemon /usr/include/libdaemon
%changelog -n libdaemon %changelog
* 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
+ add new function daemon_close_all() to close all open file
descriptors except a given set
+ add daemon_logv(), which is identical to daemon_log(), but
takes a va_list argument
+ 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 - fix testd build
* Wed Jan 25 2006 - mls@suse.de * Wed Jan 25 2006 - mls@suse.de