Andrea Cocito a8a6f68f9f 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 <arrowd@FreeBSD.org>
2025-05-21 10:40:14 +03:00

29 lines
722 B
Makefile

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 <bsd.port.mk>