diff options
author | ahoka <ahoka> | 2008-12-20 17:24:48 +0000 |
---|---|---|
committer | ahoka <ahoka> | 2008-12-20 17:24:48 +0000 |
commit | 81532b69d65c4dfdbfc899276d2985943a5a5e0f (patch) | |
tree | 311fa00e36aa564001fb92c34d4b989906bc5bf0 /devel/libdaemon/Makefile | |
parent | ac773ed2eccd475373ee489e3b5961db2524dd43 (diff) | |
download | pkgsrc-81532b69d65c4dfdbfc899276d2985943a5a5e0f.tar.gz |
Import libdaemon-0.12 as devel/libdaemon.
libdaemon is a lightweight C library that 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()
* 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.
Diffstat (limited to 'devel/libdaemon/Makefile')
-rw-r--r-- | devel/libdaemon/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/libdaemon/Makefile b/devel/libdaemon/Makefile new file mode 100644 index 00000000000..be674ad4ada --- /dev/null +++ b/devel/libdaemon/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/12/20 17:24:48 ahoka Exp $ +# + +DISTNAME= libdaemon-0.12 +CATEGORIES= devel +MASTER_SITES= http://0pointer.de/lennart/projects/libdaemon/ + +MAINTAINER= adrianp@NetBSD.org +HOMEPAGE= http://0pointer.de/lennart/projects/libdaemon/ +COMMENT= C library that eases the writing of UNIX daemons + +USE_PKGLOCALEDIR= YES +USE_LIBTOOL= YES +PKGCONFIG_OVERRIDE+= ${WRKSRC}/libdaemon.pc.in +GNU_CONFIGURE= YES + +CONFIGURE_ARGS+= --disable-lynx + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdaemon + ${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/libdaemon + +.include "../../mk/bsd.pkg.mk" |