webalizer/webalizer.patch

Thu, 04 Oct 2012 20:30:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:30:05 +0200
changeset 715
c10fb90893b9
permissions
-rw-r--r--

Correct out of date build configuration, porting to Solaris 11 network
link infrastructure and new libpcap logic. This additionally allows for
device drivers in subdirectories of /dev. Correct packaged nmap
personalities and signatures to work out of the box. Finally, hack
arpd logic to properly close sockets and quit on TERM by repeating
signaling in the run command script. Sadly, all this fails to correct
the run time behaviour of honeyd which fails to bind to the IP layer.

     1 Index: graphs.c
     2 diff -Nau graphs.c.orig graphs.c
     3 --- graphs.c.orig	2009-04-14 11:58:01.576710518 +0200
     4 +++ graphs.c	2009-04-14 12:16:00.411207613 +0200
     5 @@ -114,7 +114,7 @@
     6     double     fmaxval=0.0;
     8     /* initalize the graph */
     9 -   init_graph(title,512,256);              /* init as 512 x 256  */
    10 +   init_graph(title,@l_gwidth@,256);       /* init as @l_gwidth@ x 256  */
    12     gdImageLine(im, 305,25,305,233,black);  /* draw section lines */
    13     gdImageLine(im, 304,25,304,233,white);
    14 Index: output.c
    15 diff -Nau output.c.orig output.c
    16 --- output.c.orig	2009-01-13 06:34:04.000000000 +0100
    17 +++ output.c	2009-04-14 12:46:38.913442401 +0200
    18 @@ -2431,9 +2431,9 @@
    20     /* year graph */
    21     fprintf(out_fp,"<IMG SRC=\"usage.png\" ALT=\"%s\" "    \
    22 -                  "HEIGHT=256 WIDTH=512><P>\n",buffer);
    23 +                  "HEIGHT=256 WIDTH=@l_gwidth@><P>\n",buffer);
    24     /* month table */
    25 -   fprintf(out_fp,"<TABLE WIDTH=600 BORDER=2 CELLSPACING=1 CELLPADDING=1>\n");
    26 +   fprintf(out_fp,"<TABLE WIDTH=@l_gwidth@ BORDER=2 CELLSPACING=1 CELLPADDING=1>\n");
    27     fprintf(out_fp,"<TR><TH HEIGHT=4></TH></TR>\n");
    28     fprintf(out_fp,"<TR><TH COLSPAN=11 BGCOLOR=\"%s\" ALIGN=center>",GREY);
    29     fprintf(out_fp,"%s</TH></TR>\n",msg_main_sum);

mercurial