Skip to content

Commit

Permalink
security/otpw: 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 6684dc9 commit 67c2295
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions security/otpw/Makefile
@@ -1,5 +1,6 @@
PORTNAME= otpw
PORTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://www.cl.cam.ac.uk/~mgk25/download/ \
LOCAL/jkim
Expand All @@ -21,8 +22,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/otpw-gen ${STAGEDIR}${PREFIX}/bin
${INSTALL_LIB} ${WRKSRC}/pam_otpw.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/otpw-gen.1.gz \
${STAGEDIR}${MANPREFIX}/man/man1
${STAGEDIR}${PREFIX}/share/man/man1
${INSTALL_MAN} ${WRKSRC}/pam_otpw.8.gz \
${STAGEDIR}${MANPREFIX}/man/man8
${STAGEDIR}${PREFIX}/share/man/man8

.include <bsd.port.mk>
4 changes: 2 additions & 2 deletions security/otpw/pkg-plist
@@ -1,4 +1,4 @@
@(otpw,otpw,4555) bin/otpw-gen
lib/pam_otpw.so
man/man1/otpw-gen.1.gz
man/man8/pam_otpw.8.gz
share/man/man1/otpw-gen.1.gz
share/man/man8/pam_otpw.8.gz

0 comments on commit 67c2295

Please sign in to comment.