- Update to 1.14.1
* General changes/additions
- internal.c: update #if to only use GNU-specific strerror_r() when GLIBC
is defined (#791) Dimitry Andric
- augeas.c: Fix bug from PR#691 where the nodes of a newly created file
are lost upon a subsequent load operation (#810) George Hansper
- HACKING.md: describe testing (#796) Laszlo Ersek
- Add GitHub Actions (#714) Raphaël Pinson
- augprint.c: remove #include <malloc.h> , add #include <libgen.h>
(#792) Ruoyu Zhong
* Lens changes/additions
- TOML: support trailing commas in arrays (#809) Bao
- Tmpfiles: allow '=', '~', '^' for letter types, allow ":" as prefix for
the mode (#805) Pino Toscano
- Sshd: Add keyword PubkeyAcceptedAlgorithms as comma-separated list of
items (#806) Dave Re
- Cmdline: Allow whitespace at the end of kernel commnd line
(#798) rwmjones
- Update to 1.14.0
* General changes/additions
- Update submodule gnulib to 2f7479a16a3395f1429c7795f10c5d19b9b4453e
(#781)
- Add bash-completion for augtool, augmatch, augprint (#783) George
Hansper
- Fix: Allow values to contain arbitrary unbalanced square brackets
(#782) George Hansper
- Add package bash to build stage in Dockerfile (#776) George Hansper
- Add augprint tool for creating idempotent augtool scripts (#752) George
Hansper
OBS-URL: https://build.opensuse.org/request/show/1105579
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=100
- update to 1.12.0
General changes/additions
- update gnulib to 91584ed6
Lens changes/additions
- Anaconda: new lens to process /etc/sysconfig/anaconda instead of Shellvars (Pino Toscano) (Issue #597)
- DevfsRules: add lens for FreeBSD devfs.rules files
- Dovecot: permit ! in block titles (Nathan Ward) (Issue #599)
- Hostname: Allow creation of hostname when file is missing (David Farrell) (Issue #606)
- Krb5: add more pkinit_* options (Issue #603)
- Logrotate: fix missing recognition of double quoted filenames (Issue #611)
- Multipath: accept values enclosed in quotes (Issue #583)
- Nginx: support unix sockets as server address (Issue #618)
- Nsswitch: add merge action (Issue #609)
- Pam: accept continuation lines (Issue #590)
- Puppetfile: allow symbols as (optional) values (Issue #619) allow comments in entries (Issue #620)
- Rsyslog: support dynamic file paths (Issue #622) treat #!/+/- as comment (arnolda, PR #595)
- Syslog: accept 'include' directive (Issue #486)
- Semanage: new lens to process /etc/selinux/semanage.conf instead of Simplevars (Pino Toscano) (Issue #594)
- 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)
- Ssh: accept RekeyLimit (Issue #605)
- Sshd: accept '=' to separate option names from their values (Emil Dragu, #587)
- Sudoers: support 'always_query_group_plugin' flag (Steve Traylen, #588)
- 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)
- Toml: new lens to parse .toml files (PR #91)
- Xorg: accept empty values for options (arnolda, PR #596)
- refresh patches
- run spec-cleaner
OBS-URL: https://build.opensuse.org/request/show/819138
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=82
- update to 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 (Issue #569)
- Fix a segfault on OSX when 'augmatch' is run without any
arguments (Issue #556)
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
(Miroslav Lichvar)
- Dhclient: fix parsing of append/prepend and similar
directives (John Morrissey)
- Fstab: allow leading whitespace in mount entry lines
(Pino Toscano) (Issue #544)
- 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 (Issue #577)
- Json: allow escaped slashes in strings (Issue #557)
- Multipath: accept regular expressions for devnode, wwid,
and property in blacklist and blacklist_exceptions sections
(Issue #564)
- Nginx: parse /etc/nginx/sites-enabled (plumbeo) allow
semicolons inside double quoted strings in simple directives,
and allow simple directives without an argument (Issue #566)
- Redis: accept the 'bind' statement with multiple IP addresses
(yannh) (Issue #194)
- Rsyslog: support include() directive introduced in
rsyslog 8.33
- Strongswan: new lens (Kaarle Ritvanen)
- Systemd: do not try to treat *.d or *.wants directories as
configuration files (Issue #548)
OBS-URL: https://build.opensuse.org/request/show/660944
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=76
- update to 1.10.1:
General changes/additions
New CLI utility 'augmatch' to print the tree for a file and select
some of its contents
New command 'count' in augtool
New function 'not(bool) -> bool' for path expressions
The path expression 'label[. = "value"]' can now be written more
concisely as 'label["value"]'
API changes
libfa has now a function fa_json to export an FA as a JSON file, and
fa_state_* functions that make it possible to iterate over the FA's
states and transitions. (Pedro Valero Mejia)
Add functions aug_ns_label, aug_ns_value, aug_ns_count, and
aug_ns_path to get the label (with index), the value, the number of
nodes, and the fully qualified path for nodes stored in a nodeset in
a variable efficiently
Lens changes/additions
Grubenv: new lens to process /boot/grub/grubenv (omgold)
Httpd: also read files from /etc/httpd/conf.modules.d/*.conf
(Tomas Meszaros) (Issue #537)
Nsswitch: allow comments at the end of a line (Philip Hahn) (Issue #517)
Ntp: accept 'ntpsigndsocket' statement (Philip Hahn) (Issue #516)
Properties: accept empty comments with DOS line endings (Issue #161)
Rancid: new lens for RANCiD router databases (Matt Dainty)
Resolv: accept empty comments with DOS line endings (Issue #161)
Systemd: also process /etc/systemd/logind.conf (Pat Riehecky)
YAML: process a document that is just a sequence (John Vandenberg)
- drop chrpath dependency, the offending dump binary is no longer shipped
OBS-URL: https://build.opensuse.org/request/show/589058
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=73
- Version update to 1.9.0:
- General changes/additions
* Fix error in handling escaped whitespace at the end of path expressions
(addresses CVE-2017-7555)
* several improvements to the error messages when transforming a tree
back to text fails. They now make it clearer what part of the tree
was problematic, and what the tree should have looked like.
* Fixed the pkg-config file, which should now be usable
* Fix handling of backslash-escaping in strings and regular expressions
in the lens language. We used to handle constructs like "\\" and
/\\\\/ incorrectly. (Issue #495)
* do not unescape the default value of a del on create; otherwise we are
double unescaping these strings (Issue #507)
* remove tempfile when saving files because destination is not writable
(Issue #479)
* span information is now updated on save (Issue #467)
* fix lots of warnings generated by gcc 7.1
* Various changes to reduce bashisms in tests and make them run on
FreeBSD (Romain Tartière)
- API changes
* add function aug_ns_attr to allow iterating through a nodeset
quickly. See examples/dump.c for an example of how to use them
instead of aug_get, aug_label etc. and for a way to measure
performance gains.
- Lens changes/additions
* Ceph: new lens for /etc/ceph/ceph.conf
* Cgconfig: accept fperm & dperm in admin & task (Pino Toscano)
* Dovecot: also load files from /usr/local/etc (Roy Hubbard)
* Exports: relax the rules for the path at the beginning of a line so
that double-quoted paths are legal, too
OBS-URL: https://build.opensuse.org/request/show/537049
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=69
- restore keyring and .sig file, as this is checked by the OBS
source service
- Update to version 1.3.0
+ General changes/additions
* Add missing cp entry in manpage (GH issue #78)
* Add seq to vim syntax highlight (Robert Drake)
* Update augtool.1 man page with new commands and --span, RHBZ#1100077
* augtool autocomplete includes command aliases, RHBZ#1100184
* Remove unused "filename" argument from dump-xml command, RHBZ#1100106
* aug_save returns non-zero result when unable to delete files,
RHBZ#1091143
+ Lens changes/additions
* Aliases: permit missing whitespace between colon and recipients
* AptPreferences: Support spaces in origin fields
* Cgconfig: handle additional valid controllers (Andy Grimm)
* Chrony: New lens to parse /etc/chrony.conf (Pat Riehecky)
* CPanel: New lens to parse cpanel.config files
* Desktop: Allow @ in keys (GH issue #92)
* Device_map: Parse all device.map files under /boot (Mike Latimer)
* Dhclient: Add support for option modifiers (Robert Drake,
GH issue #95)
Parse hash statements with dhcp-eval strings
* Dhcpd: stmt_string quoted blocks no longer store quote marks
(incompatible change),
many changes to support more record types (Robert Drake)
* Group: NIS support (KaMichael)
* Grub: handle "foreground" option, RHBZ#1059383 (Miguel Armas)
* Gshadow: New lens (Lorenzo Catucci)
* Httpd: Allow eol comments after section tags
OBS-URL: https://build.opensuse.org/request/show/265847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/augeas?expand=0&rev=37