From nobody Wed May 21 07:40:18 2025 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 4b2Ncf64Ljz5x0pw; Wed, 21 May 2025 07:40:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b2Ncf59Rsz3HJD; Wed, 21 May 2025 07:40:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747813218; 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=srT4ZATgCw9zMEhZWVXjuyMr3kX3W7inLQ9QDgfgki4=; b=csqZY29e/cWY3JHjXh9xUCxXBMRJqcUIR66OWSwWCV4CdoBGWxyYyijXDPhOevfl/zFTLF eXl7cS0vSHsQy7ZmLk0TxK23jB842E7Hufc5qaXNkLJKMmSntmbgwFqi+xv9XDZ84CcJMu iKK7XRx9DeXmrCiM6AZWkYcU2kgS5P0n7ePgqH7bURLTFi6wmj17SAxfwP7McF3VyAxKo4 7PaWZ/LjlNqhrDJulI5i5G5gND1+28DbVfCLc0gVJnw4gsbt3ZYH9ffwS2yJMgwh2nir9M psVlSvRXUW7sf3HIcATMy29QVZs4bfNxT/qZmsRmiVuGGZ5jj9lJxhysL/FJ1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747813218; 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=srT4ZATgCw9zMEhZWVXjuyMr3kX3W7inLQ9QDgfgki4=; b=FsoR7pO/StkoRRlD0+uPH4J5w6AMmPC8VTf0PzJ3vx0ZaNMPtxbgxSPO5ds0mZFPvEtBl9 WUsYUvOuQUhIVWqashGN9BBwOIQybiOyYSvxLnRvv/rzVwFiPyy1T9XyJwMDBLeIdL5/2G 6I5dqgpyyPXk9LsyE7AqGpN2zlykYJ0HRsezrQTeYAMjnBKHRmUDf/W+aXHkl3550Smiht jQdDmpVylka+mfsSSsoR7gznEm3Z5whHC8XLjVI/yjAI1AZW57jAwWKwpvOxOnaX1hUBV8 800JrZX0aL0dWUHL1ajJ2cN/9s40ZQtyaEsl3+os9Kuaxzn841hcTqOv/jB4zw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747813218; a=rsa-sha256; cv=none; b=sv1ckCrDStDtzgEWFIFYAAM1/QFpsvpZRqDm3LYPlFxaZ0fjezeHmNDZzwqpty/gK1dFVO d8wuharLvd4tOd4GmaRHV4w9KKo+2EYATXEqe4sdtZx2tXZnYpRSwXeyQkbpML9BZUTj7J NkyDWYCS0ylBOiXJILYpbSzEc3WSg7ib66tOD243ElRIJpWtBeffYaeOwSDhsoOvA4x1FJ M4WaAjKpWsNmLMihLeQ+vWWhS+cyqCqaeS+JZ4fcbA8yadVG5v3/2t5HYnIL1gDRrQpP4g fDXkT2lb7opTDCMYTgZYmYUW3UPov7f+nkDnCgVGBnY2+i6tbuNpqoez6Xt2nw== 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 4b2Ncf4NZcz9Y0; Wed, 21 May 2025 07:40:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54L7eIMI038532; Wed, 21 May 2025 07:40:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54L7eI37038529; Wed, 21 May 2025 07:40:18 GMT (envelope-from git) Date: Wed, 21 May 2025 07:40:18 GMT Message-Id: <202505210740.54L7eI37038529@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: a8a6f68f9fe2 - main - security/tpm2-openssl: TPM2 provider for OpenSSL3+ 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a8a6f68f9fe2b699c1a5e0bfb8dc70bfcb8996f4 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=a8a6f68f9fe2b699c1a5e0bfb8dc70bfcb8996f4 commit a8a6f68f9fe2b699c1a5e0bfb8dc70bfcb8996f4 Author: Andrea Cocito AuthorDate: 2025-05-07 08:31:14 +0000 Commit: Gleb Popov CommitDate: 2025-05-21 07:40:14 +0000 security/tpm2-openssl: TPM2 provider for OpenSSL3+ Makes the TPM 2.0 accessible via the standard OpenSSL API and command-line tools, so one can add TPM support to (almost) any OpenSSL 3.x based application. PR 286218 Pull Request: https://github.com/freebsd/freebsd-ports/pull/393 Co-authored-by: Gleb Popov --- security/Makefile | 1 + security/tpm2-openssl/Makefile | 28 ++++++++++++++++++++++++++++ security/tpm2-openssl/distinfo | 3 +++ security/tpm2-openssl/pkg-descr | 1 + security/tpm2-openssl/pkg-message | 26 ++++++++++++++++++++++++++ 5 files changed, 59 insertions(+) diff --git a/security/Makefile b/security/Makefile index b742b84e77e2..34fc30166872 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1369,6 +1369,7 @@ SUBDIR += tpm-quote-tools SUBDIR += tpm-tools SUBDIR += tpm2-abrmd + SUBDIR += tpm2-openssl SUBDIR += tpm2-pkcs11 SUBDIR += tpm2-tools SUBDIR += tpm2-tss diff --git a/security/tpm2-openssl/Makefile b/security/tpm2-openssl/Makefile new file mode 100644 index 000000000000..f0a6329dc650 --- /dev/null +++ b/security/tpm2-openssl/Makefile @@ -0,0 +1,28 @@ +PORTNAME= tpm2-openssl +DISTVERSION= 1.3.0 +CATEGORIES= security +MASTER_SITES= https://github.com/tpm2-software/tpm2-openssl/releases/download/${DISTVERSION}/ + +MAINTAINER= blackye@gmail.com +COMMENT= Provider for integration of TPM 2.0 into OpenSSL 3.x +WWW= https://github.com/tpm2-software/tpm2-openssl + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +IGNORE_FreeBSD_13= Requires OpenSSL 3+ + +LIB_DEPENDS= libtss2-esys.so:security/tpm2-tss +RUN_DEPENDS= tpm2-abrmd:security/tpm2-abrmd + +USES= gmake libtool pkgconfig ssl +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-modulesdir=${PREFIX}/lib/ossl-modules + +INSTALL_TARGET= install-strip + +PLIST_FILES= lib/ossl-modules/tpm2.so + +.include diff --git a/security/tpm2-openssl/distinfo b/security/tpm2-openssl/distinfo new file mode 100644 index 000000000000..15b45c43c5fc --- /dev/null +++ b/security/tpm2-openssl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1737838478 +SHA256 (tpm2-openssl-1.3.0.tar.gz) = 9a9aca55d4265ec501bcf9c56d21d6ca18dba902553f21c888fe725b42ea9964 +SIZE (tpm2-openssl-1.3.0.tar.gz) = 432730 diff --git a/security/tpm2-openssl/pkg-descr b/security/tpm2-openssl/pkg-descr new file mode 100644 index 000000000000..ecbf7761b6ab --- /dev/null +++ b/security/tpm2-openssl/pkg-descr @@ -0,0 +1 @@ +Provider for integration of TPM 2.0 to OpenSSL 3.x diff --git a/security/tpm2-openssl/pkg-message b/security/tpm2-openssl/pkg-message new file mode 100644 index 000000000000..1f3b424b4e9a --- /dev/null +++ b/security/tpm2-openssl/pkg-message @@ -0,0 +1,26 @@ +[ +{ type: install + message: <