Your message dated Wed, 22 Feb 2006 15:47:08 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#350584: fixed in argus-client 2.0.6.fixes.1-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: argus-client
Version: 2.0.6.fixes.1-2
Severity: normal
Tags: patch


rrd does not support gif (which is fine), here is a patch
to use png for generating graph.

(otherwise error is :
ERROR: unsupported graphics format 'GIF'
when calling ragraph bytes -M 10s -r argus.log -title "Total Load" )



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (549, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages argus-client depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  libncurses5                   5.5-1      Shared libraries for terminal hand

Versions of packages argus-client recommends:
ii  argus-server          1:2.0.6.fixes.1-10 IP network transaction auditing to

-- no debconf information
--- /usr/bin/ragraph    2005-01-04 18:57:15.000000000 -0500
+++ ./ragraph   2006-01-29 16:06:49.000000000 -0500
@@ -29,7 +29,7 @@
 
 my $tmpfile = tmpnam();
 my $RRD     = $tmpfile.".rrd";
-my $GIF     = "ragraph.gif";
+my $PNG     = "ragraph.png";
 my @arglist = ();
 
 my $title = "";
@@ -97,7 +97,7 @@
       s/^-upper//  && do { $upper = shift (@ARGV); next ARG; };
       s/^-lower//  && do { $lower = shift (@ARGV); next ARG; };
       s/^-title//  && do { $title = shift (@ARGV); next ARG; };
-      s/^-w//      && do { $GIF = shift (@ARGV); next ARG; };
+      s/^-w//      && do { $PNG = shift (@ARGV); next ARG; };
       s/^-N//      && do { $num = shift (@ARGV); next ARG; };
       /^-H/        && do { $histo++; };
       s/\(/\\\(/     && do { ; };
@@ -106,11 +106,22 @@
    [EMAIL PROTECTED] + 0] = $arg;
 }
 
+print "DEBUG: RagraphProcessArgusData\n";
 RagraphProcessArgusData ();
+
+print "DEBUG: RagraphReadInitialValue\n";
 RagraphReadInitialValues ($tmpfile);
+
+print "DEBUG: RagraphGenerateRRDParameters\n";
 RagraphGenerateRRDParameters ($tmpfile);
+
+print "DEBUG: RagraphGenerateRRD\n";
 RagraphGenerateRRD ();
-RagraphGenerateGIF ();
+
+print "DEBUG: RagraphGeneratePNG\n";
+RagraphGeneratePNG ();
+
+print "DEBUG: RagraphCleanUp\n";
 RagraphCleanUp ();
 
 exit;
@@ -152,6 +163,7 @@
       @args = ("rahistogram -p6 -G -s lasttime ", @arglist, "> $tmpfile");
    }
    
+   print "EXEC: @args\n";
    my $input = [EMAIL PROTECTED];
 }
 
@@ -715,15 +727,15 @@
 }
 
 
-sub RagraphGenerateGIF {
-   my @rrd_gifs = ($RRD, $GIF);
+sub RagraphGeneratePNG {
+   my @rrd_pngs = ($RRD, $PNG);
    
    my @rrd_args = (
          "--base", "1000",
          "--vertical-label", $xaxisstr,
          "--start", $START,
          "--end", $END,
-         "--interlace", "--imgformat","GIF",
+         "--interlace", "--imgformat","PNG",
    );
    
    if ($title) {
@@ -758,11 +770,11 @@
    
    push @rrd_args, @line_args;
 
-   while (@rrd_gifs) {
-     my $RRD = shift(@rrd_gifs);
-     my $GIF = shift(@rrd_gifs);
+   while (@rrd_pngs) {
+     my $RRD = shift(@rrd_pngs);
+     my $PNG = shift(@rrd_pngs);
    
-     my ($graphret,$xs,$ys) = RRDs::graph $GIF, @rrd_args;
+     my ($graphret,$xs,$ys) = RRDs::graph $PNG, @rrd_args;
    
       if ($ERROR = RRDs::error) {
          print "ERROR: $ERROR\n";


--- End Message ---
--- Begin Message ---
Source: argus-client
Source-Version: 2.0.6.fixes.1-3

We believe that the bug you reported is fixed in the latest version of
argus-client, which is due to be installed in the Debian FTP archive:

argus-client_2.0.6.fixes.1-3.diff.gz
  to pool/main/a/argus-client/argus-client_2.0.6.fixes.1-3.diff.gz
argus-client_2.0.6.fixes.1-3.dsc
  to pool/main/a/argus-client/argus-client_2.0.6.fixes.1-3.dsc
argus-client_2.0.6.fixes.1-3_i386.deb
  to pool/main/a/argus-client/argus-client_2.0.6.fixes.1-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrew Pollock <[EMAIL PROTECTED]> (supplier of updated argus-client package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 22 Feb 2006 15:30:07 -0800
Source: argus-client
Binary: argus-client
Architecture: source i386
Version: 2.0.6.fixes.1-3
Distribution: unstable
Urgency: low
Maintainer: Andrew Pollock <[EMAIL PROTECTED]>
Changed-By: Andrew Pollock <[EMAIL PROTECTED]>
Description: 
 argus-client - IP network transaction auditing tool
Closes: 350584
Changes: 
 argus-client (2.0.6.fixes.1-3) unstable; urgency=low
 .
   * Applied patch from Xavier Renaut to make ragraph generate PNG graphs
     (closes: #350584)
Files: 
 3961f407c70d80435409c3f915dbd595 663 net optional 
argus-client_2.0.6.fixes.1-3.dsc
 76fd75e1808502d5775ff0991ef847c6 19099 net optional 
argus-client_2.0.6.fixes.1-3.diff.gz
 c4ccdc8b6aa09565e7db5fb9d4b7140d 1832450 net optional 
argus-client_2.0.6.fixes.1-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD/PZDIblXXKfZFgIRAqZBAJ9Ijd/sXHDJ4VVF6VD5hU7WSv61jgCfcNti
Jr1UYIajk/Yc72OUe3+r0So=
=Ho+T
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to