Commit graph

13 commits

Author SHA1 Message Date
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
he
127afe59ec Update from version 0.14 to 0.14nb1.
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.
2010-02-19 15:04:51 +00:00
tnn
a9841e8f40 portability fix: include <unistd.h> instead of <sys/unistd.h> 2009-12-20 23:29:02 +00:00
tnn
395521b7ed Don't feed CFLAGS to linker when building example program. 2009-12-20 23:22:35 +00:00
wiz
cc37812d38 Update to 0.14:
add daemon_set_verbosity() call; numerous updates
2009-10-31 02:54:34 +00:00
hasso
186f0b45fa More portable fix for upper bound for signals problem pulled out from
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-18 05:40:44 +00:00
tron
0f61c94e6b Fix build problem under Mac OS X (Leopard?). 2009-08-17 10:26:17 +00:00
wiz
62d538ffa6 Update to 0.13, set LICENSE.
Add daemon_reset_sigs() and daemon_unblock_sigs() calls for resetting
signal handlers to sensible states; improve error handling.
2009-08-16 14:24:01 +00:00
adrianp
2ae6078ec7 Give up MAINTAINER 2009-07-17 18:00:13 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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-03-20 19:23:50 +00:00
joerg
583ab85693 DESTDIR support 2009-02-07 17:51:59 +00:00
ahoka
75661c1d88 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.
2008-12-20 17:24:48 +00:00