Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2017-08-21 11:36:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tpm2-0-tss (Old)
 and      /work/SRC/openSUSE:Factory/.tpm2-0-tss.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tpm2-0-tss"

Mon Aug 21 11:36:37 2017 rev:8 rq:514212 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes    2017-06-04 
01:56:42.902596132 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes       
2017-08-21 11:36:46.820387877 +0200
@@ -1,0 +2,32 @@
+Thu Jul 20 13:51:38 UTC 2017 - matthias.gerst...@suse.com
+
+- no longer install the udev rule, it's now part of the new tpm2.0-abrmd
+  package.
+- fixed a warning regarding a missing dependency of the devel package to the
+  main package
+- correctly package library symlinks only in the devel package, the library
+  itself only in the library package. Was mixed up before.
+
+-------------------------------------------------------------------
+Wed Jul 19 14:10:02 UTC 2017 - matthias.gerst...@suse.com
+
+- removed tpm2-0-tss-configure.patch, it was just a hack, fixed by requiring
+  autoconf-archive, see https://github.com/01org/TPM2.0-TSS/issues/227.
+
+-------------------------------------------------------------------
+Wed Jul 19 11:13:43 UTC 2017 - matthias.gerst...@suse.com
+
+- Updated to upstream version 1.1.0
+  - With this version the resourcemgr daemon is dropped from this package. It
+    is replaced by a completely new implementation found in a new package
+    tpm2.0-abrmd. this package will only consist of the libraries any more.
+
+  - Changed
+    - tpmclient, disabled all tests that rely on the old resourcemgr.
+  - Fixed
+    - Fixed definition of PCR_LAST AND TRANSIENT_LAST macros.
+  - Removed
+    - tpmtest
+    - resourcemgr, replacement is in new repo: 
https://github.com/01org/tpm2-abrmd
+
+-------------------------------------------------------------------

Old:
----
  1.0.tar.gz
  tpm2-0-tss-configure.patch

New:
----
  1.1.0.tar.gz

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

Other differences:
------------------
++++++ tpm2-0-tss.spec ++++++
--- /var/tmp/diff_new_pack.ebJ29R/_old  2017-08-21 11:36:48.180196632 +0200
+++ /var/tmp/diff_new_pack.ebJ29R/_new  2017-08-21 11:36:48.208192695 +0200
@@ -17,15 +17,14 @@
 
 
 Name:           tpm2-0-tss
-Version:        1.0
+Version:        1.1.0
 Release:        0
-Summary:        Intel's TCG Software Stack access library for TPM 2.0 chips
+Summary:        Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:        BSD-2-Clause
 Group:          Productivity/Security
 Url:            https://github.com/01org/TPM2.0-TSS
 Source0:        https://github.com/01org/TPM2.0-TSS/archive/%{version}.tar.gz
 Source2:        baselibs.conf
-Patch0:         tpm2-0-tss-configure.patch
 # PATCH-FIX-UPSTREAM bmwiedemann https://github.com/01org/TPM2.0-TSS/pull/419
 Patch1:         reproducible.patch
 BuildRequires:  autoconf-archive
@@ -33,15 +32,14 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-BuildRequires:  systemd-rpm-macros
 Requires(pre):  pwdutils
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 The tpm2-0-tss package provides a TPM 2.0 TSS implementation. This
-implementation is developed by INTEL. Note that the current resource manager
-implementation is considered deprecated (a prototype, probably buggy and
-insecure) by its developers.
+implementation is developed by INTEL. This package contains the libraries,
+see the tpm2.0-abrmd package for the resource manager daemon, tpm2.0-tools for
+utilities.
 
 %package devel
 Summary:        Development headers for the Intel TSS library for TPM 2.0 chips
@@ -50,6 +48,7 @@
 Requires:       libsapi0 = %{version}
 Requires:       libtcti-device0 = %{version}
 Requires:       libtcti-socket0 = %{version}
+Requires:       tpm2-0-tss = %{version}
 
 %description devel
 This package provides the development files for the libsapi library
@@ -57,8 +56,8 @@
 
 %package -n libsapi0
 Summary:        TPM2 System API library
-Group:          System/Libraries
 # Non-SLPP package name from earlier
+Group:          System/Libraries
 Obsoletes:      libtss2 < %version-%release
 Provides:       libtss2 = %version-%release
 
@@ -83,8 +82,7 @@
 TPM over a socket.
 
 %prep
-%setup -q -n TPM2.0-TSS-%{version}
-%patch0 -p1
+%setup -q -n tpm2-tss-%{version}
 %patch1 -p1
 
 %build
@@ -95,11 +93,6 @@
 %install
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
-install -D -m 0644 contrib/resourcemgr.service 
%{buildroot}/%{_unitdir}/resourcemgr.service
-sed -e 's#usr/local/sbin/#usr/sbin/#;' -i 
%{buildroot}/%{_unitdir}/resourcemgr.service
-ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
-%define udev_rule_file 90-tpm.rules
-install -D -m 0644 contrib/tpm-udev.rules 
%{buildroot}%{_udevrulesdir}/%{udev_rule_file}
 
 %post -n libsapi0 -p /sbin/ldconfig
 %postun -n libsapi0 -p /sbin/ldconfig
@@ -108,65 +101,28 @@
 %post -n libtcti-socket0 -p /sbin/ldconfig
 %postun -n libtcti-socket0 -p /sbin/ldconfig
 
-%pre
-# the same user is employed by trousers:
-#
-# trousers just needs those accounts for dropping privileges to. The service
-# starts as root and uses set*id to drop to tss, after the tpm device has been
-# opened.
-#
-# resourcemgr has no set*id handling and thus requires /dev/tpm to be owned
-# by the tss user. Therefore we also need to install a udev rule file.
-#
-# trousers was here first and created the user like this, also giving it a
-# home in /var/lib/tpm. I don't think the home directory is used by any of
-# both packages ATM. Trousers is keeping state there, but the directory is
-# owned by root and files are opened before dropping privileges. The passwd
-# entry seems not to be evaluated.
-#
-# so I guess we can share the account between the two packages for now.
-%_bindir/getent group tss >/dev/null || %{_sbindir}/groupadd -g 98 tss
-%_bindir/getent passwd tss >/dev/null || \
-       %{_sbindir}/useradd -u 98 -o -g tss -s /bin/false -c "TSS daemon" \
-       -d %{_localstatedir}/lib/tpm tss
-%service_add_pre resourcemgr.service
-
-%post
-%service_add_post resourcemgr.service
-
-%postun
-%service_del_postun resourcemgr.service
-
-%preun
-%service_del_preun resourcemgr.service
-
 %files
 %defattr(-,root,root)
 %doc *.md LICENSE
-%{_sbindir}/resourcemgr
-/%{_unitdir}/resourcemgr.service
-%{_sbindir}/rcresourcemgr
-%{_udevrulesdir}/%{udev_rule_file}
 
 %files devel
 %defattr(-,root,root)
 %{_includedir}/tcti
 %{_includedir}/sapi
 %{_libdir}/*.so
+%{_libdir}/*.so.0
 %{_libdir}/pkgconfig/*.pc
-##only available in static form
-#%%{_libdir}/libtddl.a
 
 %files -n libsapi0
 %defattr(-,root,root)
-%{_libdir}/libsapi.so.*
+%{_libdir}/libsapi.so.0.0.0
 
 %files -n libtcti-device0
 %defattr(-,root,root)
-%{_libdir}/libtcti-device.so.*
+%{_libdir}/libtcti-device.so.0.0.0
 
 %files -n libtcti-socket0
 %defattr(-,root,root)
-%{_libdir}/libtcti-socket.so.*
+%{_libdir}/libtcti-socket.so.0.0.0
 
 %changelog

++++++ 1.0.tar.gz -> 1.1.0.tar.gz ++++++
++++ 14220 lines of diff (skipped)


Reply via email to