]> git.proxmox.com Git - swtpm.git/blobdiff - INSTALL
d/control: Proxmox maintains this package for Proxmox projects
[swtpm.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index e40de7fa5a62c8060e69bd490c6346b9e6bd59c6..5d9f3b030e241ade9d560ee272b907a6706f593e 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -13,11 +13,13 @@ Building and running the swtpm has dependencies on the following packages:
 - fuse-devel
 - glib2
 - glib2-devel
-- gmp
-- gmp-devel
-- nss-devel
+- json-glib-devel
 - net-tools
+- python3
+- python3-twisted
 - selinux-policy-devel
+- socat
+- trousers
 - gnutls
 - gnutls-devel
 - libtasn1
@@ -34,19 +36,18 @@ Debian/Ubuntu also needs the following packages to build:
 On RHEL or Fedora use either one of the following methods to install
 the above dependencies:
 
- - sudo dnf builddep ./dist/swtpm.spec  (Fedora >= 22)
- - sudo yum install yum-utils ; sudo yum-builddep ./dist/swtpm.spec  (RHEL and Fedora <= 21)
+ - sudo dnf builddep ./swtpm.spec  (Fedora >= 22)
+ - sudo yum install yum-utils ; sudo yum-builddep ./swtpm.spec  (RHEL and Fedora <= 21)
  - sudo yum install <package name(s)>
 
 On Ubuntu use the following command:
 
- - sudo mk-build-deps --install ./dist/control
+ - sudo mk-build-deps --install ./debian/control
 
 
 Use the following sequence to build and install the Software TPM.
 
-./bootstrap.sh
-./configure --prefix=/usr
+./autogen.sh --prefix=/usr
 make
 make check
 make install
@@ -54,15 +55,12 @@ make install
 
 To build an rpm on a Fedora or RHEL host do:
 
-./bootstrap.sh
-./configure
+./autogen.sh
 make dist
-mkdir -p ~/rpmbuild/SOURCES
-cp swtpm-0.x.y-tar.gz ~/rpmbuild/SOURCES
-rpmbuild -ba dist/swtpm.spec
+rpmbuild -ta swtpm-*.tar.gz
 
 
 To build a Debian package on a Debian compatible host do:
 
-echo "libtpms 0 libtpms" > ./debian/shlibs.local
+echo "libtpms0 libtpms" > ./debian/shlibs.local
 debuild -us -uc