This commit is contained in:
commit
cb370d8073
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
augeas-0.5.0.tar.gz
Normal file
3
augeas-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:87a9937bbdaf2f6170c7130ae13a4b0cf963a27bbe0dcffe18d5bea626417f6c
|
||||
size 1099740
|
107
augeas.changes
Normal file
107
augeas.changes
Normal file
@ -0,0 +1,107 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 15:51:48 CEST 2009 - jkupec@suse.cz
|
||||
|
||||
* Update to 0.5.0
|
||||
* Upstream notes:
|
||||
Clean up interface for libfa; the interface is now considered stable
|
||||
* New aug_load API call; allows controlling which files to load by
|
||||
modifying /augeas/load and then calling aug_load; on startup, the
|
||||
transforms marked with autoload are reported under /augeas/load
|
||||
* New flag AUG_NO_LOAD for aug_init to keep it from loading files on
|
||||
startup; add --noload option to augtool
|
||||
* New API calls aug_defvar and aug_defnode to define variables for
|
||||
path expressions; exposed as 'defvar' and 'defnode' in augtool
|
||||
* Lenses distributed with Augeas are now installed in
|
||||
/usr/share/augeas/lenses/dist, which is searched after
|
||||
/usr/share/augeas/lenses, so that lenses installed by other packages
|
||||
take precedence
|
||||
* New program examples/fadot to draw various finite automata (Francis
|
||||
Giraldeau)
|
||||
* Report line number and character offset in the tree when parsing a
|
||||
file with a lens fails
|
||||
* Fix error in propagation of dirty flag, which could lead to only
|
||||
parts of a tree being saved when multiple files were modified
|
||||
* Flush files to disk before moving them
|
||||
* Fix a number of memory corruptions in the XPath evaluator
|
||||
* Several performance improvements in libfa
|
||||
* Lens changes/additions
|
||||
* Grub: process embedded comments for update-grub (Raphael Pinson)
|
||||
* Iptables: new lens for /etc/sysconfig/iptables
|
||||
* Krb5: new lens for /etc/krb5.conf
|
||||
* Limits: map dpmain as value of 'domain' node, not as label
|
||||
(Raphael Pinson)
|
||||
* Lokkit: new lens for /etc/sysconfig/system-config-firewall
|
||||
* Modprobe: new lens for /etc/modprobe.d/*
|
||||
* Sudoers: more finegrained parsing (ticket #48) (Raphael Pinson)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 17 16:50:07 CET 2009 - jkupec@suse.cz
|
||||
|
||||
* Update to 0.4.2
|
||||
* Moved lense tests into separate package 'augeas-lense-tests'
|
||||
* Added augeas-lenses-license-fix patch
|
||||
* Upstream notes:
|
||||
* Do not delete files that had an error upon parsing
|
||||
* For Fedora/EPEL RPM's, BuildRequire libselinux-devel (bug #26)
|
||||
* In path expressions, the meaning of '<' and '<=' was reversed
|
||||
* Always create an entry /files in aug_init
|
||||
* New builtin 'Sys' module with functions 'getenv' and 'read_file',
|
||||
the latter reads a the contents of a file into a string
|
||||
* Lens changes/additions
|
||||
* Postfix_main: handle continuation lines
|
||||
* Bbhosts, Hosts, Logrotate, Sudoers: label comment nodes as '#comment'
|
||||
* Sshd: map comments as '#comment' nodes
|
||||
* Squid: add all keywords from squid 2.7 and 3 (Francois Deppierraz)
|
||||
* Logrotate: process unit suffixes for 'size' and 'minsize'
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 3 14:29:43 CET 2009 - jkupec@suse.cz
|
||||
|
||||
* Update to 0.4.1
|
||||
* Moved lenses to separate package 'augeas-lenses'.
|
||||
* Upstream notes:
|
||||
* Remove files when their entire subtree under /files is deleted
|
||||
* Various bug fixes and syntax enhancements for path expressions
|
||||
(see tests/xpath.tests for details)
|
||||
* Evaluate path expressions with multiple predicates correctly
|
||||
* Fix incorrect setting of /augeas/events/saved
|
||||
* Major cleanup of matching during get; drastically improves
|
||||
performance for very large (on the order of 10k lines) config files
|
||||
* Small performance improvement in the typechecker
|
||||
* Reject invalid character sets like [x-u] during typecheck
|
||||
* Build with compile warnings set to 'maximum' instead of 'error', so
|
||||
that builds on platforms with broken headers will work out of the box
|
||||
* Lens changes/additions
|
||||
* Util.stdexcl now excludes .augsave and .augnew files
|
||||
* Logrotate: allow 'yearly' schedule, spaces around braces
|
||||
* Ntp: fix so that it processes ntp.conf on Fedora 10
|
||||
* Services: lens for /etc/services (Raphael Pinson)
|
||||
* Xorg: new lens and tests (Raphael Pinson)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 16:14:47 CET 2009 - dmacvicar@suse.de
|
||||
|
||||
* Update to 0.4.0
|
||||
* Much improved and expanded support for path expressions in the public API. See doc/xpath.txt and tests/xpath.tests for details.
|
||||
* Solaris support: builds at least on OpenSolaris 2008.11
|
||||
* Lens changes/additions
|
||||
o Grub: support color and savedefault
|
||||
o DarkIce: new lens for http://darkice.tyrell.hu/ (Free Ekanayaka)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 2 10:36:38 CET 2009 - dmacvicar@suse.de
|
||||
|
||||
* Update to 0.3.6
|
||||
* report version in /augeas/version, report legal save modes in /augeas/version/save/mode for feature tests/version checking
|
||||
* dynamically change behavior of aug_save; add noop save mode (Bryan Kearney)
|
||||
* plug memory leak, more portable SELinux test (Jim Meyering)
|
||||
* fix bz rhbz#478619 - do not use abspath (Arnaud Gomes-do-Vale)
|
||||
* fix segfault when branch in a union does not have a ktype
|
||||
* Lens changes/additions
|
||||
o Dpkg: new lens for Debian's dpkg.cfg (Robin Lee Powell)
|
||||
o Limits: new lens for /etc/security/limits.conf (Free Ekanayaka)
|
||||
o Soma: new lens for http://www.somasuite.org/ config (Free Ekanayaka)
|
||||
o Php, Gdm: fix minor regexp error (Marc Fournier) expand filter for Php config files (Robin Lee Powell)
|
||||
o Phpvars: whitspace fixes (Free Ekanayaka)
|
||||
o Puppet: accept indented puppet.conf (ticket #25)
|
||||
|
271
augeas.spec
Normal file
271
augeas.spec
Normal file
@ -0,0 +1,271 @@
|
||||
#
|
||||
# spec file for package augeas (Version 0.5.0)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: augeas
|
||||
Version: 0.5.0
|
||||
Release: 1
|
||||
Summary: A library for changing configuration files
|
||||
Group: System/Libraries
|
||||
License: GPL v3 or later; LGPL v2.1 or later
|
||||
Url: http://www.augeas.net
|
||||
Source0: http://augeas.net/download/augeas-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: glib2-devel readline-devel
|
||||
|
||||
%description
|
||||
A library for programmatically editing configuration files. Augeas
|
||||
parses configuration files into a tree structure, which it exposes
|
||||
through its public API. Changes made through the API are written back
|
||||
to the initially read files.
|
||||
|
||||
The transformation works very hard to preserve comments and formatting
|
||||
details. It is controlled by ``lens'' definitions that describe the
|
||||
file format and the transformation into a tree.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Lutterkort <dlutter@redhat.com>
|
||||
|
||||
%define __shrlibname lib%{name}0
|
||||
|
||||
%package devel
|
||||
License: GPL v3 or later; LGPL v2.1 or later
|
||||
Summary: A library for changing configuration files
|
||||
Group: System/Libraries
|
||||
Requires: %{__shrlibname} = %{version}
|
||||
|
||||
%description devel
|
||||
A library for programmatically editing configuration files. Augeas
|
||||
parses configuration files into a tree structure, which it exposes
|
||||
through its public API. Changes made through the API are written back
|
||||
to the initially read files.
|
||||
|
||||
The transformation works very hard to preserve comments and formatting
|
||||
details. It is controlled by ``lens'' definitions that describe the
|
||||
file format and the transformation into a tree.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Lutterkort <dlutter@redhat.com>
|
||||
|
||||
%package -n libaugeas0
|
||||
License: GPL v3 or later; LGPL v2.1 or later
|
||||
Summary: A library for changing configuration files
|
||||
Group: System/Libraries
|
||||
Recommends: %{name}-lenses = %{version}
|
||||
|
||||
%description -n libaugeas0
|
||||
A library for programmatically editing configuration files. Augeas
|
||||
parses configuration files into a tree structure, which it exposes
|
||||
through its public API. Changes made through the API are written back
|
||||
to the initially read files.
|
||||
|
||||
The transformation works very hard to preserve comments and formatting
|
||||
details. It is controlled by ``lens'' definitions that describe the
|
||||
file format and the transformation into a tree.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Lutterkort <dlutter@redhat.com>
|
||||
|
||||
%package lenses
|
||||
License: GPL v3 or later; LGPL v2.1 or later
|
||||
Summary: Official set of lenses for use by libaugeas0
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{__shrlibname} = %{version}
|
||||
|
||||
%description lenses
|
||||
Augeas parses configuration files described in lenses into a tree
|
||||
structure, which it exposes through its public API. Lenses are the
|
||||
building blocks of the file <-> tree transformation. The transformation
|
||||
is controlled by ``lens'' definitions that describe the file format and
|
||||
mapping of its contents into a tree. This package includes the official
|
||||
set of lenses.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Lutterkort <dlutter@redhat.com>
|
||||
|
||||
%package lense-tests
|
||||
License: GPL v3 or later; LGPL v2.1 or later
|
||||
Summary: Set of tests for official Augeas lenses
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{name}-lenses = %{version}
|
||||
|
||||
%description lense-tests
|
||||
Set of tests for official Augeas lenses. These can be used when
|
||||
modifying the official lenses, or when creating new ones.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Lutterkort <dlutter@redhat.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="-Wno-error $RPM_OPT_FLAGS"
|
||||
%configure --disable-static --datadir=%{_datadir}/%{__shrlibname}
|
||||
%{__make}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -n %{__shrlibname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{__shrlibname} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/augtool
|
||||
%{_bindir}/augparse
|
||||
%{_mandir}/man1/*
|
||||
%doc AUTHORS COPYING NEWS
|
||||
|
||||
%files -n libaugeas0
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/augeas.pc
|
||||
|
||||
%files lenses
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_datadir}/%{__shrlibname}
|
||||
%dir %{_datadir}/%{__shrlibname}/%{name}
|
||||
%dir %{_datadir}/%{__shrlibname}/%{name}/lenses
|
||||
%dir %{_datadir}/%{__shrlibname}/%{name}/lenses/dist
|
||||
%{_datadir}/%{__shrlibname}/%{name}/lenses/dist/*.aug
|
||||
|
||||
%files lense-tests
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_datadir}/%{__shrlibname}/%{name}/lenses/dist/tests
|
||||
%{_datadir}/%{__shrlibname}/%{name}/lenses/dist/tests/*.aug
|
||||
|
||||
%changelog
|
||||
* Tue Mar 31 2009 jkupec@suse.cz
|
||||
* Update to 0.5.0
|
||||
* Upstream notes:
|
||||
Clean up interface for libfa; the interface is now considered stable
|
||||
* New aug_load API call; allows controlling which files to load by
|
||||
modifying /augeas/load and then calling aug_load; on startup, the
|
||||
transforms marked with autoload are reported under /augeas/load
|
||||
* New flag AUG_NO_LOAD for aug_init to keep it from loading files on
|
||||
startup; add --noload option to augtool
|
||||
* New API calls aug_defvar and aug_defnode to define variables for
|
||||
path expressions; exposed as 'defvar' and 'defnode' in augtool
|
||||
* Lenses distributed with Augeas are now installed in
|
||||
/usr/share/augeas/lenses/dist, which is searched after
|
||||
/usr/share/augeas/lenses, so that lenses installed by other packages
|
||||
take precedence
|
||||
* New program examples/fadot to draw various finite automata (Francis
|
||||
Giraldeau)
|
||||
* Report line number and character offset in the tree when parsing a
|
||||
file with a lens fails
|
||||
* Fix error in propagation of dirty flag, which could lead to only
|
||||
parts of a tree being saved when multiple files were modified
|
||||
* Flush files to disk before moving them
|
||||
* Fix a number of memory corruptions in the XPath evaluator
|
||||
* Several performance improvements in libfa
|
||||
* Lens changes/additions
|
||||
* Grub: process embedded comments for update-grub (Raphael Pinson)
|
||||
* Iptables: new lens for /etc/sysconfig/iptables
|
||||
* Krb5: new lens for /etc/krb5.conf
|
||||
* Limits: map dpmain as value of 'domain' node, not as label
|
||||
(Raphael Pinson)
|
||||
* Lokkit: new lens for /etc/sysconfig/system-config-firewall
|
||||
* Modprobe: new lens for /etc/modprobe.d/*
|
||||
* Sudoers: more finegrained parsing (ticket #48) (Raphael Pinson)
|
||||
* Tue Mar 17 2009 jkupec@suse.cz
|
||||
* Update to 0.4.2
|
||||
* Moved lense tests into separate package 'augeas-lense-tests'
|
||||
* Added augeas-lenses-license-fix patch
|
||||
* Upstream notes:
|
||||
* Do not delete files that had an error upon parsing
|
||||
* For Fedora/EPEL RPM's, BuildRequire libselinux-devel (bug #26)
|
||||
* In path expressions, the meaning of '<' and '<=' was reversed
|
||||
* Always create an entry /files in aug_init
|
||||
* New builtin 'Sys' module with functions 'getenv' and 'read_file',
|
||||
the latter reads a the contents of a file into a string
|
||||
* Lens changes/additions
|
||||
* Postfix_main: handle continuation lines
|
||||
* Bbhosts, Hosts, Logrotate, Sudoers: label comment nodes as '#comment'
|
||||
* Sshd: map comments as '#comment' nodes
|
||||
* Squid: add all keywords from squid 2.7 and 3 (Francois Deppierraz)
|
||||
* Logrotate: process unit suffixes for 'size' and 'minsize'
|
||||
* Tue Mar 03 2009 jkupec@suse.cz
|
||||
* Update to 0.4.1
|
||||
* Moved lenses to separate package 'augeas-lenses'.
|
||||
* Upstream notes:
|
||||
* Remove files when their entire subtree under /files is deleted
|
||||
* Various bug fixes and syntax enhancements for path expressions
|
||||
(see tests/xpath.tests for details)
|
||||
* Evaluate path expressions with multiple predicates correctly
|
||||
* Fix incorrect setting of /augeas/events/saved
|
||||
* Major cleanup of matching during get; drastically improves
|
||||
performance for very large (on the order of 10k lines) config files
|
||||
* Small performance improvement in the typechecker
|
||||
* Reject invalid character sets like [x-u] during typecheck
|
||||
* Build with compile warnings set to 'maximum' instead of 'error', so
|
||||
that builds on platforms with broken headers will work out of the box
|
||||
* Lens changes/additions
|
||||
* Util.stdexcl now excludes .augsave and .augnew files
|
||||
* Logrotate: allow 'yearly' schedule, spaces around braces
|
||||
* Ntp: fix so that it processes ntp.conf on Fedora 10
|
||||
* Services: lens for /etc/services (Raphael Pinson)
|
||||
* Xorg: new lens and tests (Raphael Pinson)
|
||||
* Mon Feb 23 2009 dmacvicar@suse.de
|
||||
* Update to 0.4.0
|
||||
* Much improved and expanded support for path expressions in the public API. See doc/xpath.txt and tests/xpath.tests for details.
|
||||
* Solaris support: builds at least on OpenSolaris 2008.11
|
||||
* Lens changes/additions
|
||||
o Grub: support color and savedefault
|
||||
o DarkIce: new lens for http://darkice.tyrell.hu/ (Free Ekanayaka)
|
||||
* Mon Feb 02 2009 dmacvicar@suse.de
|
||||
* Update to 0.3.6
|
||||
* report version in /augeas/version, report legal save modes in /augeas/version/save/mode for feature tests/version checking
|
||||
* dynamically change behavior of aug_save; add noop save mode (Bryan Kearney)
|
||||
* plug memory leak, more portable SELinux test (Jim Meyering)
|
||||
* fix bz rhbz#478619 - do not use abspath (Arnaud Gomes-do-Vale)
|
||||
* fix segfault when branch in a union does not have a ktype
|
||||
* Lens changes/additions
|
||||
o Dpkg: new lens for Debian's dpkg.cfg (Robin Lee Powell)
|
||||
o Limits: new lens for /etc/security/limits.conf (Free Ekanayaka)
|
||||
o Soma: new lens for http://www.somasuite.org/ config (Free Ekanayaka)
|
||||
o Php, Gdm: fix minor regexp error (Marc Fournier) expand filter for Php config files (Robin Lee Powell)
|
||||
o Phpvars: whitspace fixes (Free Ekanayaka)
|
||||
o Puppet: accept indented puppet.conf (ticket #25)
|
Loading…
Reference in New Issue
Block a user