Up to [cvs.NetBSD.org] / pkgsrc / sysutils / augeas
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
augeas: updated to 1.15.0
1.15.0 - 2026-09-29
- General changes/additions
* fa.c: set an error when parse_regexp() fails without setting a
specific one, instead of returning NULL with the status left at
REG_NOERROR, which callers read as success
(addresses CVE-2025-2588)
* Cast to 'unsigned char' before calling ctype functions like isspace()
and toupper(), which is undefined behavior for negative char values,
e.g. for a non-ASCII byte in a path expression or a lens file name
* Fix aug_preview(), which failed with "Lens not found" whenever spans
were enabled; it now finds the file node by walking up from the
matched node rather than by looking the path up again
George Hansper
* Make ATTRIBUTE_FALLTHROUGH work on clang as well as gcc
Richard Barnes
* Fix gcc 14 warnings, notably the transposed reallocarray() arguments
in augprint.c
* Miscellaneous gcc 16 fixes, mostly const-correctness now that gcc 16
passes the constness of the argument through strchr() and friends
* Fix some compiler warnings in lens.c, augmatch.c
* src/Makefile.am: fix a race when building liblexer_la-lexer.lo
Andrew Kovac
* gnulib: fetch the submodule over https; git.savannah.gnu.org no
longer serves the unauthenticated git:// protocol, so a fresh clone
could not initialize .gnulib
* build: set DISTCHECK_CONFIGURE_FLAGS so 'make distcheck' does not
build gnulib's own test suite, which tests gnulib against the local
libc rather than testing augeas
* build: man/Makefile.am listed the files to distribute with a wildcard
over the source directory and never cleaned the man pages it
generates, so what a release tarball contained depended on the state
of the tree it was built from, and 'make distcheck' failed from a
clean checkout. The pages are now listed explicitly, built at dist
time and shipped - building from a tarball no longer needs pod2man
* tests: cover aug_preview() with spans enabled, the case 899 fixed
* tests: add tests around embedded quotes to
tests/test-augtool/quoted-strings.sh
* tests: ignore 'nobody' groups in test-preserve.sh so the suite passes
in an unprivileged namespace
* tests: use AM_CPPFLAGS rather than the obsolete INCLUDES
* ci: get the build workflow running again; it pinned ubuntu-20.04, a
runner image GitHub has retired, so every run failed before it started
* ci: fix the release workflow, which used '::set-output' and two
actions GitHub has archived, and so could not have produced a release
* ci: populate the .gnulib submodule from an actions cache, or with a
shallow fetch of the pinned revision, so that bootstrap does not
clone all of gnulib's history on every run
* Remove the Travis configuration; CI moved to GitHub Actions in 1.13.0
and travis-ci.org has since shut down
* README: point the build badge at GitHub Actions rather than the
shut-down travis-ci.org, and the fuzzing badge at issues.oss-fuzz.com
- Lens changes/additions
* Aptsources: parse all the option types apt allows, not just arch=
and trusted=
* Aptsources822: new lens for Deb822 style apt sources, which use the
.sources extension; Aptsources is limited to *.list
James Valleroy
* Aptsources822: add the Snapshot field, make a multi-line Signed-By
readable, allow the file to be created
* Chrony: add support for leapseclist
* Crypttab: support the link-volume-key option used by systemd v256
* Fstab: allow a comma after the last option
* IPRoute2: also read /usr/share/iproute2, the fallback directory
iproute2 6.5.0 added for stateless configuration, and exclude the
README files that explain it
George Hansper
* Iptables: support the ipset module's --match-set
* Iptables: more consistent naming, fix the failing tests
George Hansper
* Multipath: support all possible values for find_multipaths
rwmjones
* Nginx: include /etc/nginx/snippets
* Ntp: parse 'tos minclock', and add /etc/ntpsec/ntp.conf to the filter
* Pg_Hba, Postgresql, Rsyslog: add the /usr/local paths that source
installations use
* Simplevars: read the subdirectories of /etc/zabbix
* Simplevars: fix the path of OpenBSD's wsconsctl.conf, which has read
/etc/wsconsctlctl.conf since it was added and so never matched
anything
* Simplevars: take over /etc/adduser.conf from Shellvars; of the
systems that ship the file only FreeBSD treats it as a shell script,
and the perl that OpenBSD's and Debian's adduser(8) write either
fails to parse or silently vanishes from the tree
Showta Ishizaki
* Systemd: allow the '+' (fullprivileges) command flag
Cosmin Tupangiu
* Tmpfiles: permit the '$' type modifier in /usr/lib/tmpfiles.d/*.conf
*: recursive bump for icu 79
augeas: install lenses, fix CVE-2025-2588 Make augeas install all the lenses so it is actually usable. Also fix a security issue which is not in a release yet. From Showta Ishizaki in PR pkg/60656.
*: recursive bump for icu 78.1
augeas: updated to 1.14.1 1.14.1 - 2023-06-27 General changes/additions internal.c: update #if to only use GNU-specific strerror_r() when GLIBC is defined augeas.c: Fix bug from 691 where the nodes of a newly created file are lost upon a subsequent load operation HACKING.md: describe testing Add GitHub Actions augprint.c: remove #include <malloc.h> , add #include <libgen.h> Lens changes/additions TOML: support trailing commas in arrays Tmpfiles: allow '=', '~', '^' for letter types, allow ":" as prefix for the mode Sshd: Add keyword PubkeyAcceptedAlgorithms as comma-separated list of items Cmdline: Allow whitespace at the end of kernel commnd line
*: recursive bump for icu 77 and libxml2 2.14
*: recursive bump for icu 76 shlib major version bump
*: revbump for icu downgrade
*: recursive bump for icu 76.1 shlib bump
revbump after icu and protobuf updates
*: recursive bump for icu 74.1
revbump after textproc/icu update
massive revision bump after textproc/icu update
revbump for textproc/icu update
revbump for icu and libffi
revbump for textproc/icu
*: Recursive revbump from textproc/icu-68.1
Revbump for icu
Update augeas to 1.12.0.
1.12.0 - 2019-04-13
+ General changes/additions
o update gnulib to 91584ed6
+ Lens changes/additions
o Anaconda: new lens to process /etc/sysconfig/anaconda instead of
Shellvars (Pino Toscano) (Issue #597)
o DevfsRules: add lens for FreeBSD devfs.rules files
o Dovecot: permit ! in block titles (Nathan Ward) (Issue #599)
o Hostname: Allow creation of hostname when file is missing (David
Farrell) (Issue #606)
o Krb5: add more pkinit_* options (Issue #603)
o Logrotate: fix missing recognition of double quoted filenames
(Issue #611)
o Multipath: accept values enclosed in quotes (Issue #583)
o Nginx: support unix sockets as server address (Issue #618)
o Nsswitch: add merge action (Issue #609)
o Pam: accept continuation lines (Issue #590)
o Puppetfile: allow symbols as (optional) values (Issue #619) allow
comments in entries (Issue #620)
o Rsyslog: support dynamic file paths (Issue #622) treat #!/+/- as
comment (arnolda, PR #595)
o Syslog: accept 'include' directive (Issue #486)
o Semanage: new lens to process /etc/selinux/semanage.conf instead of
Simplevars (Pino Toscano) (Issue #594)
o Shellvars: allow and/or in @if conditions (#582) accept functions
wrapped in round brackets, accept variables with a dash in their
name, exclude csh/tcsh profile scripts (Pino Toscano) (Issue #600)
accept variable as command (Issue #601)
o Ssh: accept RekeyLimit (Issue #605)
o Sshd: accept '=' to separate option names from their values (Emil
Dragu, #587)
o Sudoers: support 'always_query_group_plugin' flag (Steve Traylen, #
588)
o Strongswan: parse lists. This is a backwards-incompatible change
since list entries that were parsed into a single string are now
split into a list of entries (Kaarle Ritvanen)
o Toml: new lens to parse .toml files (PR #91)
o Xorg: accept empty values for options (arnolda, PR #596)
augeas: updated to 1.11.0 1.11.0: General changes/additions * augmatch: add a --quiet option; make the exit status useful to tell whether there was a match or not * Drastically reduce the amount of memory needed to evaluate complex path expressions against large files * Fix a segfault on OSX when 'augmatch' is run without any arguments API changes * aug_source did not in fact return the source; and always returned NULL for that. That has been fixed. Lens changes/additions * Chrony: add new options supported in chrony 3.2 and 3.3 * Dhclient: fix parsing of append/prepend and similar directives * Fstab: allow leading whitespace in mount entry lines * Grub: tolerate some invalid entries. Those invalid entries get mapped to '#error' nodes * Httpd: accept comments with whitespace right after a tag opening a section * Json: allow escaped slashes in strings * Multipath: accept regular expressions for devnode, wwid, and property in blacklist and blacklist_exceptions sections * Nginx: parse /etc/nginx/sites-enabled (plumbeo) allow semicolons inside double quoted strings in simple directives, and allow simple directives without an argument * Redis: accept the 'bind' statement with multiple IP addresses * Rsyslog: support include() directive introduced in rsyslog 8.33 * Strongswan: new lens * Systemd: do not try to treat *.d or *.wants directories as configuration files
Pullup ticket #5632 - requested by sevan
sysutils/augeas: security fix
Revisions pulled up:
- sysutils/augeas/Makefile 1.3
- sysutils/augeas/PLIST 1.2
- sysutils/augeas/distinfo 1.3
---
Module Name: pkgsrc
Committed By: bsiegert
Date: Fri Nov 3 11:05:43 UTC 2017
Modified Files:
pkgsrc/sysutils/augeas: Makefile PLIST distinfo
Log Message:
Update Augeas to 1.9.0.
The changelog is too long for this commit message, go find it at
https://github.com/hercules-team/augeas/releases and
http://augeas.net/news.html.
Note that 1.8.1 included the following:
Fix error in handling escaped whitespace at the end of path expressions
(addresses CVE-2017-7555).
Update Augeas to 1.9.0. The changelog is too long for this commit message, go find it at https://github.com/hercules-team/augeas/releases and http://augeas.net/news.html. Note that 1.8.1 included the following: Fix error in handling escaped whitespace at the end of path expressions (addresses CVE-2017-7555).
Needs readline/editline.
Add a package for augeas-1.3.0. From DESCR: Augeas is a configuration editing tool. It parses configuration files in their native formats and transforms them into a tree. Configuration changes are made by manipulating this tree and saving it back into native config files. Augeas is: - An API provided by a C library - A command line tool to manipulate configuration from the shell (and shell scripts) - Language bindings to do the same from your favorite scripting language - Canonical tree representations of common configuration files - A domain-specific language to describe configuration file formats Augeas goals: - Manipulate configuration files safely, safer than the ad-hoc techniques generally used with grep, sed, awk and similar mechanisms in scripting languages - Provide a local configuration API for Linux - Make it easy to integrate new config files into the Augeas tree