summaryrefslogtreecommitdiff
path: root/www/analog
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-05-09 11:55:24 +0000
committertron <tron@pkgsrc.org>1999-05-09 11:55:24 +0000
commit0c58995fb66536d09fb32607c9627cf4515409ae (patch)
tree5444306559546369b2a3dd0c7a80665284a4afd4 /www/analog
parent4cdc8d32bce52450038196b105c2a92e33c5b135 (diff)
downloadpkgsrc-0c58995fb66536d09fb32607c9627cf4515409ae.tar.gz
Import FreeBSD's "analog" port:
An extremely fast program for analysing WWW logfiles.
Diffstat (limited to 'www/analog')
-rw-r--r--www/analog/Makefile61
-rw-r--r--www/analog/files/md51
-rw-r--r--www/analog/patches/patch-aa25
-rw-r--r--www/analog/patches/patch-ab74
-rw-r--r--www/analog/patches/patch-ac12
-rw-r--r--www/analog/pkg/COMMENT1
-rw-r--r--www/analog/pkg/DESCR8
-rw-r--r--www/analog/pkg/PLIST106
8 files changed, 288 insertions, 0 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile
new file mode 100644
index 00000000000..0de60792d98
--- /dev/null
+++ b/www/analog/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: analog
+# http://www.statslab.cam.ac.uk/~sret1/analog/
+# Version required: 3.*
+# Date created: October 21st 1996
+# Whom: jfitz
+#
+# FreeBSD Id: Makefile,v 1.15 1999/03/15 02:01:27 steve Exp
+#
+
+DISTNAME= analog3.11
+PKGNAME= analog-3.11
+CATEGORIES= www
+MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/analog/ \
+ http://brendanr.simplenet.com/analog/ \
+ http://www.magma.ca/~brendanr/analog/ \
+ http://www.monash.edu.au/mirror/analog/ \
+ http://analog.gsp.com/ \
+ http://analog.technomancer.com/ \
+ ftp://ftp.netcasting.net/pub/packages/analog \
+ ftp://download.netvision.net.il/pub/mirrors/analog/ \
+ ftp://mabuse.phil.uni-passau.de/pub/mirrors/analog/
+
+MAINTAINER= ache@freebsd.org
+
+Y2K= http://www.statslab.cam.ac.uk/~sret1/analog/
+
+MAKE_FLAGS= -DPREFIX=${PREFIX} -f
+
+do-install:
+ install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
+ ${PREFIX}/share/doc/analog
+ install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${PREFIX}/lib/analog/lang
+ install -d -o nobody -g nogroup -m 755 \
+ ${PREFIX}/www/data/images
+ cd ${WRKSRC}/docs && \
+ ${INSTALL_DATA} * ${PREFIX}/share/doc/analog
+ cd ${WRKSRC}/images && \
+ ${INSTALL_DATA} * ${PREFIX}/www/data/images
+ cd ${WRKSRC}/lang && \
+ ${INSTALL_DATA} * ${PREFIX}/lib/analog/lang
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} analog ${PREFIX}/bin
+ cd ${WRKSRC} && \
+ for file in domains.tab ; do \
+ if [ -f ${PREFIX}/lib/analog/$$file ] ; then \
+ ${INSTALL_DATA} -m 644 $$file ${PREFIX}/lib/analog/$$file-dist ; \
+ else \
+ ${INSTALL_DATA} -m 644 $$file ${PREFIX}/lib/analog/$$file ; \
+ fi ; \
+ done
+ cd ${WRKSRC} && \
+ for file in analog.cfg ; do \
+ if [ -f ${PREFIX}/etc/$$file ] ; then \
+ ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \
+ else \
+ ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file ; \
+ fi ; \
+ done
+
+.include <bsd.port.mk>
diff --git a/www/analog/files/md5 b/www/analog/files/md5
new file mode 100644
index 00000000000..2af2e9d603e
--- /dev/null
+++ b/www/analog/files/md5
@@ -0,0 +1 @@
+MD5 (analog3.11.tar.gz) = 7761f7d39f7997eb1ac89a4b3188c559
diff --git a/www/analog/patches/patch-aa b/www/analog/patches/patch-aa
new file mode 100644
index 00000000000..d970227f9d0
--- /dev/null
+++ b/www/analog/patches/patch-aa
@@ -0,0 +1,25 @@
+--- Makefile.orig Sat Nov 7 00:27:05 1998
++++ Makefile Tue Jan 19 21:21:20 1999
+@@ -2,10 +2,11 @@
+ # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
+ CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
+ # compilers need different CFLAGS, e.g., -O instead of -O2.
+-CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
++#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
+ # HP/UX cc needs -Aa (HP/UX 9) or -Ae (HP/UX 10)
+ # Some Linuces might need -I/usr/src/linux/include
+-DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
++#DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
++DEFS = -DPREFIX=\"$(PREFIX)\"
+ # Solaris 2 (SunOS 5) might need DEFS = -DNOSTRCMP
+ OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
+ # RISCOS, BEOS, BS2000
+@@ -27,6 +28,8 @@
+ # Form interface options:
+ FORMPROG = anlgform.cgi # The program that processes the data from the form
+ FORMSRC = anlgform.c # The source code for that program
++
++all: $(PROGRAM)
+
+ $(PROGRAM): $(OBJS) $(HEADERS) Makefile
+ $(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
diff --git a/www/analog/patches/patch-ab b/www/analog/patches/patch-ab
new file mode 100644
index 00000000000..5597d0e17fc
--- /dev/null
+++ b/www/analog/patches/patch-ab
@@ -0,0 +1,74 @@
+*** analhead.h.orig Thu Apr 9 14:59:28 1998
+--- analhead.h Fri Apr 10 01:34:18 1998
+***************
+*** 5,10 ****
+--- 5,13 ----
+
+ #ifndef ANALHEAD
+ #define ANALHEAD
++ #ifndef PREFIX
++ #define PREFIX "/usr/local"
++ #endif
+
+ /*** The first few options -- up to LOGO -- are ones that you may want to
+ change before compiling the program for the first time. However, all of
+***************
+*** 18,25 ****
+ /* the URL of your host's home page, for linking to at the top of the
+ output; use "none" for no linking. */
+
+! #define HTTPDIR "/usr/local/etc/httpd/"
+! #define ANALOGDIR HTTPDIR"analog/"
+ /* The directories where your HTTP stuff lives and where your analog stuff
+ lives. You don't really need these; they are just used in this file to
+ build up other filenames. Note how you can stick together names by
+--- 21,27 ----
+ /* the URL of your host's home page, for linking to at the top of the
+ output; use "none" for no linking. */
+
+! #define ANALOGDIR PREFIX"/lib/analog/"
+ /* The directories where your HTTP stuff lives and where your analog stuff
+ lives. You don't really need these; they are just used in this file to
+ build up other filenames. Note how you can stick together names by
+***************
+*** 29,39 ****
+ #define DOMAINSFILE ANALOGDIR"domains.tab"
+ /* the file where the domain definitions live; see docs/domfile.html */
+
+! #define LOGFILE HTTPDIR"logs/access_log"
+ /* The name of the default logfile. Can be a list, separated by commas
+ (but no spaces), and can include wild cards. */
+
+! #define IMAGEDIR "images/"
+ /* URL of the directory where the images for the graphical reports live.
+ The URL can be absolute, or relative to the output page: e.g., just the
+ empty string "" for the same directory as the output page. */
+--- 31,41 ----
+ #define DOMAINSFILE ANALOGDIR"domains.tab"
+ /* the file where the domain definitions live; see docs/domfile.html */
+
+! #define LOGFILE "/var/log/httpd-access.log"
+ /* The name of the default logfile. Can be a list, separated by commas
+ (but no spaces), and can include wild cards. */
+
+! #define IMAGEDIR "/images/"
+ /* URL of the directory where the images for the graphical reports live.
+ The URL can be absolute, or relative to the output page: e.g., just the
+ empty string "" for the same directory as the output page. */
+***************
+*** 41,47 ****
+ #define LANGDIR ANALOGDIR"lang/"
+ /* Directory where the language files live. */
+
+! #define DEFAULTCONFIGFILE ANALOGDIR"analog.cfg"
+ /* the name of the default configuration file; see README.html for a
+ description of this file. Use "none" for no configuration file. */
+
+--- 43,49 ----
+ #define LANGDIR ANALOGDIR"lang/"
+ /* Directory where the language files live. */
+
+! #define DEFAULTCONFIGFILE PREFIX"/etc/analog.cfg"
+ /* the name of the default configuration file; see README.html for a
+ description of this file. Use "none" for no configuration file. */
+
diff --git a/www/analog/patches/patch-ac b/www/analog/patches/patch-ac
new file mode 100644
index 00000000000..80f6e25f401
--- /dev/null
+++ b/www/analog/patches/patch-ac
@@ -0,0 +1,12 @@
+--- analog.cfg.orig Wed Nov 25 22:49:33 1998
++++ analog.cfg Tue Jan 19 21:24:09 1999
+@@ -8,7 +8,8 @@
+ # REQINCLUDE pages
+ #
+ # If you have a LOGFORMAT command it must go here, above the LOGFILE command.
+-LOGFILE logfile.log
++LOGFORMAT COMBINED
++LOGFILE /var/log/httpd-access.log
+ HOSTNAME "[my organisation]"
+ LINKINCLUDE pages
+ UNCOMPRESS *.gz,*.Z "gzip -cd"
diff --git a/www/analog/pkg/COMMENT b/www/analog/pkg/COMMENT
new file mode 100644
index 00000000000..49c0764e75e
--- /dev/null
+++ b/www/analog/pkg/COMMENT
@@ -0,0 +1 @@
+An extremely fast program for analysing WWW logfiles.
diff --git a/www/analog/pkg/DESCR b/www/analog/pkg/DESCR
new file mode 100644
index 00000000000..2e3d6b38320
--- /dev/null
+++ b/www/analog/pkg/DESCR
@@ -0,0 +1,8 @@
+This program analyses logfiles in both the common log format and NCSA
+old format from WWW servers. It is designed to be fast on long
+logfiles and to produce attractive statistics.
+
+It was written by Stephen Turner (sret1@cam.ac.uk). For more details,
+see the Readme.html in /usr/local/share/analog or the website.
+
+WWW: http://www.statslab.cam.ac.uk/~sret1/analog/
diff --git a/www/analog/pkg/PLIST b/www/analog/pkg/PLIST
new file mode 100644
index 00000000000..205c38fb1eb
--- /dev/null
+++ b/www/analog/pkg/PLIST
@@ -0,0 +1,106 @@
+bin/analog
+etc/analog.cfg
+lib/analog/domains.tab
+lib/analog/lang/bra.lng
+lib/analog/lang/brh.lng
+lib/analog/lang/cz1250.lng
+lib/analog/lang/cza.lng
+lib/analog/lang/czh.lng
+lib/analog/lang/dea.lng
+lib/analog/lang/deh.lng
+lib/analog/lang/dka.lng
+lib/analog/lang/dkh.lng
+lib/analog/lang/domdea.tab
+lib/analog/lang/domdeh.tab
+lib/analog/lang/domfra.tab
+lib/analog/lang/domfrh.tab
+lib/analog/lang/domesa.tab
+lib/analog/lang/domesh.tab
+lib/analog/lang/dompla.tab
+lib/analog/lang/domplh.tab
+lib/analog/lang/fra.lng
+lib/analog/lang/frh.lng
+lib/analog/lang/ita.lng
+lib/analog/lang/us.lng
+lib/analog/lang/hua.lng
+lib/analog/lang/huh.lng
+lib/analog/lang/pta.lng
+lib/analog/lang/pth.lng
+lib/analog/lang/ro.lng
+lib/analog/lang/sea.lng
+lib/analog/lang/seh.lng
+lib/analog/lang/si1250.lng
+lib/analog/lang/sia.lng
+lib/analog/lang/sih.lng
+lib/analog/lang/ska.lng
+lib/analog/lang/skh.lng
+lib/analog/lang/ith.lng
+lib/analog/lang/uk.lng
+lib/analog/lang/cn.lng
+lib/analog/lang/esa.lng
+lib/analog/lang/esh.lng
+lib/analog/lang/fia.lng
+lib/analog/lang/fih.lng
+lib/analog/lang/gra.lng
+lib/analog/lang/grh.lng
+lib/analog/lang/nl.lng
+lib/analog/lang/no2a.lng
+lib/analog/lang/no2h.lng
+lib/analog/lang/noa.lng
+lib/analog/lang/noh.lng
+lib/analog/lang/pla.lng
+lib/analog/lang/plh.lng
+lib/analog/lang/rua.lng
+lib/analog/lang/ruh.lng
+lib/analog/lang/tra.lng
+lib/analog/lang/trh.lng
+share/doc/analog/Licence.txt
+share/doc/analog/Readme.html
+share/doc/analog/acknow.html
+share/doc/analog/alias.html
+share/doc/analog/basiccmd.html
+share/doc/analog/cache.html
+share/doc/analog/compout.html
+share/doc/analog/custom.html
+share/doc/analog/debug.html
+share/doc/analog/defns.html
+share/doc/analog/dns.html
+share/doc/analog/domfile.html
+share/doc/analog/errors.html
+share/doc/analog/faq.html
+share/doc/analog/form.html
+share/doc/analog/hierreps.html
+share/doc/analog/include.html
+share/doc/analog/indx.html
+share/doc/analog/logfile.html
+share/doc/analog/lowmem.html
+share/doc/analog/mailing.html
+share/doc/analog/map.html
+share/doc/analog/meaning.html
+share/doc/analog/othreps.html
+share/doc/analog/output.html
+share/doc/analog/start.html
+share/doc/analog/startmac.html
+share/doc/analog/startos2.html
+share/doc/analog/startpc.html
+share/doc/analog/startux.html
+share/doc/analog/syntax.html
+share/doc/analog/timereps.html
+share/doc/analog/update.html
+share/doc/analog/wasnew1.html
+share/doc/analog/wasnew2.html
+share/doc/analog/webworks.html
+share/doc/analog/whatsnew.html
+share/doc/analog/whole.html
+www/data/images/analogo.gif
+www/data/images/bar1.gif
+www/data/images/bar16.gif
+www/data/images/bar2.gif
+www/data/images/bar32.gif
+www/data/images/bar4.gif
+www/data/images/bar8.gif
+www/data/images/html2.gif
+@dirrm lib/analog/lang
+@dirrm lib/analog
+@dirrm share/doc/analog
+@dirrm www/data/images