Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 1999 19:30:54 +0200 (CEST)
From:      dinoex.sub.org!dirk.meyer@home.dinoex.sub.org
To:        freebsd.org!FreeBSD-gnats-submit@home.dinoex.sub.org
Subject:   ports/12101: ports/www/webalizer update
Message-ID:  <199906091730.TAA13279@home.dinoex.sub.org>

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

>Number:         12101
>Category:       ports
>Synopsis:       ports/www/webalizer update
>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:   Wed Jun  9 11:50:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
privat
>Environment:

	gd-lib, apache

>Description:

	generates statistics in HTML output,
	for Apache web server.

>How-To-Repeat:

	old Release is out of date
	old distfile no longer on server

>Fix:

	new version
	more languages are supported
	apply the patches to use the new version

diff webalizer/Makefile webalizer-1.22.6/Makefile
--- webalizer/Makefile	Thu Apr  1 08:46:18 1999
+++ webalizer-1.22.6/Makefile	Sat Jun  5 04:52:06 1999
@@ -5,8 +5,8 @@
 #
 # $Id: Makefile,v 1.6 1999/03/31 15:15:13 steve Exp $
 
-DISTNAME=	webalizer-1.22-03-src
-PKGNAME=	webalizer-1.22.3
+DISTNAME=	webalizer-1.22-06-src
+PKGNAME=	webalizer-1.22.6
 CATEGORIES=	www
 MASTER_SITES=	ftp://ftp.mrunix.net/pub/webalizer/ \
 		ftp://ftp.dinoex.sub.de/pub/approved/
@@ -16,19 +16,25 @@
 
 BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
 
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix=${PREFIX}
 BIN1=		webalizer
 MAN1=		webalizer.1
 DOC1=		CHANGES COPYING Copyright INSTALL \
 		README country-codes.txt webalizer.LSM
-SUPP_LANG=	english german french spanish dutch italian polish \
-		catalan czech portuguese_brazil russian slovak swedish \
-		portugues
-WRKSRC=		${WRKDIR}/webalizer-1.22-03
-
+SUPP_LANG=	catalan chinese czech dutch english french \
+		german italian korean polish portuguese \
+		portuguese_brazil romanian russain slowak \
+		spanish swedish
+WRKSRC=		${WRKDIR}/webalizer-1.22-06
+ 
 .if defined(BATCH)
 WEBALIZER_LANG=english
 .endif
-WEBALIZER_LANG=english
+
+.if defined(WEBALIZER_LANG)
+CONFIGURE_ARGS+=	--with-language=${WEBALIZER_LANG}
+.endif
 
 pre-fetch:
 .if !defined(WEBALIZER_LANG)
@@ -37,15 +43,6 @@
 		@${ECHO_MSG} "make WEBALIZER_LANG=${i}"
 .endfor
 .endif
-
-post-configure:
-.for i in ${SUPP_LANG}
-.if defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == ${i}
-		@${ECHO_MSG} "===> customizing for ${i}"
-		@cd ${WRKSRC}; \
-		${LN} -sf lang/webalizer_lang.${i} webalizer_lang.h
-.endif
-.endfor
 
 do-install:
 .for i in ${BIN1}
diff webalizer/files/md5 webalizer-1.22.6/files/md5
--- webalizer/files/md5	Thu Apr  1 08:46:19 1999
+++ webalizer-1.22.6/files/md5	Fri Jun  4 20:11:03 1999
@@ -1 +1 @@
-MD5 (webalizer-1.22-03-src.tgz) = dd5d45a7d68b5786937766dd2876d58d
+MD5 (webalizer-1.22-06-src.tgz) = 9123858212879731d134555253ef23b1
diff webalizer/patches/patch-aa webalizer-1.22.6/patches/patch-aa
--- webalizer/patches/patch-aa	Thu Apr  1 08:46:21 1999
+++ webalizer-1.22.6/patches/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,19 +0,0 @@
---- Makefile.orig	Tue Mar  2 08:37:06 1999
-+++ Makefile	Thu Mar  4 18:52:57 1999
-@@ -19,12 +19,12 @@
- # These for Linux (most GCC based systems)
- BINDIR = /usr/local/bin
- MANDIR = /usr/local/man/man1
--CC     = gcc
--CFLAGS = -O2 -Wall -fsigned-char
--LIBS   = -lgd -lm
-+CC?=gcc
-+CFLAGS+=-O2 -Wall -fsigned-char
-+LIBS= -L$(PREFIX)/lib -lgd -lm
- 
- # where are the GD header files?
--GDLIB  = /usr/local/include/gd
-+GDLIB = $(PREFIX)/include/gd
- 
- # Shouldn't have to touch below here!
- 
diff webalizer/patches/patch-ac webalizer-1.22.6/patches/patch-ac
--- webalizer/patches/patch-ac	Thu Jan  1 01:00:00 1970
+++ webalizer-1.22.6/patches/patch-ac	Wed Jun  9 19:11:32 1999
@@ -0,0 +1,11 @@
+--- webalizer.c.orig	Sat Jun  5 05:13:18 1999
++++ webalizer.c	Wed Jun  9 19:11:19 1999
+@@ -3238,7 +3238,7 @@
+ int isurlchar(char ch)
+ {
+    if (isalnum((int)ch)) return 1;           /* allow letters, numbers...   */
+-   return (strchr(":/\\.-_@~",ch)!=NULL);    /* and a few 'special' chars.  */
++   return (strchr(":/\\.-_@~+",ch)!=NULL);   /* and a few 'special' chars.  */
+ }
+ 
+ /*********************************************/
diff webalizer/pkg/DESCR webalizer-1.22.6/pkg/DESCR
--- webalizer/pkg/DESCR	Fri May  7 06:04:31 1999
+++ webalizer-1.22.6/pkg/DESCR	Fri May  7 06:04:05 1999
@@ -16,7 +16,7 @@
 Keywords:      Web Analysis, Log Analysis, Usage Statistics, Linux, Unix 
 Author:        Bradford L. Barrett 
 Maintained-by: Bradford L. Barrett 
-WWW:  http://www.mrunix.net/webalizer/ 
-Original-site: ftp://www.mrunix.net/pub/webalizer/
+WWW: http://www.mrunix.net/webalizer/ 
+FTP: ftp://www.mrunix.net/pub/webalizer/
 Platforms:     Linux, SCO, other UNIX's 
 Copying-policy: GPL

>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?199906091730.TAA13279>