Your message dated Wed, 16 Nov 2005 15:02:12 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#339019: fixed in smokeping 2.0.5-1
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Nov 2005 15:01:10 +0000
>From [EMAIL PROTECTED] Mon Nov 14 07:01:10 2005
Return-path: <[EMAIL PROTECTED]>
Received: from office-gw.westend.com ([212.117.64.2] helo=xeniac.intern)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EbfpW-00040k-0E
        for [EMAIL PROTECTED]; Mon, 14 Nov 2005 07:01:10 -0800
Received: by xeniac.intern (Postfix, from userid 1000)
        id 3C6C037815E; Mon, 14 Nov 2005 16:01:08 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Christian Hammers <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: [patch] Bug in Smokeping.pm: URL should contain $cgivar
X-Mailer: reportbug 3.8
Date: Mon, 14 Nov 2005 16:01:08 +0100
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: smokeping
Version: 1.38-3
Severity: normal
Tags: patch

Hello

Smokeping has a little bug in Smokeping.pm. It is triggered when the
smokeping host is reachable not by its hostname but e.g. due to ProxyPass
by a different hostname. In this case the $cgiurl that can be set in the
config should be used but sadly is not used.

The following patch solves the problem:

--- old/lib/Smokeping.pm.orig   2005-03-13 13:58:57.000000000 +0100
+++ new/lib/Smokeping.pm        2005-11-14 15:49:48.867229239 +0100
@@ -866,7 +866,7 @@
        {
        menu => target_menu($cfg->{Targets},
                            [EMAIL PROTECTED], #copy this because it gets 
changed
-                           ($q->script_name() || '')."?target="),
+                           $cfg->{General}->{cgiurl}."?target="),
        title => $tree->{title},
        remark => ($tree->{remark} || ''),
        overview => get_overview( $cfg,$q,$tree,$open ),


bye,

-christian-

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-15) (ignored: LC_ALL set 
to [EMAIL PROTECTED])

Versions of packages smokeping depends on:
ii  echoping                5.2.0-2          A small test tool for TCP servers
ii  fping                   2.4b2-to-ipv6-10 sends ICMP ECHO_REQUEST packets to
ii  librrds-perl            1.0.49-1         Time-series data storage and displ
pn  libsnmp-session-perl                     Not found.
ii  perl [libdigest-md5-per 5.8.4-8          Larry Wall's Practical Extraction 
ii  speedy-cgi-perl         2.22-1           speed up perl scripts by making th

---------------------------------------
Received: (at 339019-close) by bugs.debian.org; 16 Nov 2005 23:11:22 +0000
>From [EMAIL PROTECTED] Wed Nov 16 15:11:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1EcWI8-0005K7-Mk; Wed, 16 Nov 2005 15:02:12 -0800
From: Jose Carlos Garcia Sogo <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#339019: fixed in smokeping 2.0.5-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 16 Nov 2005 15:02:12 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: smokeping
Source-Version: 2.0.5-1

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

smokeping_2.0.5-1.diff.gz
  to pool/main/s/smokeping/smokeping_2.0.5-1.diff.gz
smokeping_2.0.5-1.dsc
  to pool/main/s/smokeping/smokeping_2.0.5-1.dsc
smokeping_2.0.5-1_all.deb
  to pool/main/s/smokeping/smokeping_2.0.5-1_all.deb
smokeping_2.0.5.orig.tar.gz
  to pool/main/s/smokeping/smokeping_2.0.5.orig.tar.gz



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.
Jose Carlos Garcia Sogo <[EMAIL PROTECTED]> (supplier of updated smokeping 
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, 16 Nov 2005 23:35:23 +0100
Source: smokeping
Binary: smokeping
Architecture: source all
Version: 2.0.5-1
Distribution: unstable
Urgency: low
Maintainer: Jose Carlos Garcia Sogo <[EMAIL PROTECTED]>
Changed-By: Jose Carlos Garcia Sogo <[EMAIL PROTECTED]>
Description: 
 smokeping  - latency logging and graphing system
Closes: 339019
Changes: 
 smokeping (2.0.5-1) unstable; urgency=low
 .
   [ Niko Tyni ]
   * New upstream version
     + use the 'cgiurl' variable for all CGI self-refering links
       (Closes: #339019)
   * debian/doc-base:
     + add document authors
     + fix the text document directory
   * debian/postrm:
     + use 'deluser --system' to delete the user at purge time.
 .
   [ Jose Carlos Garcia Sogo ]
   * Merged smokeping--*--2.0.5 branches from Niko's repo.
Files: 
 d5304c01744b1eef5d71cdb350e73116 688 net extra smokeping_2.0.5-1.dsc
 c965439c147012b91585c3e134225b4d 375851 net extra smokeping_2.0.5.orig.tar.gz
 cf638f83f5f7d3dac771c923f97063b7 45345 net extra smokeping_2.0.5-1.diff.gz
 8157d0bcc5ff9d8ad29a4d7b85c4db16 436532 net extra smokeping_2.0.5-1_all.deb

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

iD8DBQFDe7bRS+BYJZB4jhERAnekAJ93L4O7s7m+6NeMs7Yz41+OtCbZPQCglRIF
qrvYKXKPefK6ig5t9B1zO7g=
=tlyn
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to