git: 955515a88b33 - main - security/tpm2-*: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 21:41:29 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=955515a88b33e1cfb8e06363a124f0eed951814a

commit 955515a88b33e1cfb8e06363a124f0eed951814a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 21:18:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 21:40:44 +0000

    security/tpm2-*: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 security/tpm2-abrmd/Makefile  |   3 +-
 security/tpm2-abrmd/pkg-plist |   6 +-
 security/tpm2-tools/Makefile  |   2 +
 security/tpm2-tools/pkg-plist | 280 +++++++++++++++++++++---------------------
 4 files changed, 147 insertions(+), 144 deletions(-)

diff --git a/security/tpm2-abrmd/Makefile b/security/tpm2-abrmd/Makefile
index 8dc04e65c8ab..0e4b4e89641a 100644
--- a/security/tpm2-abrmd/Makefile
+++ b/security/tpm2-abrmd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tpm2-abrmd
 DISTVERSION=	3.0.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/tpm2-software/tpm2-abrmd/releases/download/${DISTVERSION}/
 
@@ -20,6 +20,7 @@ USE_GNOME=	glib20
 USE_RC_SUBR=	tpm2-abrmd
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-dbuspolicydir=${PREFIX}/etc/dbus-1/system.d
 
 GROUPS=		_tss
diff --git a/security/tpm2-abrmd/pkg-plist b/security/tpm2-abrmd/pkg-plist
index fd348d11806c..d20a9a42b2ca 100644
--- a/security/tpm2-abrmd/pkg-plist
+++ b/security/tpm2-abrmd/pkg-plist
@@ -6,7 +6,7 @@ lib/libtss2-tcti-tabrmd.so
 lib/libtss2-tcti-tabrmd.so.0
 lib/libtss2-tcti-tabrmd.so.0.0.0
 libdata/pkgconfig/tss2-tcti-tabrmd.pc
-man/man3/Tss2_Tcti_Tabrmd_Init.3.gz
-man/man7/tss2-tcti-tabrmd.7.gz
-man/man8/tpm2-abrmd.8.gz
+share/man/man3/Tss2_Tcti_Tabrmd_Init.3.gz
+share/man/man7/tss2-tcti-tabrmd.7.gz
+share/man/man8/tpm2-abrmd.8.gz
 sbin/tpm2-abrmd
diff --git a/security/tpm2-tools/Makefile b/security/tpm2-tools/Makefile
index c02e59c9fbb6..42aa7da55eeb 100644
--- a/security/tpm2-tools/Makefile
+++ b/security/tpm2-tools/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tpm2-tools
 DISTVERSION=	5.6
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/tpm2-software/tpm2-tools/releases/download/${DISTVERSION}/
 
@@ -16,6 +17,7 @@ LIB_DEPENDS=	libtss2-esys.so:security/tpm2-tss \
 USES=		compiler:c11 gmake libtool pkgconfig ssl
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV=	CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
 CONFIGURE_ARGS=	--disable-hardening
 
diff --git a/security/tpm2-tools/pkg-plist b/security/tpm2-tools/pkg-plist
index bfb040ff42f0..40f2c77d3698 100644
--- a/security/tpm2-tools/pkg-plist
+++ b/security/tpm2-tools/pkg-plist
@@ -139,146 +139,146 @@ bin/tss2_unseal
 bin/tss2_verifyquote
 bin/tss2_verifysignature
 bin/tss2_writeauthorizenv
-man/man1/tpm2.1.gz
-man/man1/tpm2_activatecredential.1.gz
-man/man1/tpm2_certify.1.gz
-man/man1/tpm2_certifyX509certutil.1.gz
-man/man1/tpm2_certifycreation.1.gz
-man/man1/tpm2_changeauth.1.gz
-man/man1/tpm2_changeeps.1.gz
-man/man1/tpm2_changepps.1.gz
-man/man1/tpm2_checkquote.1.gz
-man/man1/tpm2_clear.1.gz
-man/man1/tpm2_clearcontrol.1.gz
-man/man1/tpm2_clockrateadjust.1.gz
-man/man1/tpm2_commit.1.gz
-man/man1/tpm2_create.1.gz
-man/man1/tpm2_createak.1.gz
-man/man1/tpm2_createek.1.gz
-man/man1/tpm2_createpolicy.1.gz
-man/man1/tpm2_createprimary.1.gz
-man/man1/tpm2_dictionarylockout.1.gz
-man/man1/tpm2_duplicate.1.gz
-man/man1/tpm2_ecdhkeygen.1.gz
-man/man1/tpm2_ecdhzgen.1.gz
-man/man1/tpm2_ecephemeral.1.gz
-man/man1/tpm2_encodeobject.1.gz
-man/man1/tpm2_encryptdecrypt.1.gz
-man/man1/tpm2_eventlog.1.gz
-man/man1/tpm2_evictcontrol.1.gz
-man/man1/tpm2_flushcontext.1.gz
-man/man1/tpm2_getcap.1.gz
-man/man1/tpm2_getcommandauditdigest.1.gz
-man/man1/tpm2_geteccparameters.1.gz
-man/man1/tpm2_getekcertificate.1.gz
-man/man1/tpm2_getpolicydigest.1.gz
-man/man1/tpm2_getrandom.1.gz
-man/man1/tpm2_getsessionauditdigest.1.gz
-man/man1/tpm2_gettestresult.1.gz
-man/man1/tpm2_gettime.1.gz
-man/man1/tpm2_hash.1.gz
-man/man1/tpm2_hierarchycontrol.1.gz
-man/man1/tpm2_hmac.1.gz
-man/man1/tpm2_import.1.gz
-man/man1/tpm2_incrementalselftest.1.gz
-man/man1/tpm2_load.1.gz
-man/man1/tpm2_loadexternal.1.gz
-man/man1/tpm2_makecredential.1.gz
-man/man1/tpm2_nvcertify.1.gz
-man/man1/tpm2_nvdefine.1.gz
-man/man1/tpm2_nvextend.1.gz
-man/man1/tpm2_nvincrement.1.gz
-man/man1/tpm2_nvread.1.gz
-man/man1/tpm2_nvreadlock.1.gz
-man/man1/tpm2_nvreadpublic.1.gz
-man/man1/tpm2_nvsetbits.1.gz
-man/man1/tpm2_nvundefine.1.gz
-man/man1/tpm2_nvwrite.1.gz
-man/man1/tpm2_nvwritelock.1.gz
-man/man1/tpm2_pcrallocate.1.gz
-man/man1/tpm2_pcrevent.1.gz
-man/man1/tpm2_pcrextend.1.gz
-man/man1/tpm2_pcrread.1.gz
-man/man1/tpm2_pcrreset.1.gz
-man/man1/tpm2_policyauthorize.1.gz
-man/man1/tpm2_policyauthorizenv.1.gz
-man/man1/tpm2_policyauthvalue.1.gz
-man/man1/tpm2_policycommandcode.1.gz
-man/man1/tpm2_policycountertimer.1.gz
-man/man1/tpm2_policycphash.1.gz
-man/man1/tpm2_policyduplicationselect.1.gz
-man/man1/tpm2_policylocality.1.gz
-man/man1/tpm2_policynamehash.1.gz
-man/man1/tpm2_policynv.1.gz
-man/man1/tpm2_policynvwritten.1.gz
-man/man1/tpm2_policyor.1.gz
-man/man1/tpm2_policypassword.1.gz
-man/man1/tpm2_policypcr.1.gz
-man/man1/tpm2_policyrestart.1.gz
-man/man1/tpm2_policysecret.1.gz
-man/man1/tpm2_policysigned.1.gz
-man/man1/tpm2_policytemplate.1.gz
-man/man1/tpm2_policyticket.1.gz
-man/man1/tpm2_print.1.gz
-man/man1/tpm2_quote.1.gz
-man/man1/tpm2_rc_decode.1.gz
-man/man1/tpm2_readclock.1.gz
-man/man1/tpm2_readpublic.1.gz
-man/man1/tpm2_rsadecrypt.1.gz
-man/man1/tpm2_rsaencrypt.1.gz
-man/man1/tpm2_selftest.1.gz
-man/man1/tpm2_send.1.gz
-man/man1/tpm2_sessionconfig.1.gz
-man/man1/tpm2_setclock.1.gz
-man/man1/tpm2_setcommandauditstatus.1.gz
-man/man1/tpm2_setprimarypolicy.1.gz
-man/man1/tpm2_shutdown.1.gz
-man/man1/tpm2_sign.1.gz
-man/man1/tpm2_startauthsession.1.gz
-man/man1/tpm2_startup.1.gz
-man/man1/tpm2_stirrandom.1.gz
-man/man1/tpm2_testparms.1.gz
-man/man1/tpm2_tr_encode.1.gz
-man/man1/tpm2_unseal.1.gz
-man/man1/tpm2_verifysignature.1.gz
-man/man1/tpm2_zgen2phase.1.gz
-man/man1/tss2_authorizepolicy.1.gz
-man/man1/tss2_changeauth.1.gz
-man/man1/tss2_createkey.1.gz
-man/man1/tss2_createnv.1.gz
-man/man1/tss2_createseal.1.gz
-man/man1/tss2_decrypt.1.gz
-man/man1/tss2_delete.1.gz
-man/man1/tss2_encrypt.1.gz
-man/man1/tss2_exportkey.1.gz
-man/man1/tss2_exportpolicy.1.gz
-man/man1/tss2_getappdata.1.gz
-man/man1/tss2_getcertificate.1.gz
-man/man1/tss2_getdescription.1.gz
-man/man1/tss2_getinfo.1.gz
-man/man1/tss2_getplatformcertificates.1.gz
-man/man1/tss2_getrandom.1.gz
-man/man1/tss2_gettpm2object.1.gz
-man/man1/tss2_gettpmblobs.1.gz
-man/man1/tss2_import.1.gz
-man/man1/tss2_list.1.gz
-man/man1/tss2_nvextend.1.gz
-man/man1/tss2_nvincrement.1.gz
-man/man1/tss2_nvread.1.gz
-man/man1/tss2_nvsetbits.1.gz
-man/man1/tss2_nvwrite.1.gz
-man/man1/tss2_pcrextend.1.gz
-man/man1/tss2_pcrread.1.gz
-man/man1/tss2_provision.1.gz
-man/man1/tss2_quote.1.gz
-man/man1/tss2_setappdata.1.gz
-man/man1/tss2_setcertificate.1.gz
-man/man1/tss2_setdescription.1.gz
-man/man1/tss2_sign.1.gz
-man/man1/tss2_unseal.1.gz
-man/man1/tss2_verifyquote.1.gz
-man/man1/tss2_verifysignature.1.gz
-man/man1/tss2_writeauthorizenv.1.gz
+share/man/man1/tpm2.1.gz
+share/man/man1/tpm2_activatecredential.1.gz
+share/man/man1/tpm2_certify.1.gz
+share/man/man1/tpm2_certifyX509certutil.1.gz
+share/man/man1/tpm2_certifycreation.1.gz
+share/man/man1/tpm2_changeauth.1.gz
+share/man/man1/tpm2_changeeps.1.gz
+share/man/man1/tpm2_changepps.1.gz
+share/man/man1/tpm2_checkquote.1.gz
+share/man/man1/tpm2_clear.1.gz
+share/man/man1/tpm2_clearcontrol.1.gz
+share/man/man1/tpm2_clockrateadjust.1.gz
+share/man/man1/tpm2_commit.1.gz
+share/man/man1/tpm2_create.1.gz
+share/man/man1/tpm2_createak.1.gz
+share/man/man1/tpm2_createek.1.gz
+share/man/man1/tpm2_createpolicy.1.gz
+share/man/man1/tpm2_createprimary.1.gz
+share/man/man1/tpm2_dictionarylockout.1.gz
+share/man/man1/tpm2_duplicate.1.gz
+share/man/man1/tpm2_ecdhkeygen.1.gz
+share/man/man1/tpm2_ecdhzgen.1.gz
+share/man/man1/tpm2_ecephemeral.1.gz
+share/man/man1/tpm2_encodeobject.1.gz
+share/man/man1/tpm2_encryptdecrypt.1.gz
+share/man/man1/tpm2_eventlog.1.gz
+share/man/man1/tpm2_evictcontrol.1.gz
+share/man/man1/tpm2_flushcontext.1.gz
+share/man/man1/tpm2_getcap.1.gz
+share/man/man1/tpm2_getcommandauditdigest.1.gz
+share/man/man1/tpm2_geteccparameters.1.gz
+share/man/man1/tpm2_getekcertificate.1.gz
+share/man/man1/tpm2_getpolicydigest.1.gz
+share/man/man1/tpm2_getrandom.1.gz
+share/man/man1/tpm2_getsessionauditdigest.1.gz
+share/man/man1/tpm2_gettestresult.1.gz
+share/man/man1/tpm2_gettime.1.gz
+share/man/man1/tpm2_hash.1.gz
+share/man/man1/tpm2_hierarchycontrol.1.gz
+share/man/man1/tpm2_hmac.1.gz
+share/man/man1/tpm2_import.1.gz
+share/man/man1/tpm2_incrementalselftest.1.gz
+share/man/man1/tpm2_load.1.gz
+share/man/man1/tpm2_loadexternal.1.gz
+share/man/man1/tpm2_makecredential.1.gz
+share/man/man1/tpm2_nvcertify.1.gz
+share/man/man1/tpm2_nvdefine.1.gz
+share/man/man1/tpm2_nvextend.1.gz
+share/man/man1/tpm2_nvincrement.1.gz
+share/man/man1/tpm2_nvread.1.gz
+share/man/man1/tpm2_nvreadlock.1.gz
+share/man/man1/tpm2_nvreadpublic.1.gz
+share/man/man1/tpm2_nvsetbits.1.gz
+share/man/man1/tpm2_nvundefine.1.gz
+share/man/man1/tpm2_nvwrite.1.gz
+share/man/man1/tpm2_nvwritelock.1.gz
+share/man/man1/tpm2_pcrallocate.1.gz
+share/man/man1/tpm2_pcrevent.1.gz
+share/man/man1/tpm2_pcrextend.1.gz
+share/man/man1/tpm2_pcrread.1.gz
+share/man/man1/tpm2_pcrreset.1.gz
+share/man/man1/tpm2_policyauthorize.1.gz
+share/man/man1/tpm2_policyauthorizenv.1.gz
+share/man/man1/tpm2_policyauthvalue.1.gz
+share/man/man1/tpm2_policycommandcode.1.gz
+share/man/man1/tpm2_policycountertimer.1.gz
+share/man/man1/tpm2_policycphash.1.gz
+share/man/man1/tpm2_policyduplicationselect.1.gz
+share/man/man1/tpm2_policylocality.1.gz
+share/man/man1/tpm2_policynamehash.1.gz
+share/man/man1/tpm2_policynv.1.gz
+share/man/man1/tpm2_policynvwritten.1.gz
+share/man/man1/tpm2_policyor.1.gz
+share/man/man1/tpm2_policypassword.1.gz
+share/man/man1/tpm2_policypcr.1.gz
+share/man/man1/tpm2_policyrestart.1.gz
+share/man/man1/tpm2_policysecret.1.gz
+share/man/man1/tpm2_policysigned.1.gz
+share/man/man1/tpm2_policytemplate.1.gz
+share/man/man1/tpm2_policyticket.1.gz
+share/man/man1/tpm2_print.1.gz
+share/man/man1/tpm2_quote.1.gz
+share/man/man1/tpm2_rc_decode.1.gz
+share/man/man1/tpm2_readclock.1.gz
+share/man/man1/tpm2_readpublic.1.gz
+share/man/man1/tpm2_rsadecrypt.1.gz
+share/man/man1/tpm2_rsaencrypt.1.gz
+share/man/man1/tpm2_selftest.1.gz
+share/man/man1/tpm2_send.1.gz
+share/man/man1/tpm2_sessionconfig.1.gz
+share/man/man1/tpm2_setclock.1.gz
+share/man/man1/tpm2_setcommandauditstatus.1.gz
+share/man/man1/tpm2_setprimarypolicy.1.gz
+share/man/man1/tpm2_shutdown.1.gz
+share/man/man1/tpm2_sign.1.gz
+share/man/man1/tpm2_startauthsession.1.gz
+share/man/man1/tpm2_startup.1.gz
+share/man/man1/tpm2_stirrandom.1.gz
+share/man/man1/tpm2_testparms.1.gz
+share/man/man1/tpm2_tr_encode.1.gz
+share/man/man1/tpm2_unseal.1.gz
+share/man/man1/tpm2_verifysignature.1.gz
+share/man/man1/tpm2_zgen2phase.1.gz
+share/man/man1/tss2_authorizepolicy.1.gz
+share/man/man1/tss2_changeauth.1.gz
+share/man/man1/tss2_createkey.1.gz
+share/man/man1/tss2_createnv.1.gz
+share/man/man1/tss2_createseal.1.gz
+share/man/man1/tss2_decrypt.1.gz
+share/man/man1/tss2_delete.1.gz
+share/man/man1/tss2_encrypt.1.gz
+share/man/man1/tss2_exportkey.1.gz
+share/man/man1/tss2_exportpolicy.1.gz
+share/man/man1/tss2_getappdata.1.gz
+share/man/man1/tss2_getcertificate.1.gz
+share/man/man1/tss2_getdescription.1.gz
+share/man/man1/tss2_getinfo.1.gz
+share/man/man1/tss2_getplatformcertificates.1.gz
+share/man/man1/tss2_getrandom.1.gz
+share/man/man1/tss2_gettpm2object.1.gz
+share/man/man1/tss2_gettpmblobs.1.gz
+share/man/man1/tss2_import.1.gz
+share/man/man1/tss2_list.1.gz
+share/man/man1/tss2_nvextend.1.gz
+share/man/man1/tss2_nvincrement.1.gz
+share/man/man1/tss2_nvread.1.gz
+share/man/man1/tss2_nvsetbits.1.gz
+share/man/man1/tss2_nvwrite.1.gz
+share/man/man1/tss2_pcrextend.1.gz
+share/man/man1/tss2_pcrread.1.gz
+share/man/man1/tss2_provision.1.gz
+share/man/man1/tss2_quote.1.gz
+share/man/man1/tss2_setappdata.1.gz
+share/man/man1/tss2_setcertificate.1.gz
+share/man/man1/tss2_setdescription.1.gz
+share/man/man1/tss2_sign.1.gz
+share/man/man1/tss2_unseal.1.gz
+share/man/man1/tss2_verifyquote.1.gz
+share/man/man1/tss2_verifysignature.1.gz
+share/man/man1/tss2_writeauthorizenv.1.gz
 share/bash-completion/completions/tpm2
 share/bash-completion/completions/tpm2_completion.bash
 share/bash-completion/completions/tss2