diff --git a/sysutils/Makefile b/sysutils/Makefile --- 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 --- /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 diff --git a/sysutils/libtpms/distinfo b/sysutils/libtpms/distinfo new file mode 100644 --- /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 --- /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 --- /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