Python-augeas

Latest version: v1.1.0

Safety actively analyzes 628918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 9

0.3.3

- restore the behavior of aug_save; in 0.3.2, aug_save broke API by
returning the number of files changed on success instead of 0

0.3.2

- saving now reports which files were actually changed in
/augeas/events/saved; aug_save also returns the number of files
that were changed
- preserve file owner, permissions and SELinux context when changing a file.
- make saving idempotent, i.e. when a change to the tree does not result
in changes to the actual file's content, do not touch the original file
- report an error if there are nodes in the tree with a label that
is not allowed by the lens
- quietly append a newline to files that do not have one
- generate lens documentation using NaturalDocs and publish those
on the Auegas website (Raphael Pinson)
- Lens changes/additions
* Grub: support the 'password' directive (Joel Nimety)
* Grub: support 'serial' and 'terminal' directives (Sean E. Millichamp)
* Samba: change default indentation and separators (Free Ekanayaka)
* Logrotate: process tabooext, add dateext flag (Sean E. Millichamp)
* Sshd: Cleaner handling of 'Match' blocks (Dominique Dumont)
* Monit: new lens (Free Ekanayaka)
* Ldap: merge with Spacevars (Free Ekanayaka)
* Shellvars: support /etc/default (Free Ekanayaka)
* Shellvars: handle space at the end of a line

0.3.1

- Major performance improvement when processing huge files, reducing some
O(n^2) behavior to O(n) behavior. It's now entirely feasible to
manipulate for example /etc/hosts files with 65k lines
- Handle character escapes '\x' in regular expressions in compliance with
Posix ERE
- aug_mv: fix bug when moving at the root level
- Fix endless loop when using a mixed-case module name like MyMod.lns
- Typecheck del lens: for 'del RE STR', STR must match RE
- Properly typecheck the '?' operator, especially the atype; also allow
'?' to be applied to lenses that contain only 'store', and do not
produce tree nodes.
- Many new/improved lenses
* many lenses now map comments as 'comment' nodes instead of just
deleting them
* Sudoers: added (Raphael Pinson)
* Hosts: map comments into tree, handle whitespace and comments
at the end of a line (Kjetil Homme)
* Xinetd: allow indented comments and spaces around "}" (Raphael Pinson)
* Pam: allow comments at the end of lines and leading spaces
(Raphael Pinson)
* Fstab: map comments and support empty lines (Raphael Pinson)
* Inifile: major revamp (Raphael Pinson)
* Puppet: new lens for /etc/puppet.conf (Raphael Pinson)
* Shellvars: handle quoted strings and arrays (Nahum Shalman)
* Php: map entries outside of sections to a '.anon' section
(Raphael Pinson)
* Ldap: new lens for /etc/ldap.conf (Free Ekanayaka)
* Dput: add allowed_distributions entry (Free Ekanayaka)
* OpenVPN: new lens for /etc/openvpn/{client,server}.conf (Raphael Pinson)
* Dhclient: new lens for /etc/dhcp3/dhclient.conf (Free Ekanayaka)
* Samba: new lens for /etc/samba/smb.conf (Free Ekanayaka)
* Slapd: new lens for /etc/ldap/slapd.conf (Free Ekanayaka)
* Dnsmasq: new lens for /etc/dnsmasq.conf (Free Ekanayaka)
* Sysctl: new lens for /etc/sysctl.conf (Sean Millichamp)

0.3.0

Not secure
- Add aug_mv call to public API
- Do not clobber symlinks, instead write new files to target of symlink
- Fail 'put' when tree has invalid entries
- Set exit status of augtool
- Avoid picking special characters, in particular '\0', in examples (libfa)
- Store system errors, using strerror, in the tree during writing of files
- New lenses
* Generic inifile module (Raphael Pinson)
* logrotate (Raphael Pinson)
* /etc/ntp.conf (Raphael Pinson)
* /etc/apt/preferences (Raphael Pinson)
* bbhosts for Big Brother [http://www.bb4.org/] (Raphael Pinson)
* php.ini (Raphael Pinson)

0.2.2

- Fix segfault in store.put on NULL values
- Properly move default lens dir with DATADIR (Jim Meyering)
- Fix 'short iteration' error on get/parse of empty string; this bug
made it impossible to save into a new file
- Add 'insa' and 'insb' primitives to allow insertion from
put unit tests
- aug_insert: handle insertion before first child properly
- New lenses
* /etc/exports: NFS exports
* /etc/dput.cf: Debian's dput (Raphael Pinson)
* /etc/aliases: don't require whitespace after comma (Greg Swift)

0.2.1

- Address some compilation issues found on Ubuntu/Debian unstable
- Fix segfault when aug_init/close are called multiple times
- Man page for augparse
- New lenses
* /etc/sysconfig/selinux
* Bugfixes for grub.conf

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.