Sync from SUSE:ALP:Source:Standard:1.0 libdaemon revision 58508cb4fcf0ef1ce59ab6305c24f91f

This commit is contained in:
Adrian Schröter 2024-10-14 14:52:48 +02:00
commit 42b315d6ee
4 changed files with 278 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
libdaemon-0.14.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

167
libdaemon.changes Normal file
View File

@ -0,0 +1,167 @@
-------------------------------------------------------------------
Mon Jun 7 23:18:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Drop --with-pic (no effect with --disable-static).
- Modernize rpm macro constructs.
-------------------------------------------------------------------
Thu Mar 23 15:15:30 UTC 2017 - kstreitova@suse.com
- cleanup with spec-cleaner
-------------------------------------------------------------------
Wed Mar 11 19:07:47 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Use url for source
-------------------------------------------------------------------
Sat Feb 11 19:25:52 UTC 2012 - crrodriguez@opensuse.org
- Move library back to %{_libdir}, /usr merge project.
-------------------------------------------------------------------
Wed Feb 1 02:41:49 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags
-------------------------------------------------------------------
Tue Oct 5 11:06:05 CEST 2010 - vuntz@opensuse.org
- Update to version 0.14:
+ add daemon_set_verbosity() call
+ make daemon_nonblock() actually work
+ numerous updates
+ build fixes
- Drop libdaemon-0.12-bnc449728.diff,
libdaemon-0.13-bnc469342.diff: fixed upstream.
- Improve descriptions.
- Do not set CFLAGS since we use %configure.
- Use %makeinstall.
-------------------------------------------------------------------
Sat Apr 24 11:38:19 UTC 2010 - coolo@novell.com
- buildrequire pkg-config to fix provides
-------------------------------------------------------------------
Wed Feb 4 02:58:54 CET 2009 - crrodriguez@suse.de
- move shared libraries to /%{_lib} so ifplugd can use them
- remove static libraries again
-------------------------------------------------------------------
Tue Jan 27 17:57:08 CET 2009 - seife@suse.de
- mark filedescritor as closed after closing it, preventing
application errors in e.g. avahi (bnc#469342, bnc#442210)
Thanks to Stefan Thaeter for providing the patch.
-------------------------------------------------------------------
Thu Nov 27 15:55:45 CET 2008 - seife@suse.de
- update to version 0.13:
- add daemon_reset_sigs() and daemon_unblock_sigs()
- improve error handling
- obsoletes bnc-309132.patch, libdaemon-0.10-testd-fix-FD_SET.diff
-------------------------------------------------------------------
Thu Nov 27 15:36:41 CET 2008 - seife@suse.de
- fix compiler warning (bnc#449728)
-------------------------------------------------------------------
Tue Dec 18 15:08:17 CET 2007 - seife@suse.de
- reenabled static libraries to fix ifplugd build
-------------------------------------------------------------------
Wed Nov 28 04:05:04 CET 2007 - crrodriguez@suse.de
- libdaemon --> libdaemon0
- remove static libraries
- remove "la" files
- fix -devel package dependencies
-------------------------------------------------------------------
Thu Sep 13 22:37:06 CEST 2007 - mauro@suse.de
- Applied a patch from upstream, to fix bnc #309132.
-------------------------------------------------------------------
Sun Jul 22 17:12:13 CEST 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 20:08:26 CEST 2007 - seife@suse.de
- Update to version 0.12
+ make daemon_close_all() actually work properly
-------------------------------------------------------------------
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
- fix testd build
-------------------------------------------------------------------
Wed Jan 25 21:37:24 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Sun Jan 22 00:30:40 CET 2006 - cthiel@suse.de
- update to version 0.10
-------------------------------------------------------------------
Mon Oct 31 11:56:25 CET 2005 - dmueller@suse.de
- don't build as root
-------------------------------------------------------------------
Fri Sep 23 15:09:25 CEST 2005 - sbrabec@suse.cz
- Fixed devel dependencies.
-------------------------------------------------------------------
Tue May 31 01:08:50 CEST 2005 - ro@suse.de
- fix libdir in pkgconfig file
-------------------------------------------------------------------
Sat Feb 5 17:58:47 CET 2005 - meissner@suse.de
- added attributes
-------------------------------------------------------------------
Wed Jan 19 17:36:14 CET 2005 - seife@suse.de
- update to version 0.7
-------------------------------------------------------------------
Thu Aug 12 12:46:40 CEST 2004 - seife@suse.de
- add libpng to neededforbuild (now required by doxygen)
-------------------------------------------------------------------
Mon Jun 21 17:54:21 CEST 2004 - seife@suse.de
- initial package submission

85
libdaemon.spec Normal file
View File

@ -0,0 +1,85 @@
#
# spec file for package libdaemon
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: libdaemon
Version: 0.14
Release: 0
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: http://0pointer.de/lennart/projects/libdaemon
Source: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
BuildRequires: doxygen
BuildRequires: pkgconfig
%description
libdaemon is a lightweight C library that eases the writing of UNIX
daemons.
%package -n libdaemon0
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
License: LGPL-2.1-or-later
Group: System/Libraries
Provides: %{name} = %{version}
#opensuse 10.3
Obsoletes: %{name} <= 0.12
%description -n libdaemon0
libdaemon is a lightweight C library that eases the writing of UNIX
daemons.
%package devel
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libdaemon0 = %{version}
%description devel
libdaemon is a lightweight C library that eases the writing of UNIX
daemons.
%prep
%autosetup
%build
%configure \
--disable-static \
--disable-lynx
%make_build
%install
%make_install
rm -f %{buildroot}%{_libdir}/libdaemon.la
# We don't care about the HTML README
rm %{buildroot}%{_datadir}/doc/libdaemon/{README.html,style.css}
%post -n libdaemon0 -p /sbin/ldconfig
%postun -n libdaemon0 -p /sbin/ldconfig
%files -n libdaemon0
%doc LICENSE README
%{_libdir}/libdaemon.so.0*
%files devel
%{_libdir}/libdaemon.so
%{_libdir}/pkgconfig/libdaemon.pc
%dir %{_includedir}/libdaemon
%{_includedir}/libdaemon/*.h
%changelog