Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2018-02-26 23:24:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and      /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tpm2.0-abrmd"

Mon Feb 26 23:24:21 2018 rev:5 rq:578992 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes        
2017-11-16 14:02:10.903087314 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2018-02-26 23:24:24.131951966 +0100
@@ -1,0 +2,14 @@
+Thu Feb 22 11:34:51 UTC 2018 - [email protected]
+
+- update to upstream version 1.2.0:
+  - Limit maximum number of active sessions per connection with 
'--max-sessions'.
+  - Flush all transient objects and sessions on daemon start with 
'--flush-all'.
+  - Allow passing of sessions across connections with ContextSave / Load.
+  - Unref the GUnixFDList returned by GIO / dbus in the TCTI init function.
+    This fixes a memory leak in the TCTI library.
+- correctly trigger udev to update /dev/tpm* permissions after package
+  installation. (bnc#1078687)
+- prepared support_dbus_activation.diff patch which adds D-Bus activation, but
+  can't use it yet due to rpmlint
+
+-------------------------------------------------------------------

Old:
----
  fix_service_paths.diff
  tpm2-abrmd-1.1.1.tar.gz

New:
----
  support_dbus_activation.diff
  tpm2-abrmd-1.2.0.tar.gz

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

Other differences:
------------------
++++++ tpm2.0-abrmd.spec ++++++
--- /var/tmp/diff_new_pack.7Tlrby/_old  2018-02-26 23:24:25.259911401 +0100
+++ /var/tmp/diff_new_pack.7Tlrby/_new  2018-02-26 23:24:25.259911401 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2.0-abrmd
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           tpm2.0-abrmd
-Version:        1.1.1
+Version:        1.2.0
 Release:        0
 Summary:        Intel's TCG Software Stack Access Broker & Resource Manager 
for TPM 2.0 chips
 License:        BSD-2-Clause
 Group:          Productivity/Security
 Url:            https://github.com/01org/tpm2-abrmd
-Source0:        
https://github.com/01org/tpm2-abrmd/releases/download/1.1.1/tpm2-abrmd-%{version}.tar.gz
+Source0:        
https://github.com/01org/tpm2-abrmd/releases/download/1.2.0/tpm2-abrmd-%{version}.tar.gz
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -35,7 +35,7 @@
 BuildRequires:  pkgconfig(sapi)
 Requires(pre):  pwdutils
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Patch0:         fix_service_paths.diff
+Patch1:         support_dbus_activation.diff
 
 %description
 The tpm2.0-abrmd package provides the TPM2 Access Broker & Resource Manager.
@@ -66,11 +66,14 @@
 
 %prep
 %setup -q -n tpm2-abrmd-%{version}
-%patch0 -p1
+# can't apply that at the moment, because a whitelisting in rpmlint is missing
+# for the given service name
+#%patch1 -p1
 
 %build
 export CFLAGS="%optflags -fPIE"
 export LDFLAGS="-pie -fPIE"
+autoreconf
 %configure --disable-static --with-udevrulesdir=%{_udevrulesdir} 
--with-systemdsystemunitdir=%{_unitdir}
 make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
 
@@ -113,6 +116,7 @@
 
 %post
 %service_add_post tpm2-abrmd.service
+%_bindir/udevadm trigger -s tpm || :
 
 %postun
 %service_del_postun tpm2-abrmd.service
@@ -130,6 +134,8 @@
 %{_sbindir}/rctpm2-abrmd
 %{_unitdir}/tpm2-abrmd.service
 %config %{_sysconfdir}/dbus-1/system.d/tpm2-abrmd.conf
+# see patch1
+#%{_datadir}/dbus-1/system-services/com.intel.tss2.Tabrmd.service
 
 %files devel
 %defattr(-,root,root)

++++++ support_dbus_activation.diff ++++++
Index: tpm2-abrmd-1.2.0/Makefile.am
===================================================================
--- tpm2-abrmd-1.2.0.orig/Makefile.am
+++ tpm2-abrmd-1.2.0/Makefile.am
@@ -125,6 +125,7 @@ EXTRA_DIST = \
     dist/tpm2-abrmd.preset \
     dist/tpm2-abrmd.service.in \
     dist/tpm-udev.rules \
+    dist/com.intel.tss2.Tabrmd.service \
     scripts/int-log-compiler.sh \
     CHANGELOG.md \
     CONTRIBUTING.md \
@@ -152,6 +153,8 @@ dbuspolicy_DATA  = dist/tpm2-abrmd.conf
 udevrules_DATA   = dist/tpm-udev.rules
 if HAVE_SYSTEMD
 systemdsystemunit_DATA = dist/tpm2-abrmd.service
+dbusservicedir = $(datadir)/dbus-1/system-services
+dbusservice_DATA = dist/com.intel.tss2.Tabrmd.service
 endif # HAVE_SYSTEMD
 systemdpreset_DATA = dist/tpm2-abrmd.preset
 
Index: tpm2-abrmd-1.2.0/dist/com.intel.tss2.Tabrmd.service
===================================================================
--- /dev/null
+++ tpm2-abrmd-1.2.0/dist/com.intel.tss2.Tabrmd.service
@@ -0,0 +1,4 @@
+[D-BUS Service]
+Name=com.intel.tss2.Tabrmd
+Exec=/bin/false
+SystemdService=tpm2-abrmd.service
++++++ tpm2-abrmd-1.1.1.tar.gz -> tpm2-abrmd-1.2.0.tar.gz ++++++
++++ 32813 lines of diff (skipped)


Reply via email to