git: 3d7e6ab36bb9 - main - security/dehydrated: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 22:32:29 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3d7e6ab36bb956e9a87f797f2b010d9bbbdc4674

commit 3d7e6ab36bb956e9a87f797f2b010d9bbbdc4674
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:12:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:32:10 +0000

    security/dehydrated: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/dehydrated/Makefile  | 3 ++-
 security/dehydrated/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/security/dehydrated/Makefile b/security/dehydrated/Makefile
index d665971e606d..2310ddb7343a 100644
--- a/security/dehydrated/Makefile
+++ b/security/dehydrated/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	dehydrated
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.7.1-5
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-ge3ef43c
 CATEGORIES=	security
 
@@ -53,7 +54,7 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/docs/examples/config ${STAGEDIR}${ETCDIR}/config.sample
 	${INSTALL_DATA} ${WRKSRC}/docs/examples/hook.sh ${STAGEDIR}${ETCDIR}/hook.sh.sample
 	${INSTALL_DATA} ${WRKSRC}/docs/examples/domains.txt ${STAGEDIR}${ETCDIR}/domains.txt.sample
-	${INSTALL_MAN} ${WRKSRC}/docs/man/dehydrated.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/docs/man/dehydrated.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	${INSTALL_SCRIPT} ${WRKDIR}/${PERIODIC_FILES} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS}/${PERIODIC_FILES}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/www/dehydrated
diff --git a/security/dehydrated/pkg-plist b/security/dehydrated/pkg-plist
index 53ff97dda95b..b58800ef572f 100644
--- a/security/dehydrated/pkg-plist
+++ b/security/dehydrated/pkg-plist
@@ -4,7 +4,7 @@ bin/dehydrated
 @sample %%ETCDIR%%/domains.txt.sample
 @sample %%ETCDIR%%/hook.sh.sample
 etc/periodic/weekly/000.dehydrated
-man/man1/dehydrated.1.gz
+share/man/man1/dehydrated.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTDOCS%%%%DOCSDIR%%/dns-verification.md
 %%PORTDOCS%%%%DOCSDIR%%/domains_txt.md