Skip to content

Commit

Permalink
security/libressl-devel: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 22, 2024
1 parent 6ce28cf commit c7358a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion 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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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>
10 changes: 5 additions & 5 deletions security/libressl-devel/pkg-plist
Expand Up @@ -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
2 changes: 1 addition & 1 deletion security/libressl-devel/pkg-plist-libtls
Expand Up @@ -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

0 comments on commit c7358a9

Please sign in to comment.