Hello community,

here is the log from the commit of package ima-evm-utils for openSUSE:Factory 
checked in at 2015-01-24 22:20:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ima-evm-utils (Old)
 and      /work/SRC/openSUSE:Factory/.ima-evm-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ima-evm-utils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ima-evm-utils/ima-evm-utils.changes      
2014-10-19 19:28:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ima-evm-utils.new/ima-evm-utils.changes 
2015-01-24 22:20:42.000000000 +0100
@@ -1,0 +2,23 @@
+Wed Jan 21 17:39:08 UTC 2015 - [email protected]
+
+- Update to version 0.9
+  * Updated README
+  * man page generated and added to the package
+  * Use additional SMACK xattrs for EVM signature generation
+  * Signing functions moved to libimaevm for external use (RPM)
+  * Fixed setting of correct hash header
+- Add additional requirements; asciidoc, docbook-xsl-stylesheets,
+  libattr-devel and libxslt-tools
+- Remove COPYING from sources; upstream provides one now
+- Remove automake.patch; "test" directory isn't provided by upstream
+  anymore
+- Remove ima-evm-utils-xattr.patch; libimaevm0 does link against
+  libattr now
+- Split package in three subpackage
+  * libimaevm0: contains shared library
+  * -devel: contains header and examples files
+  * evmctl: the kernel signing tool
+- Add ima-evm-utils-fix-docbook-xsl-directory.patch; fix path
+  where Make is looking for docbook.xsl
+
+-------------------------------------------------------------------

Old:
----
  COPYING
  automake.patch
  ima-evm-utils-0.2.tar.gz
  ima-evm-utils-xattr.patch

New:
----
  ima-evm-utils-0.9.tar.gz
  ima-evm-utils-fix-docbook-xsl-directory.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ima-evm-utils.spec ++++++
--- /var/tmp/diff_new_pack.KC66ow/_old  2015-01-24 22:20:42.000000000 +0100
+++ /var/tmp/diff_new_pack.KC66ow/_new  2015-01-24 22:20:42.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ima-evm-utils
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -15,55 +15,95 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%define sover 0
+%define libname libimaevm%{sover}
 
 Name:           ima-evm-utils
-Version:        0.2
+Version:        0.9
 Release:        0
 Summary:        IMA/EVM control utility
 License:        LGPL-2.1+
 Group:          System/Libraries
-#URL:          
-Source0:        
http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils/ima-evm-utils-0.2.tar.gz
-Source1:        COPYING
-Patch0:         automake.patch
-Patch1:         ima-evm-utils-xattr.patch
+URL:               http://sourceforge.net/projects/linux-ima/
+Source0:        
http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils/%{name}-%{version}.tar.gz
+Patch2:         ima-evm-utils-fix-docbook-xsl-directory.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
+BuildRequires:  asciidoc
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  keyutils-devel
+BuildRequires:  libattr-devel
 BuildRequires:  libtool
+BuildRequires:  libxslt-tools
 BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 
 %description
 This package provides the IMA/EVM control utility.
 
+%package devel
+Summary:        IMA/EVM control utility --development files
+Group:          Development/Libraries/C and C++
+Requires:       %{libname} = %{version}
+
+%description devel
+This package contains the header files and the utilities for %{name}.
+
+%package -n %{libname}
+Summary:        IMA/EVM control utility --shared library
+Group:          System/Libraries
+
+%description -n %{libname}
+This package provides the IMA:EVM shared library.
+
+%package -n evmctl
+Summary:        IMA/EVM control utility --IMA/EVM signing utility
+Group:          System/Kernel
+Provides:       ima-evm-utils = %{version}
+Obsoletes:      ima-evm-utils < %{version}
+
+%description -n evmctl
+The evmctl utility can be used for producing and verifying digital signatures,
+which are used by Linux kernel integrity subsystem (IMA/EVM). It can be also
+used to import keys into the kernel keyring.
+
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
+%patch2 -p1
 
 %build
-./autogen.sh
-%configure --prefix=/usr
+NOCONFIGURE=1 ./autogen.sh
+%configure --disable-static
 make %{?_smp_mflags}
-cp %{SOURCE1} .
 
 %install
 make DESTDIR=%{buildroot} install
+# Let do it by ourselves later...
+rm -rf %{buildroot}%{_datadir}/doc
+find %{buildroot}%{_libdir} -type f -name "*.a" -print -delete
+find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete
+
+%post -n %{libname} -p /sbin/ldconfig
 
-%post -p /sbin/ldconfig
+%preun -n %{libname} -p /sbin/ldconfig
 
-%preun -p /sbin/ldconfig
+%postun -n %{libname} -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%files devel
+%defattr(-,root,root,-)
+%doc examples/*
+%{_includedir}/*
+%{_libdir}/libimaevm.so
 
-%files
+%files -n %{libname}
 %defattr(-,root,root,-)
 %doc README COPYING NEWS AUTHORS
-%{_bindir}/*
-%dir %{_libexecdir}/%name
-%{_libexecdir}/%name/*
+%{_libdir}/libimaevm.so.*
+
+%files -n evmctl
+%defattr(-,root,root,-)
+%{_bindir}/evmctl
+%{_mandir}/man1/evmctl.1.gz
 
 %changelog

++++++ ima-evm-utils-0.2.tar.gz -> ima-evm-utils-0.9.tar.gz ++++++
++++ 4593 lines of diff (skipped)

++++++ ima-evm-utils-fix-docbook-xsl-directory.patch ++++++
--- a/Makefile.am.orig  2014-09-23 14:09:05.000000000 +0200
+++ b/Makefile.am       2015-01-21 18:00:23.762694050 +0100
@@ -24,7 +24,7 @@
        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/xml/docbook/stylesheet/nwalsh/1.78.1/manpages/docbook.xsl
 
 evmctl.1.html: README
        @asciidoc -o $@ $<

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to