- 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
- Clean up with spec-cleaner
- Version bump to 1.2.0:
- API changes
* Add aug_cp and the cp and copy commands
* aug_to_xml now includes span information in the XML dump
- General changes/additions
* Fix documentation link in c_api NaturalDocs menu
* Fix NaturalDocs documentation for various lenses
* src/transform.c (filter_matches): wrap fnmatch to ensure that an incl
pattern containing "//" matches file paths, RHBZ#1031084
* Correct locations table for transform_save() (Tomas Hoger)
* Corrections for CVE-2012-0786 tests (Tomas Hoger)
* Fix umask handling when creating new files, RHBZ#1034261
- Lens changes/additions
* Access: support DOMAIN\user syntax for users and groups, bug #353
* Authorized_Keys: Allow 'ssh-ed25519' as a valid authorized_key
type (Jasper Lievisse Adriaanse)
* Automounter: Handle hostnames with dashes in them, GH issue #27
* Build: Add combinatorics group
* Cyrus_Imapd: Create new entries without space before separator,
RHBZ#1014974 (Dietmar Kling)
* Desktop: Support square brackets in keys
* Dhclient: Add dhclient.conf path for Debian/Ubuntu (Esteve Fernandez)
* Dhcpd: Support conditionals, GH issue #34
Support a wider variety of allow/deny statement, including
booting and bootp (Yanis Guenane)
Support a wider variety of DHCP allow/deny/ignore statements
(Yanis Guenane)
* Dovecot: Various enhancements and bug fixes (Michael Haslgrübler):
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=46
- Update to version 1.1.0
- Handle files with special characters in their name, bug #343
- Fix type error in composition ('f; g') of functions, bug #328
- Improve detection of version script; make build work on Illumos with
GBU ld (Igor Pashev)
- augparse: add --trace option to print filenames of all modules being
loaded
- Various lens documentation improvements (Jasper Lievisse Adriaanse)
- Lens changes/additions
- ActiveMQ_*: new lens for ActiveMQ/JBoss A-MQ (Brian Harrington)
- AptCacherNGSecurity: new lens for /etc/apt-cacher-ng/security.conf
(Erik Anderson)
- Automaster: accept spaces between options
- BBHosts: support more flags and downtime feature (Mathieu Alorent)
- Bootconf: new lens for OpenBSD's /etc/boot.conf (Jasper Adriaanse)
- Desktop: Support dos eol
- Dhclient: read /etc/dhclient.conf used in OpenBSD (Jasper Adriaanse)
- Dovecot: New lens for dovecot configurations (Serge Smetana)
- Fai_Diskconfig: Optimize some regexps
- Fonts: exclude all README files (Jasper Adriaanse)
- Inetd: support IPv6 addresses, bug #320
- IniFile: Add lns_loose and lns_loose_multiline definitions
Support smart quotes
Warning: Smart quotes support means users should not add
escaped double quotes themselves. Tests need to be fixed
also.
Use standard Util.comment_generic and Util.empty_generic
Warning: Existing lens tests must be adapted to use standard
comments and empty lines
Allow spaces in entry_multiline* values
Add entry_generic and entry_multiline_generic
Add empty_generic and empty_noindent
Let multiline values begin with a single newline
Support dos eol
Warning: Support for dos eol means existing lenses usually
need to be adapted to exclude \r as well as \n.
- IPRoute2: Support for iproute2 files (Davide Guerri)
- JaaS: lens for the Java Authentication and Authorization Service
(Simon Vocella)
- JettyRealm: new lens for jetty-realm.properties (Brian Harrington)
- JMXAccess, JMXPassword: new lenses for ActiveMQ's JMX files
(Brian Harrington)
- Krb5: Use standard comments and empty lines
Support dos eol
Improve performance
Accept pkinit_anchors (Andrew Anderson)
- Lightdm: Use standard comments and empty lines
- LVM: New lens for LVM metadata (Gabriel)
- Mdadm_conf: optimize some regexps
- MongoDBServer: new lens (Brian Harrington)
- Monit: also load /etc/monitrc (Jasper Adriaanse)
- MySQL: Use standard comments and empty lines
Support dos eol
- NagiosCfg: handle Icinga and resources.cfg (Jasper Adriaanse)
- Nrpe: accept any config option rather than predefined list (Gonzalo
Servat); optimize some regexps
- Ntpd: new lense for OpenNTPD config (Jasper Adriaanse)
- Odbc: Use standard comments and empty lines
- Openshift_*: new lenses for Openshift support (Brian Harrington)
- Quote: allow multiple spaces in quote_spaces; improve docs
- Passwd: allow period in user names in spec, bug #337; allow overrides
in nisentry
- PHP: Support smart quotes
Use standard comments and empty lines
Load /etc/php*/fpm/pool.d/*.conf (Enrico Stahn)
- Postfix_master: allow [] in words, bug #345
- Resolv: support 'lookup' and 'family' key words, bug #320
(Jasper Adriaanse))
- Rsyslog: support :omusrmsg: list of users in actions
- RX: add CR to RX.space_in
- Samba: Use standard comments and empty lines
Support dos eol
- Schroot: Support smart quotes
- Services: support port ranges (Branan Purvine-Riley)
- Shellvars: optimize some regexps; reinstate /etc/sysconfig/network,
fixes bug #330, RHBZ#904222, RHBZ#920609; parse /etc/rc.conf.local
from OpenBSD
- Sip_Conf: New lens for sip.conf configurations (Rob Tucker)
- Splunk: new lens (Tim Brigham)
- Subversion: Support smart quotes
Use standard comments and empty lines
Use IniFile.entry_multiline_generic
Use IniFile.empty_noindent
Support dos eol
- Sudoers: allow user aliases in specs
- Sysctl: exclude README file
- Systemd: Support smart quotes; allow backslashes in values
- Xinetd: handle missing values in list, bug #307
- Xorg: allow 'Screen' in Device section, bug #344
- Yum: Support dos eol, optimize some regexps
OBS-URL: https://build.opensuse.org/request/show/210459
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=43
- update to 0.10.0
- support relative paths by taking them relative to the value of
/augeas/context in all API functions where paths are used
- add aug_to_xml to API: transform tree(s) into XML, exposed as dump-xml in
aug_srun and augtool. Introduces dependency on libxml2
- fix regular expression escaping. Previously, /[/]/ match either a backslash
or a slash. Now it only matches a slash
- path expressions: add function 'int' to convert a node value (string) to an
integer
- path expressions: make sure the regexp produced by empty nodesets from
regexp() and glob() matches nothing, rather than the empty word
- fix --autosave when running single command from command line, BZ 743023
- aug_srun: support 'insert' and 'move' as aliases for 'ins' and 'mv'
- aug_srun: allow escaping of spaces, quotes and brackets with \
- aug_init: accept AUG_NO_ERR_CLOSE flag; return augeas handle even when
initialization fails so that caller gets some details about why
initialization failed
- aug_srun: tolerate trailing white space in commands
- much improved, expanded documentation of many lenses
- always interpret lens filter paths as absolute, bug #238
- fix bug in libfa that would incorrectly calculate the difference of a case
sensistive and case insensitive regexp (/[a-zA-Z]+/ - /word/i would match
'worD')
- new builtin 'regexp_match' for .aug files to make testing regexp matching
easier during development
- fix 'span' command, bug #220
- Lens changes/additions
* Access: parse user@host and (group) in users field; field separator need
not be surrounded by spaces
* Aliases: allow spaces before colons
OBS-URL: https://build.opensuse.org/request/show/107526
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=32
- augtool: keep history in ~/.augeas/history
- add aug_srun API function; this makes it possible to run a sequence of
commands through the API
- aug_mv: report error AUG_EMVDESC on attempts to move a node into one of
its descendants
- path expressions: allow whitespace inside names, making '/files/etc/foo
bar/baz' a legal path, but parse [expr1 or expr2] and [expr1 and expr2]
as the logical and/or of expr1 and expr2
- path expressions: interpret escape sequences in regexps; since '.' does
not match newlines, it has to be possible to write '.|\n' to match any
character
- path expressions: allow concatenating strings and regexps; add
comparison operator '!~'; add function 'glob'; allow passing a nodeset
to function 'regexp'
- store the names of the functions available in path expressions under
/augeas/version
- fix several smaller memory leaks
- Lens changes/additions
* Aliases: allow spaces and commas in aliases (Mathieu Arnold)
* Grub: allow "bootfs" Solaris/ZFS extension for dataset name, bug #201
(Dominic Cleal); allow kernel path starting with a BIOS device,
bug #199
* Inifile: allow multiline values
* Php: include files from Zend community edition, bug #210
* Properties: new lens for Java properties files, bug #194 (Craig Dunn)
* Spacevars: autoload two ldap files, bug #202 (John Morrissey)
* Sudoers: support users:groups format in a Runas_Spec line, bug #211;
add CSW paths (Dominic Cleal)
* Util: allow comment_or_eol to match whitespace-only comments,
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=22
- update to 0.8.1
* augtool: respect autosave flag in oneshot mode, bug #193;
fix segfault caused by unmatched bracket in path expression,
bug #186
* eliminate a global variable in the lexer, fixes BZ 690286
* replace an erroneous assert(0) with a proper error message when
none of the alternatives in a union match during saving,
bug #183
* improve AIX support
* Lens changes/additions
* Access: support the format @netgroup@@nisdomain, bug #190
* Fstab: fix parsing of SELinux labels in the fscontext option
* Grub: support 'device' directive for UEFI boot, bug #189; support
'configfile' and 'background'
* Httpd: handle continuation lines; autoload httpd.conf on
Fedora/RHEL, BZ 688149; fix support for single-quoted
strings
* Iptables: support --tcp-flags, bug #157; allow blank and comment
lines anywhere
* Mysql: include /etc/my.cnf used on Fedora/RHEL, BZ 688053
* NagiosCfg: parse setting multiple values on one line
* NagiosObjects: process /etc/nagios3/objects/*.cfg
* Nsswitch: support 'sudoers' as a database, bug #187
* Shellvars: autoload /etc/rc.conf used in FreeBSD
* Sudoers: support '#include' and '#includedir', bug #188
* Yum: exclude /etc/yum/pluginconf.d/versionlock.list
- changes for 0.8.0
* add new 'square' lens combinator
* add new aug_span API function
* augtool: short options for --nostdinc, --noload, and --noautoload
OBS-URL: https://build.opensuse.org/request/show/69753
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=18