Date: Wed, 9 Aug 2023 07:25:08 GMT From: Corvin =?utf-8?Q?K=C3=B6hne?= <corvink@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c3cfb98cbb5e - main - sysutils/swtpm: libtpms-based TPM emulator Message-ID: <202308090725.3797P8gA023339@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by corvink: URL: https://cgit.FreeBSD.org/ports/commit/?id=c3cfb98cbb5eefeac01fdba16ace5ee11c5100ab commit c3cfb98cbb5eefeac01fdba16ace5ee11c5100ab Author: Goran Mekić <meka@tilda.center> AuthorDate: 2023-08-06 10:10:06 +0000 Commit: Corvin Köhne <corvink@FreeBSD.org> CommitDate: 2023-08-09 07:25:03 +0000 sysutils/swtpm: libtpms-based TPM emulator PR: 272973 Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D41346 --- sysutils/Makefile | 1 + sysutils/swtpm/Makefile | 31 +++++++++++++++++++++++++++++++ sysutils/swtpm/distinfo | 3 +++ sysutils/swtpm/pkg-descr | 3 +++ sysutils/swtpm/pkg-plist | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 70 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 2166f4a3b24b..34fb475d7f03 100644 --- 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 index 000000000000..48379a6019d6 --- /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 index 000000000000..1afafb302eee --- /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 index 000000000000..08a3d08f64f6 --- /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 index 000000000000..47d4aa5f670e --- /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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308090725.3797P8gA023339>