From cc4e51715fa48a31c6634e907eb20ac679a1f882 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Wed, 10 May 2017 18:11:46 -0700 Subject: [PATCH 1/5] Use explicit version of _pkgdocdir for non-versioning --- ima-evm-utils.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec index 6ae5696..f81ba84 100644 --- a/ima-evm-utils.spec +++ b/ima-evm-utils.spec @@ -1,7 +1,7 @@ Summary: IMA/EVM support utilities Name: ima-evm-utils Version: 0.9 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2 Url: http://linux-ima.sourceforge.net/ Source: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz @@ -35,12 +35,15 @@ make DESTDIR=%{buildroot} install %files %doc ChangeLog README AUTHORS COPYING %{_bindir}/* -%{_pkgdocdir}/*.sh +%{_docdir}/%{name}/*.sh %{_libdir}/libimaevm.* %{_includedir}/* %{_mandir}/man1/* %changelog +* Thu May 11 2017 Laura Abbott - 0.9-6 +- Use explicit version of _pkgdocdir for non-versioning + * Fri Feb 10 2017 Fedora Release Engineering - 0.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 1a0e942a6f28563696dcd67af21ff5dd36fb7e4a Mon Sep 17 00:00:00 2001 From: "Bruno E. O. Meneguele" Date: Tue, 5 Sep 2017 17:45:38 -0300 Subject: [PATCH 2/5] - New upstream release - Remove libtool files - Run ldconfig after un/installation to update *.so files - Add -devel subpackage to handle include files and examples --- .gitignore | 1 + ima-evm-utils.spec | 38 +++++++++++++++++++++++++++++--------- sources | 2 +- 3 files changed, 31 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index c40b7ea..c7cea8a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /ima-evm-utils-0.6.tar.gz /ima-evm-utils-0.9.tar.gz +/ima-evm-utils-1.0.tar.gz diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec index f81ba84..0294835 100644 --- a/ima-evm-utils.spec +++ b/ima-evm-utils.spec @@ -1,11 +1,10 @@ Summary: IMA/EVM support utilities Name: ima-evm-utils -Version: 0.9 -Release: 6%{?dist} +Version: 1.0 +Release: 1%{?dist} License: GPLv2 Url: http://linux-ima.sourceforge.net/ Source: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz -Group: Applications/Internet BuildRequires: autoconf automake libtool m4 asciidoc libxslt BuildRequires: openssl-devel libattr-devel keyutils-libs-devel Patch1: manpage.patch @@ -18,29 +17,50 @@ systems extended attributes. The Extended Verification Module (EVM) prevents unauthorized changes to these extended attributes on the file system. ima-evm-utils is used to prepare the file system for these extended attributes. +%package devel +Summary: Development files for %{name} + +%description devel +This package provides the header files for %{name} + %prep %setup -q %patch1 -p1 %build -#Is running autoreconf a good idea mkdir -p m4 autoreconf -f -i -%configure +%configure --disable-static make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install +find %{buildroot}%{_libdir} -type f -name "*.a" -print -delete +find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files devel +%{_docdir}/%{name}/*.sh +%{_includedir}/* +%{_libdir}/libimaevm.so %files -%doc ChangeLog README AUTHORS COPYING +%doc ChangeLog README AUTHORS +%license COPYING %{_bindir}/* -%{_docdir}/%{name}/*.sh -%{_libdir}/libimaevm.* -%{_includedir}/* +%{_libdir}/libimaevm.so.* %{_mandir}/man1/* %changelog +* Tue Sep 05 2017 Bruno E. O. Meneguele - 1.0-1 +- New upstream release +- Remove libtool files +- Run ldconfig after un/installation to update *.so files +- Add -devel subpackage to handle include files and examples + * Thu May 11 2017 Laura Abbott - 0.9-6 - Use explicit version of _pkgdocdir for non-versioning diff --git a/sources b/sources index 336b40a..17e6d4e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b4005df0bcf63ec33744c6dea5e670b2 ima-evm-utils-0.9.tar.gz +SHA512 (ima-evm-utils-1.0.tar.gz) = f7edec4c2cd0f72291045c0096d198bff49bf892f5c5f7bf772f104613295e7522e96cccb89261c0ac035b0265c9574c14758359ab84c47180095630cf60802a From fc8da3172050e5b46c1dd79b3b514255b7ecc9e4 Mon Sep 17 00:00:00 2001 From: "Bruno E. O. Meneguele" Date: Mon, 20 Nov 2017 18:45:06 -0200 Subject: [PATCH 3/5] - Adjusted docbook xsl path to match the correct stylesheet (BZ#1514985) - Remove only *.la files, considering there aren't any *.a files --- manpage.patch => docbook-xsl-path.patch | 8 ++++---- ima-evm-utils.spec | 9 ++++++--- 2 files changed, 10 insertions(+), 7 deletions(-) rename manpage.patch => docbook-xsl-path.patch (54%) diff --git a/manpage.patch b/docbook-xsl-path.patch similarity index 54% rename from manpage.patch rename to docbook-xsl-path.patch index a4bfe0c..03e5664 100644 --- a/manpage.patch +++ b/docbook-xsl-path.patch @@ -1,12 +1,12 @@ -diff -urNp ima-evm-utils-0.9/Makefile.am ima-evm-utils-0.9-patch/Makefile.am ---- ima-evm-utils-0.9/Makefile.am 2014-09-23 08:09:05.000000000 -0400 -+++ ima-evm-utils-0.9-patch/Makefile.am 2014-10-31 13:00:03.492295123 -0400 +diff -urNp ima-evm-utils-1.0-orig/Makefile.am ima-evm-utils-1.0/Makefile.am +--- ima-evm-utils-1.0-orig/Makefile.am 2015-07-30 15:28:53.000000000 -0300 ++++ ima-evm-utils-1.0/Makefile.am 2017-11-20 16:20:04.245591165 -0200 @@ -24,7 +24,7 @@ rpm: $(tarname) rpmbuild -ba --nodeps $(SPEC) # requires asciidoc, xslproc, docbook-xsl -MANPAGE_DOCBOOK_XSL = /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl -+MANPAGE_DOCBOOK_XSL = http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl ++MANPAGE_DOCBOOK_XSL = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl evmctl.1.html: README @asciidoc -o $@ $< diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec index 0294835..2a8936c 100644 --- a/ima-evm-utils.spec +++ b/ima-evm-utils.spec @@ -1,13 +1,13 @@ Summary: IMA/EVM support utilities Name: ima-evm-utils Version: 1.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Url: http://linux-ima.sourceforge.net/ Source: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz BuildRequires: autoconf automake libtool m4 asciidoc libxslt BuildRequires: openssl-devel libattr-devel keyutils-libs-devel -Patch1: manpage.patch +Patch1: docbook-xsl-path.patch %description The Trusted Computing Group(TCG) run-time Integrity Measurement Architecture @@ -35,7 +35,6 @@ make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install -find %{buildroot}%{_libdir} -type f -name "*.a" -print -delete find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete %post -p /sbin/ldconfig @@ -55,6 +54,10 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete %{_mandir}/man1/* %changelog +* Mon Nov 20 2017 Bruno E. O. Meneguele - 1.0-2 +- Adjusted docbook xsl path to match the correct stylesheet +- Remove only *.la files, considering there aren't any *.a files + * Tue Sep 05 2017 Bruno E. O. Meneguele - 1.0-1 - New upstream release - Remove libtool files From 6f4e98178fd9f6929df6d8bd9f15ce5f2d973781 Mon Sep 17 00:00:00 2001 From: "Bruno E. O. Meneguele" Date: Wed, 21 Feb 2018 17:24:46 -0300 Subject: [PATCH 4/5] - New upstream release - Docbook xsl stylesheet updated to a local path --- .gitignore | 1 + docbook-xsl-path.patch | 2 +- ima-evm-utils.spec | 8 ++++++-- sources | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c7cea8a..d1d52cf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /ima-evm-utils-0.6.tar.gz /ima-evm-utils-0.9.tar.gz /ima-evm-utils-1.0.tar.gz +/ima-evm-utils-1.1.tar.gz diff --git a/docbook-xsl-path.patch b/docbook-xsl-path.patch index 03e5664..e4ee8e5 100644 --- a/docbook-xsl-path.patch +++ b/docbook-xsl-path.patch @@ -6,7 +6,7 @@ diff -urNp ima-evm-utils-1.0-orig/Makefile.am ima-evm-utils-1.0/Makefile.am # requires asciidoc, xslproc, docbook-xsl -MANPAGE_DOCBOOK_XSL = /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl -+MANPAGE_DOCBOOK_XSL = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ++MANPAGE_DOCBOOK_XSL = /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl evmctl.1.html: README @asciidoc -o $@ $< diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec index 2a8936c..1e584d1 100644 --- a/ima-evm-utils.spec +++ b/ima-evm-utils.spec @@ -1,7 +1,7 @@ Summary: IMA/EVM support utilities Name: ima-evm-utils -Version: 1.0 -Release: 2%{?dist} +Version: 1.1 +Release: 1%{?dist} License: GPLv2 Url: http://linux-ima.sourceforge.net/ Source: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz @@ -54,6 +54,10 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete %{_mandir}/man1/* %changelog +* Wed Feb 21 2018 Bruno E. O. Meneguele - 1.1-1 +- New upstream release +- Docbook xsl stylesheet updated to a local path + * Mon Nov 20 2017 Bruno E. O. Meneguele - 1.0-2 - Adjusted docbook xsl path to match the correct stylesheet - Remove only *.la files, considering there aren't any *.a files diff --git a/sources b/sources index 17e6d4e..baf9168 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ima-evm-utils-1.0.tar.gz) = f7edec4c2cd0f72291045c0096d198bff49bf892f5c5f7bf772f104613295e7522e96cccb89261c0ac035b0265c9574c14758359ab84c47180095630cf60802a +SHA512 (ima-evm-utils-1.1.tar.gz) = fc7efc890812233db888eef210dc4357bee838b56fd95efd9a9e141d684b0b354670a3c053dd93a94a1402dd826074d4a83a4637c8e6c1d90ead3132354a5776 From 17ba7fef7752ae731e088021d281f2c33f6d6cef Mon Sep 17 00:00:00 2001 From: Carl George Date: Tue, 20 Dec 2022 21:08:30 -0600 Subject: [PATCH 5/5] Retire due to being added to RHEL 7 rhbz#2155371 --- .gitignore | 4 -- dead.package | 1 + docbook-xsl-path.patch | 12 ------ ima-evm-utils.spec | 98 ------------------------------------------ sources | 1 - 5 files changed, 1 insertion(+), 115 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 docbook-xsl-path.patch delete mode 100644 ima-evm-utils.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d1d52cf..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/ima-evm-utils-0.6.tar.gz -/ima-evm-utils-0.9.tar.gz -/ima-evm-utils-1.0.tar.gz -/ima-evm-utils-1.1.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..f67d6fa --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Retire due to being added to RHEL 7 rhbz#2155371 diff --git a/docbook-xsl-path.patch b/docbook-xsl-path.patch deleted file mode 100644 index e4ee8e5..0000000 --- a/docbook-xsl-path.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urNp ima-evm-utils-1.0-orig/Makefile.am ima-evm-utils-1.0/Makefile.am ---- ima-evm-utils-1.0-orig/Makefile.am 2015-07-30 15:28:53.000000000 -0300 -+++ ima-evm-utils-1.0/Makefile.am 2017-11-20 16:20:04.245591165 -0200 -@@ -24,7 +24,7 @@ rpm: $(tarname) - rpmbuild -ba --nodeps $(SPEC) - - # requires asciidoc, xslproc, docbook-xsl --MANPAGE_DOCBOOK_XSL = /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl -+MANPAGE_DOCBOOK_XSL = /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl - - evmctl.1.html: README - @asciidoc -o $@ $< diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec deleted file mode 100644 index 1e584d1..0000000 --- a/ima-evm-utils.spec +++ /dev/null @@ -1,98 +0,0 @@ -Summary: IMA/EVM support utilities -Name: ima-evm-utils -Version: 1.1 -Release: 1%{?dist} -License: GPLv2 -Url: http://linux-ima.sourceforge.net/ -Source: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz -BuildRequires: autoconf automake libtool m4 asciidoc libxslt -BuildRequires: openssl-devel libattr-devel keyutils-libs-devel -Patch1: docbook-xsl-path.patch - -%description -The Trusted Computing Group(TCG) run-time Integrity Measurement Architecture -(IMA) maintains a list of hash values of executables and other sensitive -system files, as they are read or executed. These are stored in the file -systems extended attributes. The Extended Verification Module (EVM) prevents -unauthorized changes to these extended attributes on the file system. -ima-evm-utils is used to prepare the file system for these extended attributes. - -%package devel -Summary: Development files for %{name} - -%description devel -This package provides the header files for %{name} - -%prep -%setup -q -%patch1 -p1 - -%build -mkdir -p m4 -autoreconf -f -i -%configure --disable-static -make %{?_smp_mflags} - -%install -make DESTDIR=%{buildroot} install -find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files devel -%{_docdir}/%{name}/*.sh -%{_includedir}/* -%{_libdir}/libimaevm.so - -%files -%doc ChangeLog README AUTHORS -%license COPYING -%{_bindir}/* -%{_libdir}/libimaevm.so.* -%{_mandir}/man1/* - -%changelog -* Wed Feb 21 2018 Bruno E. O. Meneguele - 1.1-1 -- New upstream release -- Docbook xsl stylesheet updated to a local path - -* Mon Nov 20 2017 Bruno E. O. Meneguele - 1.0-2 -- Adjusted docbook xsl path to match the correct stylesheet -- Remove only *.la files, considering there aren't any *.a files - -* Tue Sep 05 2017 Bruno E. O. Meneguele - 1.0-1 -- New upstream release -- Remove libtool files -- Run ldconfig after un/installation to update *.so files -- Add -devel subpackage to handle include files and examples - -* Thu May 11 2017 Laura Abbott - 0.9-6 -- Use explicit version of _pkgdocdir for non-versioning - -* Fri Feb 10 2017 Fedora Release Engineering - 0.9-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 0.9-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jan 26 2016 Lubomir Rintel - 0.9-3 -- Fix FTBFS - -* Wed Jun 17 2015 Fedora Release Engineering - 0.9-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Oct 31 2014 Avesh Agarwal - 0.9-1 -- New upstream release -- Applied a patch to fix man page issues. -- Updated spec file - -* Sat Aug 16 2014 Fedora Release Engineering - 0.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 0.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Tue Aug 27 2013 Vivek Goyal - 0.6-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index baf9168..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (ima-evm-utils-1.1.tar.gz) = fc7efc890812233db888eef210dc4357bee838b56fd95efd9a9e141d684b0b354670a3c053dd93a94a1402dd826074d4a83a4637c8e6c1d90ead3132354a5776