sysutils/swtpm: libtpms-based TPM emulator

PR:			272973
Reviewed by:		manu
Approved by:		manu
Differential Revision:	https://reviews.freebsd.org/D41346
This commit is contained in:
Goran Mekić
2023-08-06 12:10:06 +02:00
committed by Corvin Köhne
parent 6dd18dc319
commit c3cfb98cbb
5 changed files with 70 additions and 0 deletions
+1
View File
@@ -1392,6 +1392,7 @@
SUBDIR += swapmon
SUBDIR += swapusage
SUBDIR += sweeper
SUBDIR += swtpm
SUBDIR += symlinks
SUBDIR += symon
SUBDIR += synergy
+31
View File
@@ -0,0 +1,31 @@
PORTNAME= swtpm
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.0
CATEGORIES= sysutils
MAINTAINER= meka@tilda.center
COMMENT= Libtpms-based TPM emulator
WWW= https://github.com/stefanberger/swtpm
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgnutls.so:security/gnutls \
libjson-glib-1.0.so:devel/json-glib \
libtasn1.so:security/libtasn1 \
libtpms.so:sysutils/libtpms
BUILD_DEPENDS= base64>=0:converters/base64 \
bash>=0:shells/bash \
expect>=0:lang/expect \
gawk>=0:lang/gawk \
socat>=0:net/socat
USES= autoreconf gettext-runtime gmake gnome libtool pathfix \
pkgconfig ssl
USE_GNOME+= glib20
USE_GITHUB= yes
GH_ACCOUNT= stefanberger
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1691312802
SHA256 (stefanberger-swtpm-v0.8.0_GH0.tar.gz) = ad433f9272fb794aafd550914d24cc0ca33d4652cfd087fa41b911fa9e54be3d
SIZE (stefanberger-swtpm-v0.8.0_GH0.tar.gz) = 363951
+3
View File
@@ -0,0 +1,3 @@
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.
+32
View File
@@ -0,0 +1,32 @@
bin/swtpm
bin/swtpm_bios
bin/swtpm_cert
bin/swtpm_ioctl
bin/swtpm_localca
bin/swtpm_setup
%%ETCDIR%%-localca.conf
%%ETCDIR%%-localca.options
%%ETCDIR%%_setup.conf
include/swtpm/tpm_ioctl.h
lib/swtpm/libswtpm_libtpms.a
lib/swtpm/libswtpm_libtpms.so
lib/swtpm/libswtpm_libtpms.so.0
lib/swtpm/libswtpm_libtpms.so.0.0.0
man/man3/swtpm_ioctls.3.gz
man/man5/swtpm-localca.conf.5.gz
man/man5/swtpm-localca.options.5.gz
man/man5/swtpm_setup.conf.5.gz
man/man8/swtpm-create-tpmca.8.gz
man/man8/swtpm-localca.8.gz
man/man8/swtpm.8.gz
man/man8/swtpm_bios.8.gz
man/man8/swtpm_cert.8.gz
man/man8/swtpm_cuse.8.gz
man/man8/swtpm_ioctl.8.gz
man/man8/swtpm_localca.8.gz
man/man8/swtpm_setup.8.gz
%%DATADIR%%/swtpm-create-tpmca
%%DATADIR%%/swtpm-create-user-config-files
%%DATADIR%%/swtpm-localca
@dir /var/lib/swtpm-localca
@dir /var/lib