Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2024 13:52:34 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c7358a966b4c - main - security/libressl-devel: Sanitize MANPREFIX
Message-ID:  <202401221352.40MDqYoV049148@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit c7358a966b4c7ed8498c0dac9112f6bb131c3444
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 13:48:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 13:52:04 +0000

    security/libressl-devel: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/libressl-devel/Makefile         |  4 +++-
 security/libressl-devel/pkg-plist        | 10 +++++-----
 security/libressl-devel/pkg-plist-libtls |  2 +-
 3 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/security/libressl-devel/Makefile b/security/libressl-devel/Makefile
index ff8c454a891e..261f9ff8a025 100644
--- a/security/libressl-devel/Makefile
+++ b/security/libressl-devel/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libressl
 PORTVERSION=	3.8.2
+PORTREVISION=	1
 CATEGORIES=	security devel
 MASTER_SITES=	OPENBSD/LibreSSL
 PKGNAMESUFFIX=	-devel
@@ -40,6 +41,7 @@ LIBTLS_CONFIGURE_ENABLE=	libtls-only
 NC_CONFIGURE_ENABLE=		nc
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USES=		cpe libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
 OPTIONS_SUB=	yes
@@ -67,7 +69,7 @@ post-install:
 	${LN} -s /etc/ssl/certs ${STAGEDIR}${PREFIX}/etc/ssl/certs
 
 post-stage-MAN3-on:
-	(cd ${STAGEDIR}${MANPREFIX}; ${FIND} man/man3 -not -type d | \
+	(cd ${STAGEDIR}${PREFIX}; ${FIND} share/man/man3 -not -type d | \
 		${SED} 's/$$/.gz/' >> ${TMPPLIST})
 
 .include <bsd.port.mk>
diff --git a/security/libressl-devel/pkg-plist b/security/libressl-devel/pkg-plist
index 2488b44377ce..498acaedaced 100644
--- a/security/libressl-devel/pkg-plist
+++ b/security/libressl-devel/pkg-plist
@@ -94,9 +94,9 @@ libdata/pkgconfig/libcrypto.pc
 libdata/pkgconfig/libssl.pc
 libdata/pkgconfig/libtls.pc
 libdata/pkgconfig/openssl.pc
-%%NC%%man/man1/nc.1.gz
-man/man1/openssl.1.gz
-man/man5/openssl.cnf.5.gz
-man/man5/x509v3.cnf.5.gz
-man/man8/ocspcheck.8.gz
+%%NC%%share/man/man1/nc.1.gz
+share/man/man1/openssl.1.gz
+share/man/man5/openssl.cnf.5.gz
+share/man/man5/x509v3.cnf.5.gz
+share/man/man8/ocspcheck.8.gz
 @dir include/openssl
diff --git a/security/libressl-devel/pkg-plist-libtls b/security/libressl-devel/pkg-plist-libtls
index d74aa579bb00..066dcdac6ac0 100644
--- a/security/libressl-devel/pkg-plist-libtls
+++ b/security/libressl-devel/pkg-plist-libtls
@@ -7,5 +7,5 @@ lib/libtls.so
 lib/libtls.so.%%LIBTLS_SHLIBMAJ%%
 lib/libtls.so.%%LIBTLS_SHLIBFULL%%
 libdata/pkgconfig/libtls.pc
-%%NC%%man/man1/nc.1.gz
+%%NC%%share/man/man1/nc.1.gz
 @dir etc/ssl/certs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401221352.40MDqYoV049148>