Compare commits

...

8 Commits
rawhide ... f30

Author SHA1 Message Date
Stefan Berger 145ce07d18 follow stable-0.2.0 branch with fix of GnuTLS API call to get subject key ID 2019-11-15 22:03:08 -05:00
Stefan Berger 6f167f381d follow stable-0.2.0 branch swith swtpm_cert OID bugfix for TPM 2 2019-10-18 08:16:31 -04:00
Stefan Berger 47ad2f434b run 'restorecon' on swtpm in post to get SELinux label on first install 2019-08-13 11:01:48 -04:00
Stefan Berger 794c38044c run 'restorecon' on swtpm in post to get SELinux label on first install 2019-08-13 10:40:17 -04:00
Stefan Berger 7243461b31 follow stable-0.2.0 branch with some bug fixes 2019-08-01 08:29:01 -04:00
Stefan Berger a5bafe976a follow stable-0.2.0 branch with some bug fixes 2019-07-23 14:09:19 -04:00
Stefan Berger b3876018f4 (tentative) v0.2.0 release of swtpm 2019-07-16 09:59:41 -04:00
Stefan Berger fe2ebc0cb7 pick up bug fixes 2019-04-26 08:58:02 -04:00
3 changed files with 35 additions and 6 deletions

6
.gitignore vendored
View File

@ -5,3 +5,9 @@
/swtpm-05d8160.tar.gz
/swtpm-8b9484a.tar.gz
/swtpm-2c25d13.tar.gz
/swtpm-ca85606.tar.gz
/swtpm-374b669.tar.gz
/swtpm-f0b4137.tar.gz
/swtpm-13536aa.tar.gz
/swtpm-9227cf4.tar.gz
/swtpm-8dae4b3.tar.gz

View File

@ -1,2 +1,2 @@
SHA512 (swtpm-2c25d13.tar.gz) = 82ec90fbaf07c2ef5ebea26943a20332928c05f248d4d1815bba7e64fcb113979a382e5398e944cb992552975f4f483fe808ac819a605c4d1c48d6ad4cfd75e4
SHA512 (swtpm.spec) = 7a119269ff4c86087c8552c7335ee657b850173556f97c9129054b37c270ee3c182b72286bcc62028cfedf4682a5dec4ac920df67d7f89a114068a080ffa6e08
SHA512 (swtpm.spec) = 2bc94795f2aa990b47175753f4ff8f6912401f22f464170aa106e2962c7209d8586a74e39dd3bcfabacfaf97e199328ee69d74304156166e45e905f41b4d9559
SHA512 (swtpm-8dae4b3.tar.gz) = 9e3679d453a0f66bee4daf06113ae0d798c1b8188a838149eb52cd3dbb0960467e285fce815f5c600cea99e5d60459aec283f657272ad3d36e486a4dc002efac

View File

@ -1,7 +1,7 @@
%bcond_without gnutls
%global gitdate 20190204
%global gitcommit 2c25d137f7bbc50b1f6cde191073f465ad7878c3
%global gitdate 20191115
%global gitcommit 8dae4b3f9d4a71f67587d7900dae14c175a426d1
%global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7})
# Macros needed by SELinux
@ -11,8 +11,8 @@
Summary: TPM Emulator
Name: swtpm
Version: 0.1.0
Release: 0.%{gitdate}git%{gitshortcommit}%{?dist}.1
Version: 0.2.0
Release: 5.%{gitdate}git%{gitshortcommit}%{?dist}
License: BSD
Url: http://github.com/stefanberger/swtpm
Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz
@ -41,6 +41,7 @@ BuildRequires: libtasn1
%endif
BuildRequires: selinux-policy-devel
BuildRequires: gcc
BuildRequires: libseccomp-devel
Requires: %{name}-libs = %{version}-%{release}
Requires: libtpms >= 0.6.0
@ -102,6 +103,7 @@ for pp in /usr/share/selinux/packages/swtpm.pp \
/usr/share/selinux/packages/swtpm_svirt.pp; do
%selinux_modules_install -s %{selinuxtype} ${pp}
done
restorecon %{_bindir}/swtpm
%postun
if [ $1 -eq 0 ]; then
@ -163,6 +165,27 @@ fi
%attr( 755, tss, tss) %{_localstatedir}/lib/swtpm-localca
%changelog
* Fri Nov 15 2019 Stefan Berger <stefanb@linux.ibm.com> - 0.2.0-5.20191018git8dae4b3
- follow stable-0.2.0 branch with fix of GnuTLS API call to get subject key ID
* Fri Oct 18 2019 Stefan Berger <stefanb@linux.ibm.com> - 0.2.0-4.20191018git9227cf4
- follow stable-0.2.0 branch with swtpm_cert OID bugfix for TPM 2
* Tue Aug 13 2019 Stefan Berger <stefanb@linux.ibm.com> - 0.2.0-3.20190801git13536aa
- run 'restorecon' on swtpm in post to get SELinux label on first install
* Thu Aug 01 2019 Stefan Berger <stefanb@linux.ibm.com> - 0.2.0-2.20190801git13536aa
- follow stable-0.2.0 branch with some bug fixes
* Tue Jul 23 2019 Stefan Berger <stefanb@linux.ibm.com> - 0.2.0-1.20190723gitf0b4137
- follow stable-0.2.0 branch with some bug fixes
* Tue Jul 16 2019 Stefan Berger <stefanb@linux.ibm.com> - 0.2.0-0.20190716git374b669
- (tentative) v0.2.0 release of swtpm
* Thu Apr 25 2019 Stefan Berger <stefanb@linux.ibm.com> - 0.1.0-0.20190425gitca85606
- pick up bug fixes
* Mon Feb 04 2019 Stefan Berger <stefanb@linux.ibm.com> - 0.1.0-0.20190204git2c25d13.1
- v0.1.0 release of swtpm