git: c4c00f8a7e8d - main - security/expiretable: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 17:53:49 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c4c00f8a7e8ded6c0094b74b3fd378faed3b3c1e
commit c4c00f8a7e8ded6c0094b74b3fd378faed3b3c1e
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 17:13:37 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 17:53:29 +0000
security/expiretable: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
security/expiretable/Makefile | 2 +-
security/expiretable/files/patch-Makefile | 23 ++++++++++++++++++++++-
security/expiretable/pkg-plist | 2 +-
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