rebuilt with libopenssl 1.0.2h [release 0.3.13-2mamba;Sun Jul 24 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 18:42:02 +01:00
parent 4793219537
commit 4724af2373
3 changed files with 53 additions and 4 deletions

10
tcsd.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Manager for Trusted Computing resources
After=sysinit.target
[Service]
User=tss
ExecStart=/usr/bin/tcsd -f -c /etc/tcsd.conf
[Install]
WantedBy=default.target

View File

@ -0,0 +1,28 @@
diff --git a/src/tcs/ps/ps_utils.c b/src/tcs/ps/ps_utils.c
index 82838ab..1cbc1ce 100644
--- a/src/tcs/ps/ps_utils.c
+++ b/src/tcs/ps/ps_utils.c
@@ -42,11 +42,7 @@
struct key_disk_cache *key_disk_cache_head = NULL;
-#ifdef SOLARIS
TSS_RESULT
-#else
-inline TSS_RESULT
-#endif
read_data(int fd, void *data, UINT32 size)
{
int rc;
@@ -64,11 +60,7 @@ read_data(int fd, void *data, UINT32 size)
}
-#ifdef SOLARIS
TSS_RESULT
-#else
-inline TSS_RESULT
-#endif
write_data(int fd, void *data, UINT32 size)
{
int rc;

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-3)
Name: trousers
Version: 0.3.13
Release: 1mamba
Release: 2mamba
Summary: An open-source TCG Software Stack implementation
Group: System/Libraries
Vendor: openmamba
@ -9,10 +9,14 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/trousers/
Source: http://downloads.sourceforge.net/project/trousers/trousers/%{majver}/trousers-%{version}.tar.gz
Source1: tcsd.service
Patch0: trousers-0.3.13-gcc-6.1.0.patch
License: Common Public Attribution License 1.0
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 libtspi' to get the list of build requirements.
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRequires: libopenssl-devel >= 1.0.2h
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -30,6 +34,7 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q
%patch0 -p1
%build
%configure
@ -39,6 +44,8 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/tcsd.service
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -50,8 +57,9 @@ This package contains libraries and header files for developing applications tha
%config(noreplace) %{_sysconfdir}/tcsd.conf
%{_sbindir}/tcsd
%{_libdir}/libtspi.so.*
%{_mandir}/man5/tcsd.conf.5.gz
%{_mandir}/man8/tcsd.8.gz
%{_unitdir}/tcsd.service
%{_mandir}/man5/tcsd.conf.5*
%{_mandir}/man8/tcsd.8*
%doc AUTHORS LICENSE
%files devel
@ -67,6 +75,9 @@ This package contains libraries and header files for developing applications tha
%doc ChangeLog README README.selinux TODO
%changelog
* Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.13-2mamba
- rebuilt with libopenssl 1.0.2h
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 0.3.13-1mamba
- automatic update by autodist