Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2000 22:37:55 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21875: Update german/webalizer (by maintainer)
Message-ID:  <200010092037.e99KbtA27159@home.dinoex.sub.org>

next in thread | raw e-mail | index | archive | help

>Number:         21875
>Category:       ports
>Synopsis:       Update german/webalizer (by maintainer)
>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.
	Please keep german/webalizer2 for future updates.

>Fix:

	delete all patches and scripts!!
	apply this extra patch.

diff webalizer/Makefile de-webalizer-2.1.5/Makefile
--- webalizer/Makefile	Tue Sep  5 08:35:47 2000
+++ de-webalizer-2.1.5/Makefile	Mon Oct  9 22:31:13 2000
@@ -5,52 +5,65 @@
 # $FreeBSD: ports/german/webalizer/Makefile,v 1.16 2000/09/05 02:12:33 steve Exp $
 
 PORTNAME=	webalizer
-PORTVERSION=	1.30.4
+PORTVERSION=	2.1.5
 CATEGORIES=	german 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
+PKGNAMEPREFIX?=	de-
+DISTNAME=	${PORTNAME}-2.01-05-src
 
 MAINTAINER=	dirk.meyer@dinoex.sub.org
 
 LIB_DEPENDS=	gd.1:${PORTSDIR}/graphics/gd
 
-WEBALIZER_LANG?=	german
+USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--with-gdlib=${PREFIX}/lib \
+WEBALIZER_LANG?=	german
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ARGS+=	--enable-dns \
+			--with-etcdir=${PREFIX}/etc \
+			--with-gdlib=${PREFIX}/lib \
 			--with-gd=${PREFIX}/include/gd \
 			--with-language=${WEBALIZER_LANG}
 CONFIGURE_ENV+=	LDFLAGS="-L${PREFIX}/lib"
-BIN1=		de-webalizer
-MAN1=		de-webalizer.1
+MAKE_ARGS+=	CFLAGS="${CFLAGS}"
+MAN1=		${PKGNAMEPREFIX}webalizer.1
 DOC1=		CHANGES COPYING Copyright INSTALL \
-		README country-codes.txt webalizer.LSM
+		README README.FIRST DNS.README country-codes.txt
 WRKSRC=		${WRKDIR}/${DISTNAME:S/-src$//}
+PLIST_SUB+=	PKGNAMEPREFIX=${PKGNAMEPREFIX}
 
 pre-configure:
-	@${PERL5} -pi -e "s=/etc=${PREFIX}/etc=" ${WRKSRC}/webalizer.c
+	@${PERL5} -pi -e "s=webalizer.conf=${PKGNAMEPREFIX}webalizer.conf=" \
+		${WRKSRC}/webalizer.c
 
 do-install:
-.for i in ${BIN1}
-	@${INSTALL_SCRIPT} ${WRKSRC}/webalizer ${PREFIX}/bin/${i}
-.endfor
+	@${INSTALL_PROGRAM} ${WRKSRC}/webalizer \
+		${PREFIX}/bin/${PKGNAMEPREFIX}webalizer
+	${LN} -sf ${PKGNAMEPREFIX}webalizer \
+		${PREFIX}/bin/${PKGNAMEPREFIX}webazolver
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/webalizer.1 ${PREFIX}/man/man1/de-webalizer.1
+.for i in ${MAN1}
+	${INSTALL_MAN} ${WRKSRC}/webalizer.1 ${PREFIX}/man/man1/${i}
+.endfor
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/de-webalizer
+	${MKDIR} ${PREFIX}/share/doc/${PKGNAMEPREFIX}webalizer
 .for i in ${DOC1}
-	@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/de-webalizer/${i}
+	@${INSTALL_DATA} ${WRKSRC}/${i} \
+		${PREFIX}/share/doc/${PKGNAMEPREFIX}webalizer/${i}
 .endfor
 .endif
-	${MKDIR} ${PREFIX}/share/examples/de-webalizer
-.for i in msfree.gif sample.conf webalizer.gif
-	@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/de-webalizer/${i}
+	${MKDIR} ${PREFIX}/share/examples/${PKGNAMEPREFIX}webalizer
+.for i in msfree.png sample.conf webalizer.png
+	@${INSTALL_DATA} ${WRKSRC}/${i} \
+		${PREFIX}/share/examples/${PKGNAMEPREFIX}webalizer/${i}
 .endfor
-	@if [ ! -f ${PREFIX}/etc/de-webalizer.conf-dist ]; then \
+	@if [ ! -f ${PREFIX}/etc/${PKGNAMEPREFIX}webalizer.conf-dist ]; then \
 		${INSTALL_DATA} ${WRKSRC}/sample.conf \
-			${PREFIX}/etc/de-webalizer.conf-dist ; \
+			${PREFIX}/etc/${PKGNAMEPREFIX}webalizer.conf-dist ; \
 	fi
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff webalizer/distinfo de-webalizer-2.1.5/distinfo
--- webalizer/distinfo	Mon Sep 27 04:47:08 1999
+++ de-webalizer-2.1.5/distinfo	Sat Oct  7 15:41:50 2000
@@ -1 +1 @@
-MD5 (webalizer-1.30-04-src.tgz) = f151b5e811bcdaa4ba72bca447f5cd44
+MD5 (webalizer-2.01-05-src.tar.bz2) = ab45bc2c7893c00370a1fcbd9b71232e
diff webalizer/pkg-descr de-webalizer-2.1.5/pkg-descr
--- webalizer/pkg-descr	Mon May  3 08:17:22 1999
+++ de-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 de-webalizer-2.1.5/pkg-plist
--- webalizer/pkg-plist	Wed Mar 31 17:17:31 1999
+++ de-webalizer-2.1.5/pkg-plist	Tue May 16 19:51:12 2000
@@ -1,14 +1,16 @@
-bin/de-webalizer
-etc/de-webalizer.conf-dist
-share/doc/de-webalizer/CHANGES
-share/doc/de-webalizer/COPYING
-share/doc/de-webalizer/Copyright
-share/doc/de-webalizer/INSTALL
-share/doc/de-webalizer/README
-share/doc/de-webalizer/country-codes.txt
-share/doc/de-webalizer/webalizer.LSM
-@dirrm share/doc/de-webalizer
-share/examples/de-webalizer/msfree.gif
-share/examples/de-webalizer/sample.conf
-share/examples/de-webalizer/webalizer.gif
-@dirrm share/examples/de-webalizer
+bin/%%PKGNAMEPREFIX%%webalizer
+@unexec rm -f %B/%%PKGNAMEPREFIX%%webazolver
+etc/%%PKGNAMEPREFIX%%webalizer.conf-dist
+share/doc/%%PKGNAMEPREFIX%%webalizer/CHANGES
+share/doc/%%PKGNAMEPREFIX%%webalizer/COPYING
+share/doc/%%PKGNAMEPREFIX%%webalizer/Copyright
+share/doc/%%PKGNAMEPREFIX%%webalizer/DNS.README
+share/doc/%%PKGNAMEPREFIX%%webalizer/INSTALL
+share/doc/%%PKGNAMEPREFIX%%webalizer/README
+share/doc/%%PKGNAMEPREFIX%%webalizer/README.FIRST
+share/doc/%%PKGNAMEPREFIX%%webalizer/country-codes.txt
+@dirrm share/doc/%%PKGNAMEPREFIX%%webalizer
+share/examples/%%PKGNAMEPREFIX%%webalizer/msfree.png
+share/examples/%%PKGNAMEPREFIX%%webalizer/sample.conf
+share/examples/%%PKGNAMEPREFIX%%webalizer/webalizer.png
+@dirrm share/examples/%%PKGNAMEPREFIX%%webalizer
diff webalizer/scripts/pre-configure de-webalizer-2.1.5/scripts/pre-configure
--- webalizer/scripts/pre-configure	Sat Oct  2 06:00:58 1999
+++ de-webalizer-2.1.5/scripts/pre-configure	Thu Jan  1 01:00:00 1970
@@ -1,10 +0,0 @@
-#! /bin/sh
-
-#
-# $FreeBSD: ports/german/webalizer/scripts/pre-configure,v 1.2 1999/08/29 11:29:46 peter Exp $
-#
-
-# only one central config file in $PREFIX/etc
-# -andreas
-
-perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/webalizer.c

>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?200010092037.e99KbtA27159>