1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/www/analog/files/patch-ab

75 lines
2.9 KiB
Plaintext
Raw Normal View History

1998-04-09 21:36:45 +00:00
*** analhead.h.orig Thu Apr 9 14:59:28 1998
--- analhead.h Fri Apr 10 01:34:18 1998
1997-05-02 23:16:58 +00:00
***************
1998-04-08 18:18:26 +00:00
*** 5,10 ****
--- 5,13 ----
1997-05-02 23:16:58 +00:00
1998-04-08 18:18:26 +00:00
#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 ****
1997-05-02 23:16:58 +00:00
/* the URL of your host's home page, for linking to at the top of the
1998-04-08 18:18:26 +00:00
output; use "none" for no linking. */
1997-05-02 23:16:58 +00:00
! #define HTTPDIR "/usr/local/etc/httpd/"
1998-04-08 18:18:26 +00:00
! #define ANALOGDIR HTTPDIR"analog/"
1997-05-02 23:16:58 +00:00
/* 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
1998-04-08 18:18:26 +00:00
--- 21,27 ----
1997-05-02 23:16:58 +00:00
/* the URL of your host's home page, for linking to at the top of the
1998-04-08 18:18:26 +00:00
output; use "none" for no linking. */
1997-05-02 23:16:58 +00:00
1998-04-08 18:18:26 +00:00
! #define ANALOGDIR PREFIX"/lib/analog/"
1997-05-02 23:16:58 +00:00
/* 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
***************
1998-04-09 21:36:45 +00:00
*** 29,39 ****
1998-04-08 18:18:26 +00:00
#define DOMAINSFILE ANALOGDIR"domains.tab"
/* the file where the domain definitions live; see docs/domfile.html */
1997-05-02 23:16:58 +00:00
1998-04-08 18:18:26 +00:00
! #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. */
1997-05-02 23:16:58 +00:00
1998-04-09 21:36:45 +00:00
! #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 ----
1998-04-08 18:18:26 +00:00
#define DOMAINSFILE ANALOGDIR"domains.tab"
/* the file where the domain definitions live; see docs/domfile.html */
1997-05-02 23:16:58 +00:00
! #define LOGFILE "/var/log/httpd-access.log"
1998-04-08 18:18:26 +00:00
/* The name of the default logfile. Can be a list, separated by commas
(but no spaces), and can include wild cards. */
1997-05-02 23:16:58 +00:00
1998-04-09 21:36:45 +00:00
! #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. */
1997-05-02 23:16:58 +00:00
***************
1998-04-08 18:18:26 +00:00
*** 41,47 ****
#define LANGDIR ANALOGDIR"lang/"
/* Directory where the language files live. */
1997-05-02 23:16:58 +00:00
1998-04-08 18:18:26 +00:00
! #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. */
1997-05-02 23:16:58 +00:00
1998-04-08 18:18:26 +00:00
--- 43,49 ----
#define LANGDIR ANALOGDIR"lang/"
/* Directory where the language files live. */
1997-05-02 23:16:58 +00:00
1998-04-08 18:18:26 +00:00
! #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. */
1997-05-02 23:16:58 +00:00