ports/63257: [PATCH] Vulnerability check gives users the willies

Dag-Erling Smørgrav des at des.no
Mon Feb 23 08:40:14 UTC 2004


>Number:         63257
>Category:       ports
>Synopsis:       [PATCH] Vulnerability check gives users the willies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 23 00:40:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dag-Erling Smørgrav
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD des.c4is.org 5.2-CURRENT FreeBSD 5.2-CURRENT #12: Fri Feb 20 14:58:21 CET 2004 des at des.c4is.org:/usr/obj/usr/src/sys/latitude i386

ports-current

>Description:

Building any port on a system that does not have portaudit installed
causes a flurry of messages like this:

===>  Vulnerability check disabled

The net result is to cause users much anxiety and make them feel compelled
to install portaudit, which is still an experimental feature.

It is my opinion that this warning should not appear at all until
portaudit reaches production quality (and hopefully enters the base
system), and even then it should be displayed only once for each port.

>How-To-Repeat:

Build any port.

>Fix:

See attached patch.

--- bsd.port.mk.diff begins here ---
Index: Mk/bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.484
diff -u -r1.484 bsd.port.mk
--- Mk/bsd.port.mk	4 Feb 2004 04:27:04 -0000	1.484
+++ Mk/bsd.port.mk	23 Feb 2004 08:28:32 -0000
@@ -3087,8 +3087,6 @@
 	else \
 		${ECHO_MSG} "===>  Vulnerability check disabled, database not found"; \
 	fi
-.else
-	@${ECHO_MSG} "===>  Vulnerability check disabled"
 .endif
 
 # Fetch
--- bsd.port.mk.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list