~ubuntu-branches/ubuntu/lucid/awstats/lucid-security

« back to all changes in this revision

Viewing changes to wwwroot/cgi-bin/lib/operating_systems.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard, Sergey B Kirpichev, Jonas Smedegaard
  • Date: 2009-03-03 18:19:24 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090303181924-szfwaw0qmfdg7m6b
Tags: 6.9~dfsg-1
[ Sergey B Kirpichev ]
* New upstream release (Closes: #494676).
* Add myself to Uploaders field. 
* Drop patches 0001 and 1005 (applied upstream).
* Unfuzz patches 1002-1004.
* Add new patch 1007 updating Russian translation. Thanks to Sergey
  Kirpichev at upstream tracker #2540486.
* Add new patch 1008 enhancing the ExtraSection headings to include
  the words (Top XXX) for consistency with all other section headings.
* Add new patch 1009 fixing URL to Hurd (Closes: #408086).
* Add new patch 1010 fixing dirdata permissions (Closes: #299148).
* Add new patch 1011 fixing Geo::IPfree warnings (Closes: #512373).
* Add new patch 2001 hiding charts in days of month statistics.
* Use debian defaults for geoip data files.

[ Jonas Smedegaard ]
* Repackage upstream tarball.
* Packaging moved to Git (from Subversion). Update debian/control and
  git-buildpackage configfile, enabling pristine-tar support.
* Use new local CDBS snippet package-relations.mk to resolve, cleanup
  and apply CDBS-declared (build-)dependencies.
* Add DEB_MAINTAINER_MODE in debian/rules (thanks to Romain Beauxis).
* Update local CDBS snippets:
  + upstream-tarball.mk: internal restructuring
  + buildinfo.mk: fix copyright years
  + copyright-check.mk: major rewrite, now generating hint file more
    readily usable as template for new proposed copyright format
  + Update README.cdbs-tweaks to also cover newly added package-
    relations.mk.
* Rewrite debian/copyright using new proposed syntax (v440). Update
  copyright-hints.
* Unfuzz patch 1006.
* Depend on misc:depends (thanks to lintian) and cdbs:depends
  (currently unused, and drop superfluous dependencies (fulfilled by
  perl even in oldstable).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# If you want to add an OS to extend AWStats database detection capabilities,
4
4
# you must add an entry in OSSearchIDOrder, in OSHashID and in OSHashLib.
5
5
#-------------------------------------------------------
6
 
# $Revision: 1.21 $ - $Author: eldy $ - $Date: 2007/04/02 18:30:53 $
 
6
# $Revision: 1.24 $ - $Author: eldy $ - $Date: 2008/11/15 14:58:01 $
7
7
 
8
8
# 2005-08-19 Sean Carlos http://www.antezeta.com/awstats.html
9
9
#              - added specific Linux distributions in addition to 
18
18
# This list is used to know in which order to search Operating System IDs
19
19
# (Most frequent one are first in this list to increase detect speed).
20
20
# It contains all matching criteria to search for in log fields.
21
 
# Note: OS IDs are in lower case and ' ' and '+' are changed into '_'
 
21
# Note: OS IDs are in lower case and '_', ' ' and '+' are changed into '[_+ ]'
22
22
#-------------------------------------------------------------------------
23
23
@OSSearchIDOrder        = (
24
24
# Windows OS family
25
25
'windows[_+ ]?2005', 'windows[_+ ]nt[_+ ]6\.0',
 
26
'windows[_+ ]?2008', 'windows[_+ ]nt[_+ ]6\.1', # Must be before windows_nt_6
 
27
'windows[_+ ]?vista', 'windows[_+ ]nt[_+ ]6',
26
28
'windows[_+ ]?2003','windows[_+ ]nt[_+ ]5\.2',  # Must be before windows_nt_5
27
29
'windows[_+ ]xp','windows[_+ ]nt[_+ ]5\.1',             # Must be before windows_nt_5
28
30
'windows[_+ ]me','win[_+ ]9x',                                  # Must be before windows_98
32
34
'win(.*)95',
33
35
'win(.*)16','windows[_+ ]3',                                    # This works for windows_31 and windows_3.1
34
36
'win(.*)ce',
 
37
'microsoft',
 
38
'msie[_+ ]',
 
39
'ms[_+ ]frontpage',
35
40
# Macintosh OS family
36
41
'mac[_+ ]os[_+ ]x',
37
42
'mac[_+ ]?p',                                                                   # This works for macppc and mac_ppc and mac_powerpc
42
47
'linux(.*)centos',
43
48
'linux(.*)debian',
44
49
'linux(.*)fedora',
 
50
'linux(.*)gentoo',
45
51
'linux(.*)mandr',
46
52
'linux(.*)red[_+ ]hat',
47
53
'linux(.*)suse',
80
86
'webtv',
81
87
'playstation[_+ ]portable',
82
88
'xbox',
 
89
'wii',
83
90
'vienna',
84
91
'newsfire',
85
92
'applesyndication',
96
103
%OSHashID       = (
97
104
# Windows OS family
98
105
'windows[_+ ]?2005','winlong','windows[_+ ]nt[_+ ]6\.0','winlong',
 
106
'windows[_+ ]?2008','win2008','windows[_+ ]nt[_+ ]6\.1','win2008',
 
107
'windows[_+ ]?vista','winvista','windows[_+ ]nt[_+ ]6','winvista',
99
108
'windows[_+ ]?2003','win2003','windows[_+ ]nt[_+ ]5\.2','win2003',
100
109
'windows[_+ ]xp','winxp','windows[_+ ]nt[_+ ]5\.1','winxp', 'syndirella', 'winxp',
101
110
'windows[_+ ]me','winme','win[_+ ]9x','winme',
105
114
'win(.*)95','win95',
106
115
'win(.*)16','win16','windows[_+ ]3','win16',
107
116
'win(.*)ce','wince',
 
117
'microsoft','winunknown',
 
118
'msie[_+ ]','winunknown',
 
119
'ms[_+ ]frontpage','winunknown',
108
120
# Macintosh OS family
109
121
'mac[_+ ]os[_+ ]x','macosx', 'vienna', 'macosx', 'newsfire', 'macosx', 'applesyndication', 'macosx',
110
122
'mac[_+ ]?p','macintosh','mac[_+ ]68','macintosh','macweb','macintosh','macintosh','macintosh',
112
124
'linux(.*)centos','linuxcentos',
113
125
'linux(.*)debian','linuxdebian',
114
126
'linux(.*)fedora','linuxfedora',
 
127
'linux(.*)gentoo','linuxgentoo',
115
128
'linux(.*)mandr','linuxmandr',
116
129
'linux(.*)red[_+ ]hat','linuxredhat',
117
130
'linux(.*)suse','linuxsuse',
151
164
'webtv','webtv',
152
165
'playstation[_+ ]portable', 'psp',
153
166
'xbox', 'winxbox',
 
167
'wii', 'wii',
154
168
);
155
169
 
156
170
# OS name list ('os unique id in lower case','os clear text')
158
172
#-----------------------------------------------------------
159
173
%OSHashLib      = (
160
174
# Windows family OS
161
 
'winlong','<a href="http://www.microsoft.com/windows/" title="Windows Vista home page [new window]" target="_blank">Windows Vista</a>',
 
175
'winlong','<a href="http://www.microsoft.com/windows/" title="Windows Vista home page [new window]" target="_blank">Windows Vista (LongHorn)</a>',
 
176
'win2008','<a href="http://www.microsoft.com/windowsserver2008/" title="Windows 2008 home page [new window]" target="_blank">Windows 2008</a>',
 
177
'winvista','<a href="http://www.microsoft.com/windowsvista/" title="Windows Vista home page [new window]" target="_blank">Windows Vista</a>',
162
178
'win2003','<a href="http://www.microsoft.com/windowsserver2003/" title="Windows 2003 home page [new window]" target="_blank">Windows 2003</a>',
163
179
'winxp','<a href="http://www.microsoft.com/windowsxp/" title="Windows XP home page [new window]" target="_blank">Windows XP</a>',
164
 
'winme','<a href="http://www.microsoft.com/windowsme/" title="Windows Me home page [new window]" target="_blank">Windows Me</a>',
165
 
'win2000','<a href="http://www.microsoft.com/windows2000/" title="Windows 2000 home page [new window]" target="_blank">Windows 2000</a>',
166
 
'winnt','<a href="http://www.microsoft.com/ntworkstation/" title="Windows NT home page [new window]" target="_blank">Windows NT</a>',
167
 
'win98','<a href="http://www.microsoft.com/windows98/" title="Windows 98 home page [new window]" target="_blank">Windows 98</a>',
168
 
'win95','<a href="http://www.microsoft.com/windows95/" title="Windows 95 home page [new window]" target="_blank">Windows 95</a>',
169
 
'win16','<a href="http://www.microsoft.com/" title="Windows 3.xx home page [new window]" target="_blank">Windows 3.xx</a>',
170
 
'wince','<a href="http://www.microsoft.com/windowsmobile/" title="Windows CE home page [new window]" target="_blank">Windows CE</a>',
171
 
'winxbox','<a href="http://www.xbox.com/en-US/hardware/xbox/" title="Microsoft XBOX home page [new window]" target="_blank">Microsoft XBOX</a>',
172
 
 # Macintosh OS
 
180
'winme','<a href="http://support.microsoft.com/ph/6519/" title="Windows ME support page [new window]" target="_blank">Windows ME</a>',
 
181
'win2000','<a href="http://support.microsoft.com/ph/1131" title="Windows 2000 support page [new window]" target="_blank">Windows 2000</a>',
 
182
'winnt','<a href="http://support.microsoft.com/default.aspx?pr=ntw40" title="Windows NT support page [new window]" target="_blank">Windows NT</a>',
 
183
'win98','<a href="http://support.microsoft.com/w98" title="Windows 98 support page [new window]" target="_blank">Windows 98</a>',
 
184
'win95','<a href="http://support.microsoft.com/ph/7864" title="Windows 95 support page [new window]" target="_blank">Windows 95</a>',
 
185
'win16','<a href="http://www.microsoft.com/windows/WinHistoryDesktop.mspx#E1B" title="Windows 3.xx history page [new window]" target="_blank">Windows 3.xx</a>',
 
186
'wince','<a href="http://www.microsoft.com/windowsmobile/" title="Windows Mobile home page [new window]" target="_blank">Windows Mobile</a>',
 
187
'winunknown','Windows (unknown version)',
 
188
'winxbox','<a href="http://www.xbox.com/" title="Microsoft XBOX home page [new window]" target="_blank">Microsoft XBOX</a>',
 
189
# Macintosh OS
173
190
'macosx','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X</a>',
174
191
'macintosh','<a href="http://www.apple.com/" title="Mac OS home page [new window]" target="_blank">Mac OS</a>',
175
192
# Linux
176
193
'linuxcentos','<a href="http://www.centos.org/" title="Centos home page [new window]" target="_blank">Centos</a>',
177
194
'linuxdebian','<a href="http://www.debian.org/" title="Debian home page [new window]" target="_blank">Debian</a>',
178
195
'linuxfedora','<a href="http://fedora.redhat.com/" title="Fedora home page [new window]" target="_blank">Fedora</a>',
 
196
'linuxgentoo','<a href="http://www.gentoo.org/" title="Gentoo home page [new window]" target="_blank">Gentoo</a>',
179
197
'linuxmandr','<a href="http://www.mandriva.com/" title="Mandriva (former Mandrake) home page [new window]" target="_blank">Mandriva (or Mandrake)</a>',
180
198
'linuxredhat','<a href="http://www.redhat.com/" title="Red Hat home page [new window]" target="_blank">Red Hat</a>',
181
199
'linuxsuse','<a href="http://www.novell.com/linux/suse/" title="Suse home page [new window]" target="_blank">Suse</a>',
186
204
'gnu','<a href="www.gnu.org/software/hurd/hurd.html" title="GNU Hurd home page [new window]" target="_blank">GNU Hurd</a>',
187
205
# BSDs
188
206
'bsdi','<a href="http://en.wikipedia.org/wiki/BSDi" title="BSDi home page [new window]" target="_blank">BSDi</a>',
189
 
'bsdkfreebsd','GNU/kFreeBSD',
 
207
'bsdkfreebsd','<a href="http://www.debian.org/ports/kfreebsd-gnu/" title="Debian GNU/kFreeBSD" target="_blank">GNU/kFreeBSD</a>',
190
208
'freebsd','<a href="http://www.freebsd.org/" title="FreeBSD home page [new window]" target="_blank">FreeBSD</a>',    # For backard compatibility
191
209
'bsdfreebsd','<a href="http://www.freebsd.org/" title="FreeBSD home page [new window]" target="_blank">FreeBSD</a>',
192
210
'openbsd','<a href="http://www.openbsd.org/" title="OpenBSD home page [new window]" target="_blank">OpenBSD</a>',    # For backard compatibility
214
232
'riscos','<a href="http://www.riscos.com/" title="RISC OS home page [new window]" target="_blank">RISC OS</a>',
215
233
'symbian','<a href="http://www.symbian.com/" title="Symbian OS home page [new window]" target="_blank">Symbian OS</a>',
216
234
'webtv','<a href="http://www.webtv.com/" title="WebTV home page [new window]" target="_blank">WebTV</a>',
217
 
'psp', '<a href="http://www.playstation.jp/psp/" title="Sony PlayStation Portable home page [new window]" target="_blank">Sony PlayStation Portable</a>',
 
235
'psp', '<a href="http://www.us.playstation.com/psp" title="Sony PlayStation Portable home page [new window]" target="_blank">Sony PlayStation Portable</a>',
 
236
'wii', '<a href="http://wii.opera.com/" title="Opera for Nintendo Wii home page [new window]" target="_blank">Nintendo Wii</a>'
218
237
);
219
238
 
220
239