diff --git a/CHANGELOG b/CHANGELOG index 803b217..5f1ee73 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,27 @@ +3.3 (20231013) + + - Makefile - Place env CFLAGS after explicit flags so they can override the explicit flags + - configure - Fix --prefix= buglet (only worked if it was the first argument) + - Makefile - Include env CPPFLAGS (just in case) + - configure - Add --macports-prefix for macports with non-default prefix + - configure - Add missing --etcdir and fix --destdir and --mandir + - tests - Adapt to identify new adduser/addgroup help message + - Add body pattern modifiers: .body .ibody .rebody .reibody + - .reuse/dep5 - Make more accurate (strlcpy/strlcat not exactly BSD-3-Clause) + - pcre2 - Stop using the PCRE2_NEVER_BACKSLASH_C option + - configure - Remove 'when present' from pcre2 message for consistency + - configure/tests - Replace `which` with `command -v` (more consistent) + - tests - Make RAWHIDE_TEST_MULTIBYTE_USER_GROUP message shorter + - tests - On FreeBSD chflags uappnd fails on zfs so test with sappnd + - Add -j option (same as -L "%j\n") + - configure - Add --enable-ubsan --enable-asan (undefined behaviour/address sanitizers) + - doc - Show explicit -f- (as distinct from: -f fname) in --help output and SYNOPSIS + - doc - Add rhs/rht/rhz etc. shell functions (rh/-r/-l/-v sorted (via jq) by path/mtime/size) + - doc - Make rawhide.conf(5) manual entry fit in 80 columns again + - doc - Update grammar to include recently added pattern modifiers + - Fix -L %j access_control_list_verbose on FreeBSD/Solaris (wasn't verbose) + - Revoke any setuid/setgid privileges at the start + 3.2 (20230609) - Add support for attr (flags) on FreeBSD, OpenBSD, NetBSD, and macOS diff --git a/COPYING b/COPYING index 0dab3fc..74e1ce4 100644 --- a/COPYING +++ b/COPYING @@ -53,6 +53,6 @@ All rights reserved. URL: https://raf.org/rawhide GIT: https://github.com/raforg/rawhide GIT: https://codeberg.org/raforg/rawhide - Date: 20230609 + Date: 20231013 Authors: 1990 Ken Stauffer, 2022-2023 raf diff --git a/Makefile b/Makefile index a60b28f..f14b53b 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf DESTDIR = #PREFIX = /usr @@ -43,8 +43,8 @@ FMT_MANDIR = $(MAN_INSDIR)/man$(FMT_MANSECT) MAN_GZIP = 0 RAWHIDE_NAME = rawhide -RAWHIDE_VERSION = 3.2 -RAWHIDE_DATE = 20230609 +RAWHIDE_VERSION = 3.3 +RAWHIDE_DATE = 20231013 RAWHIDE_PROG_NAME = rh RAWHIDE_ID = $(RAWHIDE_NAME)-$(RAWHIDE_VERSION) RAWHIDE_DIST = $(RAWHIDE_ID).tar.gz diff --git a/README.md b/README.md index c3b016b..0d1db9f 100644 --- a/README.md +++ b/README.md @@ -472,8 +472,8 @@ Find files on *Solaris* with setuid executable extended attributes (silly): *Rawhide*'s source distribution can be downloaded from these locations: -- (or [archive.org](https://web.archive.org/web/20230000000000*/https://raf.org/rawhide/download/rawhide-3.2.tar.gz)) -- +- (or [archive.org](https://web.archive.org/web/20230000000000*/https://raf.org/rawhide/download/rawhide-3.3.tar.gz)) +- This is free software released under the terms of the GNU General Public Licence version 3 or later (*GPLv3+*). @@ -482,8 +482,8 @@ Licence version 3 or later (*GPLv3+*). To install *rawhide*: - tar xzf rawhide-3.2.tar.gz - cd rawhide-3.2 + tar xzf rawhide-3.3.tar.gz + cd rawhide-3.3 ./configure make make test # optional (lots of output, or set quiet=1) @@ -558,6 +558,6 @@ character encodings are not supported. URL: https://raf.org/rawhide GIT: https://github.com/raforg/rawhide GIT: https://codeberg.org/raforg/rawhide - Date: 20230609 + Date: 20231013 Authors: 1990 Ken Stauffer, 2022-2023 raf diff --git a/configure b/configure index 4da936f..b1a3c80 100755 --- a/configure +++ b/configure @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf # Show the usage messge for --help diff --git a/gcov_summary b/gcov_summary index 2690628..917c193 100755 --- a/gcov_summary +++ b/gcov_summary @@ -22,7 +22,7 @@ use strict; # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf # gcov_summary - Summarise the contents of *.c.gcov (first run gcov *.c) diff --git a/md2html b/md2html index b5004a7..8ea90ab 100755 --- a/md2html +++ b/md2html @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf # md2html - Convert a markdown file into a complete HTML document file diff --git a/rawhide.conf.5.pod b/rawhide.conf.5.pod index 191a212..9c1648e 100644 --- a/rawhide.conf.5.pod +++ b/rawhide.conf.5.pod @@ -18,7 +18,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf =head1 NAME diff --git a/rh.1.pod b/rh.1.pod index 3ac8131..6749a55 100644 --- a/rh.1.pod +++ b/rh.1.pod @@ -18,7 +18,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf =head1 NAME diff --git a/rh.c b/rh.c index 34e09da..965729e 100644 --- a/rh.c +++ b/rh.c @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #define _GNU_SOURCE /* For FNM_EXTMATCH and FNM_CASEFOLD in */ diff --git a/rh.h b/rh.h index 65983f8..cb770fc 100644 --- a/rh.h +++ b/rh.h @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #ifndef RAWHIDE_RH_H diff --git a/rhcmds.c b/rhcmds.c index e18342d..d184913 100644 --- a/rhcmds.c +++ b/rhcmds.c @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #define _GNU_SOURCE /* For FNM_EXTMATCH and FNM_CASEFOLD in */ diff --git a/rhcmds.h b/rhcmds.h index bca9d68..d7f7d1c 100644 --- a/rhcmds.h +++ b/rhcmds.h @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #ifndef RAWHIDE_RHCMDS_H diff --git a/rhdata.c b/rhdata.c index e6039fe..1849092 100644 --- a/rhdata.c +++ b/rhdata.c @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #define _GNU_SOURCE /* For FNM_EXTMATCH and FNM_CASEFOLD in */ diff --git a/rhdata.h b/rhdata.h index cbadc99..c01bdd3 100644 --- a/rhdata.h +++ b/rhdata.h @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #ifndef RAWHIDE_RHDATA_H diff --git a/rhdir.c b/rhdir.c index 27550b2..70cfa66 100644 --- a/rhdir.c +++ b/rhdir.c @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #define _GNU_SOURCE /* For FNM_EXTMATCH and FNM_CASEFOLD in and wcswidth() in */ diff --git a/rhdir.h b/rhdir.h index 7013ad7..3903ab1 100644 --- a/rhdir.h +++ b/rhdir.h @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #ifndef RAWHIDE_RHDIR_H diff --git a/rherr.c b/rherr.c index 4e6b017..9ede084 100644 --- a/rherr.c +++ b/rherr.c @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #define _FILE_OFFSET_BITS 64 /* For 64-bit off_t on 32-bit systems (Not AIX) */ diff --git a/rherr.h b/rherr.h index c7ff78a..94be04d 100644 --- a/rherr.h +++ b/rherr.h @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #ifndef RAWHIDE_RHERR_H diff --git a/rhparse.c b/rhparse.c index 072dd4f..b3911f5 100644 --- a/rhparse.c +++ b/rhparse.c @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #define _GNU_SOURCE /* For FNM_EXTMATCH and FNM_CASEFOLD in */ diff --git a/rhparse.h b/rhparse.h index c434399..93e4204 100644 --- a/rhparse.h +++ b/rhparse.h @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #ifndef RAWHIDE_RHPARSE_H diff --git a/rhstr.c b/rhstr.c index 7f0e215..59a5b30 100644 --- a/rhstr.c +++ b/rhstr.c @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ /* diff --git a/rhstr.h b/rhstr.h index c1c1417..fef8210 100644 --- a/rhstr.h +++ b/rhstr.h @@ -19,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . * -* 20230609 raf +* 20231013 raf */ #ifndef RAWHIDE_RHSTR_H diff --git a/runtests b/runtests index baaf30e..efadb7f 100755 --- a/runtests +++ b/runtests @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf # runtests - Run all of the rawhide tests diff --git a/samples/.rh.sh b/samples/.rh.sh index bed4ca3..c560b52 100644 --- a/samples/.rh.sh +++ b/samples/.rh.sh @@ -18,7 +18,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf # .rh.sh - Some command line shell syntactic sugar to save keystrokes diff --git a/tests/.common b/tests/.common index e17dbd3..fc1c4e2 100644 --- a/tests/.common +++ b/tests/.common @@ -18,7 +18,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf # tests/.common - Test helpers diff --git a/tests/.new b/tests/.new index ef761f1..4f7a876 100755 --- a/tests/.new +++ b/tests/.new @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t01 b/tests/t01 index 83dec07..4df7615 100755 --- a/tests/t01 +++ b/tests/t01 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t02 b/tests/t02 index 99cda8e..2d5a5f2 100755 --- a/tests/t02 +++ b/tests/t02 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t03 b/tests/t03 index 63eb819..bcff8af 100755 --- a/tests/t03 +++ b/tests/t03 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t04 b/tests/t04 index 4096269..707c77b 100755 --- a/tests/t04 +++ b/tests/t04 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t05 b/tests/t05 index 591ebff..489e61e 100755 --- a/tests/t05 +++ b/tests/t05 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t06 b/tests/t06 index a7d98dc..5979e38 100755 --- a/tests/t06 +++ b/tests/t06 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t07 b/tests/t07 index eee803e..bdbc9ce 100755 --- a/tests/t07 +++ b/tests/t07 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t08 b/tests/t08 index bf06dc3..ff0e94c 100755 --- a/tests/t08 +++ b/tests/t08 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t09 b/tests/t09 index d84e5c8..0bb55ff 100755 --- a/tests/t09 +++ b/tests/t09 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t10 b/tests/t10 index 2948ce5..0e1e9c3 100755 --- a/tests/t10 +++ b/tests/t10 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t11 b/tests/t11 index 506a916..16762b4 100755 --- a/tests/t11 +++ b/tests/t11 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t12 b/tests/t12 index f24c8c3..7d9ad37 100755 --- a/tests/t12 +++ b/tests/t12 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t13 b/tests/t13 index 070c91a..7ed3740 100755 --- a/tests/t13 +++ b/tests/t13 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t14 b/tests/t14 index 646ab09..9e1643d 100755 --- a/tests/t14 +++ b/tests/t14 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t15 b/tests/t15 index 24328f0..8cbb3a9 100755 --- a/tests/t15 +++ b/tests/t15 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t16 b/tests/t16 index fd0ec92..7dd0ba8 100755 --- a/tests/t16 +++ b/tests/t16 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t17 b/tests/t17 index d70603d..079c7ad 100755 --- a/tests/t17 +++ b/tests/t17 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t18 b/tests/t18 index 4d9d3bf..f9c46b2 100755 --- a/tests/t18 +++ b/tests/t18 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t19 b/tests/t19 index daab42d..bc25ab1 100755 --- a/tests/t19 +++ b/tests/t19 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t20 b/tests/t20 index 8b42420..2ab79b0 100755 --- a/tests/t20 +++ b/tests/t20 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t21 b/tests/t21 index be21f03..ab79280 100755 --- a/tests/t21 +++ b/tests/t21 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t22 b/tests/t22 index 3a21586..9190f7b 100755 --- a/tests/t22 +++ b/tests/t22 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t23 b/tests/t23 index 9a31a2e..2f7c583 100755 --- a/tests/t23 +++ b/tests/t23 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t24 b/tests/t24 index ab7be91..4854fe2 100755 --- a/tests/t24 +++ b/tests/t24 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t25 b/tests/t25 index 42010f0..bd1101f 100755 --- a/tests/t25 +++ b/tests/t25 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t26 b/tests/t26 index 51640e4..0585f2c 100755 --- a/tests/t26 +++ b/tests/t26 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t27 b/tests/t27 index ad6c698..66c968b 100755 --- a/tests/t27 +++ b/tests/t27 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t28 b/tests/t28 index 4168a32..67b7678 100755 --- a/tests/t28 +++ b/tests/t28 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common diff --git a/tests/t29 b/tests/t29 index 412ff80..11ae5b0 100755 --- a/tests/t29 +++ b/tests/t29 @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . # -# 20230609 raf +# 20231013 raf . tests/.common