|
|
de83c0 |
Name: augeas
|
|
|
de83c0 |
Version: 1.1.0
|
|
|
c537d4 |
Release: 12%{?dist}
|
|
|
de83c0 |
Summary: A library for changing configuration files
|
|
|
de83c0 |
|
|
|
de83c0 |
Group: System Environment/Libraries
|
|
|
de83c0 |
License: LGPLv2+
|
|
|
de83c0 |
URL: http://augeas.net/
|
|
|
de83c0 |
Source0: http://download.augeas.net/%{name}-%{version}.tar.gz
|
|
|
de83c0 |
|
|
|
de83c0 |
# RHBZ#1019485: Grub module setkey/lock support
|
|
|
de83c0 |
Patch1: augeas-1.1.0-grub-setkey.patch
|
|
|
de83c0 |
|
|
|
c537d4 |
# RHBZ#1031084: transform.c, save files with // in incl path
|
|
|
c537d4 |
Patch2: augeas-1.1.0-incl-double-slash.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1043665: Sysconfig module empty comment support
|
|
|
c537d4 |
Patch3: augeas-1.1.0-sysconfig-comments.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1043666: testPermsErrorReported, fix when running as root
|
|
|
c537d4 |
Patch4: augeas-1.1.0-testPermsErrorReported-root.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1043815: Shellvars module multivariable exports
|
|
|
c537d4 |
Patch5: augeas-1.1.0-shellvars-multi-export.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1036081: CVE-2013-6412, fix strict umask handling, f5b4fc0c
|
|
|
c537d4 |
Patch6: augeas-1.1.0-cve-2013-6412-umask.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1058409: Yum module, yum-cron incl entry
|
|
|
c537d4 |
Patch7: augeas-1.1.0-yum-cron.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1058411: Shellvars, firewalld.conf incl entry
|
|
|
c537d4 |
Patch8: augeas-1.1.0-shellvars-firewalld.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1059426: Grub module foreground option
|
|
|
c537d4 |
Patch9: augeas-1.1.0-grub-foreground.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1062614: Yum module, spaces around equals
|
|
|
c537d4 |
Patch10: augeas-1.1.0-yum-equals-space.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1056541: Shellvars module, case and same-line ;;
|
|
|
c537d4 |
Patch11: augeas-1.1.0-shellvars-case-semicolons.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1063961: IPRoute2 module, hex IDs and hyphens in protocols
|
|
|
c537d4 |
Patch12: augeas-1.1.0-iproute2-dsfield-hex.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1063968: IPRoute2 module, slash in protocols
|
|
|
c537d4 |
Patch13: augeas-1.1.0-iproute2-protos-slash.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1067039: Yum module, slash in protocols
|
|
|
c537d4 |
Patch14: augeas-1.1.0-yum-exclude.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1064387: Dovecot module, mailbox and quote support
|
|
|
c537d4 |
Patch15: augeas-1.1.0-dovecot-mailbox.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1064388: Keepalived module, virtual server fixes
|
|
|
c537d4 |
Patch16: augeas-1.1.0-keepalived-virtual-servers.patch
|
|
|
c537d4 |
|
|
|
c537d4 |
# RHBZ#1066419: Krb5 module, parse braces in values
|
|
|
c537d4 |
Patch17: augeas-1.1.0-krb5-braces.patch
|
|
|
c537d4 |
|
|
|
de83c0 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
de83c0 |
|
|
|
de83c0 |
BuildRequires: readline-devel libselinux-devel libxml2-devel
|
|
|
de83c0 |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
de83c0 |
|
|
|
de83c0 |
%description
|
|
|
de83c0 |
A library for programmatically editing configuration files. Augeas parses
|
|
|
de83c0 |
configuration files into a tree structure, which it exposes through its
|
|
|
de83c0 |
public API. Changes made through the API are written back to the initially
|
|
|
de83c0 |
read files.
|
|
|
de83c0 |
|
|
|
de83c0 |
The transformation works very hard to preserve comments and formatting
|
|
|
de83c0 |
details. It is controlled by ``lens'' definitions that describe the file
|
|
|
de83c0 |
format and the transformation into a tree.
|
|
|
de83c0 |
|
|
|
de83c0 |
%package devel
|
|
|
de83c0 |
Summary: Development files for %{name}
|
|
|
de83c0 |
Group: Development/Libraries
|
|
|
de83c0 |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
de83c0 |
Requires: pkgconfig
|
|
|
de83c0 |
|
|
|
de83c0 |
%description devel
|
|
|
de83c0 |
The %{name}-devel package contains libraries and header files for
|
|
|
de83c0 |
developing applications that use %{name}.
|
|
|
de83c0 |
|
|
|
de83c0 |
|
|
|
de83c0 |
%package libs
|
|
|
de83c0 |
Summary: Libraries for %{name}
|
|
|
de83c0 |
Group: System Environment/Libraries
|
|
|
de83c0 |
|
|
|
de83c0 |
%description libs
|
|
|
de83c0 |
The libraries for %{name}.
|
|
|
de83c0 |
|
|
|
de83c0 |
|
|
|
de83c0 |
%prep
|
|
|
de83c0 |
%setup -q
|
|
|
de83c0 |
%patch1 -p1
|
|
|
c537d4 |
%patch2 -p1
|
|
|
c537d4 |
%patch3 -p1
|
|
|
c537d4 |
%patch4 -p1
|
|
|
c537d4 |
%patch5 -p1
|
|
|
c537d4 |
%patch6 -p1
|
|
|
c537d4 |
%patch7 -p1
|
|
|
c537d4 |
%patch8 -p1
|
|
|
c537d4 |
%patch9 -p1
|
|
|
c537d4 |
%patch10 -p1
|
|
|
c537d4 |
%patch11 -p1
|
|
|
c537d4 |
%patch12 -p1
|
|
|
c537d4 |
%patch13 -p1
|
|
|
c537d4 |
%patch14 -p1
|
|
|
c537d4 |
%patch15 -p1
|
|
|
c537d4 |
%patch16 -p1
|
|
|
c537d4 |
%patch17 -p1
|
|
|
de83c0 |
|
|
|
de83c0 |
%build
|
|
|
de83c0 |
%configure --disable-static
|
|
|
de83c0 |
make %{?_smp_mflags}
|
|
|
de83c0 |
|
|
|
c537d4 |
%check
|
|
|
c537d4 |
# Disable test-preserve.sh. This fails when run under mock due to differing
|
|
|
c537d4 |
# SELinux labelling.
|
|
|
c537d4 |
cat > tests/test-preserve.sh <
|
|
|
c537d4 |
#!/bin/sh
|
|
|
c537d4 |
true
|
|
|
c537d4 |
EOF
|
|
|
c537d4 |
|
|
|
c537d4 |
make %{?_smp_mflags} check || {
|
|
|
c537d4 |
echo '===== tests/test-suite.log ====='
|
|
|
c537d4 |
cat tests/test-suite.log
|
|
|
c537d4 |
exit 1
|
|
|
c537d4 |
}
|
|
|
c537d4 |
|
|
|
de83c0 |
%install
|
|
|
de83c0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
de83c0 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
|
|
de83c0 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
de83c0 |
|
|
|
de83c0 |
# The tests/ subdirectory contains lenses used only for testing, and
|
|
|
de83c0 |
# so it shouldn't be packaged.
|
|
|
de83c0 |
rm -r $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/dist/tests
|
|
|
de83c0 |
|
|
|
de83c0 |
%clean
|
|
|
de83c0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
de83c0 |
|
|
|
de83c0 |
%post libs -p /sbin/ldconfig
|
|
|
de83c0 |
|
|
|
de83c0 |
%postun libs -p /sbin/ldconfig
|
|
|
de83c0 |
|
|
|
de83c0 |
%files
|
|
|
de83c0 |
%defattr(-,root,root,-)
|
|
|
de83c0 |
%{_bindir}/augtool
|
|
|
de83c0 |
%{_bindir}/augparse
|
|
|
de83c0 |
%{_bindir}/fadot
|
|
|
de83c0 |
%doc %{_mandir}/man1/*
|
|
|
de83c0 |
%{_datadir}/vim/vimfiles/syntax/augeas.vim
|
|
|
de83c0 |
%{_datadir}/vim/vimfiles/ftdetect/augeas.vim
|
|
|
de83c0 |
|
|
|
de83c0 |
%files libs
|
|
|
de83c0 |
%defattr(-,root,root,-)
|
|
|
de83c0 |
# %{_datadir}/augeas and %{_datadir}/augeas/lenses are owned
|
|
|
de83c0 |
# by filesystem.
|
|
|
de83c0 |
%{_datadir}/augeas/lenses/dist
|
|
|
de83c0 |
%{_libdir}/*.so.*
|
|
|
de83c0 |
%doc AUTHORS COPYING NEWS
|
|
|
de83c0 |
|
|
|
de83c0 |
%files devel
|
|
|
de83c0 |
%defattr(-,root,root,-)
|
|
|
de83c0 |
%doc
|
|
|
de83c0 |
%{_includedir}/*
|
|
|
de83c0 |
%{_libdir}/*.so
|
|
|
de83c0 |
%{_libdir}/pkgconfig/augeas.pc
|
|
|
de83c0 |
|
|
|
de83c0 |
%changelog
|
|
|
c537d4 |
* Tue Feb 25 2014 Dominic Cleal <dcleal@redhat.com> - 1.1.0-12
|
|
|
c537d4 |
- Add patch for Dovecot, mailbox and quote support (RHBZ#1064387)
|
|
|
c537d4 |
- Add patch for Keepalived, virtual server fixes (RHBZ#1064388)
|
|
|
c537d4 |
- Add patch for Krb5, parse braces in values (RHBZ#1066419)
|
|
|
c537d4 |
|
|
|
c537d4 |
* Thu Feb 20 2014 Dominic Cleal <dcleal@redhat.com> - 1.1.0-11
|
|
|
c537d4 |
- Add patch for Yum, split exclude lines (RHBZ#1067039)
|
|
|
c537d4 |
|
|
|
c537d4 |
* Tue Feb 18 2014 Dominic Cleal <dcleal@redhat.com> - 1.1.0-10
|
|
|
c537d4 |
- Add patch for IPRoute2, hex and hyphen protocols (RHBZ#1063961)
|
|
|
c537d4 |
- Add patch for IPRoute2, slashes in protocols (RHBZ#1063968)
|
|
|
c537d4 |
|
|
|
c537d4 |
* Mon Feb 10 2014 Dominic Cleal <dcleal@redhat.com> - 1.1.0-9
|
|
|
c537d4 |
- Add patch for yum-cron.conf incl entry (RHBZ#1058409)
|
|
|
c537d4 |
- Add patch for firewalld.conf incl entry (RHBZ#1058411)
|
|
|
c537d4 |
- Add patch for Grub, foreground option (RHBZ#1059426)
|
|
|
c537d4 |
- Add patch for Yum, spaces around equals (RHBZ#1062614)
|
|
|
c537d4 |
- Add patch for Shellvars, case and same-line ;; (RHBZ#1056541)
|
|
|
c537d4 |
|
|
|
c537d4 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.1.0-8
|
|
|
c537d4 |
- Mass rebuild 2014-01-24
|
|
|
c537d4 |
|
|
|
c537d4 |
* Tue Jan 14 2014 Dominic Cleal <dcleal@redhat.com> - 1.1.0-7
|
|
|
c537d4 |
- Fix CVE-2013-6412, incorrect permissions under strict umask (RHBZ#1036081)
|
|
|
c537d4 |
|
|
|
c537d4 |
* Thu Jan 02 2014 Dominic Cleal <dcleal@redhat.com> - 1.1.0-6
|
|
|
c537d4 |
- Add patch for Sysconfig module, empty comment lines (RHBZ#1043665)
|
|
|
c537d4 |
- Add check section to run test suite
|
|
|
c537d4 |
- Add patch for testPermsErrorReported test, when root (RHBZ#1043666)
|
|
|
c537d4 |
- Add patch for Shellvars, multivariable exports (RHBZ#1043815)
|
|
|
c537d4 |
|
|
|
c537d4 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.0-5
|
|
|
c537d4 |
- Mass rebuild 2013-12-27
|
|
|
c537d4 |
|
|
|
c537d4 |
* Tue Nov 19 2013 Dominic Cleal <dcleal@redhat.com> - 1.1.0-4
|
|
|
c537d4 |
- Add patch for saving files with // in incl path (RHBZ#1031084)
|
|
|
c537d4 |
|
|
|
c537d4 |
* Tue Oct 22 2013 Dominic Cleal <dcleal@redhat.com> - 1.1.0-3
|
|
|
de83c0 |
- Add patch for Grub module, setkey/lock support (RHBZ#1019485)
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Aug 12 2013 Dominic Cleal <dcleal@redhat.com> - 1.1.0-2
|
|
|
de83c0 |
- Fix source URL to download.augeas.net (RHBZ#996033)
|
|
|
de83c0 |
|
|
|
de83c0 |
* Wed Jun 19 2013 David Lutterkort <lutter@redhat.com> - 1.1.0-1
|
|
|
de83c0 |
- Update to 1.1.0; remove all patches
|
|
|
de83c0 |
|
|
|
de83c0 |
* Tue Jun 18 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-4
|
|
|
de83c0 |
- Fix /etc/sysconfig/network (RHBZ#904222).
|
|
|
de83c0 |
|
|
|
de83c0 |
* Wed Jun 5 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-3
|
|
|
de83c0 |
- Don't package lenses in tests/ subdirectory.
|
|
|
de83c0 |
|
|
|
de83c0 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
|
de83c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
de83c0 |
|
|
|
de83c0 |
* Fri Jan 4 2013 David Lutterkort <lutter@redhat.com> - 1.0.0-1
|
|
|
de83c0 |
- New version; remove all patches
|
|
|
de83c0 |
|
|
|
de83c0 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-4
|
|
|
de83c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
de83c0 |
|
|
|
de83c0 |
* Tue Jan 10 2012 David Lutterkort <lutter@redhat.com> - 0.10.0-3
|
|
|
de83c0 |
- Add patches for bugs 247 and 248 (JSON lens)
|
|
|
de83c0 |
|
|
|
de83c0 |
* Sat Dec 3 2011 Richard W.M. Jones <rjones@redhat.com> - 0.10.0-2
|
|
|
de83c0 |
- Add patch to resolve missing libxml2 requirement in augeas.pc.
|
|
|
de83c0 |
|
|
|
de83c0 |
* Fri Dec 2 2011 David Lutterkort <lutter@redhat.com> - 0.10.0-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Jul 25 2011 David Lutterkort <lutter@redhat.com> - 0.9.0-1
|
|
|
de83c0 |
- New version; removed patch pathx-whitespace-ea010d8
|
|
|
de83c0 |
|
|
|
de83c0 |
* Tue May 3 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-2
|
|
|
de83c0 |
- Add patch pathx-whitespace-ea010d8.patch to fix BZ 700608
|
|
|
de83c0 |
|
|
|
de83c0 |
* Fri Apr 15 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Wed Feb 23 2011 David Lutterkort <lutter@redhat.com> - 0.8.0-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-2
|
|
|
de83c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Nov 22 2010 Matthew Booth <mbooth@redhat.com> - 0.7.4-1
|
|
|
de83c0 |
- Update to version 0.7.4
|
|
|
de83c0 |
|
|
|
de83c0 |
* Thu Nov 18 2010 Richard W.M. Jones <rjones@redhat.com> - 0.7.3-2
|
|
|
de83c0 |
- Upstream patch proposed to fix GCC optimization bug (RHBZ#651992).
|
|
|
de83c0 |
|
|
|
de83c0 |
* Fri Aug 6 2010 David Lutterkort <lutter@redhat.com> - 0.7.3-1
|
|
|
de83c0 |
- Remove upstream patches
|
|
|
de83c0 |
|
|
|
de83c0 |
* Tue Jun 29 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-2
|
|
|
de83c0 |
- Patches based on upstream fix for BZ 600141
|
|
|
de83c0 |
|
|
|
de83c0 |
* Tue Jun 22 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-1
|
|
|
de83c0 |
- Fix ownership of /usr/share/augeas. BZ 569393
|
|
|
de83c0 |
|
|
|
de83c0 |
* Wed Apr 21 2010 David Lutterkort <lutter@redhat.com> - 0.7.1-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Thu Jan 14 2010 David Lutterkort <lutter@redhat.com> - 0.7.0-1
|
|
|
de83c0 |
- Remove patch vim-ftdetect-syntax.patch. It's upstream
|
|
|
de83c0 |
|
|
|
de83c0 |
* Tue Dec 15 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-2
|
|
|
de83c0 |
- Fix ftdetect file for vim
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Nov 30 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-1
|
|
|
de83c0 |
- Install vim syntax files
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Sep 14 2009 David Lutterkort <lutter@redhat.com> - 0.5.3-1
|
|
|
de83c0 |
- Remove separate xorg.aug, included in upstream source
|
|
|
de83c0 |
|
|
|
de83c0 |
* Tue Aug 25 2009 Matthew Booth <mbooth@redhat.com> - 0.5.2-3
|
|
|
de83c0 |
- Include new xorg lens from upstream
|
|
|
de83c0 |
|
|
|
de83c0 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
|
|
de83c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Jul 13 2009 David Lutterkort <lutter@redhat.com> - 0.5.2-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Fri Jun 5 2009 David Lutterkort <lutter@redhat.com> - 0.5.1-1
|
|
|
de83c0 |
- Install fadot
|
|
|
de83c0 |
|
|
|
de83c0 |
* Fri Mar 27 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-2
|
|
|
de83c0 |
- fadot isn't being installed just yet
|
|
|
de83c0 |
|
|
|
de83c0 |
* Tue Mar 24 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-1
|
|
|
de83c0 |
- New program /usr/bin/fadot
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Mar 9 2009 David Lutterkort <lutter@redhat.com> - 0.4.2-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Fri Feb 27 2009 David Lutterkort <lutter@redhat.com> - 0.4.1-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Fri Feb 6 2009 David Lutterkort <lutter@redhat.com> - 0.4.0-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Jan 26 2009 David Lutterkort <lutter@redhat.com> - 0.3.6-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Tue Dec 23 2008 David Lutterkort <lutter@redhat.com> - 0.3.5-1
|
|
|
de83c0 |
- New version
|
|
|
de83c0 |
|
|
|
de83c0 |
* Mon Feb 25 2008 David Lutterkort <dlutter@redhat.com> - 0.0.4-1
|
|
|
de83c0 |
- Initial specfile
|