Skip to content

Commit

Permalink
security/f-prot: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 21, 2024
1 parent 10fe25e commit f43d7bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions 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}
Expand Down Expand Up @@ -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}
Expand Down
10 changes: 5 additions & 5 deletions security/f-prot/pkg-plist
@@ -1,18 +1,18 @@
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
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
Expand Down

0 comments on commit f43d7bb

Please sign in to comment.