ports/62918: Update port: security/f-prot
Tim Bishop
tim at bishnet.net
Mon Feb 16 16:00:38 UTC 2004
>Number: 62918
>Category: ports
>Synopsis: Update port: security/f-prot
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 16 08:00:24 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Tim Bishop
>Release: FreeBSD 5.2-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD pendennis.ukc.ac.uk 5.2-RELEASE-p1 FreeBSD 5.2-RELEASE-p1 #0: Fri Jan 30 13:10:36 GMT 2004 tdb at pendennis.ukc.ac.uk:/usr/obj/usr/src/sys/PENDENNIS i386
>Description:
Make use of new seperate port of virus definitions.
(PR ports/62917 must be committed first)
Put documentation in the correct place.
Credit goes to Tom McLaughlin <tmclaugh at sdf.lonestar.org>.
>How-To-Repeat:
>Fix:
Apply diff below.
--- f-prot-4.3.3-sig.diff begins here ---
diff -ruN f-prot.bak/Makefile f-prot/Makefile
--- f-prot.bak/Makefile Sun Feb 8 23:29:09 2004
+++ f-prot/Makefile Mon Feb 16 15:04:56 2004
@@ -15,7 +15,8 @@
MAINTAINER= tim at bishnet.net
COMMENT= F-Prot Antivirus for BSD Workstations
-RUN_DEPENDS= ${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS= ${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww \
+ ${PREFIX}/f-prot/SIGN.DEF:${PORTSDIR}/security/f-prot-sig
NO_PACKAGE= Free for personal use only
NO_CDROM= Free for personal use only
@@ -29,8 +30,19 @@
ONLY_FOR_ARCHS= i386
do-install:
- cd ${WRKDIR} && ${TAR} -cf - f-prot | ${TAR} -xf - -C ${PREFIX}
+ cd ${WRKDIR} && ${TAR} --exclude man_pages \
+ --exclude doc_ws \
+ --exclude f-prot.sh \
+ --exclude *.DEF \
+ -cf - f-prot | ${TAR} -xf - -C ${PREFIX}
+
${INSTALL_SCRIPT} ${WRKSRC}/f-prot.sh ${PREFIX}/bin/f-prot
${INSTALL_MAN} ${WRKSRC}/man_pages/f-prot.1 ${MANPREFIX}/man/man1/
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${CP} -Rp ${WRKSRC}/doc_ws/* ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff -ruN f-prot.bak/pkg-plist f-prot/pkg-plist
--- f-prot.bak/pkg-plist Sun Feb 8 23:29:09 2004
+++ f-prot/pkg-plist Mon Feb 16 15:00:39 2004
@@ -3,42 +3,35 @@
f-prot/ENGLISH.TX0
f-prot/INSTALL.bsd_ws
f-prot/LICENSE
-f-prot/MACRO.DEF
f-prot/README
-f-prot/SIGN.DEF
-f-prot/SIGN2.DEF
-f-prot/doc_ws/add_info.html
-f-prot/doc_ws/auto_updt.html
-f-prot/doc_ws/comm_scan.html
-f-prot/doc_ws/index.html
-f-prot/doc_ws/inf_eicar.gif
-f-prot/doc_ws/info_options.html
-f-prot/doc_ws/inst_pro.html
-f-prot/doc_ws/license.html
-f-prot/doc_ws/loc_files.html
-f-prot/doc_ws/macro_scanning_options.html
-f-prot/doc_ws/main_feat.html
-f-prot/doc_ws/man_updt.html
-f-prot/doc_ws/norm_scan.gif
-f-prot/doc_ws/per_scan.html
-f-prot/doc_ws/reporting_options.html
-f-prot/doc_ws/scanning_options.html
-f-prot/doc_ws/screenshot.jpg
-f-prot/doc_ws/sys_req.html
-f-prot/doc_ws/test_eicar.html
-f-prot/doc_ws/test_inst.html
-f-prot/doc_ws/updater.html
-f-prot/doc_ws/updater_req.html
-f-prot/doc_ws/updt_macro.gif
-f-prot/doc_ws/updt_sign.gif
-f-prot/doc_ws/updt_signature.gif
f-prot/f-prot
-f-prot/f-prot.sh
f-prot/install-f-prot.pl
-f-prot/man_pages/check-updates.pl.8
-f-prot/man_pages/f-prot.1
f-prot/tools/check-updates.pl
- at dirrm f-prot/doc_ws
- at dirrm f-prot/man_pages
+%%PORTDOCS%%%%DOCSDIR%%/add_info.html
+%%PORTDOCS%%%%DOCSDIR%%/auto_updt.html
+%%PORTDOCS%%%%DOCSDIR%%/comm_scan.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/inf_eicar.gif
+%%PORTDOCS%%%%DOCSDIR%%/info_options.html
+%%PORTDOCS%%%%DOCSDIR%%/inst_pro.html
+%%PORTDOCS%%%%DOCSDIR%%/license.html
+%%PORTDOCS%%%%DOCSDIR%%/loc_files.html
+%%PORTDOCS%%%%DOCSDIR%%/macro_scanning_options.html
+%%PORTDOCS%%%%DOCSDIR%%/main_feat.html
+%%PORTDOCS%%%%DOCSDIR%%/man_updt.html
+%%PORTDOCS%%%%DOCSDIR%%/norm_scan.gif
+%%PORTDOCS%%%%DOCSDIR%%/per_scan.html
+%%PORTDOCS%%%%DOCSDIR%%/reporting_options.html
+%%PORTDOCS%%%%DOCSDIR%%/scanning_options.html
+%%PORTDOCS%%%%DOCSDIR%%/screenshot.jpg
+%%PORTDOCS%%%%DOCSDIR%%/sys_req.html
+%%PORTDOCS%%%%DOCSDIR%%/test_eicar.html
+%%PORTDOCS%%%%DOCSDIR%%/test_inst.html
+%%PORTDOCS%%%%DOCSDIR%%/updater.html
+%%PORTDOCS%%%%DOCSDIR%%/updater_req.html
+%%PORTDOCS%%%%DOCSDIR%%/updt_macro.gif
+%%PORTDOCS%%%%DOCSDIR%%/updt_sign.gif
+%%PORTDOCS%%%%DOCSDIR%%/updt_signature.gif
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm f-prot/tools
@dirrm f-prot/
--- f-prot-4.3.3-sig.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list