commit tpm2-0-tss for openSUSE:Factory

2020-10-28 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2020-10-28 09:58:30

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


Package is "tpm2-0-tss"

Wed Oct 28 09:58:30 2020 rev:24 rq:844057 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2020-02-26 
15:02:08.792844028 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.3463/tpm2-0-tss.changes  
2020-10-28 09:58:47.723162099 +0100
@@ -1,0 +2,18 @@
+Thu Oct 22 11:38:52 UTC 2020 - Matthias Gerstner 
+
+- move the tcti-fapi tmpfiles.d config file into the libtss2-fapi1 sub-package.
+- improve the descriptions of new libraries (fapi1, cmd0, swtpm0)
+- adjust baselibs.conf to match new library versions and added libraries
+
+---
+Mon Oct 19 13:30:39 UTC 2020 - Guillaume GARDET 
+
+- Update to 3.0.1, changelog at:
+  https://github.com/tpm2-software/tpm2-tss/blob/3.0.x/CHANGELOG.md
+- Update libtss2-sys0 to libtss2-sys1
+- Add new libs:
+  * libtss2-fapi1
+  * libtss2-tcti-cmd0
+  * libtss2-tcti-swtpm0
+
+---

Old:

  tpm2-tss-2.3.3.tar.gz

New:

  tpm2-tss-3.0.1.tar.gz



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.D3aA8L/_old  2020-10-28 09:58:48.759162824 +0100
+++ /var/tmp/diff_new_pack.D3aA8L/_new  2020-10-28 09:58:48.763162827 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2-0-tss
 #
-# Copyright (c) 2020 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,7 +17,7 @@
 
 
 Name:   tpm2-0-tss
-Version:2.3.3
+Version:3.0.1
 Release:0
 Summary:Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:BSD-2-Clause
@@ -27,7 +27,9 @@
 Source2:baselibs.conf
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
+BuildRequires:  libcurl-devel
 BuildRequires:  libgcrypt-devel
+BuildRequires:  libjson-c-devel
 BuildRequires:  libopenssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(udev)
@@ -60,11 +62,14 @@
 Group:  Development/Libraries/C and C++
 Requires:   glibc-devel
 Requires:   libtss2-esys0 = %{version}
+Requires:   libtss2-fapi1 = %{version}
 Requires:   libtss2-mu0 = %{version}
 Requires:   libtss2-rc0 = %{version}
-Requires:   libtss2-sys0 = %{version}
+Requires:   libtss2-sys1 = %{version}
+Requires:   libtss2-tcti-cmd0 = %{version}
 Requires:   libtss2-tcti-device0 = %{version}
 Requires:   libtss2-tcti-mssim0 = %{version}
+Requires:   libtss2-tcti-swtpm0 = %{version}
 Requires:   libtss2-tctildr0 = %{version}
 Requires:   tpm2-0-tss = %{version}
 
@@ -84,11 +89,11 @@
 encryption values. Both the synchronous and asynchronous API are exposed
 through this library.
 
-%package -n libtss2-sys0
+%package -n libtss2-sys1
 Summary:TPM2 System API (SAPI)
 Group:  System/Libraries
 
-%description -n libtss2-sys0
+%description -n libtss2-sys1
 System API (SAPI) as described in the system level API and TPM command
 transmission interface specification. This API is a 1-to-1 mapping of the TPM2
 commands documented in Part 3 of the TPM2 specification. Additionally there
@@ -138,11 +143,42 @@
 TPM Command Transmission Interface library for communicating using the
 protocol exposed by the Microsoft software TPM2 simulator.
 
+%package -n libtss2-fapi1
+Summary:FAPI interface library
+Group:  System/Libraries
+
+%description -n libtss2-fapi1
+This is the tpm2 Feature API (FAPI) library. This API is designed to be very
+high-level API, intended to make programming with the TPM as simple as
+possible.
+
+%package -n libtss2-tcti-cmd0
+Summary:TCTI cmd interface library
+Group:  System/Libraries
+
+%description -n libtss2-tcti-cmd0
+A TCTI for interaction with a subprocess. It abstracts the details of direct
+communication with the interface and protocol exposed by a subprocess that can
+receive and transmit raw TPM2 command and response buffers.
+
+%package -n libtss2-tcti-swtpm0
+Summary:TCTI swtpm interface library
+Group:  System/Libraries
+
+%description -n libtss2-tcti-swtpm0
+A TCTI for interaction with the TPM2 software simulator. It abstracts the
+details of direct communication with the interface and protocol exposed by the
+daemon hosting the TPM2 reference implementation.
+
 %prep
 %setup -q -n 

commit tpm2-0-tss for openSUSE:Factory

2020-02-26 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2020-02-26 15:02:05

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


Package is "tpm2-0-tss"

Wed Feb 26 15:02:05 2020 rev:23 rq:778720 version:2.3.3

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2020-02-09 
21:01:20.955317184 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.26092/tpm2-0-tss.changes 
2020-02-26 15:02:08.792844028 +0100
@@ -1,0 +2,15 @@
+Wed Feb 19 19:37:14 UTC 2020 - Martin Hauke 
+
+- Update to version 2.3.3
+  * Fixed mixing salted and unsalted sessions in the same ESAPI
+context
+  * Removed use of VLAs from TPML marshal code
+  * Added check for object node before calling compute_session_value
+function
+  * Fixed auth calculation in Esys_StartAuthSession called with
+optional parameters
+  * Fixed compute_encrypted_salt error handling in
+Esys_StartAuthSession
+  * Fixed exported symbols map for libtss2-mu
+
+---

Old:

  tpm2-tss-2.3.2.tar.gz

New:

  tpm2-tss-2.3.3.tar.gz



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.E549MN/_old  2020-02-26 15:02:09.608845656 +0100
+++ /var/tmp/diff_new_pack.E549MN/_new  2020-02-26 15:02:09.608845656 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2-0-tss
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2020 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,7 +17,7 @@
 
 
 Name:   tpm2-0-tss
-Version:2.3.2
+Version:2.3.3
 Release:0
 Summary:Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:BSD-2-Clause

++ _service ++
--- /var/tmp/diff_new_pack.E549MN/_old  2020-02-26 15:02:09.632845704 +0100
+++ /var/tmp/diff_new_pack.E549MN/_new  2020-02-26 15:02:09.636845712 +0100
@@ -2,7 +2,7 @@
   
 https://github.com/intel/tpm2-tss.git
 git
-2.3.0
+2.3.3
 @PARENT_TAG@
 disable
   

++ tpm2-tss-2.3.2.tar.gz -> tpm2-tss-2.3.3.tar.gz ++
 17414 lines of diff (skipped)




commit tpm2-0-tss for openSUSE:Factory

2020-02-09 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2020-02-09 21:01:18

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


Package is "tpm2-0-tss"

Sun Feb  9 21:01:18 2020 rev:22 rq:769069 version:2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2020-01-30 
09:33:40.661242121 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.26092/tpm2-0-tss.changes 
2020-02-09 21:01:20.955317184 +0100
@@ -1,0 +2,5 @@
+Fri Jan 31 11:51:03 UTC 2020 - Michal Suchanek 
+
+- Use system-users for tss user creation (boo#1162360).
+
+---



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.SvHj0R/_old  2020-02-09 21:01:21.703317609 +0100
+++ /var/tmp/diff_new_pack.SvHj0R/_new  2020-02-09 21:01:21.707317611 +0100
@@ -31,7 +31,22 @@
 BuildRequires:  libopenssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(udev)
-Requires(pre):  shadow
+# The same user is employed by trousers (and was employed by the old
+# resourcemgr shipped with the tpm2-0-tss package):
+#
+# 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.
+#
+# tpm2-abrmd 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 either of
+# the 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.
+Requires:   user(tss)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -126,29 +141,6 @@
 %prep
 %setup -q -n tpm2-tss-%{version}
 
-%pre
-# the same user is employed by trousers (and was employed by the old
-# resourcemgr shipped with the tpm2-0-tss package):
-#
-# 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.
-#
-# tpm2-abrmd 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
-
 %build
 %configure --disable-static --with-udevrulesdir=%{_udevrulesdir}
 make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread




commit tpm2-0-tss for openSUSE:Factory

2020-01-30 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2020-01-30 09:33:03

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


Package is "tpm2-0-tss"

Thu Jan 30 09:33:03 2020 rev:21 rq:767595 version:2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2020-01-05 
15:20:46.369549400 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.26092/tpm2-0-tss.changes 
2020-01-30 09:33:40.661242121 +0100
@@ -1,0 +2,6 @@
+Fri Jan 24 14:13:01 UTC 2020 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(udev) instead of udev: allow OBS to
+  shortcut through the -mini flavor.
+
+---



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.GZgWcc/_old  2020-01-30 09:33:43.829243816 +0100
+++ /var/tmp/diff_new_pack.GZgWcc/_new  2020-01-30 09:33:43.829243816 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2-0-tss
 #
-# 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
@@ -22,7 +22,7 @@
 Summary:Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:BSD-2-Clause
 Group:  Productivity/Security
-Url:https://github.com/tpm2-software/tpm2-tss
+URL:https://github.com/tpm2-software/tpm2-tss
 Source0:
https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/tpm2-tss-%{version}.tar.gz
 Source2:baselibs.conf
 BuildRequires:  doxygen
@@ -30,7 +30,7 @@
 BuildRequires:  libgcrypt-devel
 BuildRequires:  libopenssl-devel
 BuildRequires:  pkg-config
-BuildRequires:  udev
+BuildRequires:  pkgconfig(udev)
 Requires(pre):  shadow
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -180,7 +180,8 @@
 
 %files
 %defattr(-,root,root)
-%doc *.md LICENSE
+%doc *.md
+%license LICENSE
 %{_mandir}/man3/*
 %{_mandir}/man7/tss2-*
 %{_udevrulesdir}/%{udev_rule_file}




commit tpm2-0-tss for openSUSE:Factory

2020-01-05 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2020-01-05 15:20:41

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


Package is "tpm2-0-tss"

Sun Jan  5 15:20:41 2020 rev:20 rq:760375 version:2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2019-12-17 
13:29:32.991422179 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.6675/tpm2-0-tss.changes  
2020-01-05 15:20:46.369549400 +0100
@@ -1,0 +2,8 @@
+Sun Dec 29 21:06:27 UTC 2019 - Martin Hauke 
+
+- update to upstream version 2.3.2:
+  - changes since version 2.3.0:
+- Fix unit tests on S390 architectures
+- Fixed HMAC generation for policy sessions
+
+---

Old:

  tpm2-tss-2.3.0.tar.gz

New:

  tpm2-tss-2.3.2.tar.gz



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.7P5XYT/_old  2020-01-05 15:20:46.961549697 +0100
+++ /var/tmp/diff_new_pack.7P5XYT/_new  2020-01-05 15:20:46.965549699 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   tpm2-0-tss
-Version:2.3.0
+Version:2.3.2
 Release:0
 Summary:Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:BSD-2-Clause

++ tpm2-tss-2.3.0.tar.gz -> tpm2-tss-2.3.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-tss-2.3.0/CHANGELOG.md 
new/tpm2-tss-2.3.2/CHANGELOG.md
--- old/tpm2-tss-2.3.0/CHANGELOG.md 2019-08-13 23:03:59.0 +0200
+++ new/tpm2-tss-2.3.2/CHANGELOG.md 2019-12-12 19:53:12.0 +0100
@@ -3,6 +3,14 @@
 
 The format is based on [Keep a Changelog](http://keepachangelog.com/)
 
+## [2.3.2] - 2019-12-12
+### Fixed
+- Fix unit tests on S390 architectures
+
+## [2.3.1] - 2019-08-30
+### Fixed
+- Fixed HMAC generation for policy sessions
+
 ## [2.3.0] - 2019-08-13
 ### Added
 - tss2-tctildr: A new library that helps with tcti initialization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-tss-2.3.0/Doxyfile.in 
new/tpm2-tss-2.3.2/Doxyfile.in
--- old/tpm2-tss-2.3.0/Doxyfile.in  2019-07-29 18:25:13.0 +0200
+++ new/tpm2-tss-2.3.2/Doxyfile.in  2019-12-12 19:50:59.0 +0100
@@ -792,6 +792,7 @@
  @top_srcdir@/test/integration/esys-commit.int.c \
  @top_srcdir@/test/integration/esys-create-fail.int.c \
  
@top_srcdir@/test/integration/esys-create-password-auth.int.c \
+ 
@top_srcdir@/test/integration/esys-create-policy-auth.int.c \
  
@top_srcdir@/test/integration/esys-create-primary-hmac.int.c \
  
@top_srcdir@/test/integration/esys-create-session-auth.int.c \
  @top_srcdir@/test/integration/esys-createloaded.int.c 
\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tpm2-tss-2.3.0/Makefile-test.am 
new/tpm2-tss-2.3.2/Makefile-test.am
--- old/tpm2-tss-2.3.0/Makefile-test.am 2019-08-07 00:24:52.0 +0200
+++ new/tpm2-tss-2.3.2/Makefile-test.am 2019-12-12 19:50:59.0 +0100
@@ -132,6 +132,7 @@
 test/integration/esys-commit.int \
 test/integration/esys-create-fail.int \
 test/integration/esys-create-password-auth.int \
+test/integration/esys-create-policy-auth.int \
 test/integration/esys-create-primary-ecc-hmac.int \
 test/integration/esys-create-primary-hmac.int \
 test/integration/esys-create-session-auth-bound.int \
@@ -252,7 +253,7 @@
 test_unit_tctildr_LDADD = $(CMOCKA_LIBS) $(libutil)
 test_unit_tctildr_LDFLAGS = -Wl,--wrap=calloc,--wrap=free \
 -Wl,--wrap=tctildr_finalize_data,--wrap=tctildr_get_tcti \
--Wl,--wrap=tctildr_get_info,--wrap=strlen,--wrap=strchr,--wrap=strcpy
+-Wl,--wrap=tctildr_get_info
 test_unit_tctildr_SOURCES = test/unit/tctildr.c \
 src/tss2-tcti/tctildr.c
 
@@ -619,6 +620,14 @@
 test/integration/esys-create-password-auth.int.c \
 test/integration/main-esapi.c test/integration/test-esapi.h
 
+test_integration_esys_create_policy_auth_int_CFLAGS  = $(TESTS_CFLAGS) 
$(TSS2_ESYS_CFLAGS_CRYPTO)
+test_integration_esys_create_policy_auth_int_LDADD   = $(TESTS_LDADD)
+test_integration_esys_create_policy_auth_int_LDFLAGS = $(TESTS_LDFLAGS) 
$(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
+test_integration_esys_create_policy_auth_int_SOURCES = \
+$(ESYS_SRC_UTIL_CRYPTO_SRC) \
+test/integration/esys-create-policy-auth.int.c \
+test/integration/main-esapi.c test/integration/test-esapi.h
+
 

commit tpm2-0-tss for openSUSE:Factory

2019-12-17 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2019-12-17 13:29:00

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


Package is "tpm2-0-tss"

Tue Dec 17 13:29:00 2019 rev:19 rq:755853 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2019-08-27 
10:22:45.915934056 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.4691/tpm2-0-tss.changes  
2019-12-17 13:29:32.991422179 +0100
@@ -1,0 +2,26 @@
+Wed Dec 11 11:01:44 UTC 2019 - matthias.gerst...@suse.com
+
+- update to upstream version 2.3.0:
+  - changes in version 2.3.0:
+- tss2-tctildr: A new library that helps with tcti initialization
+  Recommend to use this in place of custom tcti loading code now !
+- tss2-rc: A new library that provides textual representations for return
+  codes
+- Option to disable NIST-deprecated crypto (--disable-weak-crypto)
+- Support Esys_TR_FromTPMPublic on sessions (for use in Esys_FlushContext)
+- map-files with correct symbol lists for tss2-sys and tss2-esys
+  This may lead to unresolved symbols in linked applications
+- Support to call Tss2_Sys_Execute repeatedly on certain errors
+- Reduced RAM consumption in Esys due to Tss2_Sys_Execute change
+- Automated session attribution clearing for esys (decrypt and encrypt)
+  per cmd
+- Removed libtss2-mu from "Requires" field of libtss2-esys.pc
+  Needs to be added explicitely now
+- All fixes from 2.2.1, 2.2.2 and 2.2.3
+- Fixed SPDX License Identifiers
+- Fixed Null-pointer problems in tcti-tbs
+- Fixed Default locality for tcti-mssim set to LOC_0
+- Fixed coverity and valgrind leaks detected in test programs (not library
+  code)
+
+---

Old:

  tpm2-tss-2.2.3.tar.gz

New:

  tpm2-tss-2.3.0.tar.gz



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.m7L9cC/_old  2019-12-17 13:29:34.155421769 +0100
+++ /var/tmp/diff_new_pack.m7L9cC/_new  2019-12-17 13:29:34.159421768 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   tpm2-0-tss
-Version:2.2.3
+Version:2.3.0
 Release:0
 Summary:Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:BSD-2-Clause
@@ -46,9 +46,11 @@
 Requires:   glibc-devel
 Requires:   libtss2-esys0 = %{version}
 Requires:   libtss2-mu0 = %{version}
+Requires:   libtss2-rc0 = %{version}
 Requires:   libtss2-sys0 = %{version}
 Requires:   libtss2-tcti-device0 = %{version}
 Requires:   libtss2-tcti-mssim0 = %{version}
+Requires:   libtss2-tctildr0 = %{version}
 Requires:   tpm2-0-tss = %{version}
 
 %description devel
@@ -89,6 +91,21 @@
 marshaling and unmarshaling functions for all data types defined by the TPM
 library specification.
 
+%package -n libtss2-rc0
+Summary:TPM2 error code translation library
+Group:  System/Libraries
+
+%description -n libtss2-rc0
+This library can translate TPM error codes into human readable strings.
+
+%package -n libtss2-tctildr0
+Summary:TCTI interface loading library
+Group:  System/Libraries
+
+%description -n libtss2-tctildr0
+This is a helper library that simplifies loading other tcti libraries. It is
+recommended over custom tcti loading code in applications.
+
 %package -n libtss2-tcti-device0
 Summary:TCTI interface library for using a native TPM device node
 Group:  System/Libraries
@@ -150,12 +167,16 @@
 %postun -n libtss2-esys0 -p /sbin/ldconfig
 %post -n libtss2-sys0 -p /sbin/ldconfig
 %postun -n libtss2-sys0 -p /sbin/ldconfig
+%post -n libtss2-tctildr0 -p /sbin/ldconfig
+%postun -n libtss2-tctildr0 -p /sbin/ldconfig
 %post -n libtss2-tcti-device0 -p /sbin/ldconfig
 %postun -n libtss2-tcti-device0 -p /sbin/ldconfig
 %post -n libtss2-tcti-mssim0 -p /sbin/ldconfig
 %postun -n libtss2-tcti-mssim0 -p /sbin/ldconfig
 %post -n libtss2-mu0 -p /sbin/ldconfig
 %postun -n libtss2-mu0 -p /sbin/ldconfig
+%post -n libtss2-rc0 -p /sbin/ldconfig
+%postun -n libtss2-rc0 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
@@ -182,6 +203,14 @@
 %defattr(-,root,root)
 %{_libdir}/libtss2-mu.so.*
 
+%files -n libtss2-rc0
+%defattr(-,root,root)
+%{_libdir}/libtss2-rc.so.*
+
+%files -n libtss2-tctildr0
+%defattr(-,root,root)
+%{_libdir}/libtss2-tctildr.so.*
+
 %files -n libtss2-tcti-device0
 %defattr(-,root,root)
 %{_libdir}/libtss2-tcti-device.so.*

++ _service ++
--- /var/tmp/diff_new_pack.m7L9cC/_old  2019-12-17 13:29:34.195421756 +0100
+++ /var/tmp/diff_new_pack.m7L9cC/_new  2019-12-17 13:29:34.195421756 +0100
@@ 

commit tpm2-0-tss for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2019-08-27 10:22:31

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


Package is "tpm2-0-tss"

Tue Aug 27 10:22:31 2019 rev:18 rq:726006 version:2.2.3

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2019-04-26 
22:55:04.565290934 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.7948/tpm2-0-tss.changes  
2019-08-27 10:22:45.915934056 +0200
@@ -1,0 +2,14 @@
+Fri Aug 23 12:06:22 UTC 2019 - matthias.gerst...@suse.com
+
+- update to upstream version 2.2.3:
+  - changes in version 2.2.3:
+* Fix computation of session name
+* Fixed PolicyPassword handling of session Attributes
+* Fixed windows build from dist ball
+* Fixed default tcti configure option
+* Fixed nonce size calculation in ESYS sessions
+  - changes in version 2.2.2:
+* Fixed wrong encryption flag in EncryptDecrypt
+* Fixing openssl engine invocation
+
+---

Old:

  tpm2-tss-2.2.1.tar.gz

New:

  tpm2-tss-2.2.3.tar.gz



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.Ipi1UH/_old  2019-08-27 10:22:47.131933975 +0200
+++ /var/tmp/diff_new_pack.Ipi1UH/_new  2019-08-27 10:22:47.131933975 +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-tss
-Version:2.2.1
+Version:2.2.3
 Release:0
 Summary:Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:BSD-2-Clause

++ _service ++
--- /var/tmp/diff_new_pack.Ipi1UH/_old  2019-08-27 10:22:47.159933973 +0200
+++ /var/tmp/diff_new_pack.Ipi1UH/_new  2019-08-27 10:22:47.159933973 +0200
@@ -2,7 +2,7 @@
   
 https://github.com/intel/tpm2-tss.git
 git
-2.2.1
+2.2.3
 @PARENT_TAG@
 disable
   

++ tpm2-tss-2.2.1.tar.gz -> tpm2-tss-2.2.3.tar.gz ++
 7298 lines of diff (skipped)




commit tpm2-0-tss for openSUSE:Factory

2019-04-26 Thread root
Hello community,

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

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


Package is "tpm2-0-tss"

Fri Apr 26 22:55:03 2019 rev:17 rq:698149 version:2.2.1

Changes:

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



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.QcqUuL/_old  2019-04-26 22:55:05.265290483 +0200
+++ /var/tmp/diff_new_pack.QcqUuL/_new  2019-04-26 22:55:05.269290480 +0200
@@ -31,7 +31,7 @@
 BuildRequires:  libopenssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  udev
-Requires(pre):  pwdutils
+Requires(pre):  shadow
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description




commit tpm2-0-tss for openSUSE:Factory

2019-03-06 Thread root
Hello community,

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

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


Package is "tpm2-0-tss"

Wed Mar  6 15:51:44 2019 rev:16 rq:682101 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2019-01-21 
10:53:05.479820152 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.28833/tpm2-0-tss.changes 
2019-03-06 15:51:58.116429011 +0100
@@ -1,0 +2,81 @@
+Wed Mar  6 10:06:35 UTC 2019 - matthias.gerst...@suse.com
+
+- update to upstream version 2.2.1:
+  - changes from version 2.2.0:
+- Fixed leak of hkey on success in iesys_cryptossl_hmac_start
+- Fixed NULL ptr issues in Esys_HMAC_Start, Esys_HierarchyChangeAuth and 
Esys_NV_ChangeAuth
+- Fixed NULL ptr issue in sequenceHandleNode
+- Fixed NULL ptr auth handling in Esys_TR_SetAuth
+- Fixed NULL auth handling in iesys_compute_session_value
+- Fixed marshaling of TPM2Bs with sub types.
+- Fixed NULL ptr session handling in Esys_TRSess_SetAttributes
+- Fixed the way size of the hmac value of a session without authorization
+- Added missing MU functions for TPM2_NT type
+- Added missing MU functions for TPMA_ID_OBJECT type
+- Added missing type TPM2_NT into tss2_tpm2_types.h
+- Fixed wrong typename _ID_OBJECT in tss2_tpm2_types.h
+- Fixed build breakage when --with-maxloglevel is not 'trace'
+- Fixed build breakage in generated configure script when CFLAGS is set
+- Fixed configure scritp ERROR_IF_NO_PROG macro
+- Changed TPM2B type unmarshal to use sizeof of the dest buffer instead of 
dest
+- Fixed unmarshaling of the TPM2B type with invalid size
+- Removed dead code defect detected by coverity from 
Esys_TRSess_GetNonceTPM
+- Added support for QNX build
+- Added support for partial reads in device TCTI
+  - changes from version 2.1.1:
+- Fixed leak of hkey on success in iesys_cryptossl_hmac_start
+- Fixed NULL ptr issues in Esys_HMAC_Start, Esys_HierarchyChangeAuth and 
Esys_NV_ChangeAuth
+- Fixed NULL ptr issue in sequenceHandleNode
+- Fixed NULL ptr auth handling in Esys_TR_SetAuth
+- Fixed NULL auth handling in iesys_compute_session_value
+- Fixed marshaling of TPM2Bs with sub types.
+- Fixed NULL ptr session handling in Esys_TRSess_SetAttributes
+- Fixed the way size of the hmac value of a session without authorization
+- Added missing MU functions for TPM2_NT type
+- Added missing MU functions for TPMA_ID_OBJECT type
+- Added missing type TPM2_NT into tss2_tpm2_types.h
+- Fixed wrong typename _ID_OBJECT in tss2_tpm2_types.h
+- Fixed build breakage when --with-maxloglevel is not 'trace'
+- Fixed build breakage in generated configure script when CFLAGS is set
+- Fixed configure scritp ERROR_IF_NO_PROG macro
+- Changed TPM2B type unmarshal to use sizeof of the dest buffer instead of 
dest
+- Fixed unmarshaling of the TPM2B type with invalid size
+- Removed dead code defect detected by coverity from 
Esys_TRSess_GetNonceTPM
+  - changes from version 2.1.0:
+- Fixed handling of the default TCTI
+- Changed logging to be ISO-C99 compatible
+- Fixed leak of dlopen handle
+- Fixed logging of a response header tag in Tss2_Sys_Execute
+- Fixed marshaling of TPM2B parameters in SAPI commands
+- Fixed unnecessary warning in Esys_Startup
+- Fixed warnings in doxygen documentation
+- Added Esys_Free wrapper function for systems using different C runtime 
libraries
+- Added Windows TBS TCTI
+- Added non-blocking mode of operation in tcti-device
+- Added tests for Esys_HMAC and Esys_Hash
+- Enabled integration tests on physical TPM device
+- Added openssl libcrypto backend
+- Added Doxygen documentation to integration tests
+- Refactored SetDecryptParam
+- Enabled OpenSSL crypto backend by default
+  - changes from 2.0.2:
+- Fixed NULL ptr issues in Esys_HMAC_Start, Esys_HierarchyChangeAuth and 
Esys_NV_ChangeAuth
+- Fixed NULL ptr issue in sequenceHandleNode
+- Fixed NULL ptr auth handling in Esys_TR_SetAuth
+- Fixed NULL auth handling in iesys_compute_session_value
+- Fixed marshaling of TPM2Bs with sub types.
+- Fixed NULL ptr session handling in Esys_TRSess_SetAttributes
+- Fixed the way size of the hmac value of a session without authorization
+- Added missing MU functions for TPM2_NT type
+- Added missing MU functions for TPMA_ID_OBJECT type
+- Added missing type TPM2_NT into tss2_tpm2_types.h
+- Fixed wrong typename _ID_OBJECT in tss2_tpm2_types.h
+- Fixed build breakage when --with-maxloglevel is not 'trace'
+- Fixed build breakage in 

commit tpm2-0-tss for openSUSE:Factory

2019-01-21 Thread root
Hello community,

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

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


Package is "tpm2-0-tss"

Mon Jan 21 10:52:56 2019 rev:15 rq:665951 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2018-09-28 
08:53:21.789732319 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.28833/tpm2-0-tss.changes 
2019-01-21 10:53:05.479820152 +0100
@@ -4 +4 @@
-- update to upstream version 2.0.1:
+- update to upstream version 2.0.1 (FATE#324477):



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.kNhSOt/_old  2019-01-21 10:53:06.871818469 +0100
+++ /var/tmp/diff_new_pack.kNhSOt/_new  2019-01-21 10:53:06.871818469 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2-0-tss
 #
-# 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-tss for openSUSE:Factory

2018-09-28 Thread root
Hello community,

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

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


Package is "tpm2-0-tss"

Fri Sep 28 08:53:18 2018 rev:14 rq:638457 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2018-09-19 
14:32:39.135332389 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2018-09-28 08:53:21.789732319 +0200
@@ -1,0 +2,16 @@
+Wed Sep 26 15:41:27 UTC 2018 - matthias.gerst...@suse.com
+
+- update to upstream version 2.0.1:
+  - Fixed problems with doxygan failing make distcheck
+  - Fixed conversion of gcrypt mpi numbers to binary data
+  - Fixed an error in parsing socket address in MSSIM TCTI
+  - Fixed compilation error with --disable-tcti-mssim
+  - Added initialization function for gcrypt to suppress warning
+  - Fixed invalid type base type while marshaling TPMI_ECC_CURVE in 
Tss2_Sys_ECC_Parameters
+  - Fixed invalid RSA encryption with exponent equal to 0
+  - Fixed checking of return codes in ESAPI commands
+  - Added checks for programs required by the test harness @ configure time
+  - Fixed warning on TPM2_RC_INITIALIZE rc after a Startup in Esys_Startup
+  - Checked for 1.2 TPM type response
+  - Changed constants values in esys header file to unsigned
+---

Old:

  tpm2-tss-2.0.0.tar.gz

New:

  tpm2-tss-2.0.1.tar.gz



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.85JF27/_old  2018-09-28 08:53:22.909730701 +0200
+++ /var/tmp/diff_new_pack.85JF27/_new  2018-09-28 08:53:22.909730701 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   tpm2-0-tss
-Version:2.0.0
+Version:2.0.1
 Release:0
 Summary:Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:BSD-2-Clause
 Group:  Productivity/Security
 Url:https://github.com/tpm2-software/tpm2-tss
-Source0:
https://github.com/tpm2-software/tpm2-tss/releases/download/2.0.0/tpm2-tss-%{version}.tar.gz
+Source0:
https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/tpm2-tss-%{version}.tar.gz
 Source2:baselibs.conf
 BuildRequires:  gcc-c++
 BuildRequires:  libgcrypt-devel

++ tpm2-tss-2.0.0.tar.gz -> tpm2-tss-2.0.1.tar.gz ++
 21940 lines of diff (skipped)




commit tpm2-0-tss for openSUSE:Factory

2018-09-19 Thread root
Hello community,

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

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


Package is "tpm2-0-tss"

Wed Sep 19 14:30:22 2018 rev:13 rq:636378 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2018-07-06 
10:49:34.642711267 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2018-09-19 14:32:39.135332389 +0200
@@ -1,0 +2,6 @@
+Tue Sep 18 09:04:31 UTC 2018 - matthias.gerst...@suse.com
+
+- also process udev triggers for tpmrm subsystem, otherwise /dev/tpmrm0 isn't
+  properly updated (at least on SLES-12-SP4)
+
+---



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.SexG0R/_old  2018-09-19 14:32:42.919329826 +0200
+++ /var/tmp/diff_new_pack.SexG0R/_new  2018-09-19 14:32:42.919329826 +0200
@@ -142,7 +142,7 @@
 mv %{buildroot}%{_udevrulesdir}/tpm-udev.rules 
%{buildroot}%{_udevrulesdir}/%{udev_rule_file}
 
 %post
-%_bindir/udevadm trigger -s tpm || :
+%_bindir/udevadm trigger -s tpm -s tpmrm || :
 
 %post -n libtss2-esys0 -p /sbin/ldconfig
 %postun -n libtss2-esys0 -p /sbin/ldconfig




commit tpm2-0-tss for openSUSE:Factory

2018-07-06 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2018-07-06 10:49:13

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


Package is "tpm2-0-tss"

Fri Jul  6 10:49:13 2018 rev:12 rq:621176 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2018-03-08 
10:59:07.853797555 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2018-07-06 10:49:34.642711267 +0200
@@ -1,0 +2,69 @@
+Thu Jul  5 15:40:23 UTC 2018 - matthias.gerst...@suse.com
+
+- added all librares to baselibs.conf to satisfy 32-bit dependencies of esys0
+  and sys0
+
+---
+Tue Jul  3 07:56:18 UTC 2018 - matthias.gerst...@suse.com
+
+- Explicitly require udev to fix missing ownership for /usr/lib/udev.
+
+---
+Fri Jun 29 10:55:58 UTC 2018 - matthias.gerst...@suse.com
+
+- update to new major version 2.0.0:
+  - version_fix.patch: removed, we're now using the distribution tarballs
+where this problem shouldn't happen
+  - this update introduces an incompatible ABI to the previous version.
+all libraries have been renamed so there is not really a relation to
+the old version any more.
+  - upstream changelog:
+## [2.0.0] - 2018-06-20
+### Added
+- Implementation of the Marshal/Unmarshal library (libtss2-mu)
+- Implementation of the Enhanced System API (libtss2-esys aka ESAPI)
+- New implemetation of the TPM Command Transmission Interface (TCTI) for:
+  - communication with Linux TPM2 device driver: libtss2-tcti-device
+  - communication with Microsoft software simulator: libtss2-tcti-mssim
+- New directory layout (API break)
+- Updated documentation with new doxygen and updated man pages
+- Support for Windows build with Visual Studio and clang, currently limited
+to libtss2-mu and libtss2-sys
+- Implementation of the new Attached Component (AC) commands
+- Implementation of the new TPM2_PolicyAuthorizeNV command
+- Implementation of the new TPM2_CreateLoaded command
+- Implementation of the new TPM2_PolicyTemplate command
+- Addition of _Complete functions to all TPM commands
+- New logging framework
+- Added const qualifiers to API input pointers (API break)
+- Cleaned up headers and remove implementation.h and tpm2.h (API break)
+### Changed
+- Converted all cpp files to c, removed dependency on C++ compiler.
+- Cleaned out a number of marshaling functions from the SAPI code.
+- Update Linux / Unix OS detection to use non-obsolete macros.
+- Changed TCTI macros to CamelCase (API break)
+- Changed TPMA_types to unsigned int with defines instead of bitfield 
structs (API/ABI break)
+- Changed Get/SetCmd/RspAuths to new parameter types (API/ABI break)
+- Fixed order of parameters in AC commands: Input command authorizations
+now come after the input handles, but still before the command parameters.
+### Removed
+- Removed all sysapi/sysapi_utils/*arshal_TPM*.c files
+### Fixed
+- Updated invalid number of handles in TPM2_PolicyNvWritten and 
TPM2_TestParms
+- Updated PlatformCommand function from libtss2-tcti-mssim to no longer 
send
+CANCEL_OFF before every command.
+- Expanded TPM2B macros and removed TPM2B_TYPE1 and TPM2B_TYPE2 macros
+- Fixed wrong return type for Tss2_Sys_Finalize (API break).
+
+## [1.4.0] - 2018-03-02
+### Added
+- Attached Component commands from the last public review spec.
+### Fixed
+- Essential files missing from release tarballs are now included.
+- Version string generation has been moved from configure.ac to the
+bootstrap script. It is now stored in a file named `VERSION` that is
+shipped in the release tarball.
+- We've stopped shipping the built man page for InitSocketTcti.3 and now
+ship the source.
+
+---

Old:

  1.3.0.tar.gz
  version_fix.patch

New:

  tpm2-tss-2.0.0.tar.gz



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.9oKDwz/_old  2018-07-06 10:49:36.094709473 +0200
+++ /var/tmp/diff_new_pack.9oKDwz/_new  2018-07-06 10:49:36.094709473 +0200
@@ -17,20 +17,18 @@
 
 
 Name:   tpm2-0-tss
-Version:1.3.0
+Version:2.0.0
 Release:0
 Summary:Intel's TCG Software Stack access libraries for TPM 2.0 chips
 License:BSD-2-Clause
 Group:  Productivity/Security
 Url:https://github.com/tpm2-software/tpm2-tss
-Source0:  

commit tpm2-0-tss for openSUSE:Factory

2018-03-08 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2018-03-08 10:59:04

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


Package is "tpm2-0-tss"

Thu Mar  8 10:59:04 2018 rev:11 rq:583943 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2018-02-26 
23:24:20.612078553 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2018-03-08 10:59:07.853797555 +0100
@@ -1,0 +2,5 @@
+Wed Mar  7 14:48:50 UTC 2018 - matthias.gerst...@suse.com
+
+- removed leftover comment from dropped reproducable.patch
+
+---



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.zGXbQG/_old  2018-03-08 10:59:08.789763724 +0100
+++ /var/tmp/diff_new_pack.zGXbQG/_new  2018-03-08 10:59:08.793763580 +0100
@@ -26,7 +26,6 @@
 Source0:
https://github.com/tpm2-software/tpm2-tss/archive/%{version}.tar.gz
 Source2:baselibs.conf
 Patch0: version_fix.patch
-# PATCH-FIX-UPSTREAM bmwiedemann https://github.com/01org/TPM2.0-TSS/pull/419
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  gcc-c++




commit tpm2-0-tss for openSUSE:Factory

2018-02-26 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2018-02-26 23:24:19

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 Feb 26 23:24:19 2018 rev:10 rq:578991 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2017-09-04 
12:34:51.431875087 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2018-02-26 23:24:20.612078553 +0100
@@ -1,0 +2,11 @@
+Thu Feb 22 09:41:46 UTC 2018 - matthias.gerst...@suse.com
+
+- update to upstream version 1.3.0:
+  - support for reproducable builds
+  - improved documentation / manual pages
+  - various stability bugfixes
+  - EncryptDecrypt2 command is now implemented
+- removed reproducible.patch. This is now included upstream.
+- added version_fix.patch to fix package config version numbers.
+
+---

Old:

  1.1.0.tar.gz
  reproducible.patch

New:

  1.3.0.tar.gz
  version_fix.patch



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.FthF2l/_old  2018-02-26 23:24:21.896032378 +0100
+++ /var/tmp/diff_new_pack.FthF2l/_new  2018-02-26 23:24:21.900032234 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2-0-tss
 #
-# 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,16 +17,16 @@
 
 
 Name:   tpm2-0-tss
-Version:1.1.0
+Version:1.3.0
 Release:0
 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
+Url:https://github.com/tpm2-software/tpm2-tss
+Source0:
https://github.com/tpm2-software/tpm2-tss/archive/%{version}.tar.gz
 Source2:baselibs.conf
+Patch0: version_fix.patch
 # PATCH-FIX-UPSTREAM bmwiedemann https://github.com/01org/TPM2.0-TSS/pull/419
-Patch1: reproducible.patch
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -83,9 +83,19 @@
 
 %prep
 %setup -q -n tpm2-tss-%{version}
-%patch1 -p1
+# TODO: XX:
+# this fixes the autoconf version number which is determined via git and
+# doesn't work in OBS. The distribution tarball may fix this in the future for
+# us. If we don'T do this then the pkg-config *.pc files don't contain a
+# version number and dependent packages like tpm2.0-tools fail to build.
+#
+# the version number needs to be fixed with each version change!
+%patch0 -p1
 
 %build
+# we are still using the source tarball here. there is a release tarball for
+# 1.3.0, but some files like README and CHANGELOG are missing there. The next
+# release should work for us.
 bash bootstrap
 %configure --disable-static
 make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
@@ -104,6 +114,8 @@
 %files
 %defattr(-,root,root)
 %doc *.md LICENSE
+%{_mandir}/man3/*
+%{_mandir}/man7/tcti-*
 
 %files devel
 %defattr(-,root,root)

++ 1.1.0.tar.gz -> 1.3.0.tar.gz ++
 397685 lines of diff (skipped)

++ version_fix.patch ++
Index: tpm2-tss-1.3.0/configure.ac
===
--- tpm2-tss-1.3.0.orig/configure.ac
+++ tpm2-tss-1.3.0/configure.ac
@@ -1,5 +1,5 @@
 AC_INIT([tpm2-tss],
-[m4_esyscmd_s([git describe --tags --always --dirty])])
+[1.3.0])
 AC_CONFIG_MACRO_DIR([m4])
 AC_PROG_CC
 AC_PROG_CXX



commit tpm2-0-tss for openSUSE:Factory

2017-09-04 Thread root
Hello community,

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

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 Sep  4 12:34:45 2017 rev:9 rq:520198 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2017-08-21 
11:36:46.820387877 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2017-09-04 12:34:51.431875087 +0200
@@ -1,0 +2,6 @@
+Fri Sep  1 14:27:33 UTC 2017 - matthias.gerst...@suse.com
+
+- fix the "fix", turns out only the unversioned symlink's supposed to go into
+  -devel.
+
+---



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.LOlKvm/_old  2017-09-04 12:34:52.303752497 +0200
+++ /var/tmp/diff_new_pack.LOlKvm/_new  2017-09-04 12:34:52.311751372 +0200
@@ -110,19 +110,18 @@
 %{_includedir}/tcti
 %{_includedir}/sapi
 %{_libdir}/*.so
-%{_libdir}/*.so.0
 %{_libdir}/pkgconfig/*.pc
 
 %files -n libsapi0
 %defattr(-,root,root)
-%{_libdir}/libsapi.so.0.0.0
+%{_libdir}/libsapi.so.*
 
 %files -n libtcti-device0
 %defattr(-,root,root)
-%{_libdir}/libtcti-device.so.0.0.0
+%{_libdir}/libtcti-device.so.*
 
 %files -n libtcti-socket0
 %defattr(-,root,root)
-%{_libdir}/libtcti-socket.so.0.0.0
+%{_libdir}/libtcti-socket.so.*
 
 %changelog




commit tpm2-0-tss for openSUSE:Factory

2017-08-21 Thread root
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.changes2017-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

commit tpm2-0-tss for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2017-06-04 01:56:40

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


Package is "tpm2-0-tss"

Sun Jun  4 01:56:40 2017 rev:7 rq:498707 version:1.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2017-04-24 
09:48:30.758258283 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2017-06-04 01:56:42.902596132 +0200
@@ -1,0 +2,18 @@
+Sat May 27 05:07:22 UTC 2017 - bwiedem...@suse.com
+
+- Add reproducible.patch to sort input files to make build reproducible
+  (boo#1041090)
+
+---
+Thu May 11 15:13:49 UTC 2017 - matthias.gerst...@suse.com
+
+- create tss user account and install udev rule to fix startup of resourcemgr
+  (bnc#1038586)
+
+---
+Wed May 10 13:33:16 CEST 2017 - mgerst...@suse.com
+
+- remove unnecessary dependency of libsapi0 to trousers. trousers has nothing
+  to do with tpm2-tss.
+
+---

New:

  reproducible.patch



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.ta4pXv/_old  2017-06-04 01:56:43.558503468 +0200
+++ /var/tmp/diff_new_pack.ta4pXv/_new  2017-06-04 01:56:43.562502903 +0200
@@ -26,6 +26,8 @@
 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
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -36,7 +38,10 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-The tpm2-0-tss package provides a TPM 2.0 TSS implementation.
+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.
 
 %package devel
 Summary:Development headers for the Intel TSS library for TPM 2.0 chips
@@ -53,7 +58,6 @@
 %package -n libsapi0
 Summary:TPM2 System API library
 Group:  System/Libraries
-Requires:   trousers
 # Non-SLPP package name from earlier
 Obsoletes:  libtss2 < %version-%release
 Provides:   libtss2 = %version-%release
@@ -81,6 +85,7 @@
 %prep
 %setup -q -n TPM2.0-TSS-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 bash bootstrap
@@ -93,6 +98,8 @@
 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
@@ -102,6 +109,26 @@
 %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
@@ -119,6 +146,7 @@
 %{_sbindir}/resourcemgr
 /%{_unitdir}/resourcemgr.service
 %{_sbindir}/rcresourcemgr
+%{_udevrulesdir}/%{udev_rule_file}
 
 %files devel
 %defattr(-,root,root)
@@ -127,7 +155,7 @@
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 ##only available in static form
-#%{_libdir}/libtddl.a
+#%%{_libdir}/libtddl.a
 
 %files -n libsapi0
 %defattr(-,root,root)

++ reproducible.patch ++
>From 

commit tpm2-0-tss for openSUSE:Factory

2017-04-24 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2017-04-24 09:48:25

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 Apr 24 09:48:25 2017 rev:6 rq:489134 version:1.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2017-03-03 
17:54:49.653895083 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2017-04-24 09:48:30.758258283 +0200
@@ -1,0 +2,5 @@
+Tue Apr 11 14:26:14 UTC 2017 - meiss...@suse.com
+
+- fixed typo in resourcemgr.service (bsc#1031004)
+
+---



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.SeSV8j/_old  2017-04-24 09:48:31.606138363 +0200
+++ /var/tmp/diff_new_pack.SeSV8j/_new  2017-04-24 09:48:31.610137797 +0200
@@ -91,7 +91,7 @@
 %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
+sed -e 's#usr/local/sbin/#usr/sbin/#;' -i 
%{buildroot}/%{_unitdir}/resourcemgr.service
 ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
 
 %post -n libsapi0 -p /sbin/ldconfig




commit tpm2-0-tss for openSUSE:Factory

2017-03-03 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2017-03-03 17:54:47

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


Package is "tpm2-0-tss"

Fri Mar  3 17:54:47 2017 rev:5 rq:461867 version:1.0

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2017-02-21 
13:50:03.462825048 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2017-03-03 17:54:49.653895083 +0100
@@ -40,0 +41,5 @@
+Thu Aug 25 14:09:35 UTC 2016 - meiss...@suse.com
+ 
+- Remove type=forking from service file (bsc#995554)
+
+---



Other differences:
--



commit tpm2-0-tss for openSUSE:Factory

2017-02-21 Thread root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2017-02-21 13:50:00

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


Package is "tpm2-0-tss"

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2016-08-09 
22:15:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2017-02-21 13:50:03.462825048 +0100
@@ -1,0 +2,39 @@
+Thu Feb 16 13:35:44 UTC 2017 - jeng...@inai.de
+
+- Remove --with-pic which is only for static libs.
+- Fix an improper Requires line.
+- Split libtcti* from libsapi0; these are independentlty
+  developable units.
+
+---
+Wed Feb  8 13:43:55 UTC 2017 - meiss...@suse.com
+
+- Updated to 1.0 (FATE#321508)
+  - Added
+- Travis-CI integration with GitHub
+- Unit tests for primitive (un)?marshal functions.
+- Example systemd unit for resourcemgr.
+- Allow for unit tests to be enabled selectively.
+- added pkg-config files for libraries
+  - Changed
+- move simulator initialization code to socket TCTI init function.
+- socket TCTI finalize no longer frees context
+- rename libtss2 to libsapi
+- rename libtcti_device to libtcti-device
+- rename libtcti_socket to libtcti-socket
+- move $(includedir)/tss to $(includedir)/sapi
+- Move default compiler flags to config.site file.
+  - Fixed
+- Fix run away resourcemgr threads by closing client sockets when 
resourcemgr recv() call returns 0.
+- Set MSG_NOSIGNAL for client connections to avoid SIGPIPE killing 
resourcemgr.
+- Fixes to handling of persistent objects by resourcemgr.
+  - Removed
+- Semicolon from TPMA_* macros definitions.
+- Windows build files.
+- SAPI_CLIENT macro tests.
+  - Security
+- Fix buffer overflow in resourcemgr.
+- use sample resourcemanager.service
+- tpm2-0-tss-configure.patch: fix weird error.
+
+---

Old:

  resourcemgr.service
  tpm2-0-tss-0.98.tar.gz

New:

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



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.j822Kk/_old  2017-02-21 13:50:04.626661251 +0100
+++ /var/tmp/diff_new_pack.j822Kk/_new  2017-02-21 13:50:04.630660688 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tpm2-0-tss
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,15 +17,16 @@
 
 
 Name:   tpm2-0-tss
-Version:0.98
+Version:1.0
 Release:0
-Summary:TSS (TCG Software Stack) access library for TPM 2.0 chips
+Summary:Intel's TCG Software Stack access library for TPM 2.0 chips
 License:BSD-2-Clause
 Group:  Productivity/Security
 Url:https://github.com/01org/TPM2.0-TSS
-Source0:%{name}-%{version}.tar.gz
-Source1:resourcemgr.service
+Source0:https://github.com/01org/TPM2.0-TSS/archive/%{version}.tar.gz
 Source2:baselibs.conf
+Patch0: tpm2-0-tss-configure.patch
+BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
@@ -38,43 +39,67 @@
 The tpm2-0-tss package provides a TPM 2.0 TSS implementation.
 
 %package devel
-Summary:Development headers for the TSS (TCG Software Stack) access 
library for TPM 2.0 chips
+Summary:Development headers for the Intel TSS library for TPM 2.0 chips
 Group:  Development/Libraries/C and C++
 Requires:   glibc-devel
-Requires:   libtss2-0 = %{version}
+Requires:   libsapi0 = %{version}
+Requires:   libtcti-device0 = %{version}
+Requires:   libtcti-socket0 = %{version}
 
 %description devel
-This package provides the development files for the libtss2 library
+This package provides the development files for the libsapi library
 for accessing TPM 2.0 chips.
 
-%package -n libtss2-0
-Summary:TSS (TCG Software Stack) access library for TPM 2.0 chip
+%package -n libsapi0
+Summary:TPM2 System API library
 Group:  System/Libraries
 Requires:   trousers
 # Non-SLPP package name from earlier
 Obsoletes:  libtss2 < %version-%release
 Provides:   libtss2 = %version-%release
 
-%description -n libtss2-0
+%description -n libsapi0
 This package provides the library to access the TSS (TCG Software Stack) for
 accessing TPM 2.0 chips.
 
+%package -n libtcti-device0
+Summary:  

commit tpm2-0-tss for openSUSE:Factory

2016-08-09 Thread h_root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2016-08-09 22:15:16

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


Package is "tpm2-0-tss"

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2016-05-10 
09:27:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2016-08-09 22:15:18.0 +0200
@@ -1,0 +2,5 @@
+Sat Aug  6 19:28:27 UTC 2016 - meiss...@suse.com
+
+- added a systemd unit service file (FATE#315631)
+
+---
@@ -5,0 +11 @@
+  (FATE#315631)
@@ -11 +17 @@
-  the group "System/Libraries". 
+  the group "System/Libraries". (FATE#315631)

New:

  resourcemgr.service



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.Kzeedo/_old  2016-08-09 22:15:19.0 +0200
+++ /var/tmp/diff_new_pack.Kzeedo/_new  2016-08-09 22:15:19.0 +0200
@@ -24,11 +24,13 @@
 Group:  Productivity/Security
 Url:https://github.com/01org/TPM2.0-TSS
 Source0:%{name}-%{version}.tar.gz
+Source1:resourcemgr.service
 Source2:baselibs.conf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config
+BuildRequires:  systemd-rpm-macros
 Requires(pre):  pwdutils
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -68,14 +70,30 @@
 %install
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
+install -D -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/resourcemgr.service
+ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
 
 %post -n libtss2-0 -p /sbin/ldconfig
 %postun -n libtss2-0 -p /sbin/ldconfig
 
+%pre
+%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 ChangeLog LICENSE *.png
 %{_sbindir}/resourcemgr
+/%{_unitdir}/resourcemgr.service
+%{_sbindir}/rcresourcemgr
 
 %files devel
 %defattr(-,root,root)

++ resourcemgr.service ++
[Unit]
Description=TPM 2.0 Core Services Daemon

[Service]
Type=forking
ExecStart=/usr/sbin/resourcemgr

[Install]
WantedBy=multi-user.target



commit tpm2-0-tss for openSUSE:Factory

2016-05-10 Thread h_root
Hello community,

here is the log from the commit of package tpm2-0-tss for openSUSE:Factory 
checked in at 2016-05-10 09:27:39

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


Package is "tpm2-0-tss"

Changes:

--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes2016-04-28 
16:56:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new/tpm2-0-tss.changes   
2016-05-10 09:27:41.0 +0200
@@ -1,0 +2,6 @@
+Fri May  6 19:45:29 UTC 2016 - jeng...@inai.de
+
+- Correct package naming to be in line with shared library guideline
+- Remove unused systemd build and runtime dependencies
+
+---



Other differences:
--
++ tpm2-0-tss.spec ++
--- /var/tmp/diff_new_pack.cO0VE7/_old  2016-05-10 09:27:42.0 +0200
+++ /var/tmp/diff_new_pack.cO0VE7/_new  2016-05-10 09:27:42.0 +0200
@@ -29,10 +29,8 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-BuildRequires:  systemd-rpm-macros
 Requires(pre):  pwdutils
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%{?systemd_requires}
 
 %description
 The tpm2-0-tss package provides a TPM 2.0 TSS implementation.
@@ -41,18 +39,21 @@
 Summary:Development headers for the TSS (TCG Software Stack) access 
library for TPM 2.0 chips
 Group:  Development/Libraries/C and C++
 Requires:   glibc-devel
-Requires:   libtss2 = %{version}
+Requires:   libtss2-0 = %{version}
 
 %description devel
 This package provides the development files for the libtss2 library
 for accessing TPM 2.0 chips.
 
-%package -n libtss2
+%package -n libtss2-0
 Summary:TSS (TCG Software Stack) access library for TPM 2.0 chip
 Group:  System/Libraries
 Requires:   trousers
+# Non-SLPP package name from earlier
+Obsoletes:  libtss2 < %version-%release
+Provides:   libtss2 = %version-%release
 
-%description -n libtss2
+%description -n libtss2-0
 This package provides the library to access the TSS (TCG Software Stack) for
 accessing TPM 2.0 chips.
 
@@ -68,8 +69,8 @@
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%post -n libtss2 -p /sbin/ldconfig
-%postun -n libtss2 -p /sbin/ldconfig
+%post -n libtss2-0 -p /sbin/ldconfig
+%postun -n libtss2-0 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
@@ -84,7 +85,7 @@
 ##only available in static form
 #%{_libdir}/libtddl.a
 
-%files -n libtss2
+%files -n libtss2-0
 %defattr(-,root,root)
 /%{_libdir}/libtss2.so.*
 /%{_libdir}/libtctidevice.so.*

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.cO0VE7/_old  2016-05-10 09:27:42.0 +0200
+++ /var/tmp/diff_new_pack.cO0VE7/_new  2016-05-10 09:27:42.0 +0200
@@ -1 +1 @@
-libtss2
+libtss2-0