git: eafa2613bff3 - main - security/openssl: Move man pages to share/man

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

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

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

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

diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index a8960e8ba156..b249101b88d9 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	openssl
 PORTVERSION=	3.0.13
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	security devel
 MASTER_SITES=	https://www.openssl.org/source/ \
@@ -153,8 +154,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
@@ -180,7 +180,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/openssl/pkg-plist b/security/openssl/pkg-plist
index 04b64446394e..67e718e5f7d3 100644
--- a/security/openssl/pkg-plist
+++ b/security/openssl/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