FreeBSD Bugzilla – Attachment 243882 Details for
Bug 272973
[NEW PORT] sysutils/swtpm: Libtpms-based TPM emulator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
swtpm.patch
0001-NEW-PORT-sysutils-swtpm-Libtpms-based-TPM-emulator.patch (text/plain), 3.71 KB, created by
Goran Mekić
on 2023-08-06 11:37:54 UTC
(
hide
)
Description:
swtpm.patch
Filename:
MIME Type:
Creator:
Goran Mekić
Created:
2023-08-06 11:37:54 UTC
Size:
3.71 KB
patch
obsolete
>From 2fad74b232aee12272b51baf06bab4c6ae2557e0 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Goran=20Meki=C4=87?= <meka@tilda.center> >Date: Sun, 6 Aug 2023 12:10:06 +0200 >Subject: [PATCH] [NEW PORT] sysutils/swtpm: Libtpms-based TPM emulator > >PR: 272973 >--- > 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(+) > create mode 100644 sysutils/swtpm/Makefile > create mode 100644 sysutils/swtpm/distinfo > create mode 100644 sysutils/swtpm/pkg-descr > create mode 100644 sysutils/swtpm/pkg-plist > >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 >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
meka
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 272973
: 243882