aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 13:39:51 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 13:52:03 +0000
commit67c2295290a596f329c6e6c6d84049ced4461561 (patch)
treea860de0a0f7084550b3ebdcae7fb51193116af95
parent6684dc9568e3ab71ba778f8f9613325d1b002aa9 (diff)
downloadports-67c2295290a596f329c6e6c6d84049ced4461561.tar.gz
ports-67c2295290a596f329c6e6c6d84049ced4461561.zip
security/otpw: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--security/otpw/Makefile5
-rw-r--r--security/otpw/pkg-plist4
2 files changed, 5 insertions, 4 deletions
diff --git a/security/otpw/Makefile b/security/otpw/Makefile
index c4e9661cc8ff..a7794ebee131 100644
--- a/security/otpw/Makefile
+++ b/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
@@ -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>
diff --git a/security/otpw/pkg-plist b/security/otpw/pkg-plist
index a6ede774525b..e579e2e7c742 100644
--- a/security/otpw/pkg-plist
+++ b/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