git: 4d135d1927cd - main - security/unhide: Sanitize MANPREFIX

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d135d1927cdb77dc1ff3b19d7b29e3e0302b35c

commit 4d135d1927cdb77dc1ff3b19d7b29e3e0302b35c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 17:19:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 17:53:29 +0000

    security/unhide: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/unhide/Makefile             | 5 +++--
 security/unhide/files/patch-Makefile | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/security/unhide/Makefile b/security/unhide/Makefile
index a23c3a879c0a..a2b284a189c5 100644
--- a/security/unhide/Makefile
+++ b/security/unhide/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	unhide
 DISTVERSIONPREFIX=	v
 DISTVERSION=	20210124
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	ntarmos@ceid.upatras.gr
@@ -15,8 +16,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	YJesus
 GH_PROJECT=	Unhide
 
-PLIST_FILES=	man/man8/unhide.8.gz \
-		man/man8/unhide-tcp.8.gz \
+PLIST_FILES=	share/man/man8/unhide.8.gz \
+		share/man/man8/unhide-tcp.8.gz \
 		sbin/unhide \
 		sbin/unhide-tcp
 
diff --git a/security/unhide/files/patch-Makefile b/security/unhide/files/patch-Makefile
index 8ca458b624c6..2f4a3609247e 100644
--- a/security/unhide/files/patch-Makefile
+++ b/security/unhide/files/patch-Makefile
@@ -1,7 +1,7 @@
 --- /dev/null	2013-01-06 20:26:43.000000000 +0200
 +++ Makefile	2013-01-06 20:26:46.000000000 +0200
 @@ -0,0 +1,20 @@
-+MANDIR		:= ${PREFIX}/man
++MANDIR		:= ${PREFIX}/share/man
 +INSTALL_PROGRAM	:= /usr/bin/install -s -m 0700
 +INSTALL_MAN	:= /usr/bin/install -m 0444
 +GZIP_CMD	:= /usr/bin/gzip -9