diff options
-rw-r--r-- | www/analog/Makefile | 23 | ||||
-rw-r--r-- | www/analog/distinfo | 1 | ||||
-rw-r--r-- | www/analog/files/patch-aa | 51 | ||||
-rw-r--r-- | www/analog/files/patch-ab | 59 | ||||
-rw-r--r-- | www/analog/pkg-comment | 1 | ||||
-rw-r--r-- | www/analog/pkg-descr | 7 | ||||
-rw-r--r-- | www/analog/pkg-plist | 12 |
7 files changed, 154 insertions, 0 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile new file mode 100644 index 000000000000..43384d379c40 --- /dev/null +++ b/www/analog/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: analog +# Version required: 1.9.6 +# Date created: 9 June 1996 +# Whom: jraynard +# +# $Id$ +# + +DISTNAME= analog.1.9.6 +PKGNAME= analog-1.9.6 +CATEGORIES+= www +MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/analog/ + +MAINTAINER= jraynard@freebsd.org + +WRKSRC= ${WRKDIR}/analog + +do-install: + @mkdir -p ${PREFIX}/share/analog + @(cd ${WRKSRC}; cp -r Readme.html domains.tab primes.tab analogo.gif images ${PREFIX}/share/analog; cp analog ${PREFIX}/bin) + @(cd ${PREFIX}/share/analog; chmod +r *) + +.include <bsd.port.mk> diff --git a/www/analog/distinfo b/www/analog/distinfo new file mode 100644 index 000000000000..a684c3a92f31 --- /dev/null +++ b/www/analog/distinfo @@ -0,0 +1 @@ +MD5 (analog.1.9.6.tar.gz) = 10a895c17679ba169deb6b5959466662 diff --git a/www/analog/files/patch-aa b/www/analog/files/patch-aa new file mode 100644 index 000000000000..c8c0555cdb40 --- /dev/null +++ b/www/analog/files/patch-aa @@ -0,0 +1,51 @@ +*** Makefile.orig Wed Mar 6 15:12:05 1996 +--- Makefile Sun Jun 9 12:27:55 1996 +*************** +*** 2,8 **** + # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/ + CC = gcc # which compiler to use. NB Different compilers need + # different CFLAGS, e.g., -O instead of -O2. +! CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation. + LIBS = -lm # extra libraries needed + PAGER = less # Your favourite pager program, e.g. more + +--- 2,8 ---- + # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/ + CC = gcc # which compiler to use. NB Different compilers need + # different CFLAGS, e.g., -O instead of -O2. +! #CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation. + LIBS = -lm # extra libraries needed + PAGER = less # Your favourite pager program, e.g. more + +*************** +*** 16,21 **** +--- 16,23 ---- + FORMSRC = analform.c # The source code for that program + FORMHTML = analogform.html # Where the form itself will go + FORMOPTS = # Extra analog options when constructing the form ++ ++ all: $(PROGRAM) + + $(PROGRAM): $(OBJS) $(HEADERS) Makefile + $(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS) + +*** analform.c.orig Wed Apr 10 08:57:01 1996 +--- analform.c Sun Jun 9 12:45:57 1996 +*************** +*** 6,12 **** + + /* You must change the next line to indicate where the analog program lives */ + +! #define COMMAND "/usr/local/etc/httpd/analog/analog" + #define MAXARGLENGTH (2048) /* should be plenty */ + #define OK (0) + #define ERR (-1) +--- 6,12 ---- + + /* You must change the next line to indicate where the analog program lives */ + +! #define COMMAND "/usr/local/bin/analog" + #define MAXARGLENGTH (2048) /* should be plenty */ + #define OK (0) + #define ERR (-1) + diff --git a/www/analog/files/patch-ab b/www/analog/files/patch-ab new file mode 100644 index 000000000000..7068096c2c84 --- /dev/null +++ b/www/analog/files/patch-ab @@ -0,0 +1,59 @@ +*** analhead.h.orig Thu Apr 11 09:09:52 1996 +--- analhead.h Sun Jun 9 12:45:17 1996 +*************** +*** 17,27 **** + /* the URL of your host's home page, for linking to at the top of the + output; use "-" for no linking. */ + +! #define DOMAINSFILE "/usr/local/etc/httpd/analog/domains.tab" + /* the name of the file where the domain definitions live; see README.html + for the format of this file */ + +! #define LOGFILE "/usr/local/etc/httpd/logs/access_log" + /* The name of the default logfile; use "stdin" for stdin. + Can be a list, separated by commas (but no spaces). */ + +--- 17,27 ---- + /* the URL of your host's home page, for linking to at the top of the + output; use "-" for no linking. */ + +! #define DOMAINSFILE "/usr/local/share/analog/domains.tab" + /* the name of the file where the domain definitions live; see README.html + for the format of this file */ + +! #define LOGFILE "/usr/local/www/logs/access_log" + /* The name of the default logfile; use "stdin" for stdin. + Can be a list, separated by commas (but no spaces). */ + +*************** +*** 113,126 **** + #define CACHEFILE "none" + /* The default file of cached time info. Use "none" for none. */ + +! #define REFERER_LOG "/usr/local/etc/httpd/logs/referer_log" + /* The name of the default referer_log. Use "none" for none. + Can be a list, separated by commas. */ + +! #define BROWSER_LOG "/usr/local/etc/httpd/logs/agent_log" + /* The name of the default browser log (= agent_log) similarly. */ + +! #define ERROR_LOG "/usr/local/etc/httpd/logs/error_log" + /* The name of the default error_log similarly. */ + + #define REPORTORDER "mWdDhHoSirfbBce" +--- 113,126 ---- + #define CACHEFILE "none" + /* The default file of cached time info. Use "none" for none. */ + +! #define REFERER_LOG "/usr/local/www/logs/referer_log" + /* The name of the default referer_log. Use "none" for none. + Can be a list, separated by commas. */ + +! #define BROWSER_LOG "/usr/local/www/logs/agent_log" + /* The name of the default browser log (= agent_log) similarly. */ + +! #define ERROR_LOG "/usr/local/www/logs/error_log" + /* The name of the default error_log similarly. */ + + #define REPORTORDER "mWdDhHoSirfbBce" + diff --git a/www/analog/pkg-comment b/www/analog/pkg-comment new file mode 100644 index 000000000000..49c0764e75e7 --- /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 000000000000..1d8c38b15325 --- /dev/null +++ b/www/analog/pkg-descr @@ -0,0 +1,7 @@ +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 http://www.statslab.cam.ac.uk/~sret1/analog/ or Readme.html in +/usr/local/share/analog. diff --git a/www/analog/pkg-plist b/www/analog/pkg-plist new file mode 100644 index 000000000000..66abb4c91c87 --- /dev/null +++ b/www/analog/pkg-plist @@ -0,0 +1,12 @@ +bin/analog +share/analog/Readme.html +share/analog/domains.tab +share/analog/primes.tab +share/analog/analogo.gif +share/analog/images/bar1.gif +share/analog/images/bar16.gif +share/analog/images/bar2.gif +share/analog/images/bar32.gif +share/analog/images/bar4.gif +share/analog/images/bar8.gif +share/analog/images/html2.gif |