From 698a3385e3f654cd706569df08ba46ee5ac3ac9b0388361aaab4a0136f0c5466 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 4 Jul 2007 22:43:19 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdaemon?expand=0&rev=2 --- libdaemon-0.10.tar.bz2 | 3 --- libdaemon-0.11.tar.bz2 | 3 +++ libdaemon-attributes.patch | 15 --------------- libdaemon.changes | 14 ++++++++++++++ libdaemon.spec | 29 +++++++++++++++++++---------- 5 files changed, 36 insertions(+), 28 deletions(-) delete mode 100644 libdaemon-0.10.tar.bz2 create mode 100644 libdaemon-0.11.tar.bz2 delete mode 100644 libdaemon-attributes.patch diff --git a/libdaemon-0.10.tar.bz2 b/libdaemon-0.10.tar.bz2 deleted file mode 100644 index 0cb7fe6..0000000 --- a/libdaemon-0.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:01768ed6d21d631d2f403a8328bbb89329ba08eaf1966d0507c0b576024c6448 -size 240568 diff --git a/libdaemon-0.11.tar.bz2 b/libdaemon-0.11.tar.bz2 new file mode 100644 index 0000000..ab86ff0 --- /dev/null +++ b/libdaemon-0.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19527316ac1a4c2e147e995479afb2340120a85a10371c00fcddf93bf6b77a26 +size 250567 diff --git a/libdaemon-attributes.patch b/libdaemon-attributes.patch deleted file mode 100644 index af77372..0000000 --- a/libdaemon-attributes.patch +++ /dev/null @@ -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 - } diff --git a/libdaemon.changes b/libdaemon.changes index feb644f..befdc76 100644 --- a/libdaemon.changes +++ b/libdaemon.changes @@ -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 diff --git a/libdaemon.spec b/libdaemon.spec index 033cfd3..1e904de 100644 --- a/libdaemon.spec +++ b/libdaemon.spec @@ -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 # package are under the same license as the package itself. # @@ -13,14 +13,13 @@ Name: libdaemon BuildRequires: doxygen lynx URL: http://0pointer.de/lennart/projects/libdaemon/ -Version: 0.10 -Release: 39 +Version: 0.11 +Release: 1 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 Source: %{name}-%{version}.tar.bz2 -Patch: %{name}-attributes.patch -Patch1: libdaemon-0.10-testd-fix-FD_SET.diff +Patch0: libdaemon-0.10-testd-fix-FD_SET.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: /usr %package devel @@ -85,8 +84,7 @@ Authors: %prep %setup -%patch -%patch1 -p0 +%patch0 -p0 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -117,7 +115,18 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/libdaemon.pc /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 - fix testd build * Wed Jan 25 2006 - mls@suse.de