--- libdaemon-0.14.orig/debian/copyright +++ libdaemon-0.14/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Oliver Kurth on +Fri, 11 Jul 2003 22:03:30 +0200. + +It was downloaded from http://0pointer.de/lennart/projects/libdaemon/ + +Upstream Author: + + Lennart Poettering + +Copyright: + + Copyright (C) 2003-2009 Lennart Poettering + +License: + + libdaemon is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of + the License, or (at your option) any later version. + + libdaemon is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License the Debian GNU/Linux distribution in the file + /usr/share/common-licenses/LGPL; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +The Debian packaging is +Copyright (C) 2003-2007, Oliver Kurth +Copyright (C) 2007-2008, Y Giridhar Appaji Nag and +is licensed under the GNU GPL, either version 2 of the License, or (at +your option) any later version; see `/usr/share/common-licenses/GPL-2'. --- libdaemon-0.14.orig/debian/libdaemon-dev.examples +++ libdaemon-0.14/debian/libdaemon-dev.examples @@ -0,0 +1 @@ +examples/testd.c --- libdaemon-0.14.orig/debian/watch +++ libdaemon-0.14/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://0pointer.de/lennart/projects/libdaemon/libdaemon-(.*)\.tar\.gz --- libdaemon-0.14.orig/debian/libdaemon-dev.install +++ libdaemon-0.14/debian/libdaemon-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* --- libdaemon-0.14.orig/debian/libdaemon0.install +++ libdaemon-0.14/debian/libdaemon0.install @@ -0,0 +1 @@ +usr/lib/libdaemon*.so.* --- libdaemon-0.14.orig/debian/control +++ libdaemon-0.14/debian/control @@ -0,0 +1,68 @@ +Source: libdaemon +Section: libs +Priority: optional +Maintainer: Utopia Maintenance Team +Uploaders: Michael Biebl +Build-Depends: debhelper (>= 7), autotools-dev, doxygen, lynx +Standards-Version: 3.8.3 +Homepage: http://0pointer.de/lennart/projects/libdaemon/ +Vcs-Git: git://git.debian.org/git/pkg-utopia/libdaemon.git +Vcs-Browser: http://git.debian.org/?p=pkg-utopia/libdaemon.git;a=summary + +Package: libdaemon-dev +Section: libdevel +Architecture: any +Depends: libdaemon0 (= ${binary:Version}) +Description: lightweight C library for daemons - development files + libdaemon is a leightweight C library which eases the writing of UNIX daemons. + It consists of the following parts: + . + * Wrapper around fork() for correct daemonization of a process + * Wrapper around syslog() for simple log output to syslog or STDERR + * An API for writing PID files + * An API for serializing signals into a pipe for use with select() or poll() + * An API for running subprocesses with STDOUT and STDERR redirected to syslog + . + Routines like these are included in most of the daemon software available. It + is not simple to get these done right and code duplication is not acceptable. + . + This package includes the header files and the static version of the library + and documentation. + +Package: libdaemon0 +Architecture: any +Depends: ${shlibs:Depends} +Description: lightweight C library for daemons - runtime library + libdaemon is a leightweight C library which eases the writing of UNIX daemons. + It consists of the following parts: + . + * Wrapper around fork() for correct daemonization of a process + * Wrapper around syslog() for simple log output to syslog or STDERR + * An API for writing PID files + * An API for serializing signals into a pipe for use with select() or poll() + * An API for running subprocesses with STDOUT and STDERR redirected to syslog + . + Routines like these are included in most of the daemon software available. It + is not simple to get these done right and code duplication is not acceptable. + . + This package includes the libdaemon run time shared library. + +Package: libdaemon0-dbg +Section: debug +Architecture: any +Priority: extra +Depends: libdaemon0 (= ${binary:Version}) +Description: lightweight C library for daemons - debugging symbols + libdaemon is a leightweight C library which eases the writing of UNIX daemons. + It consists of the following parts: + . + * Wrapper around fork() for correct daemonization of a process + * Wrapper around syslog() for simple log output to syslog or STDERR + * An API for writing PID files + * An API for serializing signals into a pipe for use with select() or poll() + * An API for running subprocesses with STDOUT and STDERR redirected to syslog + . + Routines like these are included in most of the daemon software available. It + is not simple to get these done right and code duplication is not acceptable. + . + This package contains the debugging symbols for libdaemon. --- libdaemon-0.14.orig/debian/libdaemon0.shlibs +++ libdaemon-0.14/debian/libdaemon0.shlibs @@ -0,0 +1 @@ +libdaemon 0 libdaemon0 (>= 0.14) --- libdaemon-0.14.orig/debian/libdaemon-dev.docs +++ libdaemon-0.14/debian/libdaemon-dev.docs @@ -0,0 +1,3 @@ +doc/reference/html +doc/README.html +doc/style.css --- libdaemon-0.14.orig/debian/compat +++ libdaemon-0.14/debian/compat @@ -0,0 +1 @@ +7 --- libdaemon-0.14.orig/debian/libdaemon-dev.manpages +++ libdaemon-0.14/debian/libdaemon-dev.manpages @@ -0,0 +1 @@ +doc/reference/man/man3/*.3 --- libdaemon-0.14.orig/debian/libdaemon0.symbols +++ libdaemon-0.14/debian/libdaemon0.symbols @@ -0,0 +1,34 @@ +libdaemon.so.0 libdaemon0 #MINVER# + daemon_close_all@Base 0.12 + daemon_close_allv@Base 0.12 + daemon_exec@Base 0.10 + daemon_execv@Base 0.12 + daemon_fork@Base 0.10 + daemon_ident_from_argv0@Base 0.10 + daemon_log@Base 0.10 + daemon_log_ident@Base 0.10 + daemon_log_use@Base 0.10 + daemon_logv@Base 0.12 + daemon_nonblock@Base 0.10 + daemon_pid_file_create@Base 0.10 + daemon_pid_file_ident@Base 0.10 + daemon_pid_file_is_running@Base 0.10 + daemon_pid_file_kill@Base 0.10 + daemon_pid_file_kill_wait@Base 0.10 + daemon_pid_file_proc@Base 0.10 + daemon_pid_file_proc_default@Base 0.10 + daemon_pid_file_remove@Base 0.10 + daemon_reset_sigs@Base 0.13 + daemon_reset_sigsv@Base 0.13 + daemon_retval_done@Base 0.10 + daemon_retval_init@Base 0.10 + daemon_retval_send@Base 0.10 + daemon_retval_wait@Base 0.10 + daemon_set_verbosity@Base 0.14 + daemon_signal_done@Base 0.10 + daemon_signal_fd@Base 0.10 + daemon_signal_init@Base 0.10 + daemon_signal_install@Base 0.10 + daemon_signal_next@Base 0.10 + daemon_unblock_sigs@Base 0.13 + daemon_unblock_sigsv@Base 0.13 --- libdaemon-0.14.orig/debian/changelog +++ libdaemon-0.14/debian/changelog @@ -0,0 +1,163 @@ +libdaemon (0.14-1) unstable; urgency=low + + * New upstream release. + * debian/control + - Set the Utopia Maintenance Team as new maintainer. (Closes: #551883) + - Add myself to Uploaders. + - Update Vcs-* fields. Package is now managed using Git on git.debian.org. + - Bump Standards-Version to 3.8.3. No further changes. + - Bump Build-Depends on debhelper to (>= 7). + * debian/libdaemon0.{shlibs,symbols} + - Update symbols file for new API additions. + - Bump shlibs file accordingly. + * debian/rules + - No longer mangle the man pages using sed. The generated man pages are + properly formatted now. + - Use dh_prep instead of deprecated dh_clean -k. + * debian/compat + - Bump debhelper compat level to 7. + * debian/copyright + - Update copyright notice. + + -- Michael Biebl Mon, 26 Oct 2009 23:37:18 +0100 + +libdaemon (0.13-3) unstable; urgency=low + + * Update Maintainer to official Debian ID + * Remove DM-Upload-Allowed: yes + * Change libdaemon0-dbg section to debug from libdevel + * Update Standards-Version to 3.8.1 (no changes required) + * Added a libdaemon0.symbols file for dpkg-gensymbols + + -- Y Giridhar Appaji Nag Wed, 18 Mar 2009 08:33:12 +0530 + +libdaemon (0.13-2) unstable; urgency=low + + * Add DM-Upload-Allowed: yes + * configure with --localstatedir=/var to create the default pid file in + /var and not in /usr/var. Thanks Rene Engelhard for + the bug report (Closes: #500555) + + -- Y Giridhar Appaji Nag Tue, 30 Sep 2008 17:37:47 +0530 + +libdaemon (0.13-1) unstable; urgency=low + + * New upstream release + + Remove patches 01_sighandler_errno and 02_pid_file_O_RDONLY that were + based on upstream commits, hence remove dpatch build dependency also. + + Includes two new functions, bump up shlibs dependency to 0.13 + + libdaemon.spec is not included upstream anymore, so no need to save and + restore the file. + * Update Standards-Version to 3.8.0, no changes required. + + -- Y Giridhar Appaji Nag Thu, 07 Aug 2008 01:53:45 +0530 + +libdaemon (0.12-2) unstable; urgency=low + + * Improved package description, per dev-ref (v3.3.9) Section 6.2.2 etc. + * Use dpatch for the following debian/patches patches from upstream + + 01_sighandler_errno to save and restore errno in signal hanlder + + 02_pid_file_O_RDONLY to fallback to O_RDONLY for PID file if O_RDWR + doesn't work. + * Fix lintian W: manpage-has-errors-from-man that was resulting in not + showing the help text of daemon_exec's last argument. + + -- Y Giridhar Appaji Nag Mon, 14 Apr 2008 00:56:12 +0530 + +libdaemon (0.12-1) unstable; urgency=low + + * Adopted by Y Giridhar Appaji Nag (Closes: #452187) + * debian/control: Add Homepage: and Vcs-*: fields + * Add a debian/watch file + * Bump up Standards-Version to 3.7.3. s/Source-Version/binary:Version/ + * Add autotools-dev to Build-Depends and remove lynx-ssl (provided by lynx). + * Update debian/compat to 5, update Build-Depends with debhelper (>= 5) + * debian/copyright: Update upstream author email address and URL + * Use .docs and .examples file rather than specifying them in debian/rules + * debian/control: Change Section of libdaemon-dev to libdevel + * debian/rules: Modify the doxygen generated man pages to prevent lintian I: + hyphen-used-as-minus-sign + * Install upstream README as upstream changelog for libdaemon-dev + * Provide a libdaemon0-dbg package with the debugging symbols in it. + + -- Y Giridhar Appaji Nag Fri, 21 Dec 2007 15:53:37 +0530 + +libdaemon (0.12-0.1) unstable; urgency=low + + * NMU + * New upstream release + * Patch applied to 0.11-0.2 merged upstream. + + -- Sjoerd Simons Tue, 10 Jul 2007 20:46:12 +0200 + +libdaemon (0.11-0.2) unstable; urgency=low + + * NMU + * Added patch to fix daemon_close_all implementation. + + -- Sjoerd Simons Sat, 07 Jul 2007 11:45:30 +0200 + +libdaemon (0.11-0.1) unstable; urgency=low + + * NMU + * New upstream release (Closes: #430163) + * No longer uses PATH_MAX unconditionnally (Closes: #407867) + * debian/libdaemon0.shlibs, added + * debian/control, indicate that the source package should be in Section libs + * debian/rules, pass CFLAGS that could have been changed as a result of + DEB_BUILD_OPTIONS to configure (Closes: #328774) + * debian/libdaemon-dev.install, don't install .la files + + -- Sjoerd Simons Fri, 06 Jul 2007 13:54:23 +0200 + +libdaemon (0.10-1) unstable; urgency=low + + * new upstream, relicensed under LGPL 2.1 + + -- Oliver Kurth Mon, 28 Nov 2005 10:23:53 -0800 + +libdaemon (0.8-1) unstable; urgency=low + + * new upstream (closes: #314615) + + -- Oliver Kurth Fri, 17 Jun 2005 10:14:17 -0700 + +libdaemon (0.7-1) unstable; urgency=low + + * new upstream + - documentation error for daemon_signal_init corrected + (closes: #280833) + * build-depends on lynx|lynx-ssl (closes: #265980) + + -- Oliver Kurth Mon, 20 Dec 2004 17:10:04 -0800 + +libdaemon (0.6-1) unstable; urgency=low + + * new upstream + + -- Oliver Kurth Wed, 07 Apr 2004 23:03:53 +0200 + +libdaemon (0.5-1) unstable; urgency=low + + * new upstream + + -- Oliver Kurth Sat, 28 Feb 2004 20:59:58 -0800 + +libdaemon (0.4-1) unstable; urgency=low + + * new upstream + + -- Oliver Kurth Tue, 27 Jan 2004 21:41:44 +0100 + +libdaemon (0.3-1) unstable; urgency=low + + * new upstreaam + + -- Oliver Kurth Fri, 11 Jul 2003 22:03:30 +0200 + +libdaemon (0.2-1) unstable; urgency=low + + * Initial Release. Closes: #200793 + + -- Oliver Kurth Fri, 11 Jul 2003 22:03:30 +0200 + --- libdaemon-0.14.orig/debian/rules +++ libdaemon-0.14/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + [ ! -f config.sub ] || mv -f config.sub config.sub.ups + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + [ ! -f config.guess ] || mv -f config.guess config.guess.ups + cp -f /usr/share/misc/config.guess config.guess +endif + [ ! -f doc/README.html ] || mv -f doc/README.html doc/README.html.ups + [ ! -f doc/README ] || mv -f doc/README doc/README.ups + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --localstatedir=/var --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + $(MAKE) doxygen + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + rm -rf doc/reference + dh_clean + [ ! -f doc/README.ups ] || mv -f doc/README.ups doc/README + [ ! -f doc/README.html.ups ] || mv -f doc/README.html.ups doc/README.html + [ ! -f config.guess.ups ] || mv -f config.guess.ups config.guess + [ ! -f config.sub.ups ] || mv -f config.sub.ups config.sub + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_installman + dh_link + dh_strip --dbg-package=libdaemon0-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libdaemon-0.14.orig/debian/gbp.conf +++ libdaemon-0.14/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True