Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2023 07:25:06 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: 6dd18dc319c1 - main - sysutils/libtpms: This library provides emulation of a Trusted Platform Module
Message-ID:  <202308090725.3797P677023296@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=6dd18dc319c12b8fc12775527bc02e25c2f4c607

commit 6dd18dc319c12b8fc12775527bc02e25c2f4c607
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2023-08-06 08:53:53 +0000
Commit:     Corvin Köhne <corvink@FreeBSD.org>
CommitDate: 2023-08-09 07:25:02 +0000

    sysutils/libtpms: This library provides emulation of a Trusted Platform Module
    
    PR:                     272972
    Reviewed by:            manu
    Approved by:            manu
    Differential Revision:  https://reviews.freebsd.org/D41345
---
 sysutils/Makefile          |  1 +
 sysutils/libtpms/Makefile  | 22 ++++++++++++++++++++++
 sysutils/libtpms/distinfo  |  3 +++
 sysutils/libtpms/pkg-descr |  4 ++++
 sysutils/libtpms/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++
 5 files changed, 67 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 69ae6de4b425..2166f4a3b24b 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -667,6 +667,7 @@
     SUBDIR += libretto-config
     SUBDIR += libsunacl
     SUBDIR += libsysstat
+    SUBDIR += libtpms
     SUBDIR += libtree
     SUBDIR += libudisks
     SUBDIR += liburcu
diff --git a/sysutils/libtpms/Makefile b/sysutils/libtpms/Makefile
new file mode 100644
index 000000000000..d75ef049ef20
--- /dev/null
+++ b/sysutils/libtpms/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	libtpms
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.9.6
+CATEGORIES=	sysutils
+
+MAINTAINER=	meka@tilda.center
+COMMENT=	This library provides emulation of a Trusted Platform Module
+WWW=		https://github.com/stefanberger/libtpms
+
+LICENSE=	LIBTPMS
+LICENSE_NAME=	LibTPMS
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USES=		autoreconf gmake libtool pathfix pkgconfig ssl
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+GH_ACCOUNT=	stefanberger
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+
+.include <bsd.port.mk>
diff --git a/sysutils/libtpms/distinfo b/sysutils/libtpms/distinfo
new file mode 100644
index 000000000000..16f0e179b4b2
--- /dev/null
+++ b/sysutils/libtpms/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1691309001
+SHA256 (stefanberger-libtpms-v0.9.6_GH0.tar.gz) = 2807466f1563ebe45fdd12dd26e501e8a0c4fbb99c7c428fbb508789efd221c0
+SIZE (stefanberger-libtpms-v0.9.6_GH0.tar.gz) = 1264338
diff --git a/sysutils/libtpms/pkg-descr b/sysutils/libtpms/pkg-descr
new file mode 100644
index 000000000000..36403563d10f
--- /dev/null
+++ b/sysutils/libtpms/pkg-descr
@@ -0,0 +1,4 @@
+Libtpms is a library that targets the integration of TPM functionality into
+hypervisors, primarily into Qemu. Libtpms provides a very narrow public API for
+this purpose so that integration is possible. Only the minimum of necessary
+APIs are made publicly available.
diff --git a/sysutils/libtpms/pkg-plist b/sysutils/libtpms/pkg-plist
new file mode 100644
index 000000000000..273b93846abc
--- /dev/null
+++ b/sysutils/libtpms/pkg-plist
@@ -0,0 +1,37 @@
+include/libtpms/tpm_error.h
+include/libtpms/tpm_library.h
+include/libtpms/tpm_memory.h
+include/libtpms/tpm_nvfilename.h
+include/libtpms/tpm_tis.h
+include/libtpms/tpm_types.h
+lib/libtpms.a
+lib/libtpms.so
+lib/libtpms.so.0
+lib/libtpms.so.0.9.6
+libdata/pkgconfig/libtpms.pc
+man/man3/TPMLIB_CancelCommand.3.gz
+man/man3/TPMLIB_ChooseTPMVersion.3.gz
+man/man3/TPMLIB_DecodeBlob.3.gz
+man/man3/TPMLIB_GetInfo.3.gz
+man/man3/TPMLIB_GetState.3.gz
+man/man3/TPMLIB_GetTPMProperty.3.gz
+man/man3/TPMLIB_GetVersion.3.gz
+man/man3/TPMLIB_MainInit.3.gz
+man/man3/TPMLIB_Process.3.gz
+man/man3/TPMLIB_RegisterCallbacks.3.gz
+man/man3/TPMLIB_SetBufferSize.3.gz
+man/man3/TPMLIB_SetDebugFD.3.gz
+man/man3/TPMLIB_SetDebugLevel.3.gz
+man/man3/TPMLIB_SetDebugPrefix.3.gz
+man/man3/TPMLIB_SetState.3.gz
+man/man3/TPMLIB_Terminate.3.gz
+man/man3/TPMLIB_ValidateState.3.gz
+man/man3/TPMLIB_VolatileAll_Store.3.gz
+man/man3/TPM_Free.3.gz
+man/man3/TPM_IO_Hash_Data.3.gz
+man/man3/TPM_IO_Hash_End.3.gz
+man/man3/TPM_IO_Hash_Start.3.gz
+man/man3/TPM_IO_TpmEstablished_Get.3.gz
+man/man3/TPM_IO_TpmEstablished_Reset.3.gz
+man/man3/TPM_Malloc.3.gz
+man/man3/TPM_Realloc.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308090725.3797P677023296>