aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 22:47:32 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 22:51:37 +0000
commitf43d7bb76bd219146e0316e5c3ceb88e886fcf75 (patch)
tree3ec299c3bdab8fdf78709be163b2e5b17692d802
parent10fe25e2973db75eebd34ce92a7760b51c6e7caf (diff)
downloadports-f43d7bb76bd219146e0316e5c3ceb88e886fcf75.tar.gz
ports-f43d7bb76bd219146e0316e5c3ceb88e886fcf75.zip
security/f-prot: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--security/f-prot/Makefile8
-rw-r--r--security/f-prot/pkg-plist10
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