Blame SPECS/ima-evm-utils.spec

430cf6
Summary: IMA/EVM support utilities
430cf6
Name: ima-evm-utils
430cf6
Version: 1.1
2f70a7
Release: 5%{?dist}
430cf6
License: GPLv2
430cf6
Url:  http://linux-ima.sourceforge.net/
430cf6
Source: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz
430cf6
BuildRequires: autoconf automake libtool m4 asciidoc libxslt
430cf6
BuildRequires: openssl-devel libattr-devel keyutils-libs-devel
430cf6
Patch1: docbook-xsl-path.patch
430cf6
Patch2: covscan-memory-leaks.patch
430cf6
Patch3: annocheck-opt-flag.patch
2f70a7
Patch4: libimaevm-keydesc-import.patch
430cf6
430cf6
%description
430cf6
The Trusted Computing Group(TCG) run-time Integrity Measurement Architecture
430cf6
(IMA) maintains a list of hash values of executables and other sensitive
430cf6
system files, as they are read or executed. These are stored in the file
430cf6
systems extended attributes. The Extended Verification Module (EVM) prevents
430cf6
unauthorized changes to these extended attributes on the file system.
430cf6
ima-evm-utils is used to prepare the file system for these extended attributes.
430cf6
430cf6
%package devel
430cf6
Summary: Development files for %{name}
430cf6
430cf6
%description devel
430cf6
This package provides the header files for %{name}
430cf6
430cf6
%prep
430cf6
%setup -q
430cf6
%patch1 -p1
430cf6
%patch2 -p1
430cf6
%patch3 -p1
2f70a7
%patch4 -p1
430cf6
430cf6
%build
430cf6
mkdir -p m4
430cf6
autoreconf -f -i
430cf6
%configure --disable-static
430cf6
make %{?_smp_mflags}
430cf6
430cf6
%install
430cf6
make DESTDIR=%{buildroot} install
430cf6
find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete
430cf6
430cf6
%ldconfig_scriptlets
430cf6
430cf6
%files devel
430cf6
%{_pkgdocdir}/*.sh
430cf6
%{_includedir}/*
430cf6
%{_libdir}/libimaevm.so
430cf6
430cf6
%files
430cf6
%doc ChangeLog README AUTHORS
430cf6
%license COPYING
430cf6
%{_bindir}/*
430cf6
%{_libdir}/libimaevm.so.*
430cf6
%{_mandir}/man1/*
430cf6
430cf6
%changelog
2f70a7
* Thu Mar 28 2019 Bruno E. O. Meneguele <bmeneg@redhat.com> - 1.1-5
2f70a7
- Add patch to correctly handle key description on keyring during importation
2f70a7
430cf6
* Mon Oct 29 2018 Bruno E. O. Meneguele <bmeneg@redhat.com> - 1.1-4
430cf6
- Solve a single memory leak not handled by the last patch
430cf6
430cf6
* Thu Oct 25 2018 Bruno E. O. Meneguele <bmeneg@redhat.com> - 1.1-3
430cf6
- Solve memory leaks pointed by covscan tool
430cf6
- Add optimization flag O2 during compilation to satisfy annocheck tool
430cf6
430cf6
* Fri Mar 02 2018 Bruno E. O. Meneguele <brdeoliv@redhat.com> - 1.1-2
430cf6
- Remove libtool files
430cf6
- Run ldconfig scriptlets after un/installing
430cf6
- Add -devel subpackage to handle include files and examples
430cf6
- Disable any static file in the package
430cf6
430cf6
* Fri Feb 16 2018 Bruno E. O. Meneguele <brdeoliv@redhat.com> - 1.1-1
430cf6
- New upstream release
430cf6
- Support for OpenSSL 1.1 was added directly to the source code in upstream,
430cf6
  thus removing specific patch for it
430cf6
- Docbook xsl stylesheet updated to a local path
430cf6
430cf6
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-5
430cf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
430cf6
430cf6
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0-4
430cf6
- Switch to %%ldconfig_scriptlets
430cf6
430cf6
* Fri Dec 01 2017 Bruno E. O. Meneguele <brdeoliv@redhat.com> - 1.0-3
430cf6
- Add OpenSSL 1.1 API support for the package, avoiding the need of
430cf6
  compat-openssl10-devel package
430cf6
430cf6
* Mon Nov 20 2017 Bruno E. O. Meneguele <brdeoliv@redhat.com> - 1.0-2
430cf6
- Adjusted docbook xsl path to match the correct stylesheet
430cf6
- Remove only *.la files, considering there aren't any *.a files
430cf6
430cf6
* Tue Sep 05 2017 Bruno E. O. Meneguele <brdeoliv@redhat.com> - 1.0-1
430cf6
- New upstream release
430cf6
- Add OpenSSL 1.0 compatibility package, due to issues with OpenSSL 1.1
430cf6
- Remove libtool files
430cf6
- Run ldconfig after un/installation to update *.so files
430cf6
- Add -devel subpackage to handle include files and examples
430cf6
430cf6
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-7
430cf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
430cf6
430cf6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-6
430cf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
430cf6
430cf6
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
430cf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
430cf6
430cf6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-4
430cf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
430cf6
430cf6
* Tue Jan 26 2016 Lubomir Rintel <lkundrak@v3.sk> - 0.9-3
430cf6
- Fix FTBFS
430cf6
430cf6
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
430cf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
430cf6
430cf6
* Fri Oct 31 2014 Avesh Agarwal <avagarwa@redhat.com> - 0.9-1
430cf6
- New upstream release
430cf6
- Applied a patch to fix man page issues.
430cf6
- Updated spec file
430cf6
430cf6
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
430cf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
430cf6
430cf6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
430cf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
430cf6
430cf6
* Tue Aug 27 2013 Vivek Goyal <vgoyal@redhat.com> - 0.6-1
430cf6
- Initial package