aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 17:13:37 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 17:53:29 +0000
commitc4c00f8a7e8ded6c0094b74b3fd378faed3b3c1e (patch)
tree13c27c1b73f8107bdea4cb093eb9985cc5d9bbd3
parentf5534cf1fb1396390ba5ad53567566136f06b556 (diff)
downloadports-c4c00f8a7e8ded6c0094b74b3fd378faed3b3c1e.tar.gz
ports-c4c00f8a7e8ded6c0094b74b3fd378faed3b3c1e.zip
security/expiretable: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--security/expiretable/Makefile2
-rw-r--r--security/expiretable/files/patch-Makefile23
-rw-r--r--security/expiretable/pkg-plist2
3 files changed, 24 insertions, 3 deletions
diff --git a/security/expiretable/Makefile b/security/expiretable/Makefile
index 0d5b50d89bef..12ca7d257cae 100644
--- a/security/expiretable/Makefile
+++ b/security/expiretable/Makefile
@@ -1,6 +1,6 @@
PORTNAME= expiretable
PORTVERSION= 0.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://expiretable.fnord.se/
diff --git a/security/expiretable/files/patch-Makefile b/security/expiretable/files/patch-Makefile
index c6923d4b732b..3c50facfc8cb 100644
--- a/security/expiretable/files/patch-Makefile
+++ b/security/expiretable/files/patch-Makefile
@@ -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 $@
+-
diff --git a/security/expiretable/pkg-plist b/security/expiretable/pkg-plist
index bc8c0592973b..8c23b7cf4fd4 100644
--- a/security/expiretable/pkg-plist
+++ b/security/expiretable/pkg-plist
@@ -1,2 +1,2 @@
@(,bin,) sbin/expiretable
-@(,bin,) man/man1/expiretable.1.gz
+@(,bin,) share/man/man1/expiretable.1.gz