devel/libdaemon - The NetBSD Packages Collection

C library that eases the writing of UNIX daemons

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.

Build dependencies

devel/libtool-base pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64libdaemon-0.14nb2.tgz
NetBSD 10.0aarch64libdaemon-0.14nb2.tgz
NetBSD 10.0aarch64eblibdaemon-0.14nb2.tgz
NetBSD 10.0aarch64eblibdaemon-0.14nb2.tgz
NetBSD 10.0alphalibdaemon-0.14nb2.tgz
NetBSD 10.0alphalibdaemon-0.14nb2.tgz
NetBSD 10.0earmv4libdaemon-0.14nb2.tgz
NetBSD 10.0earmv4libdaemon-0.14nb2.tgz
NetBSD 10.0earmv6hflibdaemon-0.14nb2.tgz
NetBSD 10.0earmv6hflibdaemon-0.14nb2.tgz
NetBSD 10.0earmv6hflibdaemon-0.14nb2.tgz
NetBSD 10.0earmv7hflibdaemon-0.14nb2.tgz
NetBSD 10.0earmv7hflibdaemon-0.14nb2.tgz
NetBSD 10.0earmv7hflibdaemon-0.14nb2.tgz
NetBSD 10.0i386libdaemon-0.14nb2.tgz
NetBSD 10.0i386libdaemon-0.14nb2.tgz
NetBSD 10.0m68klibdaemon-0.14nb2.tgz
NetBSD 10.0m68klibdaemon-0.14nb2.tgz
NetBSD 10.0m68klibdaemon-0.14nb2.tgz
NetBSD 10.0m68klibdaemon-0.14nb2.tgz
NetBSD 10.0mips64eblibdaemon-0.14nb2.tgz
NetBSD 10.0mips64eblibdaemon-0.14nb2.tgz
NetBSD 10.0powerpclibdaemon-0.14nb2.tgz
NetBSD 10.0powerpclibdaemon-0.14nb2.tgz
NetBSD 10.0powerpclibdaemon-0.14nb2.tgz
NetBSD 10.0sh3ellibdaemon-0.14nb2.tgz
NetBSD 10.0sh3ellibdaemon-0.14nb2.tgz
NetBSD 10.0sparc64libdaemon-0.14nb2.tgz
NetBSD 10.0sparc64libdaemon-0.14nb2.tgz
NetBSD 10.0sparclibdaemon-0.14nb2.tgz
NetBSD 10.0sparclibdaemon-0.14nb2.tgz
NetBSD 10.0vaxlibdaemon-0.14nb2.tgz
NetBSD 10.0vaxlibdaemon-0.14nb2.tgz
NetBSD 10.0vaxlibdaemon-0.14nb2.tgz
NetBSD 10.0x86_64libdaemon-0.14nb2.tgz
NetBSD 10.0x86_64libdaemon-0.14nb2.tgz
NetBSD 9.0aarch64libdaemon-0.14nb2.tgz
NetBSD 9.0aarch64libdaemon-0.14nb2.tgz
NetBSD 9.0alphalibdaemon-0.14nb2.tgz
NetBSD 9.0alphalibdaemon-0.14nb2.tgz
NetBSD 9.0earmv4libdaemon-0.14nb2.tgz
NetBSD 9.0earmv4libdaemon-0.14nb2.tgz
NetBSD 9.0earmv6hflibdaemon-0.14nb2.tgz
NetBSD 9.0earmv6hflibdaemon-0.14nb2.tgz
NetBSD 9.0earmv6hflibdaemon-0.14nb2.tgz
NetBSD 9.0earmv7hflibdaemon-0.14nb2.tgz
NetBSD 9.0earmv7hflibdaemon-0.14nb2.tgz
NetBSD 9.0earmv7hflibdaemon-0.14nb2.tgz
NetBSD 9.0i386libdaemon-0.14nb2.tgz
NetBSD 9.0i386libdaemon-0.14nb2.tgz
NetBSD 9.0m68klibdaemon-0.14nb2.tgz
NetBSD 9.0m68klibdaemon-0.14nb2.tgz
NetBSD 9.0m68klibdaemon-0.14nb2.tgz
NetBSD 9.0powerpclibdaemon-0.14nb2.tgz
NetBSD 9.0powerpclibdaemon-0.14nb2.tgz
NetBSD 9.0powerpclibdaemon-0.14nb2.tgz
NetBSD 9.0sparc64libdaemon-0.14nb2.tgz
NetBSD 9.0sparc64libdaemon-0.14nb2.tgz
NetBSD 9.0x86_64libdaemon-0.14nb2.tgz
NetBSD 9.0x86_64libdaemon-0.14nb2.tgz
NetBSD 9.3x86_64libdaemon-0.14nb2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.