Commit Graph

55 Commits

Author SHA1 Message Date
Fedora Release Engineering
64c89ca5bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 01:53:43 +00:00
Yunying Sun
38c3ac1219 Update to 4.1 release 2019-11-28 10:14:17 +08:00
Yunying Sun
41f9d69ee3 Update to 4.0.1 release 2019-10-29 16:19:30 +08:00
Peter Robinson
509033387b 4.0 2019-09-10 17:16:17 +01:00
Javier Martinez Canillas
ee872d45df
Use a release tarball instead of a source code tarball
The current source tarball isn't a release tarball but a source code
tarball. Which means that a configure script isn't present and the
bootstrap script needs to be executed in order to build the package.

But it messes with the PACKAGE_VERSION variable that's correctly set
in the release tarball. So the tools don't provide a correct version:

$ tpm2_createprimary -v
tool="tpm2_createprimary" version="" tctis="libtss2-tctildr" tcti-default=tcti-device

When using the release tarball instead:

$ tpm2_createprimary -v
tool="tpm2_createprimary" version="4.0-rc2" tctis="libtss2-tctildr" tcti-default=tcti-device

Also, the Source URL isn't correct so tools that rely on it won't work:

$ spectool -g tpm2-tools.spec
...
curl: (22) The requested URL returned error: 404 Not Found

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-09-06 18:46:57 +02:00
Peter Robinson
c324fb7dbf 4.0 RC2 2019-09-06 13:08:34 +01:00
Peter Robinson
e4156ce721 Build update for 4.0rc1 2019-08-28 11:09:39 +01:00
Peter Robinson
436602f4e8 4.0 RC1 2019-08-27 10:10:51 +01:00
Peter Robinson
0a0c5a2be3 Update to 4.0 RC0 2019-08-20 15:05:29 +01:00
Peter Robinson
9880cbc871 Fix for crash for max PCRs available 2019-08-01 10:13:27 +01:00
Fedora Release Engineering
c2f7c4726f - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 01:45:06 +00:00
Yunying Sun
6165724ecb Update to 3.2.0 release 2019-06-21 15:05:33 +08:00
Javier Martinez Canillas
af88e806f0
Add tpm2_pcrreset and tpm2_checkquote tools
This change adds the backported tpm2_pcrreset and tpm2_checkquote tools
and also the support to allow tpm2_makecredential tool to run off-TPM.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-05-10 15:24:01 +02:00
Peter Robinson
51662f52c8 update .gitignore 2019-03-16 17:04:34 +00:00
Yunying Sun
aea7a2fbdd Update to 3.1.4 release 2019-03-15 10:43:06 +08:00
Fedora Release Engineering
615ce8c850 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 10:08:16 +00:00
Javier Martinez Canillas
fcd4476d71
Fix broken -T option when passing additional arguments
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-01-07 17:54:25 +01:00
Javier Martinez Canillas
384f3d9cf4
Add pandoc BuildRequires
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-01-07 10:39:01 +01:00
Javier Martinez Canillas
83d0ae72b7
Fix broken -T option and a couple of minor fixes
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-01-07 10:12:43 +01:00
Yunying Sun
1d7ef2c742 Update to 3.1.3 release 2018-11-07 13:45:49 +08:00
Javier Martinez Canillas
8c0d198913
Update to 3.1.2 release
The release contains several bugfixes. This change also adds some upstream
patches that fixes backward incompatibilities changes that were introduced
in the 3.1.0 release.

Resolves: rhbz#1625647

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-09-13 01:30:21 +02:00
Javier Martinez Canillas
58cab6daaa
Revert backward incompatible change that removes default object attributes
The tpm2-tools 3.1.0 release contains a backward incompatible change that
was introduced by commit e103bbf5117 ("objectattrs: clear before or'ing
in values"), that changed the way that object attributes were specified.

Before there were a set of default attributes and the user could specify
additional attributes to be used, but after the mentioned commit the user
must specify all attributes.

This is a user visible change that changes the tools semantics, so is not
a suitable change for a MINOR version number increment, according to the
Semantic Versioning document (https://semver.org) since it breaks rule 2:

2.MINOR version when you add functionality in a backwards-compatible manner

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-07-14 10:51:59 +02:00
Fedora Release Engineering
d8e8b37b3c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 07:46:00 +00:00
Yunying Sun
d10185ca57 Update to 3.1.1 release 2018-07-12 13:44:04 +08:00
Yunying Sun
3304a4eec1 Update to 3.1.0 release 2018-07-05 10:14:58 +08:00
Javier Martinez Canillas
a9aa52a877
Update to 3.0.4 release
tpm2-tools 3.0.4 version is just a minor release that contains several
fixes, the most important being a fix for how private keys were stored.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-04-30 12:40:43 +02:00
Javier Martinez Canillas
ed6f21a992
Don't restrict build to x86 arches
The package has an ExclusiveArch: %{ix86} x86_64 directive, but there
isn't anything x86 specific and can be built on all the architectures.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-02-21 16:34:36 +01:00
Fedora Release Engineering
c22b931773 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 19:16:18 +00:00
Javier Martinez Canillas
31faa1c50f
Update to 3.0.3 release
The tpm2-tools 3.0.2 version is just a minor release that fixes undefined
references in libmarshal and makes tools that don't use the TPM device to
not attempt to create a connection.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-01-16 11:15:27 +01:00
Javier Martinez Canillas
7e8346207c
Update to 3.0.2 release
The tpm2-tools 3.0.2 version was released, this is just a minor release
that fixes buffer overflows, other issues and adds integration tests to
the generated tarball. Update the package to this latest version.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2017-12-18 21:03:51 +01:00
Javier Martinez Canillas
be9299b3a8
Update to 3.0.1 release
The tpm2-tools 3.0.1 version was released, this is just a minor release
that fixes an issue that the LICENSE file and other docs were not added
to the generated tarball.

Update the package to this version and also use the generated tarball
instead of the source code tarball, now that includes a license file.

resolves: rhbz#1512743

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2017-12-12 14:18:51 +01:00
Javier Martinez Canillas
d57864f54a
Update to 3.0 release
The tpm2-tools 3.0 was released, update the package to the latest version.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2017-12-11 08:09:10 +01:00
Javier Martinez Canillas
b3574b6515
Update to 3.0 release candidate 1
This commit updates tpm2-tools to version 3.0-rc1. It also does some
cleanups to the package such as using the latest URL for the project
repository.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2017-11-29 10:13:43 +01:00
Javier Martinez Canillas
565cd7e724
Update to 2.1.1 release
This commit updates the tpm2-tools package to version 2.1.1. It also does
some cleanups such as changing the prefixes to tpm2-tools that is the new
name for the upstream project repository. Since this matches the pkg name
the global pkg_prefix can be removed.

It also removes the downstream patches since these are already present in
the latest upstream release.

resolves: rhbz#1504438

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2017-11-01 22:51:39 +01:00
Jerry Snitselaar
3d1352694e lib: Clean up potential memory leak
If sapi_ctx_init fails, free tcti_ctx

resolves: rhbz#1503959

Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
2017-10-19 00:34:52 -07:00
Javier Martinez Canillas
16c073d093
Add tpm2-abrmd-devel BuildRequires (RHBZ#1498909)
The tools currently are not built with tabrmd TCTI support, since the
tcti-tabrmd isn't a BuildRequires. Fix this by adding the dependency.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2017-10-05 16:25:59 +02:00
Javier Martinez Canillas
2cf8f7b1b3 Remove unneeded source tarballs
The source tarballs don't need to be in the package git repository, since
tools building the package will obtain the source url from the SPEC file
and download it before doing the build.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2017-08-18 16:46:56 +08:00
Yunying Sun
835e95e538 Add patch to fix build error with openssl-devel 1.1x 2017-08-15 15:00:16 +08:00
Fedora Release Engineering
2b1bdf9a97 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 09:33:48 +00:00
Yunying Sun
908b3309dc Add patch to fix gcc7 complaining about implict-fallthrough cases 2017-07-31 15:36:29 +08:00
Yunying Sun
cfa8828565 Revert "Add patch0 to fix build error about implicit-fallthrough cases"
This reverts commit 7afceb6d11.
2017-07-31 14:23:56 +08:00
Yunying Sun
7afceb6d11 Add patch0 to fix build error about implicit-fallthrough cases 2017-07-31 11:01:39 +08:00
Yunying Sun
f4ab801b43 Revert "Update spec adding -Wimplicit-fallthrough=0 to avoid compiling error"
This reverts commit 7af0110095.
2017-07-28 16:46:17 +08:00
Yunying Sun
7af0110095 Update spec adding -Wimplicit-fallthrough=0 to avoid compiling error 2017-07-28 15:49:26 +08:00
Yunying Sun
5316d66db6 Update to latest upstream release 2.1.0 2017-07-28 11:09:11 +08:00
Yunying Sun
b855021772 Update changelog for updating Requires dependency 2017-07-28 10:43:53 +08:00
Yunying Sun
a85fced9bb Update dependency so that tpm2-tss update won't break tpm2-tools build 2017-07-28 10:39:26 +08:00
Fedora Release Engineering
c5c20ac8ba - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 20:29:24 +00:00
Yunying Sun
e32e4e4cdc update release version to make fedpkg build work for f26 2017-05-10 14:27:53 +08:00
Yunying Sun
cbe3cc372f update tpm2-tss version in spec to fix broken dependency on f26 2017-03-01 16:20:57 +08:00