Skip to content

Commit

Permalink
Release 11.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rra committed Jul 7, 2024
1 parent 05d0d57 commit ad50ab0
Show file tree
Hide file tree
Showing 14 changed files with 65 additions and 76 deletions.
32 changes: 31 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,37 @@ Find changes for the upcoming release in the project's [changelog.d directory](h

<!-- scriv-insert-here -->

## 11.0.0 (unreleased)
<a id='changelog-11.0.0'></a>
## 11.0.0 (2024-07-07)

### Backwards-incompatible changes

- Raise the minimum Perl version for tests and test support libraries to Perl 5.12 (released in April of 2010).
- Require use of the Perl 5.12 `package Module::Name v1.0.0` syntax in the module version tests. Always use semantic versions when updating module versions.
- Update perltidy configuration for Perl critic tests, taking advantage of new perltidy features: add line breaks after labels, enable vertical alignment for => pairs, add trailing commas to multiline lists, and align trailing unless with trailing if. Thanks, Julien ÉLIE.
- Remove various obsolete exclusions from SPDX license tests now that the `@SPDX_IGNORE` configuration option is available (see below).

### New features

- Update the warning flags probed by `RRA_PROG_CC_WARNINGS_FLAGS` to disable `-Wunsafe-buffer-usage` for Clang (not intended for C code) and add several new GCC warnings and related flags added between GCC 9.2 and 13.2.
- `@SPDX_IGNORE` may now be set in the perl.conf test configuration file to specify an additional list of regular expressions matching files that the check for SPDX license headers should ignore.
- All Autoconf macros that detect libraries now use `-isystem` instead of `-I` for the include paths. This tells the compiler to suppress warnings for constructions in the headers by treating them as system headers.

### Bug fixes

- Ignore files created by the Perl Carton tool, JSON files, and temporary files generated by tests when checking for SPDX licenses and Perl strictness in standard tests.
- Suppress erroneous warnings from GCC 13.2 for `xrealloc` and `xreallocarray`.
- Fix errors in `docs/pod.t` and `style/critic.t` when neither `lib` or `blib` exists.
- Use `python-config` to find link flags if it is available, since this produces more correct results. Remove `LOCALMODLIBS` from the requested flags, since it is not necessary and breaks the build with newer Python versions.
- Do not unlink the file and then write to it in the mkstemp replacement test suite, since this fails on some file systems. This is not ideal since the calling program may be relying on traditional UNIX file semantics, but it can be addressed by moving temporary files to another file system and doesn't indicate a bug in the replacement function. Thanks to Julien ÉLIE for the report.
- Fix the portable/getaddrinfo test to not rely on undefined behavior, which caused test failures with musl.
- Fix recognition of nroff-escaped SPDX-License-Identifier headers in the Perl `t/docs/spdx-license.t` check.
- Check `Makefile.PL` in the Perl `t/style/critic.t` test if it exists.

### Other changes

- The rra-c-util change log is now formatted in Markdown, named `CHANGELOG.md`, and maintained using [scriv](https://scriv.readthedocs.io/en/latest/).
- rra-c-util now uses [semantic versions](https://semver.org/).

## 10.4 (2023-03-31)

Expand Down
12 changes: 6 additions & 6 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Comment: This file documents the copyright statements and licenses for

Files: *
Copyright: 1997, 2000-2002 Benjamin Sittler
2000-2002, 2004-2023 Russ Allbery <[email protected]>
2000-2002, 2004-2024 Russ Allbery <[email protected]>
2001-2002, 2004-2014
The Board of Trustees of the Leland Stanford Junior University
License: Expat
Expand All @@ -35,7 +35,7 @@ Files: .clang-format docs/api/xmalloc.3 docs/api/xmalloc.pod
tests/portable/reallocarray-t.c tests/portable/setenv-t.c
tests/portable/strndup-t.c tests/util/buffer-t.c tests/util/vector-t.c
util/macros.h util/vector.c util/vector.h
Copyright: 2000-2023 Russ Allbery <[email protected]>
Copyright: 2000-2024 Russ Allbery <[email protected]>
2005-2014 The Board of Trustees of the Leland Stanford Junior University
2015 Julien ÉLIE <[email protected]>
License: all-permissive
Expand All @@ -47,7 +47,7 @@ License: all-permissive
Files: Makefile.in
Copyright: 1994-2021 Free Software Foundation, Inc.
2008-2014 The Board of Trustees of the Leland Stanford Junior University
2015-2021 Russ Allbery <[email protected]>
2015-2022 Russ Allbery <[email protected]>
License: FSF-unlimited and Expat

Files: aclocal.m4
Expand Down Expand Up @@ -105,7 +105,7 @@ Files: configure.ac m4/apache.m4 m4/apr.m4 m4/aprutil.m4 m4/bdb.m4
m4/libevent.m4 m4/openssl.m4 m4/pam-const.m4 m4/pcre.m4 m4/pcre2.m4
m4/remctl.m4 m4/sasl.m4 m4/sqlite3.m4 m4/systemd.m4 m4/tinycdb.m4
m4/vamacros.m4 m4/zlib.m4
Copyright: 1999-2001, 2003, 2007, 2013-2018, 2020-2022
Copyright: 1999-2001, 2003, 2007, 2013-2018, 2020-2022, 2024
Russ Allbery <[email protected]>
2002-2014 The Board of Trustees of the Leland Stanford Junior University
2007-2008 Markus Moeller
Expand All @@ -123,8 +123,8 @@ Copyright: 1991, 1994-2003 The Internet Software Consortium and Rich Salz
1998-2003 The Internet Software Consortium
2004-2011, 2016 Internet Systems Consortium, Inc.
2008-2014 The Board of Trustees of the Leland Stanford Junior University
2009, 2011, 2015, 2018, 2021 Julien ÉLIE <[email protected]>
2014-2022 Russ Allbery <[email protected]>
2009, 2011, 2015, 2018, 2021, 2024 Julien ÉLIE <[email protected]>
2014-2024 Russ Allbery <[email protected]>
License: ISC
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
18 changes: 10 additions & 8 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ PERL_DIRECTORIES = perl perl/lib perl/t perl/t/api perl/t/data perl/t/docs \
perl/t/lib perl/t/lib/Test perl/t/style

# Additional files to include in the distribution.
EXTRA_DIST = .clang-format .github .gitignore LICENSE README.md bootstrap \
ci/README ci/apt-packages ci/cpanfile ci/install ci/test \
docs/api/xmalloc.pod docs/docknot.yaml m4/apache.m4 m4/apr.m4 \
m4/aprutil.m4 m4/curl.m4 m4/ld-version.m4 m4/ldap.m4 m4/openssl.m4 \
m4/pcre.m4 m4/remctl.m4 m4/tinycdb.m4 portable/winsock.c \
tests/README tests/TESTS tests/data/cppcheck.supp \
tests/data/generate-krb5-conf tests/data/krb5-pam.conf \
tests/data/perl.conf tests/data/perlcriticrc tests/data/perltidyrc \
EXTRA_DIST = .clang-format .github .gitignore CHANGELOG.md LICENSE \
README.md bootstrap changelog.d/_template.md.jinja \
changelog.d/scriv.ini ci/README ci/apt-packages ci/cpanfile \
ci/install ci/test docs/api/xmalloc.pod docs/docknot.yaml \
m4/apache.m4 m4/apr.m4 m4/aprutil.m4 m4/curl.m4 m4/ld-version.m4 \
m4/ldap.m4 m4/openssl.m4 m4/pcre.m4 m4/remctl.m4 m4/tinycdb.m4 \
portable/winsock.c tests/README tests/TESTS \
tests/data/cppcheck.supp tests/data/generate-krb5-conf \
tests/data/krb5-pam.conf tests/data/perl.conf \
tests/data/perlcriticrc tests/data/perltidyrc \
tests/data/valgrind.supp tests/docs/pod-spelling-t tests/docs/pod-t \
tests/docs/spdx-license-t tests/fakepam/README tests/kafs/basic-t \
tests/perl/critic-t tests/perl/minimum-version-t \
Expand Down
16 changes: 8 additions & 8 deletions README
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
rra-c-util 10.4
rra-c-util 11.0.0
(Russ Allbery's utility libraries for C)
Maintained by Russ Allbery <[email protected]>

Copyright 2000, 2009-2010, 2013-2023 Russ Allbery <[email protected]>.
Copyright 2000, 2009-2010, 2013-2024 Russ Allbery <[email protected]>.
Copyright 2009-2014 The Board of Trustees of the Leland Stanford Junior
University. This software is distributed under a BSD-style license.
Please see the section LICENSE below for more information.
Expand Down Expand Up @@ -90,7 +90,7 @@ REQUIREMENTS

A dummy Perl module is built and tested as part of the rra-c-util build
in order to exercise the included Perl test support libraries. This
requires Perl 5.10 or later and Module::Build (available from CPAN).
requires Perl 5.12 or later and Module::Build (available from CPAN).
The included components of rra-c-util are usable without Perl (by
copying them to another package), even though the build will fail.

Expand Down Expand Up @@ -178,7 +178,7 @@ TESTING
ensure that necessary environment variables are set up.

To run the full test suite, and to use the Perl test support libraries,
Perl 5.10 or later is required. The following additional Perl modules
Perl 5.12 or later is required. The following additional Perl modules
will be used if present:

* Devel::Cover
Expand Down Expand Up @@ -320,9 +320,9 @@ SUPPORT

https://github.com/rra/rra-c-util/issues

However, please be aware that I tend to be extremely busy and work
projects often take priority. I'll save your report and get to it as
soon as I can, but it may take me a couple of months.
Please be aware that I tend to be extremely busy and work projects often
take priority. I'll save your report and get to it as soon as I can,
but it may take me a couple of months.

SOURCE REPOSITORY

Expand All @@ -348,7 +348,7 @@ LICENSE
The rra-c-util package as a whole is covered by the following copyright
statement and license:

Copyright 2000, 2009-2010, 2013-2023 Russ Allbery <[email protected]>
Copyright 2000, 2009-2010, 2013-2024 Russ Allbery <[email protected]>
Copyright 2009-2014
The Board of Trustees of the Leland Stanford Junior University

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Build
status](https://github.com/rra/rra-c-util/workflows/build/badge.svg)](https://github.com/rra/rra-c-util/actions)

Copyright 2000, 2009-2010, 2013-2023 Russ Allbery <[email protected]>.
Copyright 2000, 2009-2010, 2013-2024 Russ Allbery <[email protected]>.
Copyright 2009-2014 The Board of Trustees of the Leland Stanford Junior
University. This software is distributed under a BSD-style license.
Please see the section [License](#license) below for more information.
Expand Down Expand Up @@ -87,7 +87,7 @@ calls.

A dummy Perl module is built and tested as part of the rra-c-util build in
order to exercise the included Perl test support libraries. This requires
Perl 5.10 or later and Module::Build (available from CPAN). The included
Perl 5.12 or later and Module::Build (available from CPAN). The included
components of rra-c-util are usable without Perl (by copying them to
another package), even though the build will fail.

Expand Down Expand Up @@ -186,7 +186,7 @@ Do this instead of running the test program directly since it will ensure
that necessary environment variables are set up.

To run the full test suite, and to use the Perl test support libraries,
Perl 5.10 or later is required. The following additional Perl modules
Perl 5.12 or later is required. The following additional Perl modules
will be used if present:

* Devel::Cover
Expand Down Expand Up @@ -324,10 +324,10 @@ the current version of this package, the current documentation, and
pointers to any additional resources.

For bug tracking, use the [issue tracker on
GitHub](https://github.com/rra/rra-c-util/issues). However, please be
aware that I tend to be extremely busy and work projects often take
priority. I'll save your report and get to it as soon as I can, but it
may take me a couple of months.
GitHub](https://github.com/rra/rra-c-util/issues). Please be aware that I
tend to be extremely busy and work projects often take priority. I'll
save your report and get to it as soon as I can, but it may take me a
couple of months.

## Source Repository

Expand All @@ -349,7 +349,7 @@ requests are gratefully reviewed and normally accepted.
The rra-c-util package as a whole is covered by the following copyright
statement and license:

> Copyright 2000, 2009-2010, 2013-2023
> Copyright 2000, 2009-2010, 2013-2024
> Russ Allbery <[email protected]>
>
> Copyright 2009-2014
Expand Down
21 changes: 0 additions & 21 deletions changelog.d/20231230_193226_eagle.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240210_160848_eagle.md

This file was deleted.

7 changes: 0 additions & 7 deletions changelog.d/20240217_084600_eagle.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240217_092424_eagle.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240313_194306_eagle.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240317_224358_eagle.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20240317_224621_eagle.md

This file was deleted.

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dnl SPDX-License-Identifier: FSFULLR
dnl I use this introductory boilerplate for all configure.ac files, changing
dnl the AC_INIT arguments as appropriate.
AC_PREREQ([2.64])
AC_INIT([rra-c-util], [10.4], [[email protected]])
AC_INIT([rra-c-util], [11.0.0], [[email protected]])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_LIBOBJ_DIR([portable])
AC_CONFIG_MACRO_DIR([m4])
Expand Down
2 changes: 1 addition & 1 deletion docs/docknot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ format: v1

name: rra-c-util
maintainer: Russ Allbery <[email protected]>
version: '10.4'
version: '11.0.0'
synopsis: Russ Allbery's utility libraries for C

license:
Expand Down

0 comments on commit ad50ab0

Please sign in to comment.