Skip to content

Commit

Permalink
security/lynis: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 21, 2024
1 parent fe42305 commit db5b08f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion security/lynis/Makefile
@@ -1,5 +1,6 @@
PORTNAME= lynis
PORTVERSION= 3.0.9
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://cisofy.com/files/

Expand Down Expand Up @@ -29,7 +30,7 @@ post-patch:

do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/share/man/man8
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/default.prf \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}/default.prf.sample
Expand Down
2 changes: 1 addition & 1 deletion security/lynis/pkg-plist
@@ -1,7 +1,7 @@
bin/lynis
etc/bash_completion.d/lynis
@sample %%ETCDIR%%/default.prf.sample
man/man8/lynis.8.gz
share/man/man8/lynis.8.gz
%%DATADIR%%/db/fileperms.db
%%DATADIR%%/db/hints.db
%%DATADIR%%/db/integrity.db
Expand Down

0 comments on commit db5b08f

Please sign in to comment.