From nobody Wed Aug 9 07:25:06 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RLM5b1KsYz4mL6P; Wed, 9 Aug 2023 07:25:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RLM5b0w6Jz4RNm; Wed, 9 Aug 2023 07:25:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691565907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9tEzjbuzShbokQcsivAfP8yUu11qy5jyZaWmLU6FKB0=; b=UbP/0etqL/ykRgc352i9Lw7/J4zqCQUetO8uicevwWorKYYc/DakCQvlBAXGtAS3IuSnoo XH1Gqzg7byrMdIUmEGcoYCazS5hWCR0cxBXJfS+DtrFkqYYznSlZpZiQInn1Khn2SjwjG6 rXDqTICY3RyIAhgY+jhGTRYXQyTHR47+FZKbvmxCR4J5QGgOtBNy2Q8VdIIubDZYrXnPyE 1p1RB6ORE5osK5KVzP9KrnqwLJ5fTY53C2s0A2qdxtmhj7BuZfGAlmMoWXQvnHNYAL6puM ow6ggtjN6mYY2GUV4yNGu5I60b9S8XMKJSljmUmAzA+J2Pa82YrYKkZP7g5YXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691565907; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9tEzjbuzShbokQcsivAfP8yUu11qy5jyZaWmLU6FKB0=; b=soYoLQ4eX1JzxRxRcN/oLhvx9/iVIPYymSAiCoW3hBqxt0Y9/PkWnPX+D9Wps39lawTHw7 y9vCGpVv/v591VahQKeNMWvGwu7Sn3L1xX04TLjvkMfD7TmYZwM57IaImZ9TGHxDlxK4pZ icrgb9XL9n+VnrsY29TOBAdmqyU2HIUVltBuyfvIxnvUY3+XHlIu3G9ckYxCEvIg7rWusH UvKQVrCLzFqjjZA9OzTNvXF0Wa6vKXJGvgoq5CduRlu4zKk++oe26qgFVh4zMo8XROb6ay 0KPLKl6YmduSYbTV8DI7LcSptiwU7GykwcqWmExITpsu3xvLDrVWp4dymmJJng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691565907; a=rsa-sha256; cv=none; b=QpoIysV4Mv9VOdLNupYje0XFUU39y0tq0HxLqO8StpfxfbIBzbdGOOtenkM8RtBhtBgUXs 9FYzzJKh9m8pAFRGQrtm7lgDFaKQABUVFMvZ/13XiaKs3pVo6DXV3OlH7SmEUJ6seJ/acX Drv1cSYwPcujKPxmn0ReY/RuQuQ/hw5U7aYB9hLgPGw1jZfNZxbKNArZ1jdg/jM7ZLw3Um 5HofZgYkX89KDo3Gkl0+oF88U/gG74cN3t3EQx2dpRMJQleA4Im5D5AWvGFdxSWLGYz1vn UAcLXS0j/L34373aWzgC+2cKybgaEyK7mhgJeGSRLyrtfAz+A3p4NEGCckBLIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RLM5b00qxz15sG; Wed, 9 Aug 2023 07:25:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3797P6Pe023299; Wed, 9 Aug 2023 07:25:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3797P677023296; Wed, 9 Aug 2023 07:25:06 GMT (envelope-from git) Date: Wed, 9 Aug 2023 07:25:06 GMT Message-Id: <202308090725.3797P677023296@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Corvin =?utf-8?Q?K=C3=B6hne?= Subject: git: 6dd18dc319c1 - main - sysutils/libtpms: This library provides emulation of a Trusted Platform Module List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: corvink X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6dd18dc319c12b8fc12775527bc02e25c2f4c607 Auto-Submitted: auto-generated The branch main has been updated by corvink: URL: https://cgit.FreeBSD.org/ports/commit/?id=6dd18dc319c12b8fc12775527bc02e25c2f4c607 commit 6dd18dc319c12b8fc12775527bc02e25c2f4c607 Author: Goran Mekić AuthorDate: 2023-08-06 08:53:53 +0000 Commit: Corvin Köhne 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 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