- Updated to 1.0

- 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

OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=25
This commit is contained in:
Marcus Meissner 2017-02-08 13:48:45 +00:00 committed by Git OBS Bridge
parent 58dde6ea68
commit e248e2535a
5 changed files with 39 additions and 18 deletions

3
1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5697cfe7f4fd44d6ae1ec03cddb6b44d5cf5cd13e134c7238049551d1615488
size 3790493

View File

@ -1,9 +0,0 @@
[Unit]
Description=TPM 2.0 Core Services Daemon
[Service]
Type=forking
ExecStart=/usr/sbin/resourcemgr
[Install]
WantedBy=multi-user.target

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7be3f9f2473506ab06a3f06ebd8ea0920c317e7e14c5ca7ce54e58e8b48b9232
size 3742841

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Wed Feb 8 13:43:55 UTC 2017 - meissner@suse.com
- Updated to 1.0
- 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
-------------------------------------------------------------------
Sat Aug 6 19:28:27 UTC 2016 - meissner@suse.com

View File

@ -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,14 +17,13 @@
Name: tpm2-0-tss
Version: 0.98
Version: 1.0
Release: 0
Summary: TSS (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
BuildRequires: automake
BuildRequires: gcc-c++
@ -60,7 +59,7 @@ This package provides the library to access the TSS (TCG Software Stack) for
accessing TPM 2.0 chips.
%prep
%setup -q
%setup -q -n TPM2.0-TSS-%{version}
%build
bash bootstrap
@ -70,7 +69,8 @@ make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
install -D -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/resourcemgr.service
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
%post -n libtss2-0 -p /sbin/ldconfig