commit tpm2.0-abrmd for openSUSE:Factory

2020-10-28 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2020-10-28 11:25:47

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.3463 (New)


Package is "tpm2.0-abrmd"

Wed Oct 28 11:25:47 2020 rev:17 rq:843600 version:2.3.3

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2019-12-18 14:48:15.201936832 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.3463/tpm2.0-abrmd.changes  
2020-10-28 11:26:12.178898816 +0100
@@ -1,0 +2,20 @@
+Thu Oct 22 12:15:24 UTC 2020 - Matthias Gerstner 
+
+- update to version 2.3.3:
+  - changes in version 2.3.1:
+- Fixed handle resource leak exhausting TPM resources.
+  - changes in version 2.3.2:
+- Added cirrus CI specific config files to enable FreeBSD builds.
+- Changed test scripts to be more portable.
+- Changed include header paths specific to FreeBSD.
+  - changes in version 2.3.1:
+- Provide meaningful exit codes on initialization failures.
+- Prevent systemd from starting the daemon before udev changes ownership
+  of the TPM device node.
+- Prevent systemd from starting the daemon if there is no TPM device node.
+- Prevent systemd from restarting the daemon if it fails.
+- Add SELinux policy to allow daemon to resolve names.
+- Add SELinux policy boolean (disabled by default) to allow daemon to
+  connect to all unreserved ports.
+
+---

Old:

  tpm2-abrmd-2.3.0.tar.gz

New:

  tpm2-abrmd-2.3.3.tar.gz



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.zQAGmv/_old  2020-10-28 11:26:12.670899343 +0100
+++ /var/tmp/diff_new_pack.zQAGmv/_new  2020-10-28 11:26:12.674899348 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2.0-abrmd
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Name:   tpm2.0-abrmd
-Version:2.3.0
+Version:2.3.3
 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/tpm2-software/tpm2-abrmd
+URL:https://github.com/tpm2-software/tpm2-abrmd
 Source0:
https://github.com/tpm2-software/tpm2-abrmd/releases/download/%{version}/tpm2-abrmd-%{version}.tar.gz
 Source1:tpm2.0-abrmd.rpmlintrc
 BuildRequires:  autoconf-archive

++ _service ++
--- /var/tmp/diff_new_pack.zQAGmv/_old  2020-10-28 11:26:12.706899382 +0100
+++ /var/tmp/diff_new_pack.zQAGmv/_new  2020-10-28 11:26:12.706899382 +0100
@@ -2,7 +2,7 @@
   
 https://github.com/intel/tpm2-abrmd.git
 git
-2.3.0
+2.3.3
 @PARENT_TAG@
 disable
   

++ tpm2-abrmd-2.3.0.tar.gz -> tpm2-abrmd-2.3.3.tar.gz ++
 11666 lines of diff (skipped)




commit tpm2.0-abrmd for openSUSE:Factory

2019-12-18 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2019-12-18 14:44:46

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.4691 (New)


Package is "tpm2.0-abrmd"

Wed Dec 18 14:44:46 2019 rev:16 rq:755854 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2019-08-27 10:23:39.811930466 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.4691/tpm2.0-abrmd.changes  
2019-12-18 14:48:15.201936832 +0100
@@ -1,0 +2,27 @@
+Wed Dec 11 11:55:13 UTC 2019 - matthias.gerst...@suse.com
+
+- update to version 2.3.0:
+  - changes in version 2.3.0:
+- Add '--enable-debug' flag to configure script to simplify debug builds.
+  This relies on the AX_CHECK_ENABLE_DEBUG autoconf archive macro.
+- Replaced custom dynamic TCTI loading code with libtss2-tctildr from
+  upstream tpm2-tss repo. (requires tpm2-0-tss version 2.3.0)
+- Explicitly set '-O2' optimization when using FORTIFY_SOURCE as required.
+  - changes in version 2.2.0:
+- New configuration option `--disable-defaultflags/ added. This is
+  for use for packaging for targets that do not support the default
+  compilation / linking flags.
+- Use private dependencies properly in pkg-config metadata for TCTI.
+- Refactor daemon main module to enable better handling of error
+  conditions and enable more thorough unit testing.
+- Updated dependencies to ensure compatibility with pkg-config fixes
+  in tpm2-tss.
+- Fixed bug causing TCTI to block when used by libtss2-sys built with
+  partial reads enabled.
+- Removed unnecessary libs / flags for pthreads in the TCTI pkg-config.
+- Output from configure script now accurately describes the state of the
+  flags that govern the integration tests.
+- drop fix_dlopen.patch: no longer necessary since abrmd not uses the tctildr
+  shared library. This one hopefully now does the right thing.
+
+---

Old:

  fix_dlopen.patch
  tpm2-abrmd-2.1.1.tar.gz

New:

  tpm2-abrmd-2.3.0.tar.gz



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.vUW0CE/_old  2019-12-18 14:48:15.605937017 +0100
+++ /var/tmp/diff_new_pack.vUW0CE/_new  2019-12-18 14:48:15.609937019 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   tpm2.0-abrmd
-Version:2.1.1
+Version:2.3.0
 Release:0
 Summary:Intel's TCG Software Stack Access Broker & Resource Manager 
for TPM 2.0 chips
 License:BSD-2-Clause
@@ -39,7 +39,6 @@
 Recommends: libtss2-tcti-tabrmd0
 Requires:   tpm2-0-tss
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Patch0: fix_dlopen.patch
 # the auto activation is not whitelisted for <= SLE12-SP3
 %if 0%{?sle_version} > 120300 || 0%{?is_opensuse}
 %define install_dbus_files 1
@@ -74,7 +73,6 @@
 
 %prep
 %setup -q -n tpm2-abrmd-%{version}
-%patch0 -p1
 
 %build
 export CFLAGS="%optflags -fPIE"

++ _service ++
--- /var/tmp/diff_new_pack.vUW0CE/_old  2019-12-18 14:48:15.641937033 +0100
+++ /var/tmp/diff_new_pack.vUW0CE/_new  2019-12-18 14:48:15.641937033 +0100
@@ -2,7 +2,7 @@
   
 https://github.com/intel/tpm2-abrmd.git
 git
-2.1.1
+2.3.0
 @PARENT_TAG@
 disable
   

++ tpm2-abrmd-2.1.1.tar.gz -> tpm2-abrmd-2.3.0.tar.gz ++
 18420 lines of diff (skipped)




commit tpm2.0-abrmd for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2019-08-27 10:23:15

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.7948 (New)


Package is "tpm2.0-abrmd"

Tue Aug 27 10:23:15 2019 rev:15 rq:726060 version:2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2019-04-26 22:55:02.493292269 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.7948/tpm2.0-abrmd.changes  
2019-08-27 10:23:39.811930466 +0200
@@ -1,0 +2,10 @@
+Mon Aug 26 06:49:37 UTC 2019 - mgerstner 
+
+- update to version 2.1.1:
+  - changes in version 2.1.1:
+- Unit tests accessing dbus have been fixed to use mock functions. Unit
+tests no longer depend on dbus.
+- Race condition between client connections and dbus proxy object
+creation by registering bus name after instantiation of the proxy object.
+
+---

Old:

  tpm2-abrmd-2.1.0.tar.gz

New:

  tpm2-abrmd-2.1.1.tar.gz



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.1Tg17v/_old  2019-08-27 10:23:40.663930409 +0200
+++ /var/tmp/diff_new_pack.1Tg17v/_new  2019-08-27 10:23:40.663930409 +0200
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   tpm2.0-abrmd
-Version:2.1.0
+Version:2.1.1
 Release:0
 Summary:Intel's TCG Software Stack Access Broker & Resource Manager 
for TPM 2.0 chips
 License:BSD-2-Clause

++ _service ++
--- /var/tmp/diff_new_pack.1Tg17v/_old  2019-08-27 10:23:40.691930408 +0200
+++ /var/tmp/diff_new_pack.1Tg17v/_new  2019-08-27 10:23:40.691930408 +0200
@@ -2,7 +2,7 @@
   
 https://github.com/intel/tpm2-abrmd.git
 git
-2.1.0
+2.1.1
 @PARENT_TAG@
 disable
   

++ tpm2-abrmd-2.1.0.tar.gz -> tpm2-abrmd-2.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-abrmd-2.1.0/AUTHORS new/tpm2-abrmd-2.1.1/AUTHORS
--- old/tpm2-abrmd-2.1.0/AUTHORS2019-02-06 23:00:59.0 +0100
+++ new/tpm2-abrmd-2.1.1/AUTHORS2019-03-08 21:08:37.0 +0100
@@ -16,6 +16,7 @@
 Safayet Ahmed 
 Lukas Vrabec 
 Jia Zhang 
+Jan Luebbe 
 Thomas Furtner 
 Lu Gong 
 Imran Desai 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-abrmd-2.1.0/CHANGELOG.md 
new/tpm2-abrmd-2.1.1/CHANGELOG.md
--- old/tpm2-abrmd-2.1.0/CHANGELOG.md   2019-02-06 21:52:48.0 +0100
+++ new/tpm2-abrmd-2.1.1/CHANGELOG.md   2019-03-08 21:08:06.0 +0100
@@ -3,6 +3,18 @@
 
 The format is based on [Keep a CHANGELOG](http://keepachangelog.com/)
 
+## 2.1.1 - 2019-03-08
+### Fixed
+- Unit tests accessing dbus have been fixed to use mock functions. Unit
+tests no longer depend on dbus.
+- Race condition between client connections and dbus proxy object
+creation by registering bus name after instantiation of the proxy object.
+
+## 1.3.3 - 2019-03-08
+### Fixed
+- Race condition between client connections and dbus proxy object
+creation by registering bus name after instantiation of the proxy object.
+
 ## 2.1.0 - 2019-02-06
 ### Added
 - `-Wstrict-overflow=5` now used in default CFLAGS.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-abrmd-2.1.0/Makefile.am 
new/tpm2-abrmd-2.1.1/Makefile.am
--- old/tpm2-abrmd-2.1.0/Makefile.am2019-01-28 22:50:26.0 +0100
+++ new/tpm2-abrmd-2.1.1/Makefile.am2019-03-08 21:08:06.0 +0100
@@ -445,7 +445,7 @@
 test_tcti_util_unit_SOURCES  = test/tcti-util_unit.c
 
 test_tss2_tcti_tabrmd_unit_CFLAGS  = $(UNIT_AM_CFLAGS)
-test_tss2_tcti_tabrmd_unit_LDFLAGS = 
-Wl,--wrap=g_dbus_proxy_call_with_unix_fd_list_sync,--wrap=tcti_tabrmd_call_cancel_sync,--wrap=tcti_tabrmd_call_set_locality_sync,--wrap=read_data,--wrap=poll
+test_tss2_tcti_tabrmd_unit_LDFLAGS = 
-Wl,--wrap=g_dbus_proxy_call_with_unix_fd_list_sync,--wrap=tcti_tabrmd_call_cancel_sync,--wrap=tcti_tabrmd_call_set_locality_sync,--wrap=read_data,--wrap=poll,--wrap=tcti_tabrmd_proxy_new_for_bus_sync
 test_tss2_tcti_tabrmd_unit_LDADD   = $(CMOCKA_LIBS) $(GIO_LIBS) $(libutil)
 test_tss2_tcti_tabrmd_unit_SOURCES = src/tcti-tabrmd.c 
test/tss2-tcti-tabrmd_unit.c
 endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-abrmd-2.1.0/Makefile.in 
new/tpm2-abrmd-2.1.1/Makefile.in

commit tpm2.0-abrmd for openSUSE:Factory

2019-04-26 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2019-04-26 22:55:02

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.5536 (New)


Package is "tpm2.0-abrmd"

Fri Apr 26 22:55:02 2019 rev:14 rq:698147 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2019-03-06 15:52:07.280427169 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.5536/tpm2.0-abrmd.changes  
2019-04-26 22:55:02.493292269 +0200
@@ -1,0 +2,5 @@
+Fri Apr 26 10:35:51 UTC 2019 - mvet...@suse.com
+
+- bsc#1130588: Require shadow instead of old pwdutils
+
+---



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.IihhNl/_old  2019-04-26 22:55:03.021291929 +0200
+++ /var/tmp/diff_new_pack.IihhNl/_new  2019-04-26 22:55:03.021291929 +0200
@@ -34,7 +34,7 @@
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(gio-unix-2.0)
 BuildRequires:  pkgconfig(tss2-sys)
-Requires(pre):  pwdutils
+Requires(pre):  shadow
 Recommends: libtss2-tcti-device0
 Recommends: libtss2-tcti-tabrmd0
 Requires:   tpm2-0-tss




commit tpm2.0-abrmd for openSUSE:Factory

2019-03-06 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2019-03-06 15:51:47

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.28833 (New)


Package is "tpm2.0-abrmd"

Wed Mar  6 15:51:47 2019 rev:13 rq:682103 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2019-01-21 10:53:12.479811689 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.28833/tpm2.0-abrmd.changes 
2019-03-06 15:52:07.280427169 +0100
@@ -1,0 +2,27 @@
+Wed Mar  6 10:36:46 UTC 2019 - matthias.gerst...@suse.com
+
+- update to version 2.1.0:
+  - changes in version 2.1.0:
+- `-Wstrict-overflow=5` now used in default CFLAGS.
+- Handling of `TPM2_RC_CONTEXT_GAP` on behalf of users.
+- Convert `TPM2_PT_CONTEXT_GAP_MAX` response from lower layer to
+  `UINT32_MAX`
+- travis-ci now uses 'xenial' builder
+- Significant refactoring of TCTI handling code.
+- `--install` added to ACLOCAL_AMFLAGS to install aclocal required macros
+  instead of using the default symlinks
+- Launch `dbus-run-session` in the automake test environment to
+  automagically set up a dbus session bus instance when one isn't present.
+- Bug caused by unloading of `libtss2-tcti-tabrmd.so` on dlclose. GLib
+does not support reloading a second time.
+- Bug causing `-fstack-protector-all` to be used on systems with core
+  libraries (i.e. libc) that do not support it. This caused failures at
+  link-time.
+- Unnecessary symbols from libtest utility library no longer included in
+  TCTI library.
+  - changes  in version 2.0.3:
+- Update build to account for upstream change to glib '.pc' files
+  described in: https://gitlab.gnome.org/GNOME/glib/issues/1521
+- added _service file for syncing with upstream tags
+
+---

Old:

  tpm2-abrmd-2.0.2.tar.gz

New:

  _service
  tpm2-abrmd-2.1.0.tar.gz



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.LvvDLF/_old  2019-03-06 15:52:08.688426885 +0100
+++ /var/tmp/diff_new_pack.LvvDLF/_new  2019-03-06 15:52:08.688426885 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   tpm2.0-abrmd
-Version:2.0.2
+Version:2.1.0
 Release:0
 Summary:Intel's TCG Software Stack Access Broker & Resource Manager 
for TPM 2.0 chips
 License:BSD-2-Clause

++ _service ++

  
https://github.com/intel/tpm2-abrmd.git
git
2.1.0
@PARENT_TAG@
disable
  
  

++ tpm2-abrmd-2.0.2.tar.gz -> tpm2-abrmd-2.1.0.tar.gz ++
 16655 lines of diff (skipped)




commit tpm2.0-abrmd for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2019-01-21 10:52:59

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.28833 (New)


Package is "tpm2.0-abrmd"

Mon Jan 21 10:52:59 2019 rev:12 rq:665953 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2018-10-26 11:10:18.445716234 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new.28833/tpm2.0-abrmd.changes 
2019-01-21 10:53:12.479811689 +0100
@@ -17 +17 @@
-- update to version 2.0.2:
+- update to version 2.0.2 (FATE#326270):



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.yscX4c/_old  2019-01-21 10:53:19.163803608 +0100
+++ /var/tmp/diff_new_pack.yscX4c/_new  2019-01-21 10:53:19.163803608 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2.0-abrmd
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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




commit tpm2.0-abrmd for openSUSE:Factory

2018-10-26 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2018-10-26 11:10:05

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)


Package is "tpm2.0-abrmd"

Fri Oct 26 11:10:05 2018 rev:11 rq:644573 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2018-10-23 20:42:46.692373148 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2018-10-26 11:10:18.445716234 +0200
@@ -1,0 +2,7 @@
+Thu Oct 25 09:00:40 UTC 2018 - matthias.gerst...@suse.com
+
+- add a Requires towards tpm2-0-tss, because that main package holds the udev
+  rules and logic for setting up the tss user. Without this the daemon can't
+  start up correctly.
+
+---



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.Ki5IPS/_old  2018-10-26 11:10:19.125715322 +0200
+++ /var/tmp/diff_new_pack.Ki5IPS/_new  2018-10-26 11:10:19.125715322 +0200
@@ -37,6 +37,7 @@
 Requires(pre):  pwdutils
 Recommends: libtss2-tcti-device0
 Recommends: libtss2-tcti-tabrmd0
+Requires:   tpm2-0-tss
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Patch0: fix_dlopen.patch
 # the auto activation is not whitelisted for <= SLE12-SP3




commit tpm2.0-abrmd for openSUSE:Factory

2018-10-23 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2018-10-23 20:42:25

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)


Package is "tpm2.0-abrmd"

Tue Oct 23 20:42:25 2018 rev:10 rq:643993 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2018-09-28 08:53:23.717729534 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2018-10-23 20:42:46.692373148 +0200
@@ -1,0 +2,6 @@
+Tue Oct 23 15:46:28 UTC 2018 - matthias.gerst...@suse.com
+
+- fix broken build due to newer glib dependency that reports a full path for
+  gdbus-codegen, breaking the configure check.
+
+---



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.JLno4P/_old  2018-10-23 20:42:47.212372527 +0200
+++ /var/tmp/diff_new_pack.JLno4P/_new  2018-10-23 20:42:47.216372522 +0200
@@ -78,6 +78,9 @@
 %build
 export CFLAGS="%optflags -fPIE"
 export LDFLAGS="-pie -fPIE"
+# workaround for the bug that upstream commit
+# b4036908dd067f8eadc9d53b1a2a39032aed109d fixes
+export GDBUS_CODEGEN="/usr/bin/gdbus-codegen"
 %configure --disable-static --with-systemdsystemunitdir=%{_unitdir}
 make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
 




commit tpm2.0-abrmd for openSUSE:Factory

2018-09-27 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2018-09-28 08:53:20

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)


Package is "tpm2.0-abrmd"

Fri Sep 28 08:53:20 2018 rev:9 rq:638481 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2018-09-19 14:32:45.687327953 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2018-09-28 08:53:23.717729534 +0200
@@ -1,0 +2,9 @@
+Wed Sep 26 15:51:01 UTC 2018 - matthias.gerst...@suse.com
+
+- update to version 2.0.2:
+  - --enable-integration option to configure script now works as documented.
+  - Format specifier with wrong size in util module.
+  - Initialize TCTI context to 0 before setting values. This will cause all
+members that aren't explicitly initialized by be 0.
+
+---

Old:

  tpm2-abrmd-2.0.1.tar.gz

New:

  tpm2-abrmd-2.0.2.tar.gz



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.0eYhDR/_old  2018-09-28 08:53:24.213728817 +0200
+++ /var/tmp/diff_new_pack.0eYhDR/_new  2018-09-28 08:53:24.217728811 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   tpm2.0-abrmd
-Version:2.0.1
+Version:2.0.2
 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/tpm2-software/tpm2-abrmd
-Source0:
https://github.com/tpm2-software/tpm2-abrmd/releases/download/2.0.1/tpm2-abrmd-%{version}.tar.gz
+Source0:
https://github.com/tpm2-software/tpm2-abrmd/releases/download/%{version}/tpm2-abrmd-%{version}.tar.gz
 Source1:tpm2.0-abrmd.rpmlintrc
 BuildRequires:  autoconf-archive
 BuildRequires:  automake

++ tpm2-abrmd-2.0.1.tar.gz -> tpm2-abrmd-2.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-abrmd-2.0.1/AUTHORS new/tpm2-abrmd-2.0.2/AUTHORS
--- old/tpm2-abrmd-2.0.1/AUTHORS2018-07-26 01:54:07.0 +0200
+++ new/tpm2-abrmd-2.0.2/AUTHORS2018-09-11 05:55:11.0 +0200
@@ -1,8 +1,8 @@
 Philip Tricca 
 Philip Tricca 
+Matthias Gerstner 
 Javier Martinez Canillas 
 dantpm 
-Matthias Gerstner 
 Philip Tricca 
 William Roberts 
 Alex Lam 
@@ -10,11 +10,12 @@
 Jia Zhang 
 danintel 
 Peter Huewe 
+Safayet Ahmed 
 Lukas Vrabec 
 Jia Zhang 
 Thomas Furtner 
-Safayet Ahmed 
 Lu Gong 
 Joshua Lock 
+Imran Desai 
 dguerri 
 Davide Guerri 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-abrmd-2.0.1/CHANGELOG.md 
new/tpm2-abrmd-2.0.2/CHANGELOG.md
--- old/tpm2-abrmd-2.0.1/CHANGELOG.md   2018-07-26 01:52:15.0 +0200
+++ new/tpm2-abrmd-2.0.2/CHANGELOG.md   2018-09-11 05:50:55.0 +0200
@@ -3,6 +3,17 @@
 
 The format is based on [Keep a CHANGELOG](http://keepachangelog.com/)
 
+## 2.0.2 - 2018-09-10
+### Fixed
+- Merge fixes from 1.3.2
+- --enable-integration option to configure script now works as documented.
+
+## 1.3.2 - 2018-09-10
+### Fixed
+- Format specifier with wrong size in util module.
+- Initialize TCTI context to 0 before setting values. This will cause all
+  members that aren't explicitly initialized by be 0.
+
 ## 2.0.1 - 2018-07-25
 ### Fixed
 - Default shared object name for dynamic TCTI loading now includes major
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-abrmd-2.0.1/Makefile.am 
new/tpm2-abrmd-2.0.2/Makefile.am
--- old/tpm2-abrmd-2.0.1/Makefile.am2018-07-11 03:53:41.0 +0200
+++ new/tpm2-abrmd-2.0.2/Makefile.am2018-09-11 05:50:28.0 +0200
@@ -66,7 +66,9 @@
 
 TESTS_INTEGRATION_NOHW = test/integration/tcti-connect-multiple.int
 
-TESTS = $(TESTS_INTEGRATION)
+# empty init for these since they're manipulated by conditionals
+TESTS =
+noinst_LTLIBRARIES =
 XFAIL_TESTS = \
 test/integration/start-auth-session.int
 TEST_EXTENSIONS = .int
@@ -76,14 +78,16 @@
 INT_LOG_COMPILER = $(srcdir)/scripts/int-test-setup.sh
 INT_LOG_FLAGS = --tabrmd-tcti=$(TABRMD_TCTI)
 
+if ENABLE_INTEGRATION
+noinst_LTLIBRARIES += $(libtest)
+TESTS += $(TESTS_INTEGRATION)
 if HWTPM
 TABRMD_TCTI = device
-endif
-
-if ENABLE_INTEGRATION
+else
 TABRMD_TCTI = mssim
 TESTS += $(TESTS_INTEGRATION_NOHW)
 endif
+endif
 
 if UNIT
 TESTS += $(TESTS_UNIT)
@@ -99,9 +103,8 @@
 libutil= src/libutil.la
 
 lib_LTLIBRARIES = $(libtss2_tcti_tabrmd)
-noinst_LTLIBRARIES = \
+noinst_LTLIBRARIES += \
 $(libtss2_tcti_echo) \
-$(libtest) \
  

commit tpm2.0-abrmd for openSUSE:Factory

2018-09-19 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2018-09-19 14:30:37

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)


Package is "tpm2.0-abrmd"

Wed Sep 19 14:30:37 2018 rev:8 rq:636379 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2018-08-12 20:53:52.401284600 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2018-09-19 14:32:45.687327953 +0200
@@ -1,0 +2,6 @@
+Tue Sep 18 09:05:24 UTC 2018 - matthias.gerst...@suse.com
+
+- add recommends to the tcti-device and tcti-abrmd. Otherwise they're not
+  installed right away, rendering the abrmd quite unusable.
+
+---



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.Fb0GEB/_old  2018-09-19 14:32:47.063327021 +0200
+++ /var/tmp/diff_new_pack.Fb0GEB/_new  2018-09-19 14:32:47.067327019 +0200
@@ -35,6 +35,8 @@
 BuildRequires:  pkgconfig(gio-unix-2.0)
 BuildRequires:  pkgconfig(tss2-sys)
 Requires(pre):  pwdutils
+Recommends: libtss2-tcti-device0
+Recommends: libtss2-tcti-tabrmd0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Patch0: fix_dlopen.patch
 # the auto activation is not whitelisted for <= SLE12-SP3




commit tpm2.0-abrmd for openSUSE:Factory

2018-08-12 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2018-08-12 20:53:45

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)


Package is "tpm2.0-abrmd"

Sun Aug 12 20:53:45 2018 rev:7 rq:628591 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2018-07-06 10:41:25.559295406 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2018-08-12 20:53:52.401284600 +0200
@@ -1,0 +2,15 @@
+Fri Aug 10 10:02:21 UTC 2018 - matthias.gerst...@suse.com
+
+- Update to version 2.0.1:
+  * SessionList: Fix Connection object reference leak.
+  * source/sink: Organize ControlMessage processing.
+  * CommandSource: Replace 'connection-removed' signal with ControlMessage.
+  * SessionList: Remove all locking.
+  * ConnectionManager: Remove 'connection-removed' signal.
+  * ci: Build 'check' target when CC is gcc.
+  * build: Fix bad URLs in configure script.
+  * CHANGELOG.md: Add version number and date for 2.0.1 release.
+  * Replace references to drand48_r family of functions for portability
+  * Fix for type-punned pointer reported in newer compilers that enforce 
strict aliasing
+
+---

Old:

  tpm2-abrmd-2.0.0.tar.gz

New:

  tpm2-abrmd-2.0.1.tar.gz
  tpm2.0-abrmd.rpmlintrc



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.cz6UEs/_old  2018-08-12 20:53:52.893285598 +0200
+++ /var/tmp/diff_new_pack.cz6UEs/_new  2018-08-12 20:53:52.909285630 +0200
@@ -17,13 +17,14 @@
 
 
 Name:   tpm2.0-abrmd
-Version:2.0.0
+Version:2.0.1
 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/tpm2-software/tpm2-abrmd
-Source0:
https://github.com/tpm2-software/tpm2-abrmd/releases/download/2.0.0/tpm2-abrmd-%{version}.tar.gz
+Source0:
https://github.com/tpm2-software/tpm2-abrmd/releases/download/2.0.1/tpm2-abrmd-%{version}.tar.gz
+Source1:tpm2.0-abrmd.rpmlintrc
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  gcc-c++

++ tpm2-abrmd-2.0.0.tar.gz -> tpm2-abrmd-2.0.1.tar.gz ++
 2989 lines of diff (skipped)

++ tpm2.0-abrmd.rpmlintrc ++
addFilter("shared-lib-calls-exit */usr/lib64/libtss2-tcti-tabrmd.so*")



commit tpm2.0-abrmd for openSUSE:Factory

2018-07-06 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2018-07-06 10:41:17

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)


Package is "tpm2.0-abrmd"

Fri Jul  6 10:41:17 2018 rev:6 rq:620450 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2018-02-26 23:24:24.131951966 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2018-07-06 10:41:25.559295406 +0200
@@ -1,0 +2,64 @@
+Tue Jul  3 09:15:27 UTC 2018 - matthias.gerst...@suse.com
+
+- Trying to fix build on older distros that fail because of a missing or
+  broken autoconf valgrind detection macro. Removing  autoreconf to hopefully
+  fix this.
+
+---
+Mon Jul  2 09:27:43 UTC 2018 - matthias.gerst...@suse.com
+
+- add fix_dlopen.patch: fixes an issue with dlopen()'ing the tcti-device
+  library from tpm2-0-tss. See
+  https://github.com/tpm2-software/tpm2-abrmd/issues/486.
+
+---
+Fri Jun 29 11:43:08 UTC 2018 - matthias.gerst...@suse.com
+
+- update to major version 2.0.0:
+  - support_dbus_activation.diff: removed, is not contained upstream
+  - the tpm2 stack introduces an incompatible ABI to the previous version with
+this update. There is no compatibility layer, libraries have new names
+etc.
+  - upstream changelog:
+## 2.0.0 - 2018-06-22
+### Added
+- Integration test script and build support to execute integration tests
+against a physical TPM2 device on the build platform.
+- Implementation of dynamic TCTI initialization mechanism.
+- configure option `--enable-integration` to enable integration tests.
+The simulator executable must be on PATH.
+- Support for version 2.0 of tpm2-tss libraries.
+### Changed
+- 'max-transient-objects' command line option renamted to 'max-transients'.
+- Added -Wextra for more strict checks at compile time.
+- Install location of headers to $(includedir)/tss2.
+### Fixed
+- Added missing checks for NULL parameters identified by the check-build.
+- Bug in session continuation logic.
+- Off by one error in HandleMap.
+- Memory leak and uninitialized variable issues in unit tests.
+### Removed
+- Command line option --fail-on-loaded-trans.
+- udev rules for TPM device node. This now lives in the tpm2-tss repo.
+- Remove legacy TCTI initialization functions.
+- configure option `--with-simulatorbin`.
+
+## 1.3.1 - 2018-03-18
+### Fixed
+- Distribute systemd preset template instead of the generated file.
+
+## 1.3.0 - 2018-03-02
+### Added
+- New configure option (--test-hwtpm) to run integration tests against a
+physical TPM2 device on the build platform.
+- Install systemd service file to allow on-demand systemd unit activation.
+### Changed
+- Converted some inappropriate uses of g_error to critical / warning 
instead.
+- Removed use of gen_require from SELinux policy, use dbus_stub instead.
+- udev rules now give tss group read / write access to the TPM device node.
+- udev rules now give tss user and group read / write access to kernel RM
+node.
+### Fixed
+- Memory leak on an error path in the AccessBroker.
+
+---

Old:

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

New:

  fix_dlopen.patch
  tpm2-abrmd-2.0.0.tar.gz



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.Wp2JVY/_old  2018-07-06 10:41:26.403294402 +0200
+++ /var/tmp/diff_new_pack.Wp2JVY/_new  2018-07-06 10:41:26.403294402 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   tpm2.0-abrmd
-Version:1.2.0
+Version:2.0.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.2.0/tpm2-abrmd-%{version}.tar.gz
+Url:https://github.com/tpm2-software/tpm2-abrmd
+Source0:
https://github.com/tpm2-software/tpm2-abrmd/releases/download/2.0.0/tpm2-abrmd-%{version}.tar.gz
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -32,10 +32,14 @@
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(gio-unix-2.0)
-BuildRequires:  pkgconfig(sapi)
+BuildRequires:  pkgconfig(tss2-sys)
 Re

commit tpm2.0-abrmd for openSUSE:Factory

2018-02-26 Thread root
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 - matthias.gerst...@suse.com
+
+- 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
+++ tp

commit tpm2.0-abrmd for openSUSE:Factory

2017-11-16 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2017-11-16 14:02:09

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)


Package is "tpm2.0-abrmd"

Thu Nov 16 14:02:09 2017 rev:4 rq:542015 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2017-09-04 12:34:55.975236270 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2017-11-16 14:02:10.903087314 +0100
@@ -1,0 +2,8 @@
+Wed Nov 15 11:43:19 UTC 2017 - matthias.gerst...@suse.com
+
+- fix_service_paths.diff: fixed broken systemd service unit (bnc#1066123). the
+  service unit file in the upstream distribution tarball is already configured
+  and looks for binaries and configuration files in the /usr/local prefix
+  which is wrong.
+
+---

New:

  fix_service_paths.diff



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.ddSzyG/_old  2017-11-16 14:02:11.559063542 +0100
+++ /var/tmp/diff_new_pack.ddSzyG/_new  2017-11-16 14:02:11.559063542 +0100
@@ -35,6 +35,7 @@
 BuildRequires:  pkgconfig(sapi)
 Requires(pre):  pwdutils
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Patch0: fix_service_paths.diff
 
 %description
 The tpm2.0-abrmd package provides the TPM2 Access Broker & Resource Manager.
@@ -65,7 +66,7 @@
 
 %prep
 %setup -q -n tpm2-abrmd-%{version}
-# %%patch0 -p1
+%patch0 -p1
 
 %build
 export CFLAGS="%optflags -fPIE"

++ fix_service_paths.diff ++
Index: tpm2-abrmd-1.1.1/dist/tpm2-abrmd.service
===
--- tpm2-abrmd-1.1.1.orig/dist/tpm2-abrmd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-# copy this file into /etc/systemd/system
-[Unit]
-Description=TPM2 Access Broker and Resource Management Daemon
-
-[Service]
-Type=dbus
-Restart=always
-RestartSec=5
-EnvironmentFile=-/usr/local/etc/default/tpm2-abrmd
-BusName=com.intel.tss2.Tabrmd
-StandardOutput=syslog
-ExecStart=/usr/local/sbin/tpm2-abrmd
-User=tss
-
-[Install]
-WantedBy=multi-user.target
Index: tpm2-abrmd-1.1.1/dist/tpm2-abrmd.service.in
===
--- /dev/null
+++ tpm2-abrmd-1.1.1/dist/tpm2-abrmd.service.in
@@ -0,0 +1,16 @@
+# copy this file into /etc/systemd/system
+[Unit]
+Description=TPM2 Access Broker and Resource Management Daemon
+
+[Service]
+Type=dbus
+Restart=always
+RestartSec=5
+EnvironmentFile=-@sysconfdir@/default/tpm2-abrmd
+BusName=com.intel.tss2.Tabrmd
+StandardOutput=syslog
+ExecStart=@SBINDIR@/tpm2-abrmd
+User=tss
+
+[Install]
+WantedBy=multi-user.target



commit tpm2.0-abrmd for openSUSE:Factory

2017-09-04 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2017-09-04 12:34:51

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 Sep  4 12:34:51 2017 rev:3 rq:520199 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2017-08-30 16:24:39.977141199 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2017-09-04 12:34:55.975236270 +0200
@@ -1,0 +2,6 @@
+Fri Sep  1 14:37:48 UTC 2017 - matthias.gerst...@suse.com
+
+- package version symlink correctly, belongs into the lib package itself, not
+  the -devel.
+
+---



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.GoaK4O/_old  2017-09-04 12:34:56.819117617 +0200
+++ /var/tmp/diff_new_pack.GoaK4O/_new  2017-09-04 12:34:56.827116492 +0200
@@ -134,12 +134,11 @@
 %defattr(-,root,root)
 %{_includedir}/tcti
 %{_libdir}/*.so
-%{_libdir}/*.so.0
 %{_libdir}/pkgconfig/*.pc
 %{_mandir}/man3/tss2_*
 
 %files -n libtcti-tabrmd0
 %defattr(-,root,root)
-%{_libdir}/libtcti-tabrmd.so.0.0.0
+%{_libdir}/libtcti-tabrmd.so.*
 
 %changelog




commit tpm2.0-abrmd for openSUSE:Factory

2017-08-30 Thread root
Hello community,

here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory 
checked in at 2017-08-30 16:24:39

Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
 and  /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)


Package is "tpm2.0-abrmd"

Wed Aug 30 16:24:39 2017 rev:2 rq:519625 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes
2017-08-24 18:45:51.240713354 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes   
2017-08-30 16:24:39.977141199 +0200
@@ -1,0 +2,20 @@
+Wed Aug 30 08:29:07 UTC 2017 - matthias.gerst...@suse.com
+
+- update to upstream version 1.1.1 which fixes some local denial-of-service
+  security issues among other things:
+
+  - Replace use of sigaction with g_unix_signal_* stuff from glib.
+  - Rewrite of INSTALL.md including info on custom configure script options.
+  - Default value for --with-simulatorbin configure option has been removed.
+  New default behavior is to disable integration tests.
+  - CommandSource will no longer reject commands without parameters.
+  - Unit tests updated to use cmocka v1.0.0 API.
+  - Integration tests now run daemon under valgrind memcheck and fail when
+  errors are found.
+  - CommandSource now tracks max FD in set of client FDs to prevent unnecessary
+  iterations over FD_SETSIZE fds.
+
+- no longer call bootstrap and switch to the release upstream tarball which
+  has now been fixed to contain all necessary files
+
+---

Old:

  1.1.0.tar.gz

New:

  tpm2-abrmd-1.1.1.tar.gz



Other differences:
--
++ tpm2.0-abrmd.spec ++
--- /var/tmp/diff_new_pack.ctNjsq/_old  2017-08-30 16:24:40.709038244 +0200
+++ /var/tmp/diff_new_pack.ctNjsq/_new  2017-08-30 16:24:40.713037681 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package tpm2-0-tss
+# spec file for package tpm2.0-abrmd
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
@@ -17,22 +17,22 @@
 
 
 Name:   tpm2.0-abrmd
-Version:1.1.0
+Version:1.1.1
 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/archive/%{version}.tar.gz
+Source0:
https://github.com/01org/tpm2-abrmd/releases/download/1.1.1/tpm2-abrmd-%{version}.tar.gz
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(gio-unix-2.0)
 BuildRequires:  pkgconfig(sapi)
-BuildRequires:  systemd-rpm-macros
 Requires(pre):  pwdutils
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -44,9 +44,9 @@
 %package devel
 Summary:Development headers the Access Broker & Resource Manager for 
TPM 2.0 chips
 Group:  Development/Libraries/C and C++
-Requires:   tpm2.0-abrmd = %{version}
 Requires:   glibc-devel
 Requires:  libtcti-tabrmd0 = %{version}
+Requires:   tpm2.0-abrmd = %{version}
 
 %description devel
 This package provides the development files for the Access Broker & Resource
@@ -68,12 +68,6 @@
 # %%patch0 -p1
 
 %build
-# TODO: we shouldn't bootstrap, but there is currently upstream issue #102
-# we are using the source tarball which doesn't ship generated configure
-# scripts, but it ships README and LICENSE files which are missing from the
-# distribution tarball. When we get an updated distribution tarball we should
-# remove the bootstrap and switch to the distribution tarball.
-bash bootstrap
 export CFLAGS="%optflags -fPIE"
 export LDFLAGS="-pie -fPIE"
 %configure --disable-static --with-udevrulesdir=%{_udevrulesdir} 
--with-systemdsystemunitdir=%{_unitdir}
@@ -88,6 +82,9 @@
 %define udev_rule_file 90-tpm.rules
 mv %{buildroot}%{_udevrulesdir}/tpm-udev.rules 
%{buildroot}%{_udevrulesdir}/%{udev_rule_file}
 ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rctpm2-abrmd
+# don't install the systemd preset, our presets are handled by
+# systemd-presets-* packages
+rm %{buildroot}/usr/lib*/systemd/system-preset/tpm2-abrmd.preset
 
 %pre
 # the same user is employed by trousers (and was employed by the old