2009-12-07 16:05:02 +01:00
|
|
|
# Template file for 'libdaemon'
|
|
|
|
pkgname=libdaemon
|
|
|
|
version=0.14
|
2010-04-23 17:47:38 +02:00
|
|
|
revision=1
|
2009-12-07 16:05:02 +01:00
|
|
|
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-16 19:46:38 +02:00
|
|
|
configure_args="--disable-lynx"
|
2009-12-07 16:05:02 +01:00
|
|
|
short_desc="Lightweight C library that eases the writing of UNIX daemons"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
|
|
|
|
long_desc="
|
|
|
|
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().
|
|
|
|
* An API for running subprocesses with STDOUT and STDERR redirected to syslog.
|
|
|
|
|
|
|
|
APIs like these are used in most daemon software available. It is not that
|
|
|
|
simple to get it done right and code duplication is not a goal."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency build glibc-devel
|