101.20. swtpm-0.10.2
A software TPM for virtual machines — qemu's -tpmdev emulator backend
0.10.2-1 · BSD-3-Clause · 0.8 SBU · 615.3 KiB, 30 files · 41_system, 328 of 1047 · ports/core/crypto/swtpm
Homepage: https://github.com/stefanberger/swtpm
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/crypto.txt:
A guest's TPM, named on its command line: a Windows 11 installer refuses to run without one.
Depends on: libtpms, glib, json-glib, gnutls, libtasn1, openssl, libseccomp, autoconf, automake, libtool, perl, pkgconf.
Required by: no port names it.
Sources: swtpm-0.10.2.tar.gz (407.6 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install swtpm'
build.sh:
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib --disable-static \
--with-openssl \
--with-gnutls \
--with-seccomp \
--without-cuse \
--without-selinux \
--disable-tests
make
make DESTDIR=$PKG install
rm -rf "$PKG/usr/lib/installed-tests"
Programs: swtpm, swtpm_bios, swtpm_cert, swtpm_ioctl, swtpm_localca, swtpm_setup.
Directories: /usr/include/swtpm, /usr/lib/swtpm, /usr/share/licenses/swtpm, /usr/share/swtpm, /var/lib/swtpm-localca.