aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 17:19:47 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 17:53:29 +0000
commit4d135d1927cdb77dc1ff3b19d7b29e3e0302b35c (patch)
treea53ef8383898183cd486b119855c7ba623362030
parentc4c00f8a7e8ded6c0094b74b3fd378faed3b3c1e (diff)
downloadports-4d135d1927cdb77dc1ff3b19d7b29e3e0302b35c.tar.gz
ports-4d135d1927cdb77dc1ff3b19d7b29e3e0302b35c.zip
security/unhide: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--security/unhide/Makefile5
-rw-r--r--security/unhide/files/patch-Makefile2
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