diff options
Diffstat (limited to 'www/analog/files')
-rw-r--r-- | www/analog/files/patch-aa | 31 | ||||
-rw-r--r-- | www/analog/files/patch-ab | 94 | ||||
-rw-r--r-- | www/analog/files/patch-ac | 31 |
3 files changed, 72 insertions, 84 deletions
diff --git a/www/analog/files/patch-aa b/www/analog/files/patch-aa index 60ab16f..2b47d09 100644 --- a/www/analog/files/patch-aa +++ b/www/analog/files/patch-aa @@ -1,25 +1,32 @@ -*** Makefile.orig Fri Mar 14 20:33:08 1997 ---- Makefile Sat May 3 03:09:30 1997 +*** Makefile.orig Wed Apr 8 17:37:54 1998 +--- Makefile Wed Apr 8 19:42:19 1998 *************** -*** 2,8 **** - # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/ +*** 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. - DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT + # HP/UX cc needs -Aa + # Some Linuces might need -I/usr/src/linux/include +! DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC or VMS - LIBS = -lm # extra libraries needed; Solaris 2 (SunOS 5) needs ---- 2,8 ---- - # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/ + LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs + # LIBS = -lnsl and SCO Unix needs LIBS = -lsocket +--- 2,12 ---- + # 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. - DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT + # HP/UX cc needs -Aa + # Some Linuces might need -I/usr/src/linux/include +! #DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT +! DEFS = -DPREFIX=\"$(PREFIX)\" OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC or VMS - LIBS = -lm # extra libraries needed; Solaris 2 (SunOS 5) needs + LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs + # LIBS = -lnsl and SCO Unix needs LIBS = -lsocket *************** -*** 22,27 **** ---- 22,29 ---- +*** 26,31 **** +--- 27,34 ---- 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 diff --git a/www/analog/files/patch-ab b/www/analog/files/patch-ab index 3ceeff6..60abc63 100644 --- a/www/analog/files/patch-ab +++ b/www/analog/files/patch-ab @@ -1,76 +1,66 @@ -*** analhead.h.orig Fri Mar 14 20:33:09 1997 ---- analhead.h Wed May 7 23:27:03 1997 +*** analhead.h.orig Wed Apr 8 17:48:58 1998 +--- analhead.h Wed Apr 8 19:32:48 1998 *************** -*** 14,25 **** - /* the name of your organisation or WWW host. This is used for printing - at the top of the output */ +*** 5,10 **** +--- 5,13 ---- -! #define HOSTURL "http://www.statslab.cam.ac.uk/" + #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 "-" for no linking. */ + output; use "none" for no linking. */ ! #define HTTPDIR "/usr/local/etc/httpd/" -! #define ANALOGDIR HTTPDIR "analog/" +! #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 ---- 14,24 ---- - /* the name of your organisation or WWW host. This is used for printing - at the top of the output */ - -! #define HOSTURL "-" +--- 21,27 ---- /* the URL of your host's home page, for linking to at the top of the - output; use "-" for no linking. */ + output; use "none" for no linking. */ -! #define ANALOGDIR "/usr/local/lib/analog/" +! #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 *************** -*** 30,36 **** - /* the name of the file where the domain definitions live; see README.html - for the format of this file */ +*** 29,35 **** + #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; use "stdin" for stdin. - Can be a list, separated by commas (but no spaces). */ +! #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. */ ---- 29,35 ---- - /* the name of the file where the domain definitions live; see README.html - for the format of this file */ +--- 31,37 ---- + #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; use "stdin" for stdin. - Can be a list, separated by commas (but no spaces). */ + /* The name of the default logfile. Can be a list, separated by commas + (but no spaces), and can include wild cards. */ *************** -*** 93,106 **** - #define CACHEFILE "none" - /* The default file of cached time info. Use "none" for none. */ - -! #define REFERRER_LOG HTTPDIR "logs/referer_log" - /* The name of the default referrer log (= referer_log). Use "none" for none. - Can be a list, separated by commas. */ - -! #define BROWSER_LOG HTTPDIR "logs/agent_log" - /* The name of the default browser log (= agent_log) similarly. */ - -! #define ERROR_LOG HTTPDIR "logs/error_log" - /* The name of the default error_log similarly. */ - - #define NUMLOOKUP (OFF) ---- 92,105 ---- - #define CACHEFILE "none" - /* The default file of cached time info. Use "none" for none. */ +*** 41,47 **** + #define LANGDIR ANALOGDIR"lang/" + /* Directory where the language files live. */ -! #define REFERRER_LOG "none" - /* The name of the default referrer log (= referer_log). Use "none" for none. - Can be a list, separated by commas. */ +! #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. */ -! #define BROWSER_LOG "none" - /* The name of the default browser log (= agent_log) similarly. */ +--- 43,49 ---- + #define LANGDIR ANALOGDIR"lang/" + /* Directory where the language files live. */ -! #define ERROR_LOG "/var/log/httpd-error.log" - /* The name of the default error_log similarly. */ +! #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. */ - #define NUMLOOKUP (OFF) diff --git a/www/analog/files/patch-ac b/www/analog/files/patch-ac index 604396f..6535d27 100644 --- a/www/analog/files/patch-ac +++ b/www/analog/files/patch-ac @@ -1,21 +1,12 @@ -*** analhea2.h.orig Fri Mar 14 20:36:49 1997 ---- analhea2.h Sat May 3 01:28:08 1997 +*** analog.cfg.bak Wed Apr 8 17:38:41 1998 +--- analog.cfg Wed Apr 8 21:33:32 1998 *************** -*** 81,88 **** - #ifndef NODIRENT - #ifndef VMSDIRENT - #ifndef MACDIRENT -- #include <dirent.h> /* Normal dirent */ - #include <sys/types.h> - #include <sys/stat.h> - #else - #include "macdir.h" /* Mac dirent */ ---- 81,88 ---- - #ifndef NODIRENT - #ifndef VMSDIRENT - #ifndef MACDIRENT - #include <sys/types.h> -+ #include <dirent.h> /* Normal dirent */ - #include <sys/stat.h> - #else - #include "macdir.h" /* Mac dirent */ +*** 6,11 **** +--- 6,12 ---- + # + # + # REQINCLUDE pages ++ LOGFORMAT COMBINED + LOGFILE logfile.log + HOSTNAME "[my organisation]" + LINKINCLUDE pages |