Bug 47244 - maintainer-update of security/nessus-*-devel
Summary: maintainer-update of security/nessus-*-devel
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 10:10 UTC by Udo.Schweigert
Modified: 2003-01-20 12:51 UTC (History)
0 users

See Also:


Attachments
file.diff (4.54 KB, patch)
2003-01-20 10:10 UTC, Udo.Schweigert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Udo.Schweigert 2003-01-20 10:10:03 UTC
Maintainer update of the security nessus-*-devel ports changing to the most
recent development version 1.3.1.
Comment 1 Oliver Braun freebsd_committer freebsd_triage 2003-01-20 11:20:05 UTC
I got the following on a i386 -current:

# cd nessus-devel && make
<snip>
cc -O -pipe `sh ./cflags` -c pluginscheduler.c
pluginscheduler.c: In function `plugins_scheduler_next':
pluginscheduler.c:369: pointers are not permitted as case values
*** Error code 1

Stop in /home/lizard/freebsd/security/nessus-devel/work/nessus-core/nessusd.
*** Error code 1

Stop in /home/lizard/freebsd/security/nessus-devel/work/nessus-core.
*** Error code 1

Stop in /home/lizard/freebsd/security/nessus-devel.

Regards,
         Olli
Comment 2 Udo.Schweigert 2003-01-20 12:16:51 UTC
On Mon, Jan 20, 2003 at 12:20:05 +0100, Oliver Braun wrote:
> I got the following on a i386 -current:
> 
## cd nessus-devel && make
> <snip>
> cc -O -pipe `sh ./cflags` -c pluginscheduler.c
> pluginscheduler.c: In function `plugins_scheduler_next':
> pluginscheduler.c:369: pointers are not permitted as case values
> *** Error code 1
> 
> Stop in /home/lizard/freebsd/security/nessus-devel/work/nessus-core/nessusd.
> *** Error code 1
> 
> Stop in /home/lizard/freebsd/security/nessus-devel/work/nessus-core.
> *** Error code 1
> 
> Stop in /home/lizard/freebsd/security/nessus-devel.
> 

Ooops, please apply this patch (tested on i386 -stable and -current):

diff -ru /usr/ports/security/nessus-devel/files/patch-ac nessus-devel/files/patch-ac
--- /usr/ports/security/nessus-devel/files/patch-ac	Thu Jan  1 01:00:00 1970
+++ nessus-devel/files/patch-ac	Mon Jan 20 13:11:18 2003
@@ -0,0 +1,11 @@
+--- nessusd/pluginscheduler.c.orig	Sat Jan 18 16:17:57 2003
++++ nessusd/pluginscheduler.c	Mon Jan 20 13:04:20 2003
+@@ -366,7 +366,7 @@
+       case NULL :
+ 	 plugin_set_running_state(l->plugin->value, PLUGIN_STATUS_RUNNING);
+ 	 return l->plugin;
+-     case PLUG_RUNNING:
++     case (int) PLUG_RUNNING:
+      		/* One of the dependencie is still running */
+      	flag ++;
+ 	break;

Best regards

--
Udo Schweigert, Siemens AG   | Voice      : +49 89 636 42170
CT IC CERT, Siemens CERT     | Fax        : +49 89 636 41166
D-81730 Muenchen / Germany   | email      : udo.schweigert@siemens.com
Comment 3 Oliver Braun freebsd_committer freebsd_triage 2003-01-20 12:50:29 UTC
State Changed
From-To: open->closed

Committed, thanks!