-
Notifications
You must be signed in to change notification settings - Fork 200
/
NEWS
1891 lines (1833 loc) · 98.9 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1.14.1 - 2023-06-27
- 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
1.14.0 - 2022-12-07
- 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
* Replace deprecated 'security_context_t' with 'char *' (#747) Leo-Schmit
* src/syntax.c: Fix whitespace which confuses static checkers (#725) rwmjones
* README.md: Add oss-fuzz status badge (#702) Sergey Nizovtsev
* Package augmatch, too (#688) oleksandriegorov
* Add Github workflow to create releases with complete source tarballs (#744) Hilko Bengen
- Lens changes/additions
* Resolv: add option trust-ad (#784) George Hansper
* Sos: new lens for /etc/sos/sos.conf (based on IniFile)
(#779) George Hansper
* Pg_Hba: unquoted auth-method may contain hyphens (#777) George Hansper
* Sysctl: Allow keys to contain * and : and / characters (#755) M Filka
* Semanage: Fix parsing of ignoredirs (#758) Richard W M Jones
* Systemd: allow empty quoted environment variable values
(#757) Michal Vasko
* Systemd: allow values starting with whitespaces for Exec* and
Environment service entries. (#757) Michal Vasko
* Toml: workaround to allow writing toml files (#742) Richard
* Kdump: parse "auto_reset_crashkernel" (#754) Laszlo Ersek
* Keepalived: add parameters notify_stop and notify_deleted (#749) Adam Bambuch
* Chrony: add new directives and options (#745) Miroslav Lichvar
* Redis: Allow redis lens to set 'SAVE ""' as a valid option
(#738) Mitch Hagstrand
* ClamAV: update ClamAV lens to autoload /etc/clamav/*.conf
(#748) Guillaume Ross
* AuthselectPam: new lens for /etc/authselect/custom/*/*-auth and
/etc/authselect/custom/*/postlogin (#743) Heston Snodgrass
* Sshd: Parse GSSAPIKexAlgorithms PubkeyAcceptedKeyTypes CASignatureAlgorithms
as comma-seperated lists instead of simple strings
(#721) Edward Garbade
* Yum: Add additional unit tests (#677) Pat Riehecky
* Cockpit: new lens for /etc/cockpit/cockpit.conf (#675) Pat Riehecky
1.13.0 - 2021-10-15
- General changes/additions
* Add Dockerfile (Nicolas Gif) (Issue #650)
* augtool: Improved readline integration to handle quoting issues
(Pino Toscano)
* typechecker: Allow including '/' in keys and labels. Thanks to
felixdoerre for pointing out that this restriction was
unnecessary. See issue #668 for the discussion.
* Add function modified() to select nodes which are marked as dirty
(George Hansper) (Issue #691)
* Add CLI command 'preview' and API 'aug_preview' to preview file contents
(George Hansper) (#690)
* Add "else" operator to augeas path-filter expressions (priority selector)
(George Hansper) (#692)
* Add new axis 'seq' to allow /path/seq::*[expr] to match and create numeric
nodes, as idempotent alternative to /path/*[expr] (George Hansper) (#706)
- Lens changes/additions
* Authinfo2: new lens to parse Authinfo2 format (Nicolas Gif) (Issue #649)
* Chrony: add new options (Miroslav Lichvar) (Issue #698)
* Cmdline: New lens to parse /proc/cmdline (Thomas Weißschuh)
* Crypttab: support UUID in device and / in opt (Raphaël Pinson) (#713)
* Fail2ban: new lens to parse Fail2ban format (Nicolas Gif) (Issue #651)
* Grub: support '+' in kernel command line option names
(Pino Toscano) (Issue #647)
* Krb5: handle [plugins] subsection (Pino Toscano) (Issue #663)
* Limits: support colons in the domain pattern of the limits lens
(Xavier Mol) (Issue #645)
* Logrotate: add hourly schedule (Jason A. Smith) (Issue #655)
* Mke2fs: parse more common entries between [defaults] and the tags
in [fs_types], fix the type of few entries, handle the [options]
stanza (Pino Toscano) (Issue #642)
support quoted values (Pino Toscano) (Issue #661)
* NetworkManager: allow # in values (mfilka) (#723)
* Opendkim: update to match current conffile format (Issue #644)
* Postfix_Master: Allow unix-dgram as type (Issue #635)
* Postfix_transport: Allow underscore (Anton Baranov) (Issue #678)
* Postgresql: Allow hyphen '-' in values that don't require quotes
(Marcin Barczyński) (Issues #700 #701)
* Properties: Allow "/" in property names (felixdoerre) (Issue #680)
* Redis: add incl path /etc/redis.conf (Raphaël Pinson) (#726)
support "replicaof" (Raphaël Pinson) (#727)
fix support for "sentinel" (Raphaël Pinson) (#728)
* Resolv: Support new options (Trevor Vaughan) (Issues #707 #708)
* Rsyslog: support multiple actions in filters and selectors (Issue #653)
* Shellvars: exclude more tcsh profile scripts (Pino Toscano) (Issue #627)
* Simplevars: add ocsinventory-agent.cfg (Pat Riehecky) (Issue #637)
* Sudoers: support new @include/@includedir directives
(Pino Toscano) (Issue #693)
* Sudoers: Allow AD groups (luchihoratiu) (Issue #696)
Support negative integers (Ando David Roots) (#724)
* Ssh: add Match keyword support (granquet) (Issue #695)
* Sshd: support quotes in Match conditions (Issue #739)
* Systemd: fix parsing of envvars with spaces (Pino Toscano) (#659)
Add incl paths according to 'systemd.network(5)' (chruetli) (#683)
* Tinc: new lens for Tinc VPN configuration files (Thomas Weißschuh) (#718)
* Toml: support arrays (norec) in inline tables (Raphaël Pinson) (#703)
* Tmpfiles: improvements to the types specification
(Pino Toscano) (Issue #694)
1.12.0 - 2019-04-13
- 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)
1.11.0 - 2018-08-24
- 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)
1.10.1 - 2018-01-29
- API changes
* Fix a symbol versioning mistake in libfa that unnecessarily broke ABI
1.10.0 - 2018-01-25
DO NOT USE THIS RELEASE, USE 1.10.1 INSTEAD
- 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)
1.9.0 - 2017-10-06
- General changes/additions
* 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)
* Fix building on Solaris (Shawn Ferry)
- 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
* Getcap: new lens to parse generic termcap-style capability databases
(Matt Dainty)
* Grub: accept toplevel 'boot' entry (Pino Toscano)
* Httpd: handle empty comments with a continuation line (Issue #423);
handle '>""' in a directive properly (Issue #429); make space between
quoted arguments optional (Issue #435); accept quoted strings as part
of bare arguments (Issue #470)
* Nginx: load files from sites-available directory (Omer Katz) (Issue #471)
* Nslcd: new lens for nss-pam-ldapd config (Jose Plana)
* Oz: New lense for /etc/oz/oz.cnf
* postfix lenses: also load files from /usr/local/etc (Roy Hubbard)
* Properties: accept DOS line endings (Issue #468)
* Rtadvd: new lens to parse the rtadvd configuration file (Matt Dainty)
* Rsyslog: load files from /etc/rsyslog.d (Doug Wilson) (Issue #475);
allow spaces before the # starting a comment; allow comments inside
config statements like 'module'
* Shellvars: load FreeBSD's /etc/rc.conf.d (Roy Hubbard)
* Ssh: accept '=' to separate keyword from arguments
* Sshd: split HostKeyAlgorithms into list of values; recognize quoted
group names with spaces in them (Issue #477)
* Sudoers: recognize "match_group_by_gid" (Luigi Toscano) (Issue #482)
* Syslog: allow spaces before the # starting a comment
* Termcap: new lens to parse termcap capability databases (Matt Dainty)
* Vsftpd: accept seccomp_sandbox (Denys Stroebel)
* Xymon: accept 'group-sorted' directive (Issue #462)
1.8.1 - 2017-08-17
- General changes/addition
* Fix error in handling escaped whitespace at the end of path expressions
(addresses CVE-2017-7555)
1.8.0 - 2017-03-20
- General changes/additions
* augtool: add a 'source' command exposing the aug_source API call
* augtool: add a 'context' command to make changing into a node more
discoverable
* augtool: add an 'info' command to print important information
* augtool: dramatically reduce memory consumption when all lenses are
loaded by more aggressively releasing temporary data structures. On
my machine, maximum memory usage of 'augtool -L' drops from roughly
90MB to about 20MB. This will not change the amount of memory used
when only specific lenses are used, only the default behavior of
loading all lenses, i.e., when -A is not passed.
* make building augtool statically possible (Jörg Krause)
* split aug_to_xml into its own source file, so that statically linking
against libaugeas.a doesn't require also linking against libXml2 and
its dependencies, provided aug_to_xml is not needed.
- API changes
* add aug_source to find the source file for a particular node
* reduce memory consumption when AUG_NO_MODL_AUTOLOAD is _not_ passed;
exact same details as described above for augtool
- Lens changes/additions
* Chrony: allow floating point numbers (Miroslav Lichvar)
add new directives from chrony 3.0 and 3.1 (Miroslav Lichvar)
* Krb5: support include/includedir directives (Jason Smith) (Issue #430)
support realms that start with numbers (Dustin Wheeler) (Issue #437)
* Multipath: update to multipath-0.4.9-99.el7 (Xavier Mol)
* Php: also look for FPM files in /etc/php/*/fpm/pool.d (Daniel Dico)
* Postfix_virtual: allow underscores in e-mail addresses (Jason Lingohr)
(Issue #439)
* Radicale: new lens for config of http://radicale.org/ (James Valleroy)
* Rsyslog: support multiple options in module statements (Craig Miskell)
* Ssh: also look for files in in /etc/ssh/ssh_config.d (Ian Mortimer)
* Tmpfiles: parse 'q'/'Q' modes, parse two-character arguments,
parse three-digit file modes
* Xml: support external entity declarations in the doctype (Issue #142)
* Yum: also read DNF files from /etc/dnf (Pat Riehecky) (Issue #434)
1.7.0 - 2016-11-08
- General changes/additions
* allow multiple transforms handling the same file as long as they
also use the same lens (reported by Rich Jones)
* fix a use-after-free in recursive lenses when spans are
enabled (Issue #397)
* fix an illegal memory access during put that can be triggered by a
lens of the form 'del ... | l1 . l2' when the put has to jump
branches in the union (Issue #398)
* a large number of fixes based on Coverity scanning and running with
gcc's address sanitizer. None of the issues uncovered would have lead
to particularly significant leaks (they were all on the order 100-200
bytes) and often hard to trigger, but we now have proof that at least
while running tests there are no leaks at all.
See https://github.com/hercules-team/augeas/pull/405 for details.
* The type checker now checks regexes that are involved in
expressions. For example, it used to be possible to write 'let rx =
/a/ | /b)/' and not get an error from the syntax checker, even though
'let rx = /b)/' would result in an error. Such constructs are now
checked properly. This new check might lead to errors in existing
lenses, requiring that they be fixed.
- Lens changes/additions
* Cron_User: New lens to handle user crontab files in /var/spool/cron
* Csv: fix failure to load lens on OpenBSD (Issue #396)
* Grub: also look for UEFI grub files in /boot/efi/EFI/*/grub.conf
(Rich Jones)
* Opendkim: new lens for /etc/opendkim.conf (Craig Miskell)
* Php: look for php.ini where Ubunto 16.04 puts it, too (Michael Wodniok)
* Splunk: support Splunk Universal Forwarder and underscore-prefixed
keys for 6.x (Jason Antman)
1.6.0 - 2016-08-05
- General changes/additions
* augtool: add --load-file option, and corresponding load-file command
to load individual files based on the autoload information in lenses
* path expressions: numbers in path expressions are now 64 bit integers
rather than whatever the C compiler decided 'int' would be
- API changes
* add aug_load_file to load individual files, bug #135
- Lens changes/additions
* Httpd: follow line continuations in comments
* Nginx: look for nginx.conf in /usr/local/etc, too (Omer Katz)
* Ntp: allow 'pool' (Craig Miskell) (Issue #378);
fix restrict to allow also -4 and also fix
save/store ability (Josef Reidinger) (Issue #386)
* Pam: use spaces instead of tabs as the separator in new entries
(Loren Gordon) (Issue #236)
* Postfix_Passwordmap: New lens to parse Postfix password maps
(Anton Baranov) (Issue #380)
* Rsyslog: Support for rsyslog RainerScript syntax
(Craig Miskell) (Issue #379)
* Shellvars: Load /etc/lbu/lbu.conf, the config for Alpine's Local
Backup Utility (Kaarle Ritvanen)
Load /etc/profile, /etc/profile.d/*, and /etc/byobu
* Vsftpd: Add allow_writeable_chroot boolead option
(Robert Moucha) (Issue #376)
1.5.0 - 2016-05-11
- General changes/additions
* augtool: new --timing option that prints after each operation how long
it took
* augtool: print brief help message when incorrect options are given rather
than dumping all help text
* Path expressions: optimize performance of evaluating certain
expressions
* lots of safety improvements in libfa to avoid using uninitialized
values and the like (Daniel Trebbien)
* tolerate building against OSX' libedit (Issue #256)
- API changes
* aug_match: fix a bug where expressions like /foo/*[2] would match a
hidden node and pretend there was no match at all. We now make sure
we never match a hidden node. Thanks to Xavier Mol for reporting the
problem.
* aug_get: make sure we set *value to NULL, even if the provided path is
invalid (Issue #372)
* aug_rm: fix segfault when deleting a tree and one of its ancestors
(Issue #319)
* aug_save: fix segfault when trying to save an invalid subtree. A
routine that was generating details for the error message overflowed
a buffer it had created (Issue #349)
- Lens changes/additions
* AptConf: support hash comments
* AptSources: support options (Issue #295),
support brackets with spaces in URI (GH #296)
rename test file to test_aptsources.aug
* Chrony: allow signed numbers and indentation, fix stray EOL entry,
disallow comment on EOL, add many missing directives and
options (Miroslav Lichvar, RHBZ#1213281)
add new directives and options that were added in
chrony-2.2 and chrony-2.3 and improve parsing of
access configuration (Miroslav Lichvar, Issue #348)
add new options for chrony-2.4 (Miroslav Lichvar)
* Dhclient: avoid put ambiguity for node without value (Issue #294)
* Group: support NIS map, support an overridden and disabled password,
i.e. `+:*::` (Matt Dainty) (Issue #258)
* Host_Conf: support spaces between list items (Cedric Bosdonnat, Issue #358)
* Httpd: add paths to SLES vhosts
(Jan Doleschal) (Issue #268)
parse backslashes in directive arguments (Issue #307)
parse mismatching case of opening/closing tags
parse multiple ending section tags on one line
parse wordlists in braces in SSLRequire directives
parse directive args starting with double quote (Issue #330)
parse directive args containing quotes
support perl directives (Issue #327)
parse line breaks/continuations in section arguments
parse escaped spaces in directive/section arguments
parse backslashes at the start of directive args (Issue #324)
* Inputrc: support $else (Cedric Bosdonnat, Issue #359)
* Interfaces: add support for source-directory (Issue #306)
* Json: add comments support, refactor,
allow escaped quotes and blackslashes
* Keepalived: fix space/tag alignments and hanging spaces,
add vrrp_mcast_group4 and vrrp_mcast_group6,
add more vrrp_instance flags,
add mcast/unicast_src_ip and unicast_peer,
add missing garp options,
add vrrp_script options,
expand vrrp_sync_group block,
allow notify option
(Joe Topjian) (Issue #266)
* Known_Hosts: refactoring and description fixed
* Logrotate: support dateyesterday option (Chris Reeves) (GH #367, #368)
* MasterPasswd: new lens to parse /etc/master.passwd
(Matt Dainty) (Issue #258)
* Multipath: add various missing keywoards (Olivier Mangold) (Issue #289)
* MySQL: include /etc/my.cnf.d/*.cnf (Issue #353)
* Nginx: improve typechecking of lens,
allow masks in IP keys and IPv6 (Issue #260)
add @server simple nodes (Issue #335)
* Ntp: add support for basic interface syntax
* OpenShift_Quickstarts: Use Json.lns
* OpenVPN: add all options available in OpenVPN 2.3o
(Justin Akers) (Issue #278)
* Puppetfile: name separator is not mandatory
add support for moduledir (Christoph Maser)
* Rabbitmq: remove space in option name,
add support for cluster_partitioning_handling,
add missing simple options (Joe Topjian) (Issue #264)
* Reprepro_Uploaders: add support for distribution field
(Mathieu Alorent) (Issue #277),
add support for groups (Issue #283)
* Rhsm: new lens to parse subscription-manager's /etc/rhsm/rhsm.conf
* Rsyslog: improve property filter parsing,
treat whitespace after commas as optional.
recognize '~' as a valid syslog action (discard)
(Gregory Smith) (Issue #282),
add support for redirecting output to named pipes
(Gerlof Fokkema) (Issue #366)
* Shellvars: allow partial quoting, mixing multiple styles
(Kaarle Ritvanen) (Issue #183);
allow wrapping builtin argument to multiple lines
(Kaarle Ritvanen) (Issue #184);
support ;; on same line with multiple commands
(Kaarle Ritvanen) (Issue #185);
allow line wrapping and improve quoting support
(Kaarle Ritvanen) (Issue #187);
accept [] and [[]] builtins (Issue #188);
allow && and || constructs after condition
(Kaarle Ritvanen) (Issue #265);
add pattern nodes in case entries
(BREAKING CHANGE: case entry values are now in a
@pattern subnode) (Kaarle Ritvanen) (Issue #265)
add eval builtin support;
add alias builtin support;
allow (almost) any command;
allow && and || after commands (Issue #215);
allow wrapping command sequences
(Kaarle Ritvanen) (Issue #333);
allow command-specific environment variable
(Kaarle Ritvanen) (Issue #332);
support subshells (Issue #339)
newlines in start of functions
allow newlines after actions
support comments after function name (Issue #339)
exclude SuSEfirewall2 (Cedric Bosdonnat, Issue #357)
* Simplelines: parse OpenBSD's hostname.if(5)
files (Jasper Lievisse Adriaanse) (Issue #252)
* Smbusers: add support for ; comments
* Spacevars: support flags (Issue #279)
* Ssh: add support for HostKeyAlgorithms, KexAlgorithms
and PubkeyAcceptedKeyTypes (Oliver Mangold) (Issue #290),
add support for GlobalKnownHostsFile (Issue #316)
* Star: New lens to parse /etc/default/star
* Sudoers: support for negated command alias
(Geoff Williams) (Issue #262)
* Syslog: recognize '~' as a valid syslog action (discard)
(Gregory Smith) (Issue #282)
* Tmpfiles: new lens to parse systemd's tempfiles.d configuration
files (Julien Pivotto) (Issue #269)
* Trapperkeeper: new lens for Puppet server configuration files
* Util: add comment_c_style_or_hash lens
add empty_any lens
* Vsftpd: add isolate and isolate_network options
(Florian Chazal) (Issue #334)
* Xml: allow empty document (Issue #255)
* YAML: new lens (subset) (Dimitar Dimitrov) (Issue #338)
1.4.0 - 2015-05-22
- General changes/additions
* add a aug_escape_name call to sanitize strings for use in path
expressions. There are a few characters that are special in path
expressions. This function makes it possible to have them all escaped
so that the resulting string can be used in a path expression and is
guaranteed to only match a node with exactly that name
* paths generated by Augeas are now properly escaped so that, e.g., the
strings returned by aug_match can always be fed to aug_get, even if
they contain special characters
* augtool: correctly record history when reading commands from a file
and then switching to interactive mode (Robert Drake)
* augtool: new command 'errors' that pretty-prints /augeas//error
messages; improve the information provided with 'short iteration'
errors
* fix segfault when saving to a file that was not writable (Issue #178)
* augtool: on interrupt (Ctrl-C), cancel current line instead of
exiting (jeremy Lin)
* updated parser.y to work with Bison 3.0.2
* fix put-symlink-augsave test to run on Solaris (Geoffrey Gardella,
issue #242)
- Lens changes/additions
* AFS_Cellalias: new lens (Pat Riehecky)
* Authorized_keys: allow double quotes in option values (Issue #135)
* Chrony: fix typo in log flag 'measurements' (Pat Riehecky)
* Clamav: new lens (Andrew Colin Kissa)
* Dns_Zone: New lens to parse DNS zone files (Kaarle Ritvanen)
* Dnsmasq: Parse the structure of the 'address' and 'server' options
(incompatible change) (Kaarle Ritvanen)
* Erlang: parse kernel app config, handle empty lists (RHBZ#1175546)
* Exports: support brackets in machine names (Vincent Desjardins)
* Grub: support password stanza inside boot/title section (Issue #229)
* Httpd: handle eol after opening tag (Issue #220); fix type checking
issue (Issue #223)
* Iscsid: new lens (Joey Boggs and Pat Riehecky) (Issue #174)
* Jaas: several improvements to cover more valid syntax (Steve Shipway)
* Known_Hosts: handle aliases for the host name
* Krb5: support keyword krb524_server; allow realm names starting
with lower-case characters (Jurjen Bokma)
* Limits: allow comments at end of line (timdeluxe)
* Logrotate: support 'dateformat' directive (Issue #217)
support 'maxsize' directive (RHBZ#1213292)
do not require a space before an opening '{' (Issue #123)
* Mailscanner: new lens (Andrew Colin Kissa)
* Mailscanner_Rules: new lens for MailScanner rules (Andrew Colin Kissa)
* NagiosCfg: default to no spaces around equal (Issue #177)
* Nginx: significantly reworked, now parses entire Nginx stock
config successfully (Issue #179)
* Pagekite: more fine-grained control of service_on entries; instead of
'source' and 'destination', parse into protocol, kitename,
backend_host, backend_port, and secret (Michael Pimmer)
(incompatible change)
* Passwd: support nis [+-]username syntax (Borislav Stoichkov); fix
@nisdefault on OpenBSD (Matt Dainty)
* Pgbouncer: new lense for the pgbouncer connection pooler (Andrew
Colin Kissa)
* Postfix_sasl_smtpd: new lens contributed by larsen0815 (Issue #182)
* Postgresql: look for postgresql.conf in paths used on Red Hat based
distros (Haotian Liu)
* Puppetfile: new lens to parse librarian-puppet's Puppetfile
* Pylonspaste: new lense for Pylon's paste init configuration files
(Andrew Colin Kissa)
* PythonPaste: parse "set" keyword for default overrides (RHBZ#1175545)
* Shadow: allow NIS entries (Borislav Stoichkov)
* Shellvars: case: support ;; on same line with multiple commands
(Kaarle Ritvanen); make insertion at the beginning of a
file that starts with blank lines work; the new lens will
remove blank lines from the beginning of a file as soon as
lines are added to or removed from it (GH issue #202);
handle associative arrays; add /etc/periodic.conf for
FreeBSD (Michael Moll)
* Shellvars_list: support double-quoted continued lines
* Sudoers: allow '+' in user/groupnames (Andreas Grüninger)
* Sysctl: add /boot/loader.conf for FreeBSD (Michael Moll)
* Sysconfig: handle leading whitespace at beginning of a line,
RHBZ#761246
1.3.0 - 2014-11-07
- 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
Allow continued lines inside quoted value (GH issue #104)
Allow comparison operators in tags (GH issue #154)
* IPRoute2: handle "/" in protocol name, swap ID and name fields
(incompatible change), RHBZ#1063968,
handle hex IDs and hyphens, as present in
rt_dsfield, RHBZ#1063961
* Iptables: parse /etc/sysconfig/iptables.save, RHBZ#1144651
* Kdump: parse new options, permit EOL comments, refactor, RHBZ#1139298
* Keepalived: Add more virtual/real server settings and checks, RHBZ#1064388
* Known_Hosts: New lens for SSH known hosts files
* Krb5: permit braces in values when not in sub-section, RHBZ#1066419
* Ldso: handle "hwcap" lines (GH issue #100)
* Lvm: support negative numbers, parse /etc/lvm/lvm.conf (Pino Toscano)
* Multipath: add support for rr_min_io_rq (Joel Loudermilk)
* NagiosConfig and NagiosObjects: Fix documentation (Simon Sehier)
* NetworkManager: Use the Quote module, support # in values (no eol comments)
* OpenVPN: Add support for fragment, mssfix, and script-security
(Frank Grötzner)
* Pagekite: New lens (Michael Pimmer)
* Pam: Add partial support for arguments enclosed in [] (Vincent Brillault)
* Passwd: Refactor lens (Lorenzo Catucci)
* Redis: Allow empty quoted values (GH issue #115)
* Rmt: New lens to parse /etc/default/rmt, RHBZ#1100549
* Rsyslog: support complex $template lines, property filters and file
actions with templates, RHBZ#1083016
* Services: permit colons in service name, RHBZ#1121263
* Shadow: New lens (Lorenzo Catucci)
* Shellvars: Handle case statements with same-line ';;', RHBZ#1033799
Allow any kind of quoted values in block
conditions (GH issue #118)
Support $(( .. )) arithmetic expansion in variable
assignment, RHBZ#1100550
* Simplevars: Support flags and empty values
* Sshd: Allow all types of entries in Match groups (GH issue #75)
* Sssd: Allow ; for comments
* Squid: Support configuration files for squid 3 (Mykola Nikishov)
* Sudoers: Allow wuoted string in default str/bool params (Nick Piacentine)
* Syslog: Support "# !" style comments (Robert Drake, GH issue #65)
Permit IPv6 loghost addresses, RHBZ#1129388
* Systemd: Allow quoted Environment key=value pairs, RHBZ#1100547
Parse /etc/sysconfig/*.systemd, RHBZ#1083022
Parse semicolons inside entry values, RHBZ#1139498
* Tuned: New lens for /etc/tuned/tuned-main.conf (Pat Riehecky)
* UpdateDB: New lens to parse /etc/updatedb.conf
(incompatible change as this file used to be processed with
Simplevars)
* Xml: Allow backslash in #attribute values (GH issue #145)
Parse CDATA elements (GH issue #80)
* Xymon_Alerting: refactor lens (GH issue #89)
1.2.0 - 2014-01-27
- 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):
add mailbox to block_names, fix for block_args in quotes,
fix for block's brackets upon write,
fixes broken tests for mailbox,
fixes indention,
test case for block_args with ""
fixes broken indention
Use Quote module
* Exports: Permit colons for IPv6 client addresses, bug #366
* Grub: Support the 'setkey' and 'lock' directives
NFC fix whitespace errors
Handle makeactive menu command, bug #340
Add 'verbose' option, GH issue #73
* Interfaces: Add in support for the source stanza in
/etc/network/interfaces files
Map bond-slaves and bridge-ports to arrays (incompatible
change) (Kaarle Ritvanen)
Add /etc/network/interfaces.d/* support
Allow numeric characters in stanza options (Pascal Lalonde)
* Koji: New lens to parse Koji configs (Pat Riehecky)
* MongoDBServer: Accept quoted values (Tomas Klouda)
* NagiosCfg: Do not try to parse /etc/nagios/nrpe.cfg anymore, GH issue #43
/etc/nagios/nrpe.cfg is parsed by Nrpe (Yanis Guenane)
* Nagiosobjects: Add support for optional spaces and indents
and whole-line comments (Sean Millichamp)
* OpenVPN: Support daemon, client-config-dir, route, and management
directives (Freakin https://github.com/Freakin)
* PHP: allow php-fpm syntax in keys, GH issue #35
* Postfix_Main: Handle stray whitespace at end of multiline lines, bug #348
* Postfix_virtual: allow '+' and '=' in email addresses (Tom Hendrikx)
* Properties: support multiline starting with an empty string, GH issue #19
* Samba: Permit asterisk in key name, bug #354
* Shellvars: Read /etc/firewalld/firewalld.conf, bug #363
Support all types of quoted strings in arrays, bug #357
Exclude /etc/sysconfig/ip*tables.save files
* Shellvars, Sysconfig: map "bare" export and unset lines to seq numbered
nodes to handle multiple variables (incompatible change), RHBZ#1033795
* Shellvars_list: Handle backtick variable assignments, bug #368
Allow end-of-line comments, bug #342
* Simplevars: Add /etc/selinux/semanage.conf
* Slapd: use smart quotes for database entries; rename by/what to by/access;
allow access to be absent as per official docs (incompatible change)
* Sshd: Indent Match entries by 2 spaces by default
Support Ciphers and KexAlgorithms groups, GH issue #69
Let all special keys be case-insensitive
* Sudoers: Permit underscores in group names, bug #370 (Matteo Cerutti)
Allow uppercase characters in user names, bug #376
* Sysconfig: Permit empty comments after comment lines, RHBZ#1043636
* Sysconfig_Route: New lens for RedHat's route configs
* Syslog: Accept UDP(@) and TCP(@@) protocol, bug #364 (Yanis Guenane)
* Xymon_Alerting: New lens for Xymon alerting files (François Maillard)
* Yum: Add yum-cron*.conf files (Pat Riehecky)
Include only *.repo files from yum.repos.d (Andrew N Golovkov)
Permit spaces after equals sign in list options, GH issue #45
Split excludes as lists, bug #275
1.1.0 - 2013-06-14
- General changes/additions
* 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 Lievisse Adriaanse)
* Desktop: Support dos eol
* Dhclient: read /etc/dhclient.conf used in OpenBSD (Jasper Lievisse Adriaanse)
* Dovecot: New lens for dovecot configurations (Serge Smetana)
* Fai_Diskconfig: Optimize some regexps
* Fonts: exclude all README files (Jasper Lievisse 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 Lievisse Adriaanse)
* MySQL: Use standard comments and empty lines
Support dos eol
* NagiosCfg: handle Icinga and resources.cfg (Jasper Lievisse Adriaanse)
* Nrpe: accept any config option rather than predefined list (Gonzalo
Servat); optimize some regexps
* Ntpd: new lense for OpenNTPD config (Jasper Lievisse 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 Lievisse 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
1.0.0 - 2012-12-21
- General changes/additions
* fix missing requirement on libxml2 in pkg-config
* do not replace pathin with '/*' unless the length is 0
or pathin is '/', bug #239
* create context path if it doesn't exist
* add missing argument to escape() to fix build on solaris, bug #242
* fix fatest linking with libfa
* don't use variables uninitialized upon error (Jim Meyering)
* bootstrap: add strchrnul gnulib module (for Solaris)
* remove Linux-isms so tests can run on Solaris
* re-open rl_outstream/stdout only when stdout isn't a tty
(fixes -e -i); use /dev/tty instead of /dev/stdout when re-opening
to prevent permission errors, bug #241
* take root into account for excludes, bug #252
* fix different errors for parse and put failure
* fix various memory leaks
* add leak test
* allocate exception instead of static const value
* improve aug_srun quoting to permit concatenation and better detect
bad quoting
* rename echo to echo_commands to fix differing types reported
with Solaris linker (Tim Mooney), bug #262
* fix excl filters that only specify a filename or wildcard
* make sure reloading discards changes after save with mode 'newfile'
* remove loop that added a second iteration around children of /files,
causing multiple saves in newfile and noop modes when editing under
/files/boot, bug #264
* support \t and \n in aug_srun tokens, bug #265
* compile_exp: don't return an uninitialized pointer upon failure
(Jim Meyering)
* include 'extern "C"' wrapper for C++, bug #272 (Igor Pashev)
* src/try: don't overwrite gdbcmds.txt if it exists
* fix behavior of set with empty strings
* allow running individual tests with test-run
* test-augtool.sh: escape all possible regular expressions before
they are sent to sed (Micah Anderson)
* add new print_tree primitive
* fix bad memory access in regexp.c
* case-insensitive regexps: fix a problem with number of groups
* prevent symlink attacks via .augnew during saving,
RedHat bug #772257, CVE-2012-0786
* prevent cross-mountpoint attacks via .augsave during saving,
RedHat bug #772261, CVE-2012-0787
* add bundled (gnulib) provides in augeas.spec.in, RedHat bug #821745
* make Travis CI builds
* src/transform.c (xread_file): catch failed fopen, e.g. EACCES
* src/augrun.c (cmd_retrieve_help): tidy line wrapping
* make get_square case insensitive on the ending key
* escape double quotes when dumping regexp
* use constants for "lens", "incl" and "excl"
* src/transform.c (filter_generate): remove duplicate variable assignment
* src/jmt.c (parse_add_item): ensure return is defined on goto error
* src/transform.c (transform_save): chmod after creating new files to
permissions implied by the umask
* ignore eclipse settings directory
* fix memory leak in dbg_visit
* build AST while visiting the parse v2
* rewrite square lens to be more generic, allowing e.g. square quoting
* tests/modules/fail_shadow_union.aug: fix unintended test failure
* src/syntax.c (compile_test): print which test failed when missing
exception
* libfa (fa_enumerate): new function
* use precise ctype of a square lens if it is indeed regula
* square: properly handle first lens matching empty string
* square lens: correctly process skeletons during put
* src/pathx.c: disallow ',' in names in path expressions
* src/pathx.c: match functions by name and arity
* src/pathx.c: pass the number of actual arguments to the func
implementation
* correctly parse escaped string literals in vim syntax file (Domen Ko¿ar)
- API changes/additions
* add aug_text_store to write string to tree
* add aug_text_retrieve to turn tree into text
* add aug_rename to rename node labels without moving them in the tree
* add aug_transform to allow specifying transforms
* add aug_label to retrieve the label from a path
- Augtool/aug_srun changes/additions
* add "touch" command to create node if it doesn't exist, bug #276
* make <VALUE> argument to "set" and "setm" optional, bug #276
* add "text_store" and "text_retrieve" commands
* add "rename" command
* add "transform" command and "-t|--transform" option
* add "label" command
* arrange commands in groups for better help
* man/augtool.pod: update mentions of default load path
* fix exit code when using autosave
* output errors when sending a command as argument
* honor --echo when sending a command as argument
- XPath changes/additions
* add support for an 'i' flag in regexp builtin function
- Lens changes/additions
* Aliases: commands can be fully enclosed in quotes, bug #229
* Anacron: new lens for /etc/anacrontab
* Apt_Update_Manager: new lens for /etc/update-manager
* AptPreferences: #comments are accepted within entries
* AuthorizedKeys: new lens for SSH's authorized_keys
* AutoMaster: new lens for auto.master files
* AutoMounter: new lens for automounter maps (/etc/auto.*)
* Avahi: new lens for /etc/avahi/avahi-daemon.conf (Athir Nuaimi)
* Build: add blocks
* Cachefilesd: new lens for /etc/cachefilesd.conf (Pat Riehecky)
* Carbon: new lens for /etc/carbon files (Marc Fournier)
* Cgconfig: add space between group and id (Filip Andres)
* Channels: new lens for channels.conf
* Collectd: new lens for /etc/collectd.conf
* Cron: exclude cron allow/deny files;
optimize typechecking;
records can be prefixed by '-' (Michal Filka)
* CronAllow: new lens for cron/at allow/deny files
* Cups: new lens for Cups files
* Cyrus_Imapd: new lens for /etc/imapd.conf, bug #296 (Jeroen van Meeuwen)
* Debctrl: fixed package paragraph keywords, allow variables
for version numbers in dependency lists,
allow DM-Upload-Allowed keyword, Debian bug #650887;
allow control extensions for Python packages, bug #267
* Dhcpd: fix primary statement arguments, bug #293;
use the Quote module to manage quoted values;
force double quotes for filename attribute, bug #311
* Dput: use Sys.getenv("HOME")
* Erlang: new generic lens to build Erlang config lenses
* Fonts: new lens for /etc/fonts files
* Fstab: handle options with empty values ("password=");
make options field optional;
allow end-of-line comment
* Fuse: new lens for fuse.conf
* Gdm: include /etc/gdm/custom.conf
* Grub: parse "password --encrypted" properly, bug #250;
optimize typechecking;
add /boot/grub/grub.conf to transform (Josh Kayse)
* GtkBookmarks: new lens for $HOME/.gtk-bookmarks
* Hosts_Access: add netmask;
permit more client list formats
(whitespace separated lists, @netgroups,
IPv6 hosts, inc. zone indices,
paths to lists of clients, wildcards,
hosts_options), bug #256
* Htpasswd: new lens for htpasswd/rsyncd.secret files (Marc Fournier)
* Httpd: support DOS eol
* IniFile: allow # and ; in quoted values, bug #243;
add entry_list and entry_list_nocomment
* Inputrc: new lens for /etc/inputrc
* Iptables: test that blank lines are accepted (Terence Haddock)
* Json: allow JSON number literals to be followed by whitespace;
correctly parse empty object and arrays (Lubomir Rintel)
* Keepalived: various improvements, optimize typechecking
* Krb5: handle host{} sections in v4_name_convert;
support ticket_lifetime;
handle multiple arguments to *_enctypes (Pat Riehecky);
better whitespace and semicolon comment support
* Ldif: new lens to read LDIF files per RFC2849
* Ldso: new lens for ld.so.conf files
* Lightdm: new lens for /etc/lightdm/*.conf, bug #302 (David Salmen)
* Logrotate: rewrite with Build, Rx, and Sep;
add su logrotate.conf option (Luc Didry);