View | Details | Raw Unified | Return to bug 92078
Collapse All | Expand All

(-)lighttpd/Makefile (-5 / +2 lines)
Lines 6-17 Link Here
6
#
6
#
7
7
8
PORTNAME=	lighttpd
8
PORTNAME=	lighttpd
9
PORTVERSION=	1.4.8
9
PORTVERSION=	1.4.9
10
PORTREVISION=	1
11
CATEGORIES=	www
10
CATEGORIES=	www
12
MASTER_SITES=	http://www.lighttpd.net/download/ \
11
MASTER_SITES=	http://www.lighttpd.net/download/
13
		http://dl.fkb.wormulon.net/lighttpd/ \
14
		http://dl.kel.wormulon.net/lighttpd/
15
12
16
MAINTAINER=	hendrik@scholz.net
13
MAINTAINER=	hendrik@scholz.net
17
COMMENT=	A secure, fast, compliant, and very flexible Web Server
14
COMMENT=	A secure, fast, compliant, and very flexible Web Server
(-)lighttpd/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (lighttpd-1.4.8.tar.gz) = 7d7790ef95ff5755f73bfcda4f13696d
1
MD5 (lighttpd-1.4.9.tar.gz) = 20a171774a0615069de3704db52483aa
2
SHA256 (lighttpd-1.4.8.tar.gz) = f3115cb4b9f9805c9a9e7d6cdc97512adaaebde01a84122fcbd1c0ca16bc2d69
2
SHA256 (lighttpd-1.4.9.tar.gz) = 7603b5eb204a84f654c66e5582197e4810df71175a3be11ecfc8675307d043a9
3
SIZE (lighttpd-1.4.8.tar.gz) = 769111
3
SIZE (lighttpd-1.4.9.tar.gz) = 775524
(-)lighttpd/files/lighttpd.conf.sample (-12 / +63 lines)
Lines 1-6 Link Here
1
# lighttpd configuration file
1
# lighttpd configuration file
2
#
2
#
3
# use a it as base for lighttpd 1.0.0 and above
3
# use it as a base for lighttpd 1.0.0 and above
4
#
4
#
5
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
5
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
6
6
Lines 16-21 Link Here
16
#                               "mod_redirect",
16
#                               "mod_redirect",
17
#                               "mod_alias",
17
#                               "mod_alias",
18
                                "mod_access",
18
                                "mod_access",
19
#                               "mod_cml",
20
#                               "mod_trigger_b4_dl",
19
#                               "mod_auth",
21
#                               "mod_auth",
20
#                               "mod_status",
22
#                               "mod_status",
21
#                               "mod_setenv",
23
#                               "mod_setenv",
Lines 41-53 Link Here
41
server.errorlog             = "/var/log/lighttpd.error.log"
43
server.errorlog             = "/var/log/lighttpd.error.log"
42
44
43
# files to check for if .../ is requested
45
# files to check for if .../ is requested
44
server.indexfiles           = ( "index.php", "index.html",
46
index-file.names            = ( "index.php", "index.html",
45
                                "index.htm", "default.htm" )
47
                                "index.htm", "default.htm" )
46
48
47
# set the event-handler (read the performance section in the manual)
49
## set the event-handler (read the performance section in the manual)
48
server.event-handler = "freebsd-kqueue" # needed on OS X
50
server.event-handler = "freebsd-kqueue" # needed on OS X
49
51
50
51
# mimetype mapping
52
# mimetype mapping
52
mimetype.assign             = (
53
mimetype.assign             = (
53
  ".pdf"          =>      "application/pdf",
54
  ".pdf"          =>      "application/pdf",
Lines 68-74 Link Here
68
  ".m3u"          =>      "audio/x-mpegurl",
69
  ".m3u"          =>      "audio/x-mpegurl",
69
  ".wma"          =>      "audio/x-ms-wma",
70
  ".wma"          =>      "audio/x-ms-wma",
70
  ".wax"          =>      "audio/x-ms-wax",
71
  ".wax"          =>      "audio/x-ms-wax",
71
  ".ogg"          =>      "audio/x-wav",
72
  ".ogg"          =>      "application/ogg",
72
  ".wav"          =>      "audio/x-wav",
73
  ".wav"          =>      "audio/x-wav",
73
  ".gif"          =>      "image/gif",
74
  ".gif"          =>      "image/gif",
74
  ".jpg"          =>      "image/jpeg",
75
  ".jpg"          =>      "image/jpeg",
Lines 83-88 Link Here
83
  ".js"           =>      "text/javascript",
84
  ".js"           =>      "text/javascript",
84
  ".asc"          =>      "text/plain",
85
  ".asc"          =>      "text/plain",
85
  ".c"            =>      "text/plain",
86
  ".c"            =>      "text/plain",
87
  ".cpp"          =>      "text/plain",
88
  ".log"          =>      "text/plain",
86
  ".conf"         =>      "text/plain",
89
  ".conf"         =>      "text/plain",
87
  ".text"         =>      "text/plain",
90
  ".text"         =>      "text/plain",
88
  ".txt"          =>      "text/plain",
91
  ".txt"          =>      "text/plain",
Lines 102-113 Link Here
102
 )
105
 )
103
106
104
# Use the "Content-Type" extended attribute to obtain mime type if possible
107
# Use the "Content-Type" extended attribute to obtain mime type if possible
105
#mimetypes.use-xattr        = "enable"
108
#mimetype.use-xattr        = "enable"
106
109
107
110
108
## send a different Server: header
111
## send a different Server: header
109
## be nice and keep it at lighttpd
112
## be nice and keep it at lighttpd
110
#server.tag                 = "lighttpd"
113
# server.tag                 = "lighttpd"
111
114
112
#### accesslog module
115
#### accesslog module
113
accesslog.filename          = "/var/log/lighttpd.access.log"
116
accesslog.filename          = "/var/log/lighttpd.access.log"
Lines 119-125 Link Here
119
#      of the document-root
122
#      of the document-root
120
url.access-deny             = ( "~", ".inc" )
123
url.access-deny             = ( "~", ".inc" )
121
124
125
$HTTP["url"] =~ "\.pdf$" {
126
  server.range-requests = "disable"
127
}
122
128
129
##
130
# which extensions should not be handle via static-file transfer
131
#
132
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
133
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
123
134
124
######### Options that are good to be but not neccesary to be changed #######
135
######### Options that are good to be but not neccesary to be changed #######
125
136
Lines 158-164 Link Here
158
#server.errorfile-prefix    = "/home/weigon/projects/lighttpd/doc/status-"
169
#server.errorfile-prefix    = "/home/weigon/projects/lighttpd/doc/status-"
159
170
160
## virtual directory listings
171
## virtual directory listings
161
#server.dir-listing         = "enable"
172
#dir-listing.activate       = "enable"
162
173
163
## enable debugging
174
## enable debugging
164
#debug.log-request-header   = "enable"
175
#debug.log-request-header   = "enable"
Lines 217-223 Link Here
217
#status.config-url          = "/server-config"
228
#status.config-url          = "/server-config"
218
229
219
#### auth module
230
#### auth module
220
## read authentification.txt for more info
231
## read authentication.txt for more info
221
#auth.backend               = "plain"
232
#auth.backend               = "plain"
222
#auth.backend.plain.userfile = "lighttpd.user"
233
#auth.backend.plain.userfile = "lighttpd.user"
223
#auth.backend.plain.groupfile = "lighttpd.group"
234
#auth.backend.plain.groupfile = "lighttpd.group"
Lines 230-248 Link Here
230
#                               (
241
#                               (
231
#                                 "method"  => "digest",
242
#                                 "method"  => "digest",
232
#                                 "realm"   => "download archiv",
243
#                                 "realm"   => "download archiv",
233
#                                 "require" => "group=www|user=jan|host=192.168.2.10"
244
#                                 "require" => "user=jan"
234
#                               ),
245
#                               ),
235
#                               "/server-info" =>
246
#                               "/server-config" =>
236
#                               (
247
#                               (
237
#                                 "method"  => "digest",
248
#                                 "method"  => "digest",
238
#                                 "realm"   => "download archiv",
249
#                                 "realm"   => "download archiv",
239
#                                 "require" => "group=www|user=jan|host=192.168.2.10"
250
#                                 "require" => "valid-user"
240
#                               )
251
#                               )
241
#                             )
252
#                             )
242
253
243
#### url handling modules (rewrite, redirect, access)
254
#### url handling modules (rewrite, redirect, access)
244
#url.rewrite                = ( "^/$"             => "/server-status" )
255
#url.rewrite                = ( "^/$"             => "/server-status" )
245
#url.redirect               = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
256
#url.redirect               = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
257
#### both rewrite/redirect support back reference to regex conditional using %n
258
#$HTTP["host"] =~ "^www\.(.*)" {
259
#  url.redirect            = ( "^/(.*)" => "http://%1/$1" )
260
#}
246
261
247
#
262
#
248
# define a pattern for the host url finding
263
# define a pattern for the host url finding
Lines 268-270 Link Here
268
#### setenv
283
#### setenv
269
#setenv.add-request-header  = ( "TRAV_ENV" => "mysql://user@host/db" )
284
#setenv.add-request-header  = ( "TRAV_ENV" => "mysql://user@host/db" )
270
#setenv.add-response-header = ( "X-Secret-Message" => "42" )
285
#setenv.add-response-header = ( "X-Secret-Message" => "42" )
286
287
## for mod_trigger_b4_dl
288
# trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db"
289
# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
290
# trigger-before-download.trigger-url = "^/trigger/"
291
# trigger-before-download.download-url = "^/download/"
292
# trigger-before-download.deny-url = "http://127.0.0.1/index.html"
293
# trigger-before-download.trigger-timeout = 10
294
295
## for mod_cml
296
## don't forget to add index.cml to server.indexfiles
297
# cml.extension               = ".cml"
298
# cml.memcache-hosts          = ( "127.0.0.1:11211" )
299
300
#### variable usage:
301
## variable name without "." is auto prefixed by "var." and becomes "var.bar"
302
#bar = 1
303
#var.mystring = "foo"
304
305
## integer add
306
#bar += 1
307
## string concat, with integer cast as string, result: "www.foo1.com"
308
#server.name = "www." + mystring + var.bar + ".com"
309
## array merge
310
#index-file.names = (foo + ".php") + index-file.names
311
#index-file.names += (foo + ".php")
312
313
#### include
314
#include /etc/lighttpd/lighttpd-inc.conf
315
## same as above if you run: "lighttpd -f /etc/lighttpd/lighttpd.conf"
316
#include "lighttpd-inc.conf"
317
318
#### include_shell
319
#include_shell "echo var.a=1"
320
## the above is same as:
321
#var.a=1
(-)lighttpd/pkg-plist (+1 lines)
Lines 11-16 Link Here
11
lib/lighttpd/mod_cml.so
11
lib/lighttpd/mod_cml.so
12
lib/lighttpd/mod_compress.so
12
lib/lighttpd/mod_compress.so
13
lib/lighttpd/mod_dirlisting.so
13
lib/lighttpd/mod_dirlisting.so
14
lib/lighttpd/mod_evasive.so
14
lib/lighttpd/mod_evhost.so
15
lib/lighttpd/mod_evhost.so
15
lib/lighttpd/mod_expire.so
16
lib/lighttpd/mod_expire.so
16
lib/lighttpd/mod_fastcgi.so
17
lib/lighttpd/mod_fastcgi.so

Return to bug 92078