--- libdaemon-0.6.orig/debian/changelog +++ libdaemon-0.6/debian/changelog @@ -0,0 +1,30 @@ +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 upstreaam + + -- 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.6.orig/debian/compat +++ libdaemon-0.6/debian/compat @@ -0,0 +1 @@ +4 --- libdaemon-0.6.orig/debian/copyright +++ libdaemon-0.6/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Oliver Kurth on +Fri, 11 Jul 2003 22:03:30 +0200. + +It was downloaded from http://www.stud.uni-hamburg.de/~lennart/projects/libdaemon/ + +Upstream Authors: Lennart Poettering + +Copyright: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +Please see /usr/share/common-licenses/GPL for the complete license. + --- libdaemon-0.6.orig/debian/control +++ libdaemon-0.6/debian/control @@ -0,0 +1,49 @@ +Source: libdaemon +Priority: optional +Maintainer: Oliver Kurth +Build-Depends: debhelper (>> 4.0.0), doxygen, lynx +Standards-Version: 3.6.1 + +Package: libdaemon-dev +Section: devel +Architecture: any +Depends: libdaemon0 (= ${Source-Version}) +Description: lightweight C library for daemons + libdaemon is a leightweight C library which eases the writing of UNIX + daemons. It consists of the following parts: + * A wrapper around fork() which does the correct daemonization + procedure of a process + * A wrapper around syslog() for simpler and compatible log output to + Syslog or STDERR + * An API for writing PID files + * An API for serializing UNIX signals into a pipe for usage with + select() or poll() + . + Routines like these are included in most of the daemon software + available. It is not that simple to get it done right and code + duplication cannot be a goal. + . + This package includes the header files and the static version of + the library and documentation. + +Package: libdaemon0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} ${misc:Depends} +Description: lightweight C library for daemons + libdaemon is a leightweight C library which eases the writing of UNIX + daemons. It consists of the following parts: + * A wrapper around fork() which does the correct daemonization + procedure of a process + * A wrapper around syslog() for simpler and compatible log output to + Syslog or STDERR + * An API for writing PID files + * An API for serializing UNIX signals into a pipe for usage with + select() or poll() + . + Routines like these are included in most of the daemon software + available. It is not that simple to get it done right and code + duplication cannot be a goal. + . + This package includes the run time library. + --- libdaemon-0.6.orig/debian/rules +++ libdaemon-0.6/debian/rules @@ -0,0 +1,120 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# 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 + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +# shared library versions, option 1 +version=2.0.5 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr + +build: build-stamp +build-stamp: config.status + dh_testdir + + # try to keep diff small: + [ -d doc/reference -a ! -d doc/reference.orig ] && mv doc/reference doc/reference.orig || true + mkdir doc/reference # really needed? + sleep 1 + touch doc/doxygen.conf + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # try to keep diff small: + [ -d doc/reference.orig ] && (rm -rf doc/reference ; mv doc/reference.orig doc/reference) || true + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + dh_install --sourcedir=debian/tmp +# dpkg-shlibdeps debian/libdaemon0/usr/lib/* + +# 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 -X doc/reference/man doc/reference doc/README doc/README.html doc/style.css + dh_installexamples examples/testd.c +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman doc/reference/man/man3/*.3 + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# d_python + 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.6.orig/debian/docs +++ libdaemon-0.6/debian/docs @@ -0,0 +1 @@ +README --- libdaemon-0.6.orig/debian/libdaemon-dev.dirs +++ libdaemon-0.6/debian/libdaemon-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- libdaemon-0.6.orig/debian/libdaemon0.install +++ libdaemon-0.6/debian/libdaemon0.install @@ -0,0 +1 @@ +usr/lib/libdaemon.so.* --- libdaemon-0.6.orig/debian/libdaemon-dev.install +++ libdaemon-0.6/debian/libdaemon-dev.install @@ -0,0 +1,6 @@ +usr/include/* +usr/lib/lib*.a +/usr/lib/*.la +usr/lib/lib*.so +usr/lib/pkgconfig/* + --- libdaemon-0.6.orig/debian/substvars +++ libdaemon-0.6/debian/substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.3.1-1)