Package: libdaemon Version: 0.14 Revision: 3 Source: http://0pointer.de/lennart/projects/%n/%n-%v.tar.gz Source-Checksum: SHA256(fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834) Maintainer: Pierre-Henri Lavigne Homepage: http://0pointer.de/lennart/projects/libdaemon/ License: LGPL Description: << Easy way to write UNIX daemons << DescDetail: << 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. libdaemon is currently used by ifplugd, Avahi, ivam2, Nautilus-Share and aeswepd << BuildDependsOnly: true Depends: %N-shlibs (= %v-%r) Docfiles: LICENSE README doc/README doc/README.html doc/style.css ConfigureParams: --disable-dependency-tracking --disable-lynx PatchScript: << # Patch configure to not link like Puma on Yosemite perl -pi.bak -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure << SplitOff: << Package: %N-shlibs Files: lib/lib*.*.dylib DocFiles: LICENSE README Description: Shared libs for %N Shlibs: << %p/lib/libdaemon.0.dylib 6.0.0 %n (>= 0.14-2) << <<