mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-08-17 06:49:08 +00:00
Improve on the list of dependencies.
Update the list of rpm dependencies referred to in INSTALL and configure.ac and the spec file.
This commit is contained in:
parent
1201a5e0d7
commit
095168973d
12
INSTALL
12
INSTALL
@ -4,6 +4,7 @@ Building and running the swtpm has dependencies on the following packages:
|
||||
- autoconf
|
||||
- bash
|
||||
- coreutils
|
||||
- expect
|
||||
- libtool
|
||||
- sed
|
||||
- libtpms
|
||||
@ -14,9 +15,18 @@ Building and running the swtpm has dependencies on the following packages:
|
||||
- glib2-devel
|
||||
- gmp
|
||||
- gmp-devel
|
||||
- nss-devel
|
||||
- net-tools
|
||||
- selinux-policy-devel
|
||||
- gnutls
|
||||
- gnutls-devel
|
||||
- libtasn1
|
||||
- libtasn1-tools
|
||||
- libtasn1-devel
|
||||
- rpm-build (to build RPMs)
|
||||
|
||||
Use 'yum install <package name(s)> to install these packages.
|
||||
On RHEL or Fedora use 'yum install <package name(s)> to install the above rpm
|
||||
packages.
|
||||
|
||||
Use the following sequence to build and install the Software TPM.
|
||||
|
||||
|
||||
@ -96,12 +96,12 @@ fi
|
||||
|
||||
NSS_CFLAGS=$(pkg-config --cflags nss)
|
||||
if test $? -ne 0; then
|
||||
AC_MSG_ERROR("Is nss-softokn-freebl-devel installed? -- could not get cflags for nss")
|
||||
AC_MSG_ERROR("Is nss-devel installed? -- could not get cflags for nss")
|
||||
fi
|
||||
|
||||
NSS_LDFLAGS=$(pkg-config --libs nss)
|
||||
if test $? -ne 0; then
|
||||
AC_MSG_ERROR("Is nss-softokn-freebl-devel installed? -- could not get libs for nss")
|
||||
AC_MSG_ERROR("Is nss-devel installed? -- could not get libs for nss")
|
||||
fi
|
||||
|
||||
CFLAGS="$CFLAGS $GLIB_CFLAGS $NSS_CFLAGS"
|
||||
|
||||
2
dist/swtpm.spec.in
vendored
2
dist/swtpm.spec.in
vendored
@ -22,7 +22,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
BuildRequires: automake autoconf bash coreutils libtool sed
|
||||
BuildRequires: libtpms-devel fuse-devel glib2-devel gmp-devel
|
||||
BuildRequires: expect bash net-tools
|
||||
BuildRequires: expect bash net-tools nss-devel
|
||||
%if %{with_gnutls}
|
||||
BuildRequires: gnutls >= 3.1.0 gnutls-devel
|
||||
BuildRequires: libtasn1-tools libtasn1-devel libtasn1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user