~ubuntu-branches/ubuntu/edgy/awstats/edgy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard, Jonas Smedegaard, Charles Fry
  • Date: 2006-01-15 22:35:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060115223507-jtn0gtvack1n8qj2
Tags: 6.5-1
[ Jonas Smedegaard ]
* New upstream release.
  + Recognizes GNUTLS from lynx User-Agent header. Closes: #306130
    (thanks to Dmitry Baryshkov <mitya@school.ioffe.ru>).
  + Geoip shows countries for resolved hostnames. Closes: #317310
    (thanks to Administrator <azhrarn@underhanded.org>).
* Simplify watch file to better work with parser used at qa.d.o.
* Improve cdbs rules:
  + Use quilt (rather than cdbs-internal patch system).
  + Add and enable new local snippets copyright-check and auto-update.
  + Update local snippet buildinfo (fixing its namespace).
* Auto-update debian/control:
  + Tightened build-dependency on cdbs.
  + Added build-dependencies on patchutils and quilt.
* Package is now team-maintained:
  + New maintainer: Debian AWStats Team
    <pkg-awstats-devel@lists.alioth.debian.org>.
  + Add myself as uploader.

[ Charles Fry ]
* Use qa.debian.org SF redirector in watch file.
* Use Homepage instead of Website in debian/control, per DDR 6.2.4.
* Removed patches integrated upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# If you want to add MIME types,
4
4
# you must add an entry in MimeFamily and may be MimeHashLib
5
5
#-------------------------------------------------------
6
 
# $Revision: 1.20 $ - $Author: eldy $ - $Date: 2005/01/21 22:49:05 $
 
6
# $Revision: 1.22 $ - $Author: eldy $ - $Date: 2005/12/17 16:05:10 $
7
7
 
8
8
 
9
9
#package AWSMIME;
14
14
#---------------------------------------------------------------
15
15
%MimeHashLib = (
16
16
'text',      'Text file',
17
 
'page',      'HTML&nbsp;or&nbsp;XML&nbsp;static&nbsp;page',
18
 
'script',    'Dynamic&nbsp;Html&nbsp;page&nbsp;or&nbsp;Script&nbsp;file',
 
17
'page',      'HTML or XML static page',
 
18
'script',    'Dynamic Html page or Script file',
 
19
'pl',        'Dynamic Perl Script file',
 
20
'php',       'Dynamic PHP Script file',
19
21
'image',     'Image',
20
22
'document',  'Document',
21
23
'package',   'Package',
22
24
'archive',   'Archive',
23
 
'audio',     'Audio',
24
 
'video',     'Video',
25
 
'javascript','Javascript file',
 
25
'audio',     'Audio file',
 
26
'video',     'Video file',
 
27
'javascript','JavaScript file',
26
28
'vbs',       'Visual Basic script',
27
29
'conf',      'Config file',
28
30
'css',       'Cascading Style Sheet file',
29
 
'xsl',       'Extensible&nbsp;Stylesheet&nbsp;Language&nbsp;file',
30
 
'runtime',   'HTML&nbsp;dynamic&nbsp;page&nbsp;or&nbsp;Binary&nbsp;runtime',
 
31
'xsl',       'Extensible Stylesheet Language file',
 
32
'runtime',   'Binary runtime',
31
33
'library',   'Binary library',
32
34
'swf',       'Macromedia Flash Animation',
33
35
'dtd',       'Document Type Definition',
34
36
'csv',       'Comma Separated Value file',
35
37
'jnlp',      'Java Web Start launch file',
 
38
'lit',       'Microsoft Reader e-book',
 
39
'svg',       'Scalable Vector Graphics',
 
40
'ai',        'Adobe Illustrator file',
 
41
'phshop',    'Adobe Photoshop image file',
 
42
'ttf',       'TrueType scalable font file',
 
43
'fon',       'Font file',
 
44
'pdf',       'Adobe Acrobat file',
36
45
);
37
46
 
38
47
# MimeHashIcon
42
51
%MimeHashIcon = (
43
52
# Text file
44
53
'txt','text',
 
54
'log','text',
45
55
# HTML Static page
46
56
'html','html',
47
57
'htm','html',
48
58
'hdml','html',
49
59
'wml','html',
50
60
'wmlp','html',
 
61
'xhtml','html',
51
62
'xml','html',
 
63
'sgm','html',
 
64
'sgml','html',
52
65
# HTML Dynamic pages or script
53
66
'asp','script',
54
67
'aspx','script', 
57
70
'jsp','script',
58
71
'cgi','script',
59
72
'ksh','script',
60
 
'php','script',
61
 
'php3','script',
62
 
'php4','script',
63
 
'pl','script',
 
73
'php','php',
 
74
'php3','php',
 
75
'php4','php',
 
76
'pl','pl',
64
77
'py','script',
65
78
'sh','script',
66
79
'shtml','html',
72
85
'bmp','image',
73
86
'jpg','image',
74
87
'jpeg','image',
 
88
'cdr','image',
 
89
'ico','image',
 
90
'svg','svg',
 
91
'psd','phshop',
75
92
# Document
76
93
'doc','doc',
 
94
'wmz','doc',
 
95
'rtf','doc',
77
96
'pdf','pdf',
78
 
'xls','other',
79
 
'ppt','other',
80
 
'pps','other',
 
97
'xls','xls',
 
98
'ppt','ppt',
 
99
'pps','ppt',
81
100
'sxw','other',
82
101
'sxc','other',
83
102
'sxi','other',
84
103
'sxd','other',
85
104
'csv','other',
86
105
'xsl','html',
 
106
'lit','lit',
 
107
'ai','ai',
87
108
# Package
88
109
'rpm',($LogType eq 'S'?'audio':'archive'),
89
110
'deb','archive',
111
132
'mp4','video',
112
133
'mpeg','video',
113
134
'mpg','video',
114
 
'rm','video',
115
 
'swf','video',
 
135
'rm','real',
 
136
'swf','flash',
 
137
'wmv','video',
 
138
'mov','quicktime',
 
139
'qt','quicktime',
116
140
# Web scripts
117
 
'js','other',
118
 
'vbs','other',
 
141
'js','jscript',
 
142
'vbs','jscript',
119
143
# Config
120
144
'cf','other',
121
145
'conf','other',
126
150
'exe','script',
127
151
'dll','script',
128
152
'jnlp','jnlp',
 
153
# Fonts
 
154
'ttf','ttf',
 
155
'fon','fon',
129
156
);
130
157
 
131
158
 
132
159
%MimeHashFamily=(
133
160
# Text file
134
 
'txt','page',
 
161
'txt','text',
 
162
'log','text',
135
163
# HTML Static page
136
164
'html','page',
137
165
'htm','page',
138
166
'wml','page',
139
167
'wmlp','page',
 
168
'xhtml','page',
140
169
'xml','page',
 
170
'sgm','page',
 
171
'sgml','page',
141
172
# HTML Dynamic pages or script
142
173
'asp','script',
143
174
'aspx','script', 
146
177
'jsp','script',
147
178
'cgi','script',
148
179
'ksh','script',
149
 
'php','script',
150
 
'php3','script',
151
 
'php4','script',
152
 
'pl','script',
 
180
'php','php',
 
181
'php3','php',
 
182
'php4','php',
 
183
'pl','pl',
153
184
'py','script',
154
185
'sh','script',
155
186
'shtml','script',
161
192
'bmp','image',
162
193
'jpg','image',
163
194
'jpeg','image',
 
195
'cdr','image',
 
196
'ico','image',
 
197
'svg','svg',
 
198
'psd','phshop',
 
199
'ai','ai',
164
200
# Document
165
201
'doc','document',
166
 
'pdf','document',
 
202
'wmz','document',
 
203
'rtf','document',
 
204
'pdf','pdf',
167
205
'xls','document',
168
206
'ppt','document',
169
207
'pps','document',
173
211
'sxd','document',
174
212
'csv','csv',
175
213
'xsl','xsl',
 
214
'lit','lit',
176
215
# Package
177
216
'rpm',($LogType eq 'S'?'audio':'package'),
178
217
'deb','package',
202
241
'mpg','video',
203
242
'rm','video',
204
243
'swf','swf',
 
244
'wmv','video',
 
245
'mov','video',
 
246
'qt','video',
205
247
# Web scripts
206
248
'js','javascript',
207
249
'vbs','vbs',
215
257
'exe','runtime',
216
258
'jnlp','jnlp',
217
259
'dll','library',
 
260
# Font
 
261
'ttf','ttf',
 
262
'fon','fon',
218
263
);
219
264
 
220
265