notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q2
swtpm Libtpms-based TPM emulator
0.10.1 sysutils on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.10.1Version of this port present on the latest quarterly branch.
Maintainer: meka@tilda.center search for ports maintained by this maintainer
Port Added: 2023-08-09 07:27:11
Last Update: 2025-05-15 18:59:43
Commit Hash: ad5c7f2
License: BSD3CLAUSE
WWW:
https://github.com/stefanberger/swtpm
Description:
The SWTPM package provides TPM emulators with different front-end interfaces to libtpms. TPM emulators provide socket interfaces (TCP/IP and Unix) and the Linux CUSE interface for the creation of multiple native /dev/vtpm* devices.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (227 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/swtpm-0.10.1/catalog.mk
  3. /usr/local/share/licenses/swtpm-0.10.1/LICENSE
  4. /usr/local/share/licenses/swtpm-0.10.1/BSD3CLAUSE
  5. bin/swtpm
  6. bin/swtpm_bios
  7. bin/swtpm_cert
  8. bin/swtpm_cuse
  9. bin/swtpm_ioctl
  10. bin/swtpm_localca
  11. bin/swtpm_setup
  12. etc/swtpm-localca.conf
  13. etc/swtpm-localca.options
  14. etc/swtpm_setup.conf
  15. include/swtpm/tpm_ioctl.h
  16. lib/swtpm/libswtpm_libtpms.a
  17. lib/swtpm/libswtpm_libtpms.so
  18. lib/swtpm/libswtpm_libtpms.so.0
  19. lib/swtpm/libswtpm_libtpms.so.0.0.0
  20. libexec/installed-tests/swtpm/_test_encrypted_state
  21. libexec/installed-tests/swtpm/_test_getcap
  22. libexec/installed-tests/swtpm/_test_hashing
  23. libexec/installed-tests/swtpm/_test_hashing2
  24. libexec/installed-tests/swtpm/_test_init
  25. libexec/installed-tests/swtpm/_test_locality
  26. libexec/installed-tests/swtpm/_test_migration_key
  27. libexec/installed-tests/swtpm/_test_migration_key_2
  28. libexec/installed-tests/swtpm/_test_print_capabilities
  29. libexec/installed-tests/swtpm/_test_print_states
  30. libexec/installed-tests/swtpm/_test_resume_volatile
  31. libexec/installed-tests/swtpm/_test_save_load_encrypted_state
  32. libexec/installed-tests/swtpm/_test_save_load_state
  33. libexec/installed-tests/swtpm/_test_setbuffersize
  34. libexec/installed-tests/swtpm/_test_swtpm_bios
  35. libexec/installed-tests/swtpm/_test_tpm2_avoid_da_lockout
  36. libexec/installed-tests/swtpm/_test_tpm2_derived_keys
  37. libexec/installed-tests/swtpm/_test_tpm2_encrypted_state
  38. libexec/installed-tests/swtpm/_test_tpm2_file_permissions
  39. libexec/installed-tests/swtpm/_test_tpm2_getcap
  40. libexec/installed-tests/swtpm/_test_tpm2_hashing
  41. libexec/installed-tests/swtpm/_test_tpm2_hashing2
  42. libexec/installed-tests/swtpm/_test_tpm2_hashing3
  43. libexec/installed-tests/swtpm/_test_tpm2_init
  44. libexec/installed-tests/swtpm/_test_tpm2_locality
  45. libexec/installed-tests/swtpm/_test_tpm2_migration_key
  46. libexec/installed-tests/swtpm/_test_tpm2_print_capabilities
  47. libexec/installed-tests/swtpm/_test_tpm2_print_states
  48. libexec/installed-tests/swtpm/_test_tpm2_probe
  49. libexec/installed-tests/swtpm/_test_tpm2_resume_volatile
  50. libexec/installed-tests/swtpm/_test_tpm2_save_load_encrypted_state
  51. libexec/installed-tests/swtpm/_test_tpm2_save_load_state
  52. libexec/installed-tests/swtpm/_test_tpm2_save_load_state_da_timeout
  53. libexec/installed-tests/swtpm/_test_tpm2_save_load_state_locking
  54. libexec/installed-tests/swtpm/_test_tpm2_savestate
  55. libexec/installed-tests/swtpm/_test_tpm2_setbuffersize
  56. libexec/installed-tests/swtpm/_test_tpm2_swtpm_bios
  57. libexec/installed-tests/swtpm/_test_tpm2_volatilestate
  58. libexec/installed-tests/swtpm/_test_tpm2_wrongorder
  59. libexec/installed-tests/swtpm/_test_tpm_probe
  60. libexec/installed-tests/swtpm/_test_volatilestate
  61. libexec/installed-tests/swtpm/_test_wrongorder
  62. libexec/installed-tests/swtpm/common
  63. libexec/installed-tests/swtpm/create_certs.sh
  64. libexec/installed-tests/swtpm/data/ecprivek.pem
  65. libexec/installed-tests/swtpm/data/ecpubek.pem
  66. libexec/installed-tests/swtpm/data/issuercert.pem
  67. libexec/installed-tests/swtpm/data/keyfile.txt
  68. libexec/installed-tests/swtpm/data/keyfile256bit.txt
  69. libexec/installed-tests/swtpm/data/migkey1/tpm2-volatilestate.bin
  70. libexec/installed-tests/swtpm/data/migkey1/volatilestate.bin
  71. libexec/installed-tests/swtpm/data/pubek.pem
  72. libexec/installed-tests/swtpm/data/pwdfile.txt
  73. libexec/installed-tests/swtpm/data/signkey-encrypted.pem
  74. libexec/installed-tests/swtpm/data/signkey.pem
  75. libexec/installed-tests/swtpm/data/tpm2state1/tpm2-00.permall
  76. libexec/installed-tests/swtpm/data/tpm2state1/tpm2-00.volatilestate
  77. libexec/installed-tests/swtpm/data/tpm2state2/pwdfile.txt
  78. libexec/installed-tests/swtpm/data/tpm2state2/tpm2-00.permall
  79. libexec/installed-tests/swtpm/data/tpm2state2/tpm2-00.volatilestate
  80. libexec/installed-tests/swtpm/data/tpm2state2b/pwdfile.txt
  81. libexec/installed-tests/swtpm/data/tpm2state2b/tpm2-00.permall
  82. libexec/installed-tests/swtpm/data/tpm2state2b/tpm2-00.volatilestate
  83. libexec/installed-tests/swtpm/data/tpm2state3/hkey.priv
  84. libexec/installed-tests/swtpm/data/tpm2state3/hkey.pub
  85. libexec/installed-tests/swtpm/data/tpm2state3/signature.bin
  86. libexec/installed-tests/swtpm/data/tpm2state3/tpm2-00.permall
  87. libexec/installed-tests/swtpm/data/tpm2state3b/h02000000.bin
  88. libexec/installed-tests/swtpm/data/tpm2state3b/h81000000.bin
  89. libexec/installed-tests/swtpm/data/tpm2state3b/tpm2-00.permall
  90. libexec/installed-tests/swtpm/data/tpm2state3b/tpm2-00.volatilestate
  91. libexec/installed-tests/swtpm/data/tpm2state3c/tpm2-00.permall
  92. libexec/installed-tests/swtpm/data/tpm2state3c/tpm2-00.volatilestate
  93. libexec/installed-tests/swtpm/data/tpm2state3d/signature2.bin
  94. libexec/installed-tests/swtpm/data/tpm2state3d/tpm2-00.permall
  95. libexec/installed-tests/swtpm/data/tpm2state3d/tpm2-00.volatilestate
  96. libexec/installed-tests/swtpm/data/tpm2state4/tpm2-00.permall
  97. libexec/installed-tests/swtpm/data/tpm2state4/tpm2-00.volatilestate
  98. libexec/installed-tests/swtpm/data/tpm2state5/signature.bin
  99. libexec/installed-tests/swtpm/data/tpm2state5/tpm2-00.permall
  100. libexec/installed-tests/swtpm/data/tpm2state6/tpm2-00.permall
  101. libexec/installed-tests/swtpm/data/tpmstate1/README
  102. libexec/installed-tests/swtpm/data/tpmstate1/tpm-00.permall
  103. libexec/installed-tests/swtpm/data/tpmstate1/tpm-00.volatilestate
  104. libexec/installed-tests/swtpm/data/tpmstate2/README
  105. libexec/installed-tests/swtpm/data/tpmstate2/pwdfile.txt
  106. libexec/installed-tests/swtpm/data/tpmstate2/tpm-00.permall
  107. libexec/installed-tests/swtpm/data/tpmstate2/tpm-00.volatilestate
  108. libexec/installed-tests/swtpm/data/tpmstate2b/pwdfile.txt
  109. libexec/installed-tests/swtpm/data/tpmstate2b/tpm-00.permall
  110. libexec/installed-tests/swtpm/data/tpmstate2b/tpm-00.volatilestate
  111. libexec/installed-tests/swtpm/fileinstall
  112. libexec/installed-tests/swtpm/installed-runner.sh
  113. libexec/installed-tests/swtpm/load_vtpm_proxy
  114. libexec/installed-tests/swtpm/patches/0001-Deactivate-test-cases-accessing-rootcerts.txt.patch
  115. libexec/installed-tests/swtpm/patches/0002-Implement-powerup-for-swtpm.patch
  116. libexec/installed-tests/swtpm/patches/0003-Set-CRYPTOLIBRARY-to-openssl.patch
  117. libexec/installed-tests/swtpm/patches/0004-Store-and-restore-volatile-state-at-every-step.patch
  118. libexec/installed-tests/swtpm/patches/0005-Disable-tests-related-to-events.patch
  119. libexec/installed-tests/swtpm/patches/0010-Adjust-test-cases-for-OpenSSL-3.patch
  120. libexec/installed-tests/swtpm/patches/0012-Disable-Nuvoton-commands.patch
  121. libexec/installed-tests/swtpm/patches/libtpm.patch
  122. libexec/installed-tests/swtpm/sed-inplace
  123. libexec/installed-tests/swtpm/softhsm_setup
  124. libexec/installed-tests/swtpm/swtpm_setup.conf
  125. libexec/installed-tests/swtpm/test_clientfds.py
  126. libexec/installed-tests/swtpm/test_commandline
  127. libexec/installed-tests/swtpm/test_common
  128. libexec/installed-tests/swtpm/test_config
  129. libexec/installed-tests/swtpm/test_ctrlchannel2
  130. libexec/installed-tests/swtpm/test_ctrlchannel3
  131. libexec/installed-tests/swtpm/test_ctrlchannel4
  132. libexec/installed-tests/swtpm/test_cuse
  133. libexec/installed-tests/swtpm/test_encrypted_state
  134. libexec/installed-tests/swtpm/test_getcap
  135. libexec/installed-tests/swtpm/test_hashing
  136. libexec/installed-tests/swtpm/test_hashing2
  137. libexec/installed-tests/swtpm/test_init
  138. libexec/installed-tests/swtpm/test_locality
  139. libexec/installed-tests/swtpm/test_migration_key
  140. libexec/installed-tests/swtpm/test_parameters
  141. libexec/installed-tests/swtpm/test_print_capabilities
  142. libexec/installed-tests/swtpm/test_print_states
  143. libexec/installed-tests/swtpm/test_resume_volatile
  144. libexec/installed-tests/swtpm/test_samples_create_tpmca
  145. libexec/installed-tests/swtpm/test_save_load_encrypted_state
  146. libexec/installed-tests/swtpm/test_save_load_state
  147. libexec/installed-tests/swtpm/test_setbuffersize
  148. libexec/installed-tests/swtpm/test_setdatafd.py
  149. libexec/installed-tests/swtpm/test_swtpm_bios
  150. libexec/installed-tests/swtpm/test_swtpm_cert
  151. libexec/installed-tests/swtpm/test_swtpm_setup_create_cert
  152. libexec/installed-tests/swtpm/test_swtpm_setup_file_backend
  153. libexec/installed-tests/swtpm/test_swtpm_setup_misc
  154. libexec/installed-tests/swtpm/test_swtpm_setup_overwrite
  155. libexec/installed-tests/swtpm/test_tpm12
  156. libexec/installed-tests/swtpm/test_tpm2_avoid_da_lockout
  157. libexec/installed-tests/swtpm/test_tpm2_chroot_chardev
  158. libexec/installed-tests/swtpm/test_tpm2_chroot_cuse
  159. libexec/installed-tests/swtpm/test_tpm2_chroot_socket
  160. libexec/installed-tests/swtpm/test_tpm2_ctrlchannel2
  161. libexec/installed-tests/swtpm/test_tpm2_ctrlchannel3
  162. libexec/installed-tests/swtpm/test_tpm2_derived_keys
  163. libexec/installed-tests/swtpm/test_tpm2_encrypted_state
  164. libexec/installed-tests/swtpm/test_tpm2_file_permissions
  165. libexec/installed-tests/swtpm/test_tpm2_getcap
  166. libexec/installed-tests/swtpm/test_tpm2_hashing
  167. libexec/installed-tests/swtpm/test_tpm2_hashing2
  168. libexec/installed-tests/swtpm/test_tpm2_hashing3
  169. libexec/installed-tests/swtpm/test_tpm2_ibmtss2
  170. libexec/installed-tests/swtpm/test_tpm2_init
  171. libexec/installed-tests/swtpm/test_tpm2_libtpms_versions_profiles
  172. libexec/installed-tests/swtpm/test_tpm2_locality
  173. libexec/installed-tests/swtpm/test_tpm2_migration_key
  174. libexec/installed-tests/swtpm/test_tpm2_parameters
  175. libexec/installed-tests/swtpm/test_tpm2_partial_reads
  176. libexec/installed-tests/swtpm/test_tpm2_print_capabilities
  177. libexec/installed-tests/swtpm/test_tpm2_print_states
  178. libexec/installed-tests/swtpm/test_tpm2_probe
  179. libexec/installed-tests/swtpm/test_tpm2_resume_volatile
  180. libexec/installed-tests/swtpm/test_tpm2_save_load_encrypted_state
  181. libexec/installed-tests/swtpm/test_tpm2_save_load_state
  182. libexec/installed-tests/swtpm/test_tpm2_save_load_state_2
  183. libexec/installed-tests/swtpm/test_tpm2_save_load_state_2_block
  184. libexec/installed-tests/swtpm/test_tpm2_save_load_state_2_linear
  185. libexec/installed-tests/swtpm/test_tpm2_save_load_state_3
  186. libexec/installed-tests/swtpm/test_tpm2_save_load_state_da_timeout
  187. libexec/installed-tests/swtpm/test_tpm2_save_load_state_locking
  188. libexec/installed-tests/swtpm/test_tpm2_savestate
  189. libexec/installed-tests/swtpm/test_tpm2_setbuffersize
  190. libexec/installed-tests/swtpm/test_tpm2_swtpm_bios
  191. libexec/installed-tests/swtpm/test_tpm2_swtpm_cert
  192. libexec/installed-tests/swtpm/test_tpm2_swtpm_cert_ecc
  193. libexec/installed-tests/swtpm/test_tpm2_swtpm_localca
  194. libexec/installed-tests/swtpm/test_tpm2_swtpm_localca_pkcs11.test
  195. libexec/installed-tests/swtpm/test_tpm2_swtpm_setup_create_cert
  196. libexec/installed-tests/swtpm/test_tpm2_swtpm_setup_overwrite
  197. libexec/installed-tests/swtpm/test_tpm2_swtpm_setup_profile
  198. libexec/installed-tests/swtpm/test_tpm2_swtpm_setup_profile_name
  199. libexec/installed-tests/swtpm/test_tpm2_volatilestate
  200. libexec/installed-tests/swtpm/test_tpm2_vtpm_proxy
  201. libexec/installed-tests/swtpm/test_tpm2_wrongorder
  202. libexec/installed-tests/swtpm/test_tpm_probe
  203. libexec/installed-tests/swtpm/test_volatilestate
  204. libexec/installed-tests/swtpm/test_vtpm_proxy
  205. libexec/installed-tests/swtpm/test_wrongorder
  206. libexec/installed-tests/swtpm/tests
  207. share/man/man3/swtpm_ioctls.3.gz
  208. share/man/man5/swtpm-localca.conf.5.gz
  209. share/man/man5/swtpm-localca.options.5.gz
  210. share/man/man5/swtpm_setup.conf.5.gz
  211. share/man/man8/swtpm-create-tpmca.8.gz
  212. share/man/man8/swtpm-localca.8.gz
  213. share/man/man8/swtpm.8.gz
  214. share/man/man8/swtpm_bios.8.gz
  215. share/man/man8/swtpm_cert.8.gz
  216. share/man/man8/swtpm_cuse.8.gz
  217. share/man/man8/swtpm_ioctl.8.gz
  218. share/man/man8/swtpm_localca.8.gz
  219. share/man/man8/swtpm_setup.8.gz
  220. share/swtpm/swtpm-create-tpmca
  221. share/swtpm/swtpm-create-user-config-files
  222. share/swtpm/swtpm-localca
  223. @dir /var/lib/swtpm-localca
  224. @dir /var/lib
  225. @owner
  226. @group
  227. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • swtpm
Dependency lines:
  • swtpm>0:sysutils/swtpm
To install the port:
cd /usr/ports/sysutils/swtpm/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/swtpm
  • pkg install swtpm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: swtpm
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1746085619 SHA256 (stefanberger-swtpm-v0.10.1_GH0.tar.gz) = f8da11cadfed27e26d26c5f58a7b8f2d14d684e691927348906b5891f525c684 SIZE (stefanberger-swtpm-v0.10.1_GH0.tar.gz) = 415992

Packages (timestamps in pop-ups are UTC):
swtpm
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.10.10.10.1-0.10.10.10.1n/an/an/a
FreeBSD:13:quarterly0.10.10.10.1-0.10.10.10.1n/an/an/a
FreeBSD:14:latest0.10.10.10.1-0.10.10.10.1---
FreeBSD:14:quarterly0.10.10.10.1-0.10.10.10.10.8.1_10.8.1_10.8.1_1
FreeBSD:15:latest0.10.10.10.1n/a0.10.1n/an/a0.8.1_10.8.1_1
FreeBSD:15:quarterly0.10.10.10.1n/a-n/an/a--
FreeBSD:16:latest0.10.10.10.1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. base64>=0 : converters/base64
  2. bash>=0 : shells/bash
  3. expect>=0 : lang/expect
  4. gawk>=0 : lang/gawk
  5. socat>=0 : net/socat
  6. gettext-runtime>=0.22_1 : devel/gettext-runtime
  7. gmake>=4.4.1 : devel/gmake
  8. pkgconf>=1.3.0_1 : devel/pkgconf
  9. autoconf>=2.72 : devel/autoconf
  10. automake>=1.17 : devel/automake
  11. libtoolize : devel/libtool
Test dependencies:
  1. python3.11 : lang/python311
Library dependencies:
  1. libfuse.so : filesystems/fusefs-libs
  2. libgmp.so : math/gmp
  3. libgnutls.so : security/gnutls
  4. libjson-glib-1.0.so : devel/json-glib
  5. libtasn1.so : security/libtasn1
  6. libtpms.so : sysutils/libtpms
  7. libintl.so : devel/gettext-runtime
  8. libglib-2.0.so : devel/glib20
  9. libintl.so : devel/gettext-runtime
This port is required by:
for Run
  1. sysutils/bhyvemgr
  2. sysutils/bvm
  3. sysutils/sylve

Configuration Options:
No options to configure
Options name:
sysutils_swtpm
USES:
autoreconf gettext-runtime gmake gnome libtool pathfix pkgconfig python:env,test shebangfix ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/stefanberger/swtpm/tar.gz/v0.10.1?dummy=/
Collapse this list.

There are no commits on branch 2026Q2 for this port