git: 325be6e7e2d8 - main - security/openssl31: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 12 Mar 2024 05:40:57 UTC
The branch main has been updated by yasu:

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

commit 325be6e7e2d81bc33b18f94f2b30f963733be610
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-12 04:48:08 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-12 05:40:29 +0000

    security/openssl31: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/openssl31/Makefile  |   8 +-
 security/openssl31/pkg-plist | 228 +++++++++++++++++++++----------------------
 2 files changed, 118 insertions(+), 118 deletions(-)

diff --git a/security/openssl31/Makefile b/security/openssl31/Makefile
index 86240274f24b..0856bb7e03b9 100644
--- a/security/openssl31/Makefile
+++ b/security/openssl31/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	openssl
 PORTVERSION=	3.1.5
+PORTREVISION=	1
 CATEGORIES=	security devel
 MASTER_SITES=	https://www.openssl.org/source/ \
 		ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/
@@ -155,8 +156,7 @@ PLIST_SUB+=	OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
 .include "version.mk"
 
 post-patch:
-	${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \
-		-e 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \
+	${REINPLACE_CMD} -Ee 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \
 		${WRKSRC}/Configurations/unix-Makefile.tmpl
 	${REINPLACE_CMD} 's|SHLIB_VERSION=3|SHLIB_VERSION=${OPENSSL_SHLIBVER}|' \
 		${WRKSRC}/VERSION.dat
@@ -182,7 +182,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/pkg-plist b/security/openssl31/pkg-plist
index 04b64446394e..67e718e5f7d3 100644
--- a/security/openssl31/pkg-plist
+++ b/security/openssl31/pkg-plist
@@ -150,120 +150,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/cmp.1ossl.gz
-man/man1/cms.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/cmp.1ossl.gz
+share/man/man1/cms.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