Commit Graph

12 Commits

Author SHA1 Message Date
Stefan Berger
e5dc628043 Allow choice of crypto subsystem via rpmbuild parameter
Use 'rpmbuild -ba --define "crypto_subsystem openssl" dist/libtpms.spec'
to build libtpms with openssl.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-06-26 13:19:59 -04:00
Stefan Berger
f79e8301f4 rpmbuild: Fix dependencies for OpenSSL
Fix the Requires and BuildRequires dependencies for OpenSSL build.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-07-16 12:39:19 -04:00
Stefan Berger
acbfe13344 rpmbuild: Add virtual provide libtpms-<crypto subsystem>
Add a virtual provide libtpms-freebl or libtpms-openssl to
indicate which crypto library libtpms is using.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-07-16 12:33:34 -04:00
Stefan Berger
40e13951a9 build: do not set -D_FORTIFY_SOURCE=2 when -O0 is set or -O is missing
-D_FORTIFY_SOURCE needs optimization, so we do not set it if -O0 is
set or -O is missing.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-05-01 12:07:21 -04:00
Stefan Berger
9acd053d6d Also request nss-softok-freebl-static on Fedora. 2014-10-16 13:12:59 -04:00
Stefan Berger
2e31126832 Do not package libtpms.la. 2014-10-16 13:12:01 -04:00
Stefan Berger
327c8be0af Some fixes to the spm spec
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2014-07-14 17:22:14 -04:00
Stefan Berger
052581174f Adapt spec so it can also be built on RHEL6.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2014-07-02 07:37:05 -04:00
Stefan Berger
ff5fac41e4 Create version 0.5.2
Set the version of the library to 0.5.2.
Synchronize the rpm spec with the one used in Fedora and set the release
version to 1.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2014-06-30 15:04:15 -04:00
Stefan Berger
017c810393 Use boostrap.sh to build rpm on Fedora machines
Use bootstrap.sh before running configure when building an rpm.
Reorder the tools in bootstrap.sh to avoid error messages.

Rename configure.in to configure.ac to quite down more recent autotools.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
2014-01-21 14:21:36 -06:00
Stefan Berger
ea5d455718 Sync libtpms.spec.in with Fedora repository
Sync the libtpms.spec.in with the content in the Fedora repository.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
2014-01-21 14:21:36 -06:00
Corey Bryant
a0098eda2d Initial import of project
This is the initial import of the libtpms library.  The libtpms library
provides software emulation of a Trusted Platform Module (TPM).  It is
intended to be used by applications when a hardware TPM is not adequate.
For example, a hypervisor can use libtpms to emulate an independent TPM
for each of it's virtual machine guests.  The library provides a high-
level API for developers to integrate the emulated TPM support into
their application.

The code was originally written by Kenneth Goldman <kgoldman@us.ibm.com>
and Stefan Berger <stefanb@us.ibm.com>.

The code is licensed under the Modified BSD License.

Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
2013-10-31 15:33:22 -05:00