Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 22:52:11 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f43d7bb76bd2 - main - security/f-prot: Sanitize MANPREFIX
Message-ID:  <202401212252.40LMqBpc030255@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit f43d7bb76bd219146e0316e5c3ceb88e886fcf75
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:47:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:51:37 +0000

    security/f-prot: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/f-prot/Makefile  |  8 ++++----
 security/f-prot/pkg-plist | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/security/f-prot/Makefile b/security/f-prot/Makefile
index 09100da819e5..e88a29e8645a 100644
--- a/security/f-prot/Makefile
+++ b/security/f-prot/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	f-prot
 PORTVERSION=	6.5.1.5927
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://ftp.i-scream.org/pub/ftp.f-prot.com/pub/bsd/
 DISTNAME=	fp-FreeBSD-x86_32-ws-${PORTVERSION}
@@ -40,9 +40,9 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
 	${INSTALL_SCRIPT} ${WRKDIR}/900.fpupdate ${STAGEDIR}${PREFIX}/etc/periodic/daily
 
-	${INSTALL_MAN} ${WRKSRC}/doc/man/fpscan.1 ${STAGEDIR}${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/man/f-prot.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5
-	${INSTALL_MAN} ${WRKSRC}/doc/man/fpupdate.8 ${STAGEDIR}${MANPREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/doc/man/fpscan.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/f-prot.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5
+	${INSTALL_MAN} ${WRKSRC}/doc/man/fpupdate.8 ${STAGEDIR}${PREFIX}/share/man/man8
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/security/f-prot/pkg-plist b/security/f-prot/pkg-plist
index f32d1449586b..8858c18d6215 100644
--- a/security/f-prot/pkg-plist
+++ b/security/f-prot/pkg-plist
@@ -1,8 +1,8 @@
 bin/fpscan
 bin/fpupdate
-@unexec if [ -L /etc/f-prot.conf ]; then rm /etc/f-prot.conf; fi
+@postunexec if [ -L /etc/f-prot.conf ]; then rm /etc/f-prot.conf; fi
 @sample etc/f-prot.conf.sample
-@exec if [ ! -e /etc/f-prot.conf ]; then ln -s %D/etc/f-prot.conf /etc/f-prot.conf; fi
+@preexec if [ ! -e /etc/f-prot.conf ]; then ln -s %D/etc/f-prot.conf /etc/f-prot.conf; fi
 etc/periodic/daily/900.fpupdate
 libexec/f-prot/README
 libexec/f-prot/antivir.def
@@ -10,9 +10,9 @@ libexec/f-prot/fpscan
 libexec/f-prot/fpupdate
 libexec/f-prot/license.key
 libexec/f-prot/product.data
-man/man1/fpscan.1.gz
-man/man5/f-prot.conf.5.gz
-man/man8/fpupdate.8.gz
+share/man/man1/fpscan.1.gz
+share/man/man5/f-prot.conf.5.gz
+share/man/man8/fpupdate.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE-FPAV



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401212252.40LMqBpc030255>