diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-11-07 13:22:53 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-11-07 13:22:53 +0000 |
commit | 796068145aa46fa7db970ab12db5282da17922d8 (patch) | |
tree | 49ac7ad5705b00e1ec6de19f46ef1a02185c1506 /www/webalizer | |
parent | d11c89cbd4e9d516f367a57bc782018e12660858 (diff) | |
download | pkgsrc-796068145aa46fa7db970ab12db5282da17922d8.tar.gz |
Initial import of webalizer-1.20-07, a Web server log file analysis program.
Provided in pr 6405 by Martin J. Laubach.
Diffstat (limited to 'www/webalizer')
-rw-r--r-- | www/webalizer/Makefile | 29 | ||||
-rw-r--r-- | www/webalizer/files/md5 | 3 | ||||
-rw-r--r-- | www/webalizer/patches/patch-aa | 23 | ||||
-rw-r--r-- | www/webalizer/patches/patch-ab | 23 | ||||
-rw-r--r-- | www/webalizer/patches/patch-ac | 38 | ||||
-rw-r--r-- | www/webalizer/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/webalizer/pkg/DESCR | 3 | ||||
-rw-r--r-- | www/webalizer/pkg/PLIST | 4 |
8 files changed, 124 insertions, 0 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile new file mode 100644 index 00000000000..c47345721bb --- /dev/null +++ b/www/webalizer/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/11/07 13:22:53 frueauf Exp $ +# + +DISTNAME= webalizer-1.20-07-src +PKGNAME= webalizer-1.20-07 +CATEGORIES= www +MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/ \ + ftp://samhain.unix.cslab.tuwien.ac.at/pub/webalizer/ +EXTRACT_SUFX= .tgz + +MAINTAINER= mjl@emsi.priv.at +HOMEPAGE= http://www.mrunix.net/webalizer/ + +DEPENDS= gd-1.3:../../graphics/gd + +NO_WRKSUBDIR= yes + +post-patch: + @for f in webalizer.c webalizer.1; do \ + ${SED} 's:@@prefix@@:'${PREFIX}':g' ${WRKDIR}/$$f >${WRKDIR}/$$f.new && \ + ${MV} ${WRKDIR}/$$f.new ${WRKDIR}/$$f; \ + done + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/webalizer ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/webalizer.1 ${PREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/sample.conf ${PREFIX}/etc/webalizer.conf-sample + +.include "../../mk/bsd.pkg.mk" diff --git a/www/webalizer/files/md5 b/www/webalizer/files/md5 new file mode 100644 index 00000000000..7058103546a --- /dev/null +++ b/www/webalizer/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1998/11/07 13:22:53 frueauf Exp $ + +MD5 (webalizer-1.20-07-src.tgz) = d81f5798b2992de6cf51c6c440b67b07 diff --git a/www/webalizer/patches/patch-aa b/www/webalizer/patches/patch-aa new file mode 100644 index 00000000000..85dab284997 --- /dev/null +++ b/www/webalizer/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/11/07 13:22:53 frueauf Exp $ + +*** Makefile.orig Sat Nov 7 00:12:47 1998 +--- Makefile Sat Nov 7 00:20:43 1998 +*************** +*** 18,25 **** + CC=gcc + CFLAGS= -O2 -Wall -fsigned-char + +! GDLIB = /usr/local/include/gd +! LIBS= -lgd -lm + + all: webalizer + +--- 18,25 ---- + CC=gcc + CFLAGS= -O2 -Wall -fsigned-char + +! GDLIB = ${PREFIX}/include/gd +! LIBS= -L${PREFIX}/lib -lgd -lm + + all: webalizer + diff --git a/www/webalizer/patches/patch-ab b/www/webalizer/patches/patch-ab new file mode 100644 index 00000000000..e7c81bd99f0 --- /dev/null +++ b/www/webalizer/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1.1.1 1998/11/07 13:22:53 frueauf Exp $ + +*** webalizer.c.orig Sat Nov 7 00:22:21 1998 +--- webalizer.c Sat Nov 7 00:27:09 1998 +*************** +*** 250,257 **** + /* check for default config file */ + if (!access("webalizer.conf",F_OK)) + get_config("webalizer.conf"); +! else if (!access("/etc/webalizer.conf",F_OK)) +! get_config("/etc/webalizer.conf"); + + /* get command line options */ + opterr = 0; /* disable parser errors */ +--- 250,257 ---- + /* check for default config file */ + if (!access("webalizer.conf",F_OK)) + get_config("webalizer.conf"); +! else if (!access("@@prefix@@/etc/webalizer.conf",F_OK)) +! get_config("@@prefix@@/etc/webalizer.conf"); + + /* get command line options */ + opterr = 0; /* disable parser errors */ diff --git a/www/webalizer/patches/patch-ac b/www/webalizer/patches/patch-ac new file mode 100644 index 00000000000..ea3359d5f85 --- /dev/null +++ b/www/webalizer/patches/patch-ac @@ -0,0 +1,38 @@ +$NetBSD: patch-ac,v 1.1.1.1 1998/11/07 13:22:53 frueauf Exp $ + +*** webalizer.1.orig Sat Nov 7 00:30:17 1998 +--- webalizer.1 Sat Nov 7 00:30:47 1998 +*************** +*** 27,33 **** + A default configuration file is scanned for. A file named + \fIwebalizer.conf\fP is searched for in the current directory, and if + found, it's configuration data is parsed. If the file is not +! present in the current directory, the file \fI/etc/webalizer.conf\fP + is searched for and, if found, is used instead. + .TP 8 + .B o +--- 27,33 ---- + A default configuration file is scanned for. A file named + \fIwebalizer.conf\fP is searched for in the current directory, and if + found, it's configuration data is parsed. If the file is not +! present in the current directory, the file \fI@@prefix@@/etc/webalizer.conf\fP + is searched for and, if found, is used instead. + .TP 8 + .B o +*************** +*** 373,379 **** + .TP 20 + .I webalizer.conf + Default configuration file. Is searched for in the current directory +! and if not found, in the \fI/etc/\fP directory. + .TP 20 + .I webalizer.hist + Monthly history file for previous 12 months. +--- 373,379 ---- + .TP 20 + .I webalizer.conf + Default configuration file. Is searched for in the current directory +! and if not found, in the \fI@@prefix@@/etc/\fP directory. + .TP 20 + .I webalizer.hist + Monthly history file for previous 12 months. diff --git a/www/webalizer/pkg/COMMENT b/www/webalizer/pkg/COMMENT new file mode 100644 index 00000000000..54682f7f371 --- /dev/null +++ b/www/webalizer/pkg/COMMENT @@ -0,0 +1 @@ +Web server log file analysis program. diff --git a/www/webalizer/pkg/DESCR b/www/webalizer/pkg/DESCR new file mode 100644 index 00000000000..f415edb5e81 --- /dev/null +++ b/www/webalizer/pkg/DESCR @@ -0,0 +1,3 @@ +The Webalizer is a fast, free web server log file analysis program. +It produces highly detailed, easily configurable usage reports in +HTML format, for easy viewing with a standard web browser. diff --git a/www/webalizer/pkg/PLIST b/www/webalizer/pkg/PLIST new file mode 100644 index 00000000000..9b437bcd80d --- /dev/null +++ b/www/webalizer/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/11/07 13:22:53 frueauf Exp $ +bin/webalizer +man/man1/webalizer.1 +etc/webalizer.conf-sample |