From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 5 21:00:53 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AB9F16A575 for ; Thu, 5 Oct 2006 21:00:53 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6064343D6A for ; Thu, 5 Oct 2006 21:00:46 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k95L0krw005241 for ; Thu, 5 Oct 2006 21:00:46 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k95L0kGb005240; Thu, 5 Oct 2006 21:00:46 GMT (envelope-from gnats) Resent-Date: Thu, 5 Oct 2006 21:00:46 GMT Resent-Message-Id: <200610052100.k95L0kGb005240@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Antoine Beaupre Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1131416A40F for ; Thu, 5 Oct 2006 20:59:15 +0000 (UTC) (envelope-from anarcat@lethe.koumbit.net) Received: from lethe.koumbit.net (modemcable028.26-70-69.static.videotron.ca [69.70.26.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id A717743D88 for ; Thu, 5 Oct 2006 20:59:13 +0000 (GMT) (envelope-from anarcat@lethe.koumbit.net) Received: by lethe.koumbit.net (Postfix, from userid 1000) id 469AD17105; Thu, 5 Oct 2006 16:59:12 -0400 (EDT) Message-Id: <20061005205912.469AD17105@lethe.koumbit.net> Date: Thu, 5 Oct 2006 16:59:12 -0400 (EDT) From: Antoine Beaupre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/104033: nagios trends report images wrong size X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Antoine Beaupre List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 21:00:53 -0000 >Number: 104033 >Category: ports >Synopsis: nagios trends report images wrong size >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 05 21:00:44 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Antoine Beaupre >Release: FreeBSD 6.1-SECURITY i386 >Organization: Koumbit >Environment: System: FreeBSD lethe.koumbit.net 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Aug 28 05:21:08 UTC 2006 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 A recent ports collection with nagios 2.5 >Description: When doing a report with trends.cgi, the image gets distorted and stretched out of proportions. That is because there is a static width=900 in the .cgi. >How-To-Repeat: Generate a trends report. Admire the streched image. >Fix: Just add this patch to files/patch-cgi-trends.c --- cgi/trends.c.orig Thu Oct 5 16:05:10 2006 +++ cgi/trends.c Thu Oct 5 16:05:12 2006 @@ -742,7 +742,7 @@ if(backtrack_archives>0) printf("&backtrack=%d",backtrack_archives); printf("&zoom=%d",zoom_factor); - printf("' BORDER=0 name='trendsimage' useMap='#trendsmap' width=900>\n"); + printf("' BORDER=0 name='trendsimage' useMap='#trendsmap'>\n"); printf("\n"); } >Release-Note: >Audit-Trail: >Unformatted: