Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2002 18:54:19 +0100 (CET)
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33999: Fix security/nessus (has problem compiling)
Message-ID:  <200201171754.g0HHsJ323175@energyhq.homeip.net>

next in thread | raw e-mail | index | archive | help

>Number:         33999
>Category:       ports
>Synopsis:       Fix security/nessus (has problem compiling)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 17 10:00:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        FreeBSD 4.5-RC i386
>Organization:
>Environment:
System: FreeBSD energyhq.homeip.net 4.5-RC FreeBSD 4.5-RC #0: Thu Jan 10 18:41:02 CET 2002 root@energyhq.homeip.net:/storage2/obj/storage2/src/sys/ENERGYHQ i386


	
>Description:
	html_graph_output.c roles it's own strcasestr which conflicts with
	FreeBSD's own.
>How-To-Repeat:
	cd /usr/ports/security/nessus && make
	
>Fix:

	

--- nessus.diff begins here ---
diff -ruN nessus/files/patch-nessus-html_graph_output.c nessus.new/files/patch-nessus-html_graph_output.c
--- nessus/files/patch-nessus-html_graph_output.c	Thu Jan  1 01:00:00 1970
+++ nessus.new/files/patch-nessus-html_graph_output.c	Thu Jan 17 18:48:26 2002
@@ -0,0 +1,31 @@
+--- nessus/html_graph_output.c.old	Thu Jan 17 18:44:40 2002
++++ nessus/html_graph_output.c	Thu Jan 17 18:47:20 2002
+@@ -65,8 +65,9 @@
+ #include "globals.h"
+ #include "nsr_output.h"
+ 
+-
++#ifndef __FreeBSD__
+ static char* strcasestr(char*, char *);
++#endif 
+ static void insert_img(FILE *, char*);
+ 
+ 
+@@ -90,7 +91,8 @@
+ /*
+  * Handy functions
+  */
+- 
++
++#ifndef __FreeBSD__ 
+ static char * 
+ strcasestr(char * haystack, char * needle)
+ {
+@@ -109,6 +111,7 @@
+  }
+  return NULL;
+ }
++#endif
+ 
+ static void
+ insert_img(f, name)
--- nessus.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201171754.g0HHsJ323175>