Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F138355736
D41346.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D41346.diff
View Options
diff --git a/sysutils/Makefile b/sysutils/Makefile
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1392,6 +1392,7 @@
SUBDIR += swapmon
SUBDIR += swapusage
SUBDIR += sweeper
+ SUBDIR += swtpm
SUBDIR += symlinks
SUBDIR += symon
SUBDIR += synergy
diff --git a/sysutils/swtpm/Makefile b/sysutils/swtpm/Makefile
new file mode 100644
--- /dev/null
+++ b/sysutils/swtpm/Makefile
@@ -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>
diff --git a/sysutils/swtpm/distinfo b/sysutils/swtpm/distinfo
new file mode 100644
--- /dev/null
+++ b/sysutils/swtpm/distinfo
@@ -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
diff --git a/sysutils/swtpm/pkg-descr b/sysutils/swtpm/pkg-descr
new file mode 100644
--- /dev/null
+++ b/sysutils/swtpm/pkg-descr
@@ -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.
diff --git a/sysutils/swtpm/pkg-plist b/sysutils/swtpm/pkg-plist
new file mode 100644
--- /dev/null
+++ b/sysutils/swtpm/pkg-plist
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 2, 8:15 AM (13 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26473933
Default Alt Text
D41346.diff (2 KB)
Attached To
Mode
D41346: sysutils/swtpm: add port for a libtpm based TPM emulator
Attached
Detach File
Event Timeline
Log In to Comment