Skip to content

Releases: raforg/daemon

0.8.4 (20230824)

24 Aug 13:16
Compare
Choose a tag to compare
- 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)

19 Aug 14:04
Compare
Choose a tag to compare
- 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
- make - Change clean/clobber/distclean to be the same and to also unconfigure
- make - Always default to Linux config for make clean
- 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)

31 Mar 00:36
Compare
Choose a tag to compare
- 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)

13 Mar 10:07
Compare
Choose a tag to compare
- 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)

04 Mar 16:37
Compare
Choose a tag to compare
- 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)

20 Feb 12:54
Compare
Choose a tag to compare
- 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)

12 Nov 03:15
Compare
Choose a tag to compare

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)

12 Nov 03:14
Compare
Choose a tag to compare

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)

12 Nov 03:12
Compare
Choose a tag to compare

0.6.3 (20040806)

- Fixed bug: --acceptable was broken (chris at edesix.com)

0.6.2 (20040102)

12 Nov 03:10
Compare
Choose a tag to compare

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)