summaryrefslogtreecommitdiff
path: root/devel/libdaemon
AgeCommit message (Collapse)AuthorFilesLines
2013-01-06Fix build on OpenBSD/amd64 5.2.ryoon1-2/+2
2012-12-27Unbreak on MirBSD and OpenBSD.bsiegert2-1/+21
Freeze exception granted by Greg Troxel.
2012-10-31Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2010-02-19Update from version 0.14 to 0.14nb1.he1-1/+6
Pkgsrc changes: o On NetBSD 4.*, avoid the use of -Wl,--no-undefined. It doesn't work there, because the shared lib is not linked with libc.so (which is possibly a bug). Thanks to joerg@ for hints for how to work around this.
2009-12-20portability fix: include <unistd.h> instead of <sys/unistd.h>tnn2-1/+17
2009-12-20Don't feed CFLAGS to linker when building example program.tnn2-1/+15
2009-10-31Update to 0.14:wiz4-38/+9
add daemon_set_verbosity() call; numerous updates
2009-08-18More portable fix for upper bound for signals problem pulled out fromhasso2-11/+26
upstream git repo. Should fix build on Solaris, FreeBSD and DragonFly. If there is still need for Darwin specific fix with __DARWIN_NSIG (there is no NSIG or it's semantically different like NSIG and _NSIG in Linux), please add it back.
2009-08-17Fix build problem under Mac OS X (Leopard?).tron2-1/+17
2009-08-16Update to 0.13, set LICENSE.wiz2-6/+7
Add daemon_reset_sigs() and daemon_unblock_sigs() calls for resetting signal handlers to sensible states; improve error handling.
2009-07-17Give up MAINTAINERadrianp1-2/+2
2009-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-02-07DESTDIR supportjoerg1-3/+6
2008-12-20Import libdaemon-0.12 as devel/libdaemon.ahoka6-0/+83
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.