From owner-freebsd-ports Mon May 29 13:10:22 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 41EA737BD1D for ; Mon, 29 May 2000 13:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA76817; Mon, 29 May 2000 13:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by hub.freebsd.org (Postfix) with ESMTP id 96F4B37BD06 for ; Mon, 29 May 2000 13:09:43 -0700 (PDT) (envelope-from dm@home.dinoex.sub.org) Received: from home.dinoex.sub.org (home.dinoex.de [212.184.201.180]) by net2.dinoex.sub.org (8.10.1/8.10.1) with ESMTP id e4TKFgL06380 for ; Mon, 29 May 2000 22:15:42 +0200 (CEST) (envelope-from dm@home.dinoex.sub.org) Received: (from dm@localhost) by home.dinoex.sub.org (8.10.1/8.10.1) id e4TJquC86955; Mon, 29 May 2000 21:52:56 +0200 (CEST) (envelope-from dm) Message-Id: <200005291952.e4TJquC86955@home.dinoex.sub.org> Date: Mon, 29 May 2000 21:52:56 +0200 (CEST) From: dirk.meyer@dinoex.sub.org Reply-To: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/18890: german/webalizer fix in filenames Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18890 >Category: ports >Synopsis: german/webalizer fix in filenames >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 29 13:10:03 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 3.4-RELEASE i386 >Organization: privat >Environment: gd-lib, apache >Description: generates statistics in HTML output, for Apache web server. >How-To-Repeat: On usage you gen pgn-images, with ".gif" names. >Fix: apply this extra patch. diff -ruN /usr/ports/german/webalizer/patches/patch-af ./patches/patch-af --- /usr/ports/german/webalizer/patches/patch-af Thu Jan 1 01:00:00 1970 +++ ./patches/patch-af Mon May 29 21:43:10 2000 @@ -0,0 +1,40 @@ +--- webalizer.c.orig Sun Jul 11 19:36:10 1999 ++++ webalizer.c Mon May 29 21:42:53 2000 +@@ -1981,8 +1981,8 @@ + + /* fill in filenames */ + sprintf(html_fname,"usage_%04d%02d.%s",cur_year,cur_month,html_ext); +- sprintf(gif1_fname,"daily_usage_%04d%02d.gif",cur_year,cur_month); +- sprintf(gif2_fname,"hourly_usage_%04d%02d.gif",cur_year,cur_month); ++ sprintf(gif1_fname,"daily_usage_%04d%02d.png",cur_year,cur_month); ++ sprintf(gif2_fname,"hourly_usage_%04d%02d.png",cur_year,cur_month); + + /* create GIF images for web page */ + sprintf(dtitle,"%s %s %d",msg_hmth_du,l_month[cur_month-1],cur_year); +@@ -3125,7 +3125,7 @@ + pie_legend[i]=top_ctrys[i]->desc; + } + sprintf(pie_title,"%s %s %d",msg_ctry_use,l_month[cur_month-1],cur_year); +- sprintf(pie_fname,"ctry_usage_%04d%02d.gif",cur_year,cur_month); ++ sprintf(pie_fname,"ctry_usage_%04d%02d.png",cur_year,cur_month); + + pie_chart(pie_fname,pie_title,t_hit,pie_data,pie_legend); /* do it */ + +@@ -3213,7 +3213,7 @@ + + i=(s_mth==12)?1:s_mth+1; + +- year_graph6x( "usage.gif", /* filename */ ++ year_graph6x( "usage.png", /* filename */ + buffer, /* graph title */ + i, /* last month */ + hist_hit, /* data set 1 */ +@@ -3234,7 +3234,7 @@ + } + write_html_head(msg_main_per); + /* year graph */ +- fprintf(out_fp,"\"%s\"

\n",buffer); + /* month table */ + fprintf(out_fp,"\n"); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message