Date: Sun, 21 Nov 2004 18:18:50 +0000 From: Tim Bishop <tim@bishnet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tim@bishnet.net Subject: ports/74209: [MAINTAINER] security/f-prot: Make dependency on signatures optional Message-ID: <E1CVwIU-000Jzx-BH@pendennis.ukc.ac.uk> Resent-Message-ID: <200411211820.iALIKYv0035379@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74209 >Category: ports >Synopsis: [MAINTAINER] security/f-prot: Make dependency on signatures optional >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: Sun Nov 21 18:20:33 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Tim Bishop >Release: FreeBSD 5.2.1-RELEASE-p9 i386 >Organization: >Environment: System: FreeBSD pendennis.ukc.ac.uk 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Sun Jul 18 15:23:54 BST 2004 >Description: Make dependency on signatures optional. Some users may wish to update the signatures themselves either manually or by using the check-updates.pl script. Therefore, they wouldn't want the f-prot-sig port trying to do the same. This change gives them that flexibility. Requested by: Benjamin Lutz Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- f-prot-4.4.8.patch begins here --- Index: Makefile =================================================================== RCS file: /u1/freebsd/cvs/ports/security/f-prot/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- Makefile 20 Nov 2004 16:27:47 -0000 1.19 +++ Makefile 21 Nov 2004 18:16:34 -0000 @@ -15,8 +15,11 @@ MAINTAINER= tim@bishnet.net COMMENT= F-Prot Antivirus for BSD Workstations -RUN_DEPENDS= ${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww \ - ${LOCALBASE}/f-prot/SIGN.DEF:${PORTSDIR}/security/f-prot-sig +RUN_DEPENDS= ${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww + +.ifndef(WITHOUT_SIGNATURES) +RUN_DEPENDS+= ${LOCALBASE}/f-prot/SIGN.DEF:${PORTSDIR}/security/f-prot-sig +.endif NO_PACKAGE= Free for personal use only NO_CDROM= Free for personal use only @@ -41,8 +44,18 @@ ${INSTALL_MAN} ${WRKSRC}/man_pages/f-prot.1 ${MANPREFIX}/man/man1/ ${CHMOD} 755 ${PREFIX}/f-prot/tools/check-updates.pl +.ifdef(WITHOUT_SIGNATURES) +post-extract: + @${ECHO_MSG} "" + @${ECHO_MSG} "WARNING: You have chosen not to have the virus signatures installed." + @${ECHO_MSG} "" + @${ECHO_MSG} "Make sure you download and update the signatures yourself, or use the" + @${ECHO_MSG} "check-updates.pl script provided in this port to do it for you." + @${ECHO_MSG} "" +.endif + post-install: -.if !defined(NOPORTDOCS) +.ifndef(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${CP} -Rp ${WRKSRC}/doc_ws/* ${DOCSDIR} .endif --- f-prot-4.4.8.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1CVwIU-000Jzx-BH>