Date: Mon, 9 Oct 2000 22:38:02 +0200 (CEST) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/21876: Update www/webalizer Message-ID: <200010092038.e99Kc2Q27268@home.dinoex.sub.org>
next in thread | raw e-mail | index | archive | help
>Number: 21876 >Category: ports >Synopsis: Update www/webalizer >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 Oct 09 13:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 4.1.1-STABLE i386 >Organization: privat >Environment: gd-lib, apache >Description: generates statistics in HTML output, for Apache web server. >How-To-Repeat: New Release is out. >Fix: apply this extra patch. diff webalizer/Makefile webalizer-2.1.5/Makefile --- webalizer/Makefile Wed Aug 30 06:18:33 2000 +++ webalizer-2.1.5/Makefile Mon Oct 9 22:30:28 2000 @@ -6,34 +6,36 @@ # PORTNAME= webalizer -PORTVERSION= 1.30.4 +PORTVERSION= 2.1.5 CATEGORIES= www MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/ \ ftp://ftp.lan-ks.de/pub/FreeBSD/distfiles/ -DISTNAME= ${PORTNAME}-1.30-04-src -EXTRACT_SUFX= .tgz +DISTNAME= ${PORTNAME}-2.01-05-src MAINTAINER= dirk.meyer@dinoex.sub.org LIB_DEPENDS= gd.1:${PORTSDIR}/graphics/gd +USE_BZIP2= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-gdlib=${PREFIX}/lib \ +CONFIGURE_ARGS+= --enable-dns \ + --with-etcdir=${PREFIX}/etc \ + --with-gdlib=${PREFIX}/lib \ --with-gd=${PREFIX}/include/gd CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib" -BIN1= webalizer MAN1= webalizer.1 DOC1= CHANGES COPYING Copyright INSTALL \ - README country-codes.txt webalizer.LSM -SUPP_LANG= catalan chinese czech dutch english french \ - german italian korean polish portuguese \ - portuguese_brazil romanian russain slowak \ - spanish swedish + README README.FIRST DNS.README country-codes.txt +SUPP_LANG= catalan chinese czech danish dutch english estonian \ + finnish french german greek hungarian indonesian \ + italian korean polish portuguese portuguese_brazil \ + romanian russain slowak slovene spanish swedish turkish WRKSRC= ${WRKDIR}/${DISTNAME:S/-src$//} MAKE_ARGS+= CFLAGS="${CFLAGS}" .if defined(BATCH) +# no cosmetique spaces allowed WEBALIZER_LANG=english .endif @@ -42,18 +44,16 @@ .endif pre-configure: - @${PERL5} -pi -e "s=/etc=${PREFIX}/etc=" ${WRKSRC}/webalizer.c .if !defined(WEBALIZER_LANG) @${ECHO_MSG} "You can customize the language by typing" -.for i in ${SUPP_LANG} - @${ECHO_MSG} "make WEBALIZER_LANG=${i}" -.endfor + @${ECHO_MSG} " make WEBALIZER_LANG=<lang>" + @${ECHO_MSG} "where <lang> is one of:" + @${ECHO_MSG} ${SUPP_LANG} .endif do-install: -.for i in ${BIN1} - @${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin/${i} -.endfor + ${INSTALL_PROGRAM} ${WRKSRC}/webalizer ${PREFIX}/bin + ${LN} -sf webalizer ${PREFIX}/bin/webazolver post-install: .for i in ${MAN1} @@ -66,7 +66,7 @@ .endfor .endif ${MKDIR} ${PREFIX}/share/examples/webalizer -.for i in msfree.gif sample.conf webalizer.gif +.for i in msfree.png sample.conf webalizer.png @${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/webalizer/${i} .endfor @if [ ! -f ${PREFIX}/etc/webalizer.conf-dist ]; then \ diff webalizer/distinfo webalizer-2.1.5/distinfo --- webalizer/distinfo Sun Aug 1 22:30:05 1999 +++ webalizer-2.1.5/distinfo Sat Oct 7 15:39:01 2000 @@ -1 +1 @@ -MD5 (webalizer-1.30-04-src.tgz) = f151b5e811bcdaa4ba72bca447f5cd44 +MD5 (webalizer-2.01-05-src.tar.bz2) = ab45bc2c7893c00370a1fcbd9b71232e diff webalizer/files/patch-ad webalizer-2.1.5/files/patch-ad --- webalizer/files/patch-ad Sun Aug 1 22:30:09 1999 +++ webalizer-2.1.5/files/patch-ad Thu Jan 1 01:00:00 1970 @@ -1,38 +0,0 @@ ---- graphs.c.orig Tue Jun 15 06:33:40 1999 -+++ graphs.c Sat Jul 31 10:43:48 1999 -@@ -285,7 +285,7 @@ - /* save gif image */ - if ((out = fopen(fname, "wb")) != NULL) - { -- gdImageGif(im, out); -+ gdImagePng(im, out); - fclose(out); - } - /* deallocate memory */ -@@ -501,7 +501,7 @@ - /* open file for writing */ - if ((out = fopen(fname, "wb")) != NULL) - { -- gdImageGif(im, out); -+ gdImagePng(im, out); - fclose(out); - } - /* deallocate memory */ -@@ -614,7 +614,7 @@ - /* save as gif file */ - if ( (out = fopen(fname, "wb")) != NULL) - { -- gdImageGif(im, out); -+ gdImagePng(im, out); - fclose(out); - } - /* deallocate memory */ -@@ -700,7 +700,7 @@ - /* save gif image */ - if ((out = fopen(fname, "wb")) != NULL) - { -- gdImageGif(im, out); -+ gdImagePng(im, out); - fclose(out); - } - /* deallocate memory */ diff webalizer/files/patch-ae webalizer-2.1.5/files/patch-ae --- webalizer/files/patch-ae Mon Nov 1 01:58:48 1999 +++ webalizer-2.1.5/files/patch-ae Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- configure.orig Wed Oct 27 18:18:41 1999 -+++ configure Wed Oct 27 18:18:52 1999 -@@ -1054,7 +1054,7 @@ - fi - if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 -- LIBS="-lgd ${LIBS}"; HAVE_LIBGD="yes" -+ LIBS="-lgd -lpng ${LIBS}"; HAVE_LIBGD="yes" - else - echo "$ac_t""no" 1>&6 - HAVE_LIBGD="" diff webalizer/files/patch-af webalizer-2.1.5/files/patch-af --- webalizer/files/patch-af Tue May 30 00:29:22 2000 +++ webalizer-2.1.5/files/patch-af Thu Jan 1 01:00:00 1970 @@ -1,40 +0,0 @@ ---- 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,"<IMG SRC=\"usage.gif\" ALT=\"%s\" " \ -+ fprintf(out_fp,"<IMG SRC=\"usage.png\" ALT=\"%s\" " \ - "HEIGHT=256 WIDTH=512><P>\n",buffer); - /* month table */ - fprintf(out_fp,"<TABLE WIDTH=600 BORDER=2 CELLSPACING=1 CELLPADDING=1>\n"); diff webalizer/pkg-descr webalizer-2.1.5/pkg-descr --- webalizer/pkg-descr Thu Jun 10 10:15:24 1999 +++ webalizer-2.1.5/pkg-descr Tue Apr 18 20:11:23 2000 @@ -1,22 +1,23 @@ What is The Webalizer? ---------------------- -The Webalizer is a web server log file analysis program which produces -usage statistics in HTML format for viewing with a browser. The results -are presented in both columnar and graphical format, which facilitates -interpretation. Yearly, monthly, daily and hourly usage statistics are -presented, along with the ability to display usage by site, URL, referrer, -user agent (browser) and country (user agent and referrer are only -available if your web server procduces Combined log format files). - -The Webalizer supports CLF (common log format) log files, as well as -Combined log formats as defined by NCSA and others, and variations -of these which it attempts to handle intelligently. +A fast, free web server log file analysis program. Produces +HTML output for viewing with a web browser. Written in C on +a Linux platform, however designed to be as ANSI/POSIX +compliant as possible so porting to other UNIX platforms should +be painless. Binary distributions for most popular platforms +are available. Features multiple language support, incremental +processing capabilities, reverse DNS lookup support, export via +tab seperated ascii files to popular databases and spreadsheets, +and much more. Supports standard CLF and combined logs, as well +as wu-ftpd xferlog and squid proxy logs, which can be either in +standard text format or gzip compressed. Keywords: Web Analysis, Log Analysis, Usage Statistics, Linux, Unix Author: Bradford L. Barrett Maintained-by: Bradford L. Barrett WWW: http://www.mrunix.net/webalizer/ +Alternate-site:http://samhain.unix.cslab.tuwien.ac.at/webalizer/ FTP: ftp://www.mrunix.net/pub/webalizer/ Platforms: Linux, SCO, other UNIX's Copying-policy: GPL diff webalizer/pkg-plist webalizer-2.1.5/pkg-plist --- webalizer/pkg-plist Wed Mar 31 17:15:24 1999 +++ webalizer-2.1.5/pkg-plist Tue May 16 19:20:20 2000 @@ -1,14 +1,16 @@ bin/webalizer +@unexec rm -f %B/webazolver etc/webalizer.conf-dist share/doc/webalizer/CHANGES share/doc/webalizer/COPYING share/doc/webalizer/Copyright share/doc/webalizer/INSTALL +share/doc/webalizer/DNS.README share/doc/webalizer/README +share/doc/webalizer/README.FIRST share/doc/webalizer/country-codes.txt -share/doc/webalizer/webalizer.LSM @dirrm share/doc/webalizer -share/examples/webalizer/msfree.gif +share/examples/webalizer/msfree.png share/examples/webalizer/sample.conf -share/examples/webalizer/webalizer.gif +share/examples/webalizer/webalizer.png @dirrm share/examples/webalizer >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010092038.e99Kc2Q27268>