libtpms: initial commit, version 0.9.6

This commit is contained in:
Tim Biermann 2024-03-02 15:50:57 +01:00
parent 6720bf4e22
commit b4934bc90d
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 72 additions and 0 deletions

46
libtpms/.footprint Normal file
View File

@ -0,0 +1,46 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libtpms/
-rw-r--r-- root/root usr/include/libtpms/tpm_error.h
-rw-r--r-- root/root usr/include/libtpms/tpm_library.h
-rw-r--r-- root/root usr/include/libtpms/tpm_memory.h
-rw-r--r-- root/root usr/include/libtpms/tpm_nvfilename.h
-rw-r--r-- root/root usr/include/libtpms/tpm_tis.h
-rw-r--r-- root/root usr/include/libtpms/tpm_types.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libtpms.a
-rwxr-xr-x root/root usr/lib/libtpms.la
lrwxrwxrwx root/root usr/lib/libtpms.so -> libtpms.so.0.9.6
lrwxrwxrwx root/root usr/lib/libtpms.so.0 -> libtpms.so.0.9.6
-rwxr-xr-x root/root usr/lib/libtpms.so.0.9.6
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libtpms.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man3/
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_CancelCommand.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_ChooseTPMVersion.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_DecodeBlob.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_GetInfo.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_GetState.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_GetTPMProperty.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_GetVersion.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_MainInit.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_Process.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_RegisterCallbacks.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_SetBufferSize.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_SetDebugFD.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_SetDebugLevel.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_SetDebugPrefix.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_SetState.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_Terminate.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_ValidateState.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPMLIB_VolatileAll_Store.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPM_Free.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPM_IO_Hash_Data.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPM_IO_Hash_End.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPM_IO_Hash_Start.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPM_IO_TpmEstablished_Get.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPM_IO_TpmEstablished_Reset.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPM_Malloc.3.gz
-rw-r--r-- root/root usr/share/man/man3/TPM_Realloc.3.gz

5
libtpms/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3x0NPXH+IUZdPNbEJDjDkNe0w/3sCVS08MryOI+ERNeTGsL7tPLwsYXlhHr+ct7YnFkhWmsLYLtrRDEybW8LAg0=
SHA256 (Pkgfile) = ded04b04bfaea71994c2a44f6d44329c05c49acdcb0443a83779339372640105
SHA256 (.footprint) = c34c17546925f955377521fe27ed934f34063b899906f5213c8ce5cf6ddbba5c
SHA256 (libtpms-0.9.6.tar.gz) = 2807466f1563ebe45fdd12dd26e501e8a0c4fbb99c7c428fbb508789efd221c0

21
libtpms/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: Library providing a software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)
# URL: https://github.com/stefanberger/libtpms
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:
name=libtpms
version=0.9.6
release=1
source=(https://github.com/stefanberger/libtpms/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
autoreconf --install --force
./configure --prefix=/usr \
--with-openssl \
--with-tpm2
make
make DESTDIR=$PKG install
}