git: bbdc80dcf070 - main - security/openssl31-quictls: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 02:02:55 UTC
The branch main has been updated by bofh:

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

commit bbdc80dcf07094a16c980bdd35a3294817942003
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 01:35:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 02:02:46 +0000

    security/openssl31-quictls: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/openssl31-quictls/Makefile  |   8 +-
 security/openssl31-quictls/pkg-plist | 228 +++++++++++++++++------------------
 2 files changed, 118 insertions(+), 118 deletions(-)

diff --git a/security/openssl31-quictls/Makefile b/security/openssl31-quictls/Makefile
index a1c5f1465e3d..dc8712ade214 100644
--- a/security/openssl31-quictls/Makefile
+++ b/security/openssl31-quictls/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	openssl
 PORTVERSION=	3.1.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security devel
 PKGNAMESUFFIX=	31-quictls
 
@@ -149,7 +149,7 @@ PLIST_SUB+=	OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
 .include "version.mk"
 
 post-patch:
-	${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \
+	${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/share/man|' \
 		-e 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \
 		${WRKSRC}/Configurations/unix-Makefile.tmpl
 	${REINPLACE_CMD} 's|SHLIB_VERSION=81.3|SHLIB_VERSION=${OPENSSL_SHLIBVER}|' \
@@ -176,7 +176,7 @@ post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openssl
 
 post-install-MAN3-on:
-	( cd ${STAGEDIR}/${PREFIX} ; find man/man3 -not -type d ; \
-		find man/man7 -not -type d ) | sed 's/$$/.gz/' >> ${TMPPLIST}
+	( cd ${STAGEDIR}/${PREFIX} ; find share/man/man3 -not -type d ; \
+		find share/man/man7 -not -type d ) | sed 's/$$/.gz/' >> ${TMPPLIST}
 
 .include <bsd.port.post.mk>
diff --git a/security/openssl31-quictls/pkg-plist b/security/openssl31-quictls/pkg-plist
index 80c51ba76672..fcb67b5e57f8 100644
--- a/security/openssl31-quictls/pkg-plist
+++ b/security/openssl31-quictls/pkg-plist
@@ -151,120 +151,120 @@ lib/libssl.a
 libdata/pkgconfig/libcrypto.pc
 libdata/pkgconfig/libssl.pc
 libdata/pkgconfig/openssl.pc
-man/man1/CA.pl.1ossl.gz
-man/man1/asn1parse.1ossl.gz
-man/man1/c_rehash.1ossl.gz
-man/man1/ca.1ossl.gz
-man/man1/ciphers.1ossl.gz
-man/man1/cms.1ossl.gz
-man/man1/cmp.1ossl.gz
-man/man1/crl.1ossl.gz
-man/man1/crl2pkcs7.1ossl.gz
-man/man1/dgst.1ossl.gz
-man/man1/dhparam.1ossl.gz
-man/man1/dsa.1ossl.gz
-man/man1/dsaparam.1ossl.gz
-man/man1/ec.1ossl.gz
-man/man1/ecparam.1ossl.gz
-man/man1/enc.1ossl.gz
-man/man1/engine.1ossl.gz
-man/man1/errstr.1ossl.gz
-man/man1/gendsa.1ossl.gz
-man/man1/genpkey.1ossl.gz
-man/man1/genrsa.1ossl.gz
-man/man1/info.1ossl.gz
-man/man1/kdf.1ossl.gz
-man/man1/mac.1ossl.gz
-man/man1/nseq.1ossl.gz
-man/man1/ocsp.1ossl.gz
-man/man1/openssl-asn1parse.1ossl.gz
-man/man1/openssl-ca.1ossl.gz
-man/man1/openssl-ciphers.1ossl.gz
-man/man1/openssl-cmds.1ossl.gz
-man/man1/openssl-cmp.1ossl.gz
-man/man1/openssl-cms.1ossl.gz
-man/man1/openssl-crl.1ossl.gz
-man/man1/openssl-crl2pkcs7.1ossl.gz
-man/man1/openssl-dgst.1ossl.gz
-man/man1/openssl-dhparam.1ossl.gz
-man/man1/openssl-dsa.1ossl.gz
-man/man1/openssl-dsaparam.1ossl.gz
-man/man1/openssl-ec.1ossl.gz
-man/man1/openssl-ecparam.1ossl.gz
-man/man1/openssl-enc.1ossl.gz
-man/man1/openssl-engine.1ossl.gz
-man/man1/openssl-errstr.1ossl.gz
-man/man1/openssl-fipsinstall.1ossl.gz
-man/man1/openssl-format-options.1ossl.gz
-man/man1/openssl-gendsa.1ossl.gz
-man/man1/openssl-genpkey.1ossl.gz
-man/man1/openssl-genrsa.1ossl.gz
-man/man1/openssl-info.1ossl.gz
-man/man1/openssl-kdf.1ossl.gz
-man/man1/openssl-list.1ossl.gz
-man/man1/openssl-mac.1ossl.gz
-man/man1/openssl-namedisplay-options.1ossl.gz
-man/man1/openssl-nseq.1ossl.gz
-man/man1/openssl-ocsp.1ossl.gz
-man/man1/openssl-passphrase-options.1ossl.gz
-man/man1/openssl-passwd.1ossl.gz
-man/man1/openssl-pkcs12.1ossl.gz
-man/man1/openssl-pkcs7.1ossl.gz
-man/man1/openssl-pkcs8.1ossl.gz
-man/man1/openssl-pkey.1ossl.gz
-man/man1/openssl-pkeyparam.1ossl.gz
-man/man1/openssl-pkeyutl.1ossl.gz
-man/man1/openssl-prime.1ossl.gz
-man/man1/openssl-rand.1ossl.gz
-man/man1/openssl-rehash.1ossl.gz
-man/man1/openssl-req.1ossl.gz
-man/man1/openssl-rsa.1ossl.gz
-man/man1/openssl-rsautl.1ossl.gz
-man/man1/openssl-s_client.1ossl.gz
-man/man1/openssl-s_server.1ossl.gz
-man/man1/openssl-s_time.1ossl.gz
-man/man1/openssl-sess_id.1ossl.gz
-man/man1/openssl-smime.1ossl.gz
-man/man1/openssl-speed.1ossl.gz
-man/man1/openssl-spkac.1ossl.gz
-man/man1/openssl-srp.1ossl.gz
-man/man1/openssl-storeutl.1ossl.gz
-man/man1/openssl-ts.1ossl.gz
-man/man1/openssl-verification-options.1ossl.gz
-man/man1/openssl-verify.1ossl.gz
-man/man1/openssl-version.1ossl.gz
-man/man1/openssl-x509.1ossl.gz
-man/man1/openssl.1ossl.gz
-man/man1/passwd.1ossl.gz
-man/man1/pkcs12.1ossl.gz
-man/man1/pkcs7.1ossl.gz
-man/man1/pkcs8.1ossl.gz
-man/man1/pkey.1ossl.gz
-man/man1/pkeyparam.1ossl.gz
-man/man1/pkeyutl.1ossl.gz
-man/man1/prime.1ossl.gz
-man/man1/rand.1ossl.gz
-man/man1/rehash.1ossl.gz
-man/man1/req.1ossl.gz
-man/man1/rsa.1ossl.gz
-man/man1/rsautl.1ossl.gz
-man/man1/s_client.1ossl.gz
-man/man1/s_server.1ossl.gz
-man/man1/s_time.1ossl.gz
-man/man1/sess_id.1ossl.gz
-man/man1/smime.1ossl.gz
-man/man1/speed.1ossl.gz
-man/man1/spkac.1ossl.gz
-man/man1/srp.1ossl.gz
-man/man1/storeutl.1ossl.gz
-man/man1/ts.1ossl.gz
-man/man1/tsget.1ossl.gz
-man/man1/verify.1ossl.gz
-man/man1/version.1ossl.gz
-man/man1/x509.1ossl.gz
-man/man5/config.5ossl.gz
-man/man5/fips_config.5ossl.gz
-man/man5/x509v3_config.5ossl.gz
+share/man/man1/CA.pl.1ossl.gz
+share/man/man1/asn1parse.1ossl.gz
+share/man/man1/c_rehash.1ossl.gz
+share/man/man1/ca.1ossl.gz
+share/man/man1/ciphers.1ossl.gz
+share/man/man1/cms.1ossl.gz
+share/man/man1/cmp.1ossl.gz
+share/man/man1/crl.1ossl.gz
+share/man/man1/crl2pkcs7.1ossl.gz
+share/man/man1/dgst.1ossl.gz
+share/man/man1/dhparam.1ossl.gz
+share/man/man1/dsa.1ossl.gz
+share/man/man1/dsaparam.1ossl.gz
+share/man/man1/ec.1ossl.gz
+share/man/man1/ecparam.1ossl.gz
+share/man/man1/enc.1ossl.gz
+share/man/man1/engine.1ossl.gz
+share/man/man1/errstr.1ossl.gz
+share/man/man1/gendsa.1ossl.gz
+share/man/man1/genpkey.1ossl.gz
+share/man/man1/genrsa.1ossl.gz
+share/man/man1/info.1ossl.gz
+share/man/man1/kdf.1ossl.gz
+share/man/man1/mac.1ossl.gz
+share/man/man1/nseq.1ossl.gz
+share/man/man1/ocsp.1ossl.gz
+share/man/man1/openssl-asn1parse.1ossl.gz
+share/man/man1/openssl-ca.1ossl.gz
+share/man/man1/openssl-ciphers.1ossl.gz
+share/man/man1/openssl-cmds.1ossl.gz
+share/man/man1/openssl-cmp.1ossl.gz
+share/man/man1/openssl-cms.1ossl.gz
+share/man/man1/openssl-crl.1ossl.gz
+share/man/man1/openssl-crl2pkcs7.1ossl.gz
+share/man/man1/openssl-dgst.1ossl.gz
+share/man/man1/openssl-dhparam.1ossl.gz
+share/man/man1/openssl-dsa.1ossl.gz
+share/man/man1/openssl-dsaparam.1ossl.gz
+share/man/man1/openssl-ec.1ossl.gz
+share/man/man1/openssl-ecparam.1ossl.gz
+share/man/man1/openssl-enc.1ossl.gz
+share/man/man1/openssl-engine.1ossl.gz
+share/man/man1/openssl-errstr.1ossl.gz
+share/man/man1/openssl-fipsinstall.1ossl.gz
+share/man/man1/openssl-format-options.1ossl.gz
+share/man/man1/openssl-gendsa.1ossl.gz
+share/man/man1/openssl-genpkey.1ossl.gz
+share/man/man1/openssl-genrsa.1ossl.gz
+share/man/man1/openssl-info.1ossl.gz
+share/man/man1/openssl-kdf.1ossl.gz
+share/man/man1/openssl-list.1ossl.gz
+share/man/man1/openssl-mac.1ossl.gz
+share/man/man1/openssl-namedisplay-options.1ossl.gz
+share/man/man1/openssl-nseq.1ossl.gz
+share/man/man1/openssl-ocsp.1ossl.gz
+share/man/man1/openssl-passphrase-options.1ossl.gz
+share/man/man1/openssl-passwd.1ossl.gz
+share/man/man1/openssl-pkcs12.1ossl.gz
+share/man/man1/openssl-pkcs7.1ossl.gz
+share/man/man1/openssl-pkcs8.1ossl.gz
+share/man/man1/openssl-pkey.1ossl.gz
+share/man/man1/openssl-pkeyparam.1ossl.gz
+share/man/man1/openssl-pkeyutl.1ossl.gz
+share/man/man1/openssl-prime.1ossl.gz
+share/man/man1/openssl-rand.1ossl.gz
+share/man/man1/openssl-rehash.1ossl.gz
+share/man/man1/openssl-req.1ossl.gz
+share/man/man1/openssl-rsa.1ossl.gz
+share/man/man1/openssl-rsautl.1ossl.gz
+share/man/man1/openssl-s_client.1ossl.gz
+share/man/man1/openssl-s_server.1ossl.gz
+share/man/man1/openssl-s_time.1ossl.gz
+share/man/man1/openssl-sess_id.1ossl.gz
+share/man/man1/openssl-smime.1ossl.gz
+share/man/man1/openssl-speed.1ossl.gz
+share/man/man1/openssl-spkac.1ossl.gz
+share/man/man1/openssl-srp.1ossl.gz
+share/man/man1/openssl-storeutl.1ossl.gz
+share/man/man1/openssl-ts.1ossl.gz
+share/man/man1/openssl-verification-options.1ossl.gz
+share/man/man1/openssl-verify.1ossl.gz
+share/man/man1/openssl-version.1ossl.gz
+share/man/man1/openssl-x509.1ossl.gz
+share/man/man1/openssl.1ossl.gz
+share/man/man1/passwd.1ossl.gz
+share/man/man1/pkcs12.1ossl.gz
+share/man/man1/pkcs7.1ossl.gz
+share/man/man1/pkcs8.1ossl.gz
+share/man/man1/pkey.1ossl.gz
+share/man/man1/pkeyparam.1ossl.gz
+share/man/man1/pkeyutl.1ossl.gz
+share/man/man1/prime.1ossl.gz
+share/man/man1/rand.1ossl.gz
+share/man/man1/rehash.1ossl.gz
+share/man/man1/req.1ossl.gz
+share/man/man1/rsa.1ossl.gz
+share/man/man1/rsautl.1ossl.gz
+share/man/man1/s_client.1ossl.gz
+share/man/man1/s_server.1ossl.gz
+share/man/man1/s_time.1ossl.gz
+share/man/man1/sess_id.1ossl.gz
+share/man/man1/smime.1ossl.gz
+share/man/man1/speed.1ossl.gz
+share/man/man1/spkac.1ossl.gz
+share/man/man1/srp.1ossl.gz
+share/man/man1/storeutl.1ossl.gz
+share/man/man1/ts.1ossl.gz
+share/man/man1/tsget.1ossl.gz
+share/man/man1/verify.1ossl.gz
+share/man/man1/version.1ossl.gz
+share/man/man1/x509.1ossl.gz
+share/man/man5/config.5ossl.gz
+share/man/man5/fips_config.5ossl.gz
+share/man/man5/x509v3_config.5ossl.gz
 %%OPENSSLDIR%%/misc/CA.pl
 @comment %%OPENSSLDIR%%/misc/tsget.pl
 %%OPENSSLDIR%%/misc/tsget