pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/libtpms sysutils/libtpms: import libtpms-0.9.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d481da324bb
branches:  trunk
changeset: 373021:2d481da324bb
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Feb 05 03:09:26 2022 +0000

description:
sysutils/libtpms: import libtpms-0.9.1

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.

It is assumed that the user of libtpms is familiar with the concepts
of the Trusted Platform Module (TPM). For the interaction with libtpms
it is necessary to know how to construct valid TPM commands and to
be able to parse their results. It is not within the scope of libtpms's
documentation to provide background on this

diffstat:

 sysutils/libtpms/DESCR         |  10 ++++++++++
 sysutils/libtpms/Makefile      |  26 ++++++++++++++++++++++++++
 sysutils/libtpms/PLIST         |  35 +++++++++++++++++++++++++++++++++++
 sysutils/libtpms/buildlink3.mk |  13 +++++++++++++
 sysutils/libtpms/distinfo      |   5 +++++
 5 files changed, 89 insertions(+), 0 deletions(-)

diffs (109 lines):

diff -r 2529e8c797f0 -r 2d481da324bb sysutils/libtpms/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libtpms/DESCR    Sat Feb 05 03:09:26 2022 +0000
@@ -0,0 +1,10 @@
+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.
+
+It is assumed that the user of libtpms is familiar with the concepts
+of the Trusted Platform Module (TPM). For the interaction with libtpms
+it is necessary to know how to construct valid TPM commands and to
+be able to parse their results. It is not within the scope of libtpms's
+documentation to provide background on this
diff -r 2529e8c797f0 -r 2d481da324bb sysutils/libtpms/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libtpms/Makefile Sat Feb 05 03:09:26 2022 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2022/02/05 03:09:26 ryoon Exp $
+
+GITHUB_PROJECT=        libtpms
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      libtpms-0.9.1
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=stefanberger/}
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/stefanberger/libtpms/
+COMMENT=       Library for TPM (Trusted Platform Module) 1.2/2.0 emulation
+LICENSE=       libtpms-license
+
+USE_LIBTOOL=   yes
+USE_TOOLS+=    automake gmake pkg-config
+USE_LANGUAGES= c c++
+
+GNU_CONFIGURE=         yes
+CONFIGURE_SCRIPT=      autogen.sh
+CONFIGURE_ARGS+=       --with-tpm2
+CONFIGURE_ARGS+=       --with-openssl
+
+PKGCONFIG_OVERRIDE+=   libtpms.pc.in
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2529e8c797f0 -r 2d481da324bb sysutils/libtpms/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libtpms/PLIST    Sat Feb 05 03:09:26 2022 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/05 03:09:26 ryoon Exp $
+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.la
+lib/pkgconfig/libtpms.pc
+man/man3/TPMLIB_CancelCommand.3
+man/man3/TPMLIB_ChooseTPMVersion.3
+man/man3/TPMLIB_DecodeBlob.3
+man/man3/TPMLIB_GetInfo.3
+man/man3/TPMLIB_GetState.3
+man/man3/TPMLIB_GetTPMProperty.3
+man/man3/TPMLIB_GetVersion.3
+man/man3/TPMLIB_MainInit.3
+man/man3/TPMLIB_Process.3
+man/man3/TPMLIB_RegisterCallbacks.3
+man/man3/TPMLIB_SetBufferSize.3
+man/man3/TPMLIB_SetDebugFD.3
+man/man3/TPMLIB_SetDebugLevel.3
+man/man3/TPMLIB_SetDebugPrefix.3
+man/man3/TPMLIB_SetState.3
+man/man3/TPMLIB_Terminate.3
+man/man3/TPMLIB_ValidateState.3
+man/man3/TPMLIB_VolatileAll_Store.3
+man/man3/TPM_Free.3
+man/man3/TPM_IO_Hash_Data.3
+man/man3/TPM_IO_Hash_End.3
+man/man3/TPM_IO_Hash_Start.3
+man/man3/TPM_IO_TpmEstablished_Get.3
+man/man3/TPM_IO_TpmEstablished_Reset.3
+man/man3/TPM_Malloc.3
+man/man3/TPM_Realloc.3
diff -r 2529e8c797f0 -r 2d481da324bb sysutils/libtpms/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libtpms/buildlink3.mk    Sat Feb 05 03:09:26 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/05 03:09:26 ryoon Exp $
+
+BUILDLINK_TREE+=       libtpms
+
+.if !defined(LIBTPMS_BUILDLINK3_MK)
+LIBTPMS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libtpms+=        libtpms>=0.9.0
+BUILDLINK_PKGSRCDIR.libtpms?=  ../../sysutils/libtpms
+
+.endif # LIBTPMS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libtpms
diff -r 2529e8c797f0 -r 2d481da324bb sysutils/libtpms/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libtpms/distinfo Sat Feb 05 03:09:26 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/05 03:09:26 ryoon Exp $
+
+BLAKE2s (libtpms-0.9.1.tar.gz) = c3177156ac0686747f8007655c953487aa608e06f8e92a2198ece59b14da661c
+SHA512 (libtpms-0.9.1.tar.gz) = 15ae14bca4ac24391ba06accae37d7e914e410ac9dc1aeae0743295371c9a0e0851f191c55bffb765cb731e8d397188be6441d2b6c1f5011b56a354428c4dad1
+Size (libtpms-0.9.1.tar.gz) = 1261528 bytes



Home | Main Index | Thread Index | Old Index