From owner-freebsd-ports@FreeBSD.ORG Tue Jul 22 00:21:41 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C9571065670 for ; Tue, 22 Jul 2008 00:21:41 +0000 (UTC) (envelope-from john@rwpc12.mby.riverwillow.net.au) Received: from mail2.riverwillow.net.au (ns2.riverwillow.net.au [203.58.93.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9A8E18FC1D for ; Tue, 22 Jul 2008 00:21:39 +0000 (UTC) (envelope-from john@rwpc12.mby.riverwillow.net.au) Received: from rwpc12.mby.riverwillow.net.au (rwpc12.mby.riverwillow.net.au [172.25.24.168]) by mail2.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id m6M0LYEE063114 for ; Tue, 22 Jul 2008 10:21:34 +1000 (AEST) Received: from rwpc12.mby.riverwillow.net.au (localhost [127.0.0.1]) by rwpc12.mby.riverwillow.net.au (8.14.2/8.14.2) with ESMTP id m6M0LYpj006064 for ; Tue, 22 Jul 2008 10:21:34 +1000 (AEST) (envelope-from john@rwpc12.mby.riverwillow.net.au) Received: (from john@localhost) by rwpc12.mby.riverwillow.net.au (8.14.2/8.14.2/Submit) id m6M0LXtB006063 for freebsd-ports@freebsd.org; Tue, 22 Jul 2008 10:21:33 +1000 (AEST) (envelope-from john) Date: Tue, 22 Jul 2008 10:21:33 +1000 From: John Marshall To: FreeBSD Ports Message-ID: <20080722002133.GC5752@rwpc12.mby.riverwillow.net.au> Mail-Followup-To: FreeBSD Ports References: <20080721151146.GB3127@rwpc12.mby.riverwillow.net.au> <4884C621.6020907@mikestammer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4884C621.6020907@mikestammer.com> User-Agent: Mutt/1.4.2.3i Subject: Re: BIG Update for www/webalizer X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 00:21:41 -0000 On Mon, 21 Jul 2008, 11:23 -0600, Eric Zimmerman wrote: > Paul Schmehl wrote: > >--On Monday, July 21, 2008 09:55:07 -0600 Eric Zimmerman > > wrote: > >> > >>any idea what command line options changed based on your experience? I > >>didnt > >>see mention of command line changes at: > i did a comparison against the new version and there arent any missing > or changed command line switches. First of all, an apology for any confusion. I've just checked and found that I actually install webalizer via the www/geolizer port, which includes the GeoIP functionality. It was that area, in particular, where things came unstuck. Changes for people who don't use GeoIP are probably minor. So, more particularly, I am referring to differences between the following: webalizer-geoip-2.1.10_13 webalizer-geoip-2.20.1_1 I was bitten by the changes relating to use of the GeoIP database. When my reports ran with the new version, there was no geographic information: all of the sites were summarized in one line as, "Unkown". When I explicitly switched that on, the country flags were missing: they had to be switched on explicitly as well. Adding the following to my config files got me (more or less) back to the output my customers are used to seeing: GeoIP yes CountryFlags yes This is equivalent to adding the (changed) command switch "-w" and the (new) command switch "-z flags". The Geo databases are no longer consulted by default, they have to be switched on. The flags are no longer included by default, they have to be switched on. For reference, here is a diff between the "webalizer -V; webalizer -h" output for old and new versions. Note particularly how the "-w" switch now has the opposite meaning and how switches have been added to explicitly enable functionality which used to be dafault. ---------------- < Webalizer V2.01-10-glzr (FreeBSD 7.0-RELEASE-p2) English < Copyright 1997-2001 by Bradford L. Barrett --- > Webalizer V2.20-01 (FreeBSD 7.0-RELEASE-p3 i386) English > Copyright 1997-2008 by Bradford L. Barrett < -v -V = print version information --- > -V = print version information > -v = be verbose < -F type = Log type. type= (clf | ftp | squid) --- > -F type = Log type. type= (clf | ftp | squid | w3c) > -b = ignore state (incremental) > -O name = Omit page 'name' > -K num = num months in summary table > -k num = num months in summary graph > -z dir = Use country flags in 'dir' < -w = Disable GeoIP feature < -W file = Use specific GeoIP database 'file' --- > -j = Enable native GeoDB lookups > -J name = Use GeoDB database 'name' > -w = Enable GeoIP lookups > -W name = Use GeoIP database 'name' ---------------- Hope this helps someone else. -- John Marshall