security/expiretable: Sanitize MANPREFIX

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-21 18:13:37 +01:00
parent f5534cf1fb
commit c4c00f8a7e
3 changed files with 24 additions and 3 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= expiretable
PORTVERSION= 0.6
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://expiretable.fnord.se/

View File

@ -1,6 +1,15 @@
--- Makefile.orig 2006-01-11 13:09:05 UTC
+++ Makefile
@@ -21,8 +21,8 @@ MAN=expiretable.1
@@ -2,7 +2,7 @@ INSTALL_BIN?=${PREFIX}/sbin
PREFIX?=/usr/local
INSTALL_BIN?=${PREFIX}/sbin
-INSTALL_MAN?=${PREFIX}/man/man1
+INSTALL_MAN?=${PREFIX}/share/man/man1
INSTALL?=`which install`
GROFF?=`which groff`
@@ -21,14 +21,14 @@ install: ${TARGET}
all: ${TARGET}
install: ${TARGET}
@ -11,3 +20,15 @@
clean:
rm -f ${TARGET}
rm -f ${OBJECTS}
rm -f llib-lexpiretable.ln
-
+
obj: ${OBJECTS}
html:
@@ -42,4 +42,3 @@ ${TARGET}: ${OBJECTS}
.c.o:
${CC} ${CFLAGS} -c $< -o $@
-

View File

@ -1,2 +1,2 @@
@(,bin,) sbin/expiretable
@(,bin,) man/man1/expiretable.1.gz
@(,bin,) share/man/man1/expiretable.1.gz