summaryrefslogtreecommitdiff
path: root/www/webalizer-2
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-04-18 18:11:23 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-04-18 18:11:23 +0000
commit9f59f001ef1fd39c0ba251ff39fba039860d848c (patch)
tree620118084c83cfc8a57fb67d31e0cd4dfd2794ad /www/webalizer-2
parentActivate smalleiffel. (diff)
preserve cvs history now
Diffstat (limited to 'www/webalizer-2')
-rw-r--r--www/webalizer-2/Makefile46
-rw-r--r--www/webalizer-2/distinfo2
-rw-r--r--www/webalizer-2/files/patch-ad38
-rw-r--r--www/webalizer-2/pkg-descr23
-rw-r--r--www/webalizer-2/pkg-plist9
5 files changed, 42 insertions, 76 deletions
diff --git a/www/webalizer-2/Makefile b/www/webalizer-2/Makefile
index 7edfa8f7bbf9..5218cc77c878 100644
--- a/www/webalizer-2/Makefile
+++ b/www/webalizer-2/Makefile
@@ -1,35 +1,36 @@
-# New ports collection makefile for: webalizer
-# Date created: 02.Jun 1998
-# Whom: dirk.meyer@dinoex.sub.org
+# New ports collection makefile for: webalizer-2
+# http://www.mrunix.net/webalizer/
+# Date created: 18.Apr.2000
+# Whom: ache@freebsd.org
#
# $FreeBSD$
#
PORTNAME= webalizer
-PORTVERSION= 1.30.4
+PORTVERSION= 2.00-11
CATEGORIES= www
-MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/ \
- ftp://ftp.lan-ks.de/pub/approved/
-DISTNAME= webalizer-1.30-04-src
-EXTRACT_SUFX= .tgz
+MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/pre-release/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+EXTRACT_SUFX= .tar.bz2
-MAINTAINER= dirk.meyer@dinoex.sub.org
+MAINTAINER= ache@freebsd.org
LIB_DEPENDS= gd.0:${PORTSDIR}/graphics/gd
+USE_BZIP2= YES
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-gdlib=${PREFIX}/lib \
+CONFIGURE_ARGS+= --enable-dns \
+ --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 slovak spanish swedish
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src$//}
MAKE_ARGS+= CFLAGS="${CFLAGS}"
@@ -45,15 +46,14 @@ 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 @@ post-install:
.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 --git a/www/webalizer-2/distinfo b/www/webalizer-2/distinfo
index d76656ba4079..8fd28aaad8e9 100644
--- a/www/webalizer-2/distinfo
+++ b/www/webalizer-2/distinfo
@@ -1 +1 @@
-MD5 (webalizer-1.30-04-src.tgz) = f151b5e811bcdaa4ba72bca447f5cd44
+MD5 (webalizer-2.00-11-src.tar.bz2) = b9cbb62333271c1b97f0f04e89bff54b
diff --git a/www/webalizer-2/files/patch-ad b/www/webalizer-2/files/patch-ad
deleted file mode 100644
index d0c305c1ac57..000000000000
--- a/www/webalizer-2/files/patch-ad
+++ /dev/null
@@ -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 --git a/www/webalizer-2/pkg-descr b/www/webalizer-2/pkg-descr
index dacae2914b73..f805f48673c7 100644
--- a/www/webalizer-2/pkg-descr
+++ b/www/webalizer-2/pkg-descr
@@ -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 --git a/www/webalizer-2/pkg-plist b/www/webalizer-2/pkg-plist
index 2a3012bcea3a..da44235823a4 100644
--- a/www/webalizer-2/pkg-plist
+++ b/www/webalizer-2/pkg-plist
@@ -1,14 +1,17 @@
bin/webalizer
+@exec ln -sf %f %B/webazolver
+@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