pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/libtpms



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Feb  5 03:09:26 UTC 2022

Added Files:
        pkgsrc/sysutils/libtpms: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/libtpms/DESCR \
    pkgsrc/sysutils/libtpms/Makefile pkgsrc/sysutils/libtpms/PLIST \
    pkgsrc/sysutils/libtpms/buildlink3.mk pkgsrc/sysutils/libtpms/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/libtpms/DESCR
diff -u /dev/null pkgsrc/sysutils/libtpms/DESCR:1.1
--- /dev/null   Sat Feb  5 03:09:26 2022
+++ pkgsrc/sysutils/libtpms/DESCR       Sat Feb  5 03:09:26 2022
@@ -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
Index: pkgsrc/sysutils/libtpms/Makefile
diff -u /dev/null pkgsrc/sysutils/libtpms/Makefile:1.1
--- /dev/null   Sat Feb  5 03:09:26 2022
+++ pkgsrc/sysutils/libtpms/Makefile    Sat Feb  5 03:09:26 2022
@@ -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"
Index: pkgsrc/sysutils/libtpms/PLIST
diff -u /dev/null pkgsrc/sysutils/libtpms/PLIST:1.1
--- /dev/null   Sat Feb  5 03:09:26 2022
+++ pkgsrc/sysutils/libtpms/PLIST       Sat Feb  5 03:09:26 2022
@@ -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
Index: pkgsrc/sysutils/libtpms/buildlink3.mk
diff -u /dev/null pkgsrc/sysutils/libtpms/buildlink3.mk:1.1
--- /dev/null   Sat Feb  5 03:09:26 2022
+++ pkgsrc/sysutils/libtpms/buildlink3.mk       Sat Feb  5 03:09:26 2022
@@ -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
Index: pkgsrc/sysutils/libtpms/distinfo
diff -u /dev/null pkgsrc/sysutils/libtpms/distinfo:1.1
--- /dev/null   Sat Feb  5 03:09:26 2022
+++ pkgsrc/sysutils/libtpms/distinfo    Sat Feb  5 03:09:26 2022
@@ -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