aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 13:48:15 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 13:52:04 +0000
commitc7358a966b4c7ed8498c0dac9112f6bb131c3444 (patch)
tree6d471d064d1a8e98887757a26da276dfd614c16b
parent6ce28cf4e976bf1b85894ddfdd96a700efbc47c3 (diff)
downloadports-c7358a966b4c7ed8498c0dac9112f6bb131c3444.tar.gz
ports-c7358a966b4c7ed8498c0dac9112f6bb131c3444.zip
security/libressl-devel: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--security/libressl-devel/Makefile4
-rw-r--r--security/libressl-devel/pkg-plist10
-rw-r--r--security/libressl-devel/pkg-plist-libtls2
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