diff --git a/trousers-0.3.14-fno-fcommon.patch b/trousers-0.3.14-fno-fcommon.patch new file mode 100644 index 0000000..5046bc7 --- /dev/null +++ b/trousers-0.3.14-fno-fcommon.patch @@ -0,0 +1,15 @@ +diff --git a/src/include/tcsd.h b/src/include/tcsd.h +index 5b9462b..05bae97 100644 +--- a/src/include/tcsd.h ++++ b/src/include/tcsd.h +@@ -166,8 +166,8 @@ void thread_signal_init(); + + /* signal handling */ + #ifndef __APPLE__ +-struct sigaction tcsd_sa_int; +-struct sigaction tcsd_sa_chld; ++extern struct sigaction tcsd_sa_int; ++extern struct sigaction tcsd_sa_chld; + #endif + + #endif diff --git a/trousers.spec b/trousers.spec index a4d5f03..80b7c36 100644 --- a/trousers.spec +++ b/trousers.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f1-3) Name: trousers -Version: 0.3.13 -Release: 3mamba +Version: 0.3.14 +Release: 1mamba Summary: An open-source TCG Software Stack implementation Group: System/Libraries Vendor: openmamba @@ -11,12 +11,12 @@ 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-5.patch +Patch1: trousers-0.3.14-fno-fcommon.patch License: Common Public Attribution License 1.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libopenssl-devel ## AUTOBUILDREQ-END -BuildRequires: libopenssl-devel >= 1.0.2h BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -33,9 +33,10 @@ This package contains libraries and header files for developing applications tha %debug_package %prep -%setup -q -%patch0 -p1 -#%patch1 -p1 +%setup -q -c +#%patch0 -p1 +%patch1 -p1 +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub %build %configure @@ -76,6 +77,9 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/tcsd.service %doc ChangeLog README README.selinux TODO %changelog +* Sat Nov 28 2020 Silvan Calarco 0.3.14-1mamba +- update to 0.3.14 + * Sat Aug 20 2016 Silvan Calarco 0.3.13-3mamba - added patch for gcc 5