head	1.19;
access;
symbols
	RELEASE_8_3_0:1.19
	RELEASE_9_0_0:1.19
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.17
	RELEASE_7_3_0:1.17
	RELEASE_8_0_0:1.17
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.17
	RELEASE_6_4_0:1.17
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.17
	RELEASE_4_EOL:1.17
	RELEASE_6_2_0:1.17
	RELEASE_6_1_0:1.17
	RELEASE_5_5_0:1.17
	RELEASE_6_0_0:1.17
	RELEASE_5_4_0:1.17
	RELEASE_4_11_0:1.17
	RELEASE_5_3_0:1.17
	RELEASE_4_10_0:1.17
	RELEASE_5_2_1:1.17
	RELEASE_5_2_0:1.17
	RELEASE_4_9_0:1.17
	RELEASE_5_1_0:1.16
	RELEASE_4_8_0:1.16
	RELEASE_5_0_0:1.16
	RELEASE_4_7_0:1.16
	RELEASE_4_6_2:1.16
	RELEASE_4_6_1:1.16
	RELEASE_4_6_0:1.16
	RELEASE_5_0_DP1:1.16
	RELEASE_4_5_0:1.16
	RELEASE_4_4_0:1.15
	RELEASE_4_3_0:1.14
	RELEASE_4_2_0:1.14
	RELEASE_4_1_1:1.14
	RELEASE_4_1_0:1.14
	RELEASE_3_5_0:1.14
	RELEASE_4_0_0:1.14
	RELEASE_3_4_0:1.12
	RELEASE_3_2_0:1.10
	RELEASE_3_1_0:1.10
	RELEASE_2_2_8:1.10
	RELEASE_3_0_0:1.10
	RELEASE_2_2_7:1.10
	RELEASE_2_2_6:1.8
	RELEASE_2_2_5:1.8
	RELEASE_2_2_1:1.4
	RELEASE_2_2_2:1.8
	analog_1_9_6:1.1.1.1
	RAYNARD:1.1.1;
locks; strict;
comment	@# @;


1.19
date	2011.08.08.13.01.12;	author pav;	state Exp;
branches;
next	1.18;

1.18
date	2011.07.31.10.49.23;	author rene;	state Exp;
branches;
next	1.17;

1.17
date	2003.07.17.04.31.37;	author mharo;	state Exp;
branches;
next	1.16;

1.16
date	2002.01.15.03.14.26;	author mharo;	state Exp;
branches;
next	1.15;

1.15
date	2001.05.04.00.49.15;	author mharo;	state Exp;
branches;
next	1.14;

1.14
date	99.12.23.08.33.25;	author ache;	state Exp;
branches;
next	1.13;

1.13
date	99.12.23.05.22.57;	author ache;	state Exp;
branches;
next	1.12;

1.12
date	99.12.09.05.34.45;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	99.09.09.21.29.46;	author ache;	state dead;
branches;
next	1.10;

1.10
date	98.04.09.21.36.45;	author ache;	state Exp;
branches;
next	1.9;

1.9
date	98.04.08.18.18.13;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	97.05.07.19.51.25;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	97.05.03.01.19.12;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	97.05.02.23.51.53;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	97.05.02.23.16.57;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	97.03.12.06.42.20;	author jfitz;	state Exp;
branches;
next	1.3;

1.3
date	96.08.06.21.18.57;	author jfitz;	state Exp;
branches;
next	1.2;

1.2
date	96.08.04.14.11.22;	author jraynard;	state Exp;
branches;
next	1.1;

1.1
date	96.06.09.23.24.54;	author asami;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.06.09.23.24.54;	author asami;	state Exp;
branches;
next	;


desc
@@


1.19
log
@- Teach it about recent Windows versions

PR:		ports/159360
Submitted by:	Kurt Lidl <kurt.lidl@@cello.com>
@
text
@--- src/tree.c.orig	2004-12-19 08:51:31.000000000 -0500
+++ src/tree.c	2011-08-01 12:49:29.176805068 -0400
@@@@ -769,11 +769,13 @@@@
     if (((*name = strstr(whole, "Mosaic")) != NULL && (len = 6)) ||
 	((*name = strstr(whole, "mosaic")) != NULL && (len = 6)) ||
 	((*name = strstr(whole, "Konqueror")) != NULL && (len = 9)) ||
+	((*name = strstr(whole, "Baiduspider")) != NULL && (len = 11)) ||
 	((*name = strstr(whole, "Galeon")) != NULL && (len = 6)) ||
 	((*name = strstr(whole, "Phoenix")) != NULL && (len = 7)) ||
 	((*name = strstr(whole, "Firebird")) != NULL && (len = 8)) ||
 	((*name = strstr(whole, "Firefox")) != NULL && (len = 7)) ||
 	((*name = strstr(whole, "Chimera")) != NULL && (len = 7)) ||
+	((*name = strstr(whole, "Chrome")) != NULL && (len = 6)) ||
 	((*name = strstr(whole, "Camino")) != NULL && (len = 6)) ||
 	((*name = strstr(whole, "Safari")) != NULL && (len = 6)) ||
 	((*name = strstr(whole, "WebTV")) != NULL && (len = 5)) ||
@@@@ -871,7 +873,17 @@@@
 	  else
 	    *name = "Windows:Unknown Windows";
 	}
-	else if (*c >= '6' && *c <= '9')
+	else if (*c == '6') {
+	  if (*(c + 1) == '.' && (*(c + 2) == '0'))
+	    *name = "Windows:Windows Vista";
+	  else if (*(c + 1) == '.' && (*(c + 2) == '1'))
+	    *name = "Windows:Windows 7";
+	  else if (*(c + 1) == '.' && (*(c + 2) == '2'))
+	    *name = "Windows:Windows 8";
+	  else
+	    *name = "Windows:Unknown Windows";
+	}
+	else if (*c >= '7' && *c <= '9')
 	  *name = "Windows:Unknown Windows";
 	else
 	  *name = "Windows:Windows NT";
@@@@ -904,8 +916,16 @@@@
 	*name = "Macintosh";
     else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL)
       *name = "Unix:Linux";
-    else if (strstr(whole, "BSD") != NULL)
-      *name = "Unix:BSD";
+    else if (strstr(whole, "FreeBSD") != NULL || strstr(whole, "freebsd") != NULL)
+      *name = "Unix:FreeBSD";
+    else if (strstr(whole, "OpenBSD") != NULL || strstr(whole, "openbsd") != NULL)
+      *name = "Unix:OpenBSD";
+    else if (strstr(whole, "NetBSD") != NULL || strstr(whole, "netbsd") != NULL)
+      *name = "Unix:NetBSD";
+    else if (strstr(whole, "BSD/OS") != NULL || strstr(whole, "bsd/os") != NULL)
+      *name = "Unix:BSD/OS";
+    else if (strstr(whole, "BSD") != NULL || strstr(whole, "bsd") != NULL)
+      *name = "Unix:Unknown BSD";
     else if (strstr(whole, "SunOS") != NULL || strstr(whole, "sunos") != NULL)
       *name = "Unix:SunOS";
     else if (strstr(whole, "HP-UX") != NULL || strstr(whole, "HPUX") != NULL ||
@


1.18
log
@- Recognize the Chrome and Baiduspider user agents [1]
- Bump PORTREVISION

PR:		ports/156984 [1]
Submitted by:	Kurt Lidl [kurt.lidl cello.com]
@
text
@d2 1
a2 1
+++ src/tree.c	2011-05-12 16:38:50.388298051 -0400
d17 20
a36 1
@@@@ -904,8 +906,16 @@@@
@


1.17
log
@Upgrade Analog to 5.32 (includes fixes)

PR:		52100
Submitted by:	    Kevin Golding <kevin@@caomhin.demon.co.uk>
@
text
@d1 17
a17 3
--- src/tree.c.orig	Sun Mar 23 13:57:02 2003
+++ src/tree.c	Sun May 11 10:25:45 2003
@@@@ -895,8 +895,16 @@@@
@


1.16
log
@properly update port to 5.1.
Bump PORT_EPOCH to 1 because 5.1 should be > 5.03

Submitted by:	Oliver Lehmann <olivleh1@@raisdorf.net>
@
text
@d1 4
a4 4
--- src/tree.c.orig	Wed Jan  9 21:20:12 2002
+++ src/tree.c	Wed Jan  9 21:20:24 2002
@@@@ -886,8 +886,16 @@@@
     }
@


1.15
log
@Update to 5.0

Submitted by:	petef@@databits.net
@
text
@d1 3
a3 3
--- src/tree.c.orig	Thu May  3 19:31:50 2001
+++ src/tree.c	Thu May  3 19:32:22 2001
@@@@ -803,8 +803,16 @@@@
@


1.14
log
@Oops, add missing OpenBSD/NetBSD detection
@
text
@d1 3
a3 3
--- tree.c.orig	Fri Dec 17 13:15:19 1999
+++ tree.c	Thu Dec 23 11:19:15 1999
@@@@ -781,8 +781,16 @@@@
@


1.13
log
@Upgrade to 4.01
@
text
@d2 2
a3 2
+++ tree.c	Thu Dec 23 08:02:55 1999
@@@@ -781,8 +781,12 @@@@
d11 4
d18 1
a18 1
+      *name = "Unix:unkbsd";
@


1.12
log
@Better recognition of *BSD family
@
text
@d1 3
a3 3
--- tree.c.orig	Sun Nov 14 17:17:17 1999
+++ tree.c	Thu Dec  9 08:23:39 1999
@@@@ -781,8 +781,16 @@@@
a10 4
+    else if (strstr(whole, "NetBSD") != NULL || strstr(whole, "netbsd") != NULL)
+      *name = "Unix:NetBSD";
+    else if (strstr(whole, "OpenBSD") != NULL || strstr(whole, "openbsd") != NULL)
+      *name = "Unix:OpenBSD";
@


1.11
log
@upgrade to 3.32
@
text
@d1 21
a21 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. */
  
@


1.10
log
@Fix images dir to match installation
@
text
@@


1.9
log
@Upgrade to 2.90beta3
@
text
@d1 2
a2 2
*** analhead.h.orig	Wed Apr  8 17:48:58 1998
--- analhead.h	Wed Apr  8 19:32:48 1998
d34 1
a34 1
*** 29,35 ****
d42 5
a46 1
--- 31,37 ----
d54 4
@


1.8
log
@Install images into separate directory
@
text
@d1 2
a2 2
*** analhead.h.orig	Fri Mar 14 20:33:09 1997
--- analhead.h	Wed May  7 23:27:03 1997
d4 2
a5 3
*** 14,25 ****
  /* the name of your organisation or WWW host. This is used for printing
     at the top of the output */
d7 10
a16 1
! #define HOSTURL "http://www.statslab.cam.ac.uk/"
d18 1
a18 1
     output; use "-" for no linking. */
d21 1
a21 1
! #define ANALOGDIR HTTPDIR "analog/"
d25 1
a25 5
--- 14,24 ----
  /* the name of your organisation or WWW host. This is used for printing
     at the top of the output */
  
! #define HOSTURL "-"
d27 1
a27 1
     output; use "-" for no linking. */
d29 1
a29 1
! #define ANALOGDIR "/usr/local/lib/analog/"
d34 11
a44 11
*** 30,36 ****
  /* the name of the file where the domain definitions live; see README.html
     for the format of this file */
  
! #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). */
  
--- 29,35 ----
  /* the name of the file where the domain definitions live; see README.html
     for the format of this file */
d47 2
a48 2
  /* The name of the default logfile; use "stdin" for stdin.
     Can be a list, separated by commas (but no spaces). */
d51 15
a65 28
*** 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. */
  
! #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 BROWSER_LOG "none"
  /* The name of the default browser log (= agent_log) similarly. */
  
! #define ERROR_LOG "/var/log/httpd-error.log"
  /* The name of the default error_log similarly. */
a66 1
  #define NUMLOOKUP (OFF)
@


1.7
log
@Disable agent_log and referer_log, use combined NCSA log format instead
@
text
@d2 1
a2 1
--- analhead.h	Sat May  3 05:11:35 1997
d30 1
a30 1
*** 30,40 ****
d38 1
a38 5
! #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. Ends with /. */
--- 29,39 ----
a45 4
! #define IMAGEDIR "/icons/"
  /* 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. Ends with /. */
@


1.6
log
@Typing error
@
text
@d2 1
a2 1
--- analhead.h	Sat May  3 02:37:26 1997
d74 1
a74 1
! #define REFERRER_LOG "/var/log/httpd-referer.log"
d78 1
a78 1
! #define BROWSER_LOG "/var/log/httpd-agent.log"
@


1.5
log
@Upgrade to 2.11
@
text
@d78 1
a78 1
! #define BROWSER_LOG "/var/logs/httpd-agent.log"
@


1.4
log
@Change default config paths to match apache port.
Submitted by:	Andreas
@
text
@d1 84
a84 50
--- analhead.h.orig	Sat Jul 13 10:48:54 1996
+++ analhead.h	Mon Aug  5 21:13:30 1996
@@@@ -17,11 +17,11 @@@@
 /* 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"
+#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/etc/httpd/logs/access_log"
+#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). */
 
@@@@ -30,7 +30,7 @@@@
    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. */
 
-#define DEFAULTCONFIGFILE "/usr/local/etc/httpd/analog/analog.cfg"
+#define DEFAULTCONFIGFILE "none"
 /* the name of the default configuration file; see README.html for a
    description of this file. Use "none" for no configuration file. */
 
@@@@ -80,20 +80,20 @@@@
 #define CACHEFILE "none"
 /* The default file of cached time info. Use "none" for none. */
 
-#define REFERRER_LOG "/usr/local/etc/httpd/logs/referer_log"
+#define REFERRER_LOG "/var/log/httpd-referrer.log"
 /* The name of the default referrer_log (= referer_log). Use "none" for none.
    Can be a list, separated by commas. */
 
-#define BROWSER_LOG "/usr/local/etc/httpd/logs/agent_log"
+#define BROWSER_LOG "/var/logs/httpd-agent.log"
 /* The name of the default browser log (= agent_log) similarly. */
 
-#define ERROR_LOG "/usr/local/etc/httpd/logs/error_log"
+#define ERROR_LOG "/var/log/httpd-error.log"
 /* The name of the default error_log similarly. */
 
 #define NUMLOOKUP (OFF)
 /* whether to try and resolve IP addresses. Can be slow. */
 
-#define DNSFILE "/users4/sret1/misc/analog/dnscache"
+#define DNSFILE "/usr/local/share/analog/dnscache"
 /* where to store resolved addresses so we don't have to look them up next
    time */
 
@


1.3
log
@Removed hardcoded default configuration file in analhead.h
@
text
@d13 1
a13 1
+#define LOGFILE "/usr/local/www/logs/access_log"
d31 1
a31 1
+#define REFERRER_LOG "/usr/local/www/logs/referer_log"
d36 1
a36 1
+#define BROWSER_LOG "/usr/local/www/logs/agent_log"
d40 1
a40 1
+#define ERROR_LOG "/usr/local/www/logs/error_log"
@


1.2
log
@Updated to version 1.91.4.  Use the FTP URL for the master site instead
of the HTML one.
@
text
@d1 2
a2 2
--- analhead.h.orig	Sat Jul 13 14:48:54 1996
+++ analhead.h	Sun Aug  4 09:31:54 1996
d22 1
a22 1
+#define DEFAULTCONFIGFILE "/usr/local/share/analog/analog.cfg"
@


1.1
log
@Initial revision
@
text
@d1 50
a50 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"

@


1.1.1.1
log
@Web server statistics.

Submitted by:	James Raynard <fports@@jraynard.demon.co.uk>
@
text
@@
