Skip to content

Commit

Permalink
0.8.2 (20230330)
Browse files Browse the repository at this point in the history
  • Loading branch information
raforg committed Mar 30, 2023
1 parent 7eb2f99 commit 8d9e41d
Show file tree
Hide file tree
Showing 123 changed files with 426 additions and 256 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
CHANGELOG
=========

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)
Expand Down Expand Up @@ -414,6 +423,6 @@ CHANGELOG
URL: https://raf.org/daemon
GIT: https://github.com/raforg/daemon
GIT: https://codeberg.org/raforg/daemon
Date: 20230313
Date: 20230330
Author: raf <raf@raf.org>

2 changes: 1 addition & 1 deletion COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ Additionally, for (optional) libslack/snprintf.c
URL: https://raf.org/daemon
GIT: https://github.com/raforg/daemon
GIT: https://codeberg.org/raforg/daemon
Date: 20230313
Date: 20230330
Author: raf <raf@raf.org>

6 changes: 3 additions & 3 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ First, uninstall any previous version (optional):

To build and test:

tar xzf daemon-0.8.1.tar.gz
cd daemon-0.8.1
tar xzf daemon-0.8.2.tar.gz
cd daemon-0.8.2
./configure # iff linux, openbsd, freebsd, netbsd, macosx, solaris, gnuhurd or kfreebsd
make # must be gnu make
make test # only tests libslack. to test daemon, see test/README
Expand Down Expand Up @@ -244,6 +244,6 @@ Probably has the same UNIX domain datagram problem as Solaris.
URL: https://raf.org/daemon
GIT: https://github.com/raforg/daemon
GIT: https://codeberg.org/raforg/daemon
Date: 20230313
Date: 20230330
Author: raf <raf@raf.org>

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#

# 20230313 raf <raf@raf.org>
# 20230330 raf <raf@raf.org>
#

CC := gcc
# CC := cc
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,6 @@ The `--list` option reports all the currently running named *daemon* processes.
URL: https://raf.org/daemon
GIT: https://github.com/raforg/daemon
GIT: https://codeberg.org/raforg/daemon
Date: 20230313
Date: 20230330
Author: raf <raf@raf.org>

2 changes: 1 addition & 1 deletion REFERENCES
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ REFERENCES
URL: https://raf.org/daemon
GIT: https://github.com/raforg/daemon
GIT: https://codeberg.org/raforg/daemon
Date: 20230313
Date: 20230330
Author: raf <raf@raf.org>

4 changes: 2 additions & 2 deletions conf/ccenv
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile to use $CC as CC
#
# 20230313 raf <raf@raf.org>

if [ "x$CC" != x ]
then
Expand Down
4 changes: 2 additions & 2 deletions conf/destdir
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile to change DESTDIR.
#
# 20230313 raf <raf@raf.org>

# Strip off the leading "--destdir=" from the command line option

Expand Down
4 changes: 2 additions & 2 deletions conf/freebsd
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile, macros.mk and config.h to compile on FreeBSD
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^(\S+ \+= xnet)$/# $1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/gnuhurd
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify the macros.mk make include files to exercise optional code
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^(\S+ \+= xnet)$/# $1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/kfreebsd
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile, macros.mk and config.h to compile on Linux
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^(\S+ \+= xnet)$/# $1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/linux
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile, macros.mk and config.h to compile on Linux
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^(\S+ \+= xnet)$/# $1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/logind
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Enable/disable support for systemd-logind or elogind (Linux only)
#
# 20230313 raf <raf@raf.org>

if [ x"$1" = x--enable ]
then
Expand Down
4 changes: 2 additions & 2 deletions conf/macosx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile, macros.mk and config.h to compile on FreeBSD
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^(\S+ \+= xnet)$/# $1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/netbsd
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile, macros.mk and config.h to compile on NetBSD
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^(\S+ \+= xnet)$/# $1/;' \
Expand Down
8 changes: 4 additions & 4 deletions conf/openbsd
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile, macros.mk and config.h to compile on OpenBSD
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^(\S+ \+= xnet)$/# $1/;' \
Expand All @@ -37,8 +37,8 @@ perl -pi \
-e 's/^# (\S+ \+= -DNO_POSIX_SOURCE=1)$/$1/;' \
-e 's/^# (\S+ \+= -DNO_XOPEN_SOURCE=1)$/$1/;' \
-e 's/^(\S+ \+= -DROOT_PID_DIR)=.*$/# $1=\\"\/var\/run\\"/;' \
-e 's/^(CC := cc)$/# $1/;' \
-e 's/^# (CC := gcc)$/$1/;' \
-e 's/^# (CC := cc)$/$1/;' \
-e 's/^(CC := gcc)$/# $1/;' \
-e 's/^(CC := .*other)$/# CC := other/;' \
-e 's/^# (\S+ \+= -Wno-long-long)$/$1/;' \
-e 's/^(\S+ \+= -Wno-overlength-strings)$/# $1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/prefix
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile and macros.mk to change
# PREFIX/CONF_INSDIR/CONFIG_PATH/ROOT_PID_DIR together.
# But can be reversed with --prefix=default.
#
# 20230313 raf <raf@raf.org>

# Strip off the leading "--prefix=" from the command line option
prefix="${1#--prefix=}"
Expand Down
4 changes: 2 additions & 2 deletions conf/slackware
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify Makefile to compile/install on Slackware (after conf/linux)
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's{^(PREFIX := ).*$}{$1/usr};' \
Expand Down
4 changes: 2 additions & 2 deletions conf/solaris10-cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify the macros.mk make include files to compile on Solaris 10 with cc
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^# (\S+ \+= xnet)$/$1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/solaris10-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify the macros.mk make include files to compile on Solaris 10 with gcc
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^# (\S+ \+= xnet)$/$1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/solaris6-cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify the macros.mk make include files to compile on Solaris 6 with cc
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^# (\S+ \+= xnet)$/$1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/solaris6-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify the macros.mk make include files to compile on Solaris 6 with gcc
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^# (\S+ \+= xnet)$/$1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/solaris8-cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify the macros.mk make include files to compile on Solaris 8 with cc
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^# (\S+ \+= xnet)$/$1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/solaris8-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify the macros.mk make include files to compile on Solaris 8 with gcc
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^# (\S+ \+= xnet)$/$1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/test
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Modify macros.mk and config.h to exercise optional code
#
# 20230313 raf <raf@raf.org>

perl -pi \
-e 's/^# (GETOPT := getopt)$/$1/;' \
Expand Down
4 changes: 2 additions & 2 deletions conf/test-gcc-opt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# 20230330 raf <raf@raf.org>
#

# Test if the supplied gcc argument is supported
#
# 20230313 raf <raf@raf.org>

option="$1"
gcc -E -xc /dev/null -Werror $option >/dev/null 2>/dev/null
Expand Down
4 changes: 2 additions & 2 deletions conf/test_logind.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <https://www.gnu.org/licenses/>.
*
* 20230330 raf <raf@raf.org>
*/

/*
* Test program for logind/elogind (Linux only). This program can't
* be run. It is only to be compiled so as to make sure that we have
* all of these functions and types available. On Linux systems
* with systemd, it needs to be linkd again
*
* 20230313 raf <raf@raf.org>
*/

#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <https://www.gnu.org/licenses/>.
*
* 20230313 raf <raf@raf.org>
* 20230330 raf <raf@raf.org>
*/

#ifndef DAEMON_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
#

# 20230313 raf <raf@raf.org>
# 20230330 raf <raf@raf.org>
#

die() { echo "$0: $@" >&2; exit 1; }

Expand Down
Loading

0 comments on commit 8d9e41d

Please sign in to comment.