-
Notifications
You must be signed in to change notification settings - Fork 1
/
CHANGELOG
453 lines (416 loc) · 26.5 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
CHANGELOG
=========
0.8.4 (20230824)
- configure - When explicit --enable-logind fails, exit 1 (requested by Marc Haber)
- libslack - configure - Add --default --platform --help --destdir
- libslack - make - Change clean/clobber/distclean to be the same and to also unconfigure
- configure - Add --disable-mail-test --enable-mail-test (requested by Marc Haber)
- Fix copyright/license info (.reuse/dep5) (spotted by Marc Haber)
- configure - Fix error message for unknown options
- configure - Add --platform info to --help output
- INSTALL - Update to reflect recent ./configure changes
- configure - Fix --platform check, Add libslack/conf/slackware, Tweak output
0.8.3 (20230819)
- Remove 'comparison always true' compiler warning
- libslack - macros.mk - Add ability to suppress false 'may be used uninitialized' compiler warnings
- doc - Update notes on old binary packages
- INSTALL - Add 'PACKAGING SYSTEMS' section
- make - Remove deb-daemon and debian-clobber targets and DEBIAN_CLOBBER_FILES (requested by Marc Haber)
- make - Change clean/clobber/distclean to be the same and to also unconfigure (requested by Marc Haber)
- make - Always default to Linux config for make clean (requested by Marc Haber)
- make - Update help to reflect recent clean/clobber/distclean change
- Add ./configure --default (for make clean)
- configure - Silence stderr for "which gmake"
0.8.2 (20230330)
- COPYING - Add copyrights for libslack's optional getopt/snprintf modules
- .reuse - Add copyrights for libslack's optional getopt/snprintf modules
- make - Exclude man-slack/html-slack/dist-slack from man/html/dist targets
- Fix libslack compile error and install error on Solaris
- doc - Replace http with https for libslack.org/raf.org and remove trailing /
- Change default compiler on OpenBSD to cc
0.8.1 (20230313)
- Fixed compiler error when NDEBUG is defined (Baruch Siach)
- When NDEBUG is defined exclude more unused code (fix warning, smaller binary)
- Fixed buglet: Only delete the pidfile/clientpidfile we created (James Abbatiello abbeyj at gmail.com)
- Added CODE_OF_CONDUCT.md
- Add LICENSES/* and .reuse/dep5 (REUSE 3.0 compliant)
- Add references to the codeberg repository
0.8 (20210304)
- Fixed formatting typo in README.md
- Added support for (Linux only) musl libc by including <sys/ttydefaults.h> for CEOF (by Baruch Siach)
- Added --bind option to terminate when the user logs out (iff systemd/elogind) (with ZhaoLin1457 et al.)
- Added Slackware-specific configuration
- Added expansion of $VAR and ~user notation in command line option arguments and configuration files
- Added environment variable definitions in configuration files
- Automatically create --pidfiles or --pidfile directory if it's under the user's home directory
- Updated README.md (improved notes on --stop and --restart, and added --signal --running --list --bind)
- Added configure --help, --destdir, --enable-logind and --disable-logind options
- Fixed $(DESTDIR) use in makefiles to interoperate with configure --prefix
0.7.1 (20210220)
- Fixed make distclean/clobber on Debian (use debian-clobber instead of clobber) (spotted by Marc Haber)
- Fixed parallel make test (race condition creating test directory) (spotted by Marc Haber)
- Fixed manpage header and footer and various other minor fixes and improvements
- Minor improvements in a few module tests
- Added configure --prefix=/opt/local for macports (spotted by Kurt Hindenburg)
- Added mention of file locations on macOS/macports to the daemon(1) manpage
- Added checks for gcc -W options that fail on old macosx (e.g. 10.6.8) without macports
- Minor changes to usage error messages for consistency
- Improved config file parsing (skip spaces around commas and added more error messages)
- Added support for using $CC in configure (spotted by Ryan Schmidt)
- Fixed Makefile (wasn't inheriting CPPFLAGS, CFLAGS or LDFLAGS from caller) (spotted by Ryan Schmidt)
0.7 (20201111)
- Fixed bug: race condition causing failure with "exec daemon ..." (with Askar Safin safinaskar at mail.ru)
- Added $DAEMON_INIT_EXIT_DELAY_MSEC workaround for obscure KDE/konsole bug (with Askar Safin safinaskar at mail.ru)
- Removed O_NOCTTY-related manpage "bug" (now historical) (spotted by Askar Safin safinaskar at mail.ru)
- Always double fork for safety on systems of unknown flavour (suggested by Askar Safin safinaskar at mail.ru)
- Added support for GNU/Hurd (by Svante Signell svante.signell at telia.com)
- Added --ignore-eof and --read-eof options to alter behaviour when client dies without closing stdio
(for Terry Greeniaus greeniaus_terry at emc.com and Tilman Baumann at tilman.baumann at grandeye.com)
- Fixed bug: daemon_lock_pidfile() leaked fd across exec (spotted by Tilman Baumann tilman.baumann at grandeye.com)
- Added --signal option (suggested by Marc Haber mh+daemon-dev at zugschlus.de)
- Added --nocore option and removed silly manpage "bug" about its absence
- Added fcntl_set_fdflag() and fcntl_clear_fdflag() to the fio module
- Added signal_set_siginfo_handler() to the sig module
- Added msg_filter_t, msg_create_filter(), msg_create_filter_with_locker() to the msg module
- Test secure memory in the mem module for non-root users as well (now that they can do it)
- Added prog_{out,err,dbg,alert}_push_filter() to the prog module
- Added recvcred(), recvfromcred() to the net module
- Added a few more debug messages that were missing
- Insert daemon name before client's argv[0] so it appears in ps output (for marko.asplund at gmail.com)
- Allow --pidfiles to be present without --name also being present
- Added --list option to print a list of named daemons (more detail with --verbose)
- Improved error message when client exit()s after --stop (for jakubholy.net at gmail.com)
- Added syslog facility and priority lists to daemon(1) manpage (for jakubholy.net at gmail.com)
- Various fixes and improvements to manpage
- Improved --verbose --running message to state if client is running as well or not (added client pid file)
- Fixed buglet: daemon no longer exits with EXIT_FAILURE when client is killed by an unexpected signal
- Fixed harmless format string bug in prog_opt_process() (spotted by Jong-Gwon Kim and Woosuk Lee {jgkim,wslee} at ropas.snu.ac.kr)
- Fixed bug: leaked fds for --errlog, --dbglog, --stdout and --stderr across exec
- Fixed bug in parallelized make: "make ready" first so do it in configure (spotted by ilovezfs at icloud.com)
- Fixed copyright messages (list actual years of publication, not just a range of years)
- Fixed all sscanf "%s" to limit output (e.g. "%63s") to prevent buffer overruns (was only in test and example code)
- Added more tests in the prop module
- Fixed buglet: Removed vhangup() in pty_make_controlling_tty() as it broke some coproc module tests if run as root
- Fixed str.h to not clash with new strlcpy/strlcat macros on OSX/macOS
- Updated to avoid new warnings in recent versions of gcc
- Split README into multiple files (README.md INSTALL COPYING REFERENCES CHANGELOG)
- Added /etc/daemon.conf.d/ and ~/.daemonrc.d/ configuration directories
- Changed "config" script name to "configure" (not an alias anymore) (but it's still not GNU configure)
- Changed /etc/daemon.conf file location to /usr/local/etc/daemon.conf on FreeBSD
- Changed /etc/daemon.conf file location to /usr/pkg/etc/daemon.conf on NetBSD
- Changed installation location prefix to /usr/pkg on NetBSD
- Added concrete examples to daemon.conf
- Replaced racist pty jargon in code with more descriptive terms
0.6.4 (20100612)
- Added more debug statements
- Fixed typographical errors in documentation
- Fixed bug: need double-fork on Linux (spotted by Joey Hess joeyh at debian.org)
- Updated makefiles to work with recent versions of GNU make
- Updated to avoid new warnings in recent versions of gcc
- Fixed pidfile race condition (with Hilko Bengen bengen at hilluzination.de)
- Fixed bug in message for --verbose --running when --pidfile[s] also used
- Don't strip if $DEB_BUILD_OPTIONS contains nostrip (for Julien Danjou acid at debian.org)
- Made --running work when readonly (spotted by Thomas Koch thomas at koch.ro)
- Stopped modifying --user argument so ps output looks right (for Hilko Bengen)
- Made --user use ":" (but still accept ".") (for Lars Wirzenius lars at catalyst.net.nz)
- Ported to GNU/kFreeBSD (with Cyril Brulebois cyril.brulebois at enst-bretagne.fr)
- Added --idiot option (for Andras Korn korn-debbugs at chardonnay.math.bme.hu)
- Added example/daemon.initd script (inspired by Javier Fernández-Sanguino Peña jfs at computer.org)
- Ported to NetBSD
- Added make nbsd nbsd-daemon nbsd-slack (netbsd binary packages)
- Ported to Solaris10 and OpenSolaris
- Tested on ubuntu-10.04, debian-5.0.4, fedora-13 (x86_64, i386)
- Tested on solaris-10-200910, opensolaris-200906 (amd64, i386)
- Tested on openbsd-4.7, freebsd-8.0, netbsd-5.0.2 (amd64, i386)
- Tested on macosx-10.{4,5,6} (x86_64, i386, ppc)
- Tested on kfreebsd-20090729 (i386)
- Updated make rpm sol obsd fbsd osx to continue working
0.6.3 (20040806)
- Fixed bug: --acceptable was broken (chris at edesix.com)
0.6.2 (20040102)
- Fixed bug: --stop during spawn delay wasn't acted upon
- Fixed API bug: <slack/lib.h> didn't include <slack/coproc.h>
- Fixed bug: -lm wasn't in `libslack-config --libs` on Solaris
- Changed --restart: reset spawn burst counters (for stodden at peppermind.de)
- Changed daemon_path_is_safe() to give an explanation when unsafe
- Added explanations when rejecting unsafe config files and executables
- Fixed bug: reset agent state to IDLE when interrupted (bte at kamash.com)
- Trim unquoted leading spaces from property values (with bte at kamash.com)
- Also trim only unquoted trailing spaces from property names
- Added tools/migrate-properties utility (preserves old propfile behaviour)
- Fixed bug: ownership partially lost in map_resize (with bte at kamash.com)
- Fixed bug: mem_resize was broken since libslack-0.4 (bte at kamash.com)
- Fixed DOC bug: stated the importance of including <slack/lib.h> first
- Cleaned up error messages (now that prog name is set to --name argument)
- Added sections to libslack(3) features list (coproc+pty, low level api)
- Fixed bug: if select() failed (unlikely), coproc wasn't closed properly
- Fixed bug: when tty_raw() failed (unlikely), it returned the wrong value
- Added many examples to the manpages (there are now 91 runnable examples)
- Added tools/check-examples to verify that all examples work
- Fixed bug: str_fgetline() returned empty string rather than null on eof
- Fixed bug: cstrstr() didn't always work due to a typo
- Added sections to libslack(3) features list (documentation, testing)
- Added intel solaris8 binary package
- Ported to Mac OS X (Darwin) 10.3.2
- Added make osx osx-daemon osx-slack (macosx binary packages)
- Added pid to --running output (requested by rubinson at email.arizona.edu)
- Dropped support for K&R clients (suggested by skaller at ozemail.com.au)
- Added hsort_closure(3) (suggested by skaller at maxtal.com.au)
- Added make slack.swig (generate a SWIG input file for libslack)
0.6.1 (20030901)
- Fixed bug: --noconfig option broken (spotted by paolo at telmap.com)
- Fixed bug: --command option broken (spotted by paolo at telmap.com)
- Fixed bug: exit too quickly on sigterm (spotted by stodden at cs.tum.edu)
- Set prog name to --name argument, if any (for syslog message prefix)
0.6 (20020916)
- Added HEADER FILES section to libslack(3) manpage
- Added #include <slack/std.h> to example sections of module manpages
- Added conf/freebsd (mmoraes at teleias.com)
- Added tools/prefix utility (add prefix to all libslack identifiers)
- Added manpage for tools/analyse-debug-locker utility
- Separated stdout and stderr in coproc_open() and coproc_close()
- Changed coproc open functions to take action() and data arguments
- Started using libslack's coproc functions to run client
- Added chdir to chroot directory (mmoraes at teleias.com)
- Added --env option (mmoraes at teleias.com)
- Changed restart behaviour to be like init(8)
- Added --acceptable option
- Added --attempts option (mmoraes at teleias.com)
- Added --delay option
- Added --limit option
- Removed --force option (no longer meaningful)
- Added --foreground option (suggested by mh+daemon at zugschlus.de)
- Added --pty option
- Exposed daemon_pidfile()
- Added daemon_is_running()
- Added daemon_stop()
- Added --running option
- Added --stop option
- Added --unsafe option
- Added --safe option
- Fixed bug: config file parsing could produce garbage options
- Replaced demo directory with test directory
- Added support for sending client stdout/stderr directly to a file
- Renamed --syslog to --output (-s to -o)
- Renamed --outlog to --stdout (-o to -O)
- Renamed --errlog to --stderr (-e to -E)
- Renamed --log to --errlog
- Added --dbglog option
- Renamed sighandler_t to signal_handler_t (glibc clash - gdr at gno.org)
- Ported to Solaris 8
- Split Solaris configuration scripts into conf/solaris[68]-[g]cc
- Added support for installing gzipped manpages
- Added --inherit option
- Added make daemon.conf (just an empty default)
- Stopped installing libslack as well by default
- Added daemon.conf(5) manpage (just a symlink to daemon(1))
- Added make [un]install-daemon-conf (not by default)
- Added Debian source package generation
- Stopped generating debian package (until it's a shared library)
- Added make fbsd fbsd-daemon fbsd-slack (freebsd binary packages)
- Added --command option (suggested by mh+daemon at zugschlus.de)
- Added support for absolute path in daemon_pidfile()
- Added --pidfiles, --pidfile options (suggested by mh+daemon at zugschlus.de)
- Added daemon_getpid()
- Added --restart option (suggested by mh+daemon at zugschlus.de)
- Added support for ~/.daemonrc
- Added --noconfig option
- Added check for dubious characters in daemon names
- Added libslack-config --upgrade option
- Added lame ./config script that just calls existing lame conf/* scripts
0.5 (20011109)
- Fixed Makefile bug: decoupled libslack optlevel from module test optlevel
- Fixed API bug: str_length_unlocked() was static
- Fixed API bug: prop_locker() prototype wasn't in prop.h
- Added prop_clear() to prop module
- Added octal/hex and error handling to command line integer option handling
- Fixed bug: check() just called dump() without testing the condition first
- Added variants of six standard C string functions with more useful APIs
- Added thread module tests (and locker timing tests)
- Changed locker function return values (now same as pthread return values)
- Improved speed of lockers (now overhead = 1 test + 1 deref + 1 offset)
- Changed item/length/size, bin/hex/oct functions to return -1 on error
- Changed error returns to consistently set errno (str, list, map)
- Added set_errnull() to err module
- Added relative index/range semantics to list functions (same as with str)
- Changed fifo_open() to take writefd return arg to prevent fd leaks
- Simplified mem_resize() assuming ISO C compliant realloc()
- Added internal ISO C compliant realloc() for systems that don't have it
- Fixed bug: optval/optlen for getsockopt(SO_ERROR) not initialised
- Fixed inode leak: fifo_open() didn't unlink fifo created on error
- Removed thread_init(), thread_setcancel() and barriers from thread module
- Renamed thread module to locker (decoupled thread safety)
- Stopped daemon_revoke_privileges() from clearing supplementary group list
- Added initgroups(3) when handling --user=user (with no specific ".group")
- Added --chroot, --chdir and --umask options
- Changed default umask to 022 for safety
- Added support for "debug sections" to debug messaging
- Added daemon_become_user() to daemon module
- Added "_unlocked" versions of functions in str, list and map modules
- Renamed "_locked" functions to "_with_locker" to avoid confusion
- Fixed bug: removed highly dubious synchronisation from internal iterators
- Added read locked iterators
- Added alert functions to prog, err and msg modules
- Systematically corrected function prototype typos in manpages
- Added net_options() to net module (sets multiple socket options)
- Added soundex() to str module
- Removed caching and mutex locks in daemon_started_by_init/inetd()
- Added ignoring SIGHUP before losing session leadership in daemon_init()
- Improved IPv6 support in net module (i.e. can now bind to IPv6 wildcard)
- Added support for UNIX domain sockets to net module
- Increased socket listen queue length from 5 to 1024
- Fixed bug: net service port selection only used numeric port arg
- Added handling of name lookup returning multiple addresses for net clients
- Added default host to net client functions (i.e. null host == loopback)
- Changed net_create_server() and net_create_client() to take sockopt list
- Added support for net clients binding to a specific local port
- Added net_gethostbyname() and net_getservbyname() to net module
- Made net server and client functions threadsafe
- Added socket option notes to net module manpage (from W. Richard Stevens)
- Added protocol design notes to net module manpage (from Radia Perlman)
- Added sendfd() and recvfd() to net module (send/recv open file descriptor)
- Replaced ioctl() with fcntl() in nonblock functions
- Added --outlog and --errlog options
- Fixed/simplified sigchld handling (was overcomplicated and flaky)
- Added support for net client/server service argument being numeric
- Added link module (singly/doubly linked lists and "growable" freelists)
- Added agent module (poll/select plus hierarchical timing wheel scheduler)
- Added net_interfaces() to net module (retrieve list of network interfaces)
- Added support for IPv4 and IPv6 multicasting to net module
- Added Reliability over UDP functions to net module (net_rudp_transact())
- Added Type of Service (TOS) functions to net module
- Changed net_pack/net_unpack functions to take a timeout arg
- Added nap() function to fio module (subsecond sleep)
- Added threadsafe snprintf() function for systems that don't have it
- Added asprintf() to str module for systems that don't have it
- Added config.h to simplify compile commands (prelude to autoconf)
- Removed thread_attr_{init,set}() (not useful enough or portable enough)
- Ported to OpenBSD 2.9
- Added pseudo module (pseudo terminals by Tatu Ylonen from openssh)
- Added coproc module (coprocesses with or without a pseudo terminal)
- Changed syslog functions to take a priority parameter
- Added --force option to daemon (respawn even when client crashes)
- Added make obsd obsd-daemon obsd-slack (openbsd binary packages)
- Added libslack-config --uninstall
- Proofread all of the doco (just once)
- Added setting appropriate TOS values in mail()
- Fixed validation of relative index/range values in str/list modules
- Added relative index semantics to list_item()
- Added read locked versions of map_apply() and list_apply()
- Added make dist-html-daemon and dist-html-slack (manpages as html.tar.gz)
0.4 (20010215)
- Fixed memory usage bugs
- Added daemon demo directory (previously, the incomplete "test" directory)
- Changed net server/client functions to use service name else port number
- Fixed security bug: daemon_file_is_safe() wasn't following symlinks (doh!)
- Changed -d and -v options to take optional arguments (both default to 1)
- Renamed daemon_file_is_safe() to daemon_path_is_safe()
- Added daemon_absolute_path() to daemon module
- Added memory pool functions to mem module
- Fixed bug: optional option arguments were handled in dodgy C
- Made supplied snprintf() POSIX compliant (was using getpagesize())
- Removed conf module (Added daemon_parse_config() to daemon module)
- Removed net_chat(), rfc822_localtime(), rfc822_gmtime() (not useful enough)
- Added secure memory/pool functions to mem module
- Fixed Makefile bug: $(CCFLAGS) for daemon and libslack weren't separate
- Added fgetline() to fifo module (reads a line with any line ending)
- Added str_fgetline() to str module (like fgetline but handles any length)
- Renamed fifo module to fio
- Fixed Makefile bug: wasn't uninstalling everything properly
- Changed net_send() to take a timeout argument like next_expect() does
- Added strlcpy(), strlcat(), strcasecmp() and strncasecmp() to str module
- Changed debug levels used by daemon(1) from 8 and 9 to 1 and 2
- Renamed conf/solaris to solaris-gcc and added solaris-cc for sun workshop
- Fixed bug: -n and -u options together failed to unlink pidfiles
- Fixed security bug: wasn't clearing supplementary groups with -u option
- Added support for root and user pidfiles in separate directories
- Added make rpm rpm-daemon rpm-slack (with Edward Avis ed at membled.com)
- Added installation of manpages for each function (link to module manpage)
- Added libslack(3) overview manpage
- Added list_break(), map_break()
- Renamed assert() to check() for obvious reasons
- Renamed re funcs in str module: s/regex/regexpr/g
- Added thread module and made everything MT-Safe or MT-Disciplined
- Added relative index/range semantics to string functions
- Added make deb deb-daemon deb-slack (debian binary packages)
- Added make pkg pkg-daemon pkg-slack (solaris binary packages)
- Added setsockopt(SO_REUSEADDR) for net servers
- Changed net server/client API to allow optional setsockopt(RCVBUF/SNDBUF)
- Added REFERENCES section to README file
- Stopped net_expect/net_send from interfering with SIGALRM/alarm/setitimer
- Added read_timeout(), write_timeout() and rw_timeout() to fio module
- Changed net_read() and net_write() to take a timeout argument
- Added '?' field size specifier to unpack() (for packet length fields)
- Added libslack-config administration utility
- Renamed sockaddr typedef to sockaddr_t
- Changed net_client to take a timeout parameter
- Fixed fd leak in error handling code in net server/client functions
- Fixed bug: str_regsub() didn't handle empty string matches at all
- Changed str_regexpr_split() to take cflags and eflags arguments
- Changed all *_destroy macros to functions that take address of pointer
- Changed mem_resize macro so client must explicitly provide address of mem
- Changed all *_destroy_t typedefs to *_release_t
- Added make [un]install-{daemon|slack}-html (not part of make [un]install)
- Temporarily removed snprintf module (not MT-Safe, not essential)
- Merged lognames module into msg module
- Merged opt module into prog module
- Renamed _* functions in err module to *f (not ANSI compliant)
- Removed MANIFEST
0.3 (20000902)
- Started using GNU getopt_long() instead of getopt_long_only()
- Started ignoring /etc/daemon.conf if group or world writable
- Added -DSVR4 in conf/solaris (doh!)
- Added conditional compilation of debug functions
- Added assert macro that calls dump()
- Completed the daemon(1) manpage (common options weren't documented)
- Fixed bug: SIG_IGN, SIG_DFL and nasty signals weren't treated specially
- Made lists grow/shrink exponentially rather than linearly
- Made maps grow as needed and use arbitrary hash functions and key types
- Added multi-dimensional array allocator to the mem module
- Added net module: clients/servers, expect/send, pack/unpack, mail
- Added internal iterators and some more functions to list and map
- Added examples sections to some libprog manpages
- Added --user option
- Added str module: decent strings + tr, regex, regsub, fmt, trim, lc, uc ...
- Added vsscanf(3) implementation for systems that don't have it (e.g. solaris)
- Renamed libprog to libslack (thanks, fred!)
- Added socks.h
- Added daemon_revoke_privileges(), daemon_file_is_safe() to daemon module
- Moved revocation of setuid/setgid privileges to start for greater safety
- Fixed bug: wasn't unlinking pidfile when client died of natural causes
- Fixed bug: wasn't processing config file correctly
- Included daemon(1) tests in distribution (not automatic, though)
0.2 (19991223)
- Decoupled core file prevention from daemon_init()
into its own function, daemon_prevent_core()
- Decoupled signal handling from daemon_init()
- Cached daemon_started_by_init() and daemon_started_by_inetd() results
- Fixed bug when formatting --help message
- Added some modules to libprog: conf, list, hsort, map, prop
- Added timestamps to msg_out_file()
- Included source to GNU getopt_long_only() (if necessary)
- Added hdr.h to allow non-ANSI compilers to parse libprog's headers
- Moved libprog to a subdirectory using a "Whole Project" Makefile
- Converted "Whole Project" Makefile into "Scalable" Makefiles
- Added verbosity functions to libprog(prog)
- Added -core option to allow core file generation
- Added -respawn option to allow client respawn if death not too sudden
- Added -syslog option to redirect client stdout and stderr to syslog
- Added -log option to specify where daemon stdout and stderr are sent
- Fixed bug when constructing data for GNU getopt_long_only()
- Fixed bugs in the options table for libprog(prog)
- Changed help message format: separated option chunks by a blank line
- Fixed bug when obtaining names associated with syslog constants
- Added -Config option and /etc/daemon.conf handling
- Added pathetic conf/linux and conf/solaris scripts
- Revert to real uid/gid if not same as effective uid/gid for safety
- Added manpages
0.1 (19991020)
- Initial version
--------------------------------------------------------------------------------
URL: https://libslack.org/daemon
URL: https://raf.org/daemon
GIT: https://github.com/raforg/daemon
GIT: https://codeberg.org/raforg/daemon
Date: 20230824
Author: raf <[email protected]>