Upgrade to 1.3.5.

Approved by:	maintainer
This commit is contained in:
Vanilla I. Shu 2004-11-01 08:54:19 +00:00
parent ae8001764f
commit 1729fec4bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120573
5 changed files with 81 additions and 72 deletions

View file

@ -6,15 +6,10 @@
#
PORTNAME= lighttpd
PORTVERSION= 1.2.7
PORTREVISION= 1
PORTVERSION= 1.3.5
CATEGORIES= www
MASTER_SITES= http://jan.kneschke.de/projects/lighttpd/download/
PATCH_SITES= http://jan.kneschke.de/projects/lighttpd/download/
PATCHFILES= lighttpd-1.2.7-cond.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= k@123.org
COMMENT= A secure, fast, compliant, and very flexible Web Server

View file

@ -1,4 +1,2 @@
MD5 (lighttpd-1.2.7.tar.gz) = 0139b1ec4514089e9ca11dc3072529ab
SIZE (lighttpd-1.2.7.tar.gz) = 607311
MD5 (lighttpd-1.2.7-cond.patch) = 79a9106136b2bc7c20a09d6fed135625
SIZE (lighttpd-1.2.7-cond.patch) = 1212
MD5 (lighttpd-1.3.5.tar.gz) = 15afeba95fa157e3bdedd9a1a22358a0
SIZE (lighttpd-1.3.5.tar.gz) = 628719

View file

@ -2,7 +2,7 @@
#
# use a it as base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.5 2004/08/01 07:01:29 weigon Exp $
# $Id: lighttpd.conf,v 1.6 2004/08/29 09:44:53 weigon Exp $
############ Options you really have to take care of ####################
@ -24,6 +24,7 @@ server.modules = (
# "mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_rrdtool",
"mod_accesslog" )
## a static document-root, for virtual-hosting take look at the
@ -38,50 +39,58 @@ server.indexfiles = ( "index.php", "index.html",
"index.htm", "default.htm" )
# mimetype mapping
mimetype.assign = ( ".png" => "image/png",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".gif" => "image/gif",
".html" => "text/html",
".htm" => "text/html",
".pdf" => "application/pdf",
".swf" => "application/x-shockwave-flash",
".spl" => "application/futuresplash",
".txt" => "text/plain",
".tar.gz" => "application/x-tgz",
".tgz" => "application/x-tgz",
".gz" => "application/x-gzip",
".c" => "text/plain",
".conf" => "text/plain",
".css" => "text/css",
".js" => "text/javascript",
".asc" => "text/plain",
".dvi" => "application/x-dvi" ,
".ps" => "application/postscript" ,
".gif" => "image/gif" ,
".mpeg" => "video/mpeg" ,
".mpg" => "video/mpeg" ,
".avi" => "video/x-msvideo" ,
".mov" => "video/quicktime" ,
".qt" => "video/quicktime" ,
".mp3" => "audio/mpeg" ,
".ogg" => "audio/x-wav" ,
".wav" => "audio/x-wav" ,
".pac" => "application/x-ns-proxy-autoconfig" ,
".sig" => "application/pgp-signature" ,
".torrent" => "application/x-bittorrent" ,
".class" => "application/octet-stream" ,
".tar" => "application/x-tar" ,
".zip" => "application/zip" ,
".dtd" => "text/xml" ,
".xml" => "text/xml" ,
".xbm" => "image/x-xbitmap" ,
".xpm" => "image/x-xpixmap" ,
".xwd" => "image/x-xwindowdump" ,
".text" => "text/plain" ,
".m3u" => "audio/x-mpegurl"
mimetype.assign = (
".pdf" => "application/pdf",
".sig" => "application/pgp-signature",
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".tar.gz" => "application/x-tgz",
".tgz" => "application/x-tgz",
".tar" => "application/x-tar",
".zip" => "application/zip",
".mp3" => "audio/mpeg",
".m3u" => "audio/x-mpegurl",
".wma" => "audio/x-ms-wma",
".wax" => "audio/x-ms-wax",
".ogg" => "audio/x-wav",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".xbm" => "image/x-xbitmap",
".xpm" => "image/x-xpixmap",
".xwd" => "image/x-xwindowdump",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".asc" => "text/plain",
".c" => "text/plain",
".conf" => "text/plain",
".text" => "text/plain",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml",
".mpeg" => "video/mpeg",
".mpg" => "video/mpeg",
".mov" => "video/quicktime",
".qt" => "video/quicktime",
".avi" => "video/x-msvideo",
".asf" => "video/x-ms-asf",
".asx" => "video/x-ms-asf",
".wmv" => "video/x-ms-wmv"
)
# Use the "Content-Type" extended attribute to obtain mime type if possible
# mimetypes.use-xattr = "enable"
#### accesslog module
accesslog.filename = "/var/log/lighttpd.access.log"
@ -102,6 +111,10 @@ url.access-deny = ( "~", ".inc" )
## bind to localhost (default: all interfaces)
#server.bind = "grisu.home.kneschke.de"
## error-handler for status 404
#server.error-handler-404 = "/error-handler.html"
#server.error-handler-404 = "/error-handler.php"
###### virtual hosts
##
@ -139,7 +152,6 @@ server.username = "www"
## change uid to <uid> (default: don't care)
server.groupname = "www"
server.pid-file = "/var/run/lighttpd.pid"
#### compress module
#compress.cache-dir = "/tmp/lighttpd/cache/compress/"
#compress.filetype = ("text/plain", "text/html")
@ -165,20 +177,20 @@ server.pid-file = "/var/run/lighttpd.pid"
#ssl.pemfile = "server.pem"
#### status module
#status.rrd-reports = "enable"
#status.rrd-dir = "/home/weigon/wwwroot/logs/"
# status.status-url = "/server-status"
# status.config-url = "/server-config"
#### auth module
## read authentification.txt for more info
#auth.backend = "plain"
#auth.backend.plain.userfile = "lighttpd.user"
#auth.backend.plain.groupfile = "lighttpd.group"
# auth.backend = "plain"
# auth.backend.plain.userfile = "lighttpd.user"
# auth.backend.plain.groupfile = "lighttpd.group"
#auth.backend.ldap.hostname = "localhost"
#auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
#auth.backend.ldap.filter = "(uid=$)"
# auth.backend.ldap.hostname = "localhost"
# auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
# auth.backend.ldap.filter = "(uid=$)"
#auth.require = ( "/server-status" =>
# auth.require = ( "/server-status" =>
# (
# "method" => "digest",
# "realm" => "download archiv",
@ -193,8 +205,8 @@ server.pid-file = "/var/run/lighttpd.pid"
# )
#### url handling modules (rewrite, redirect, access)
#url.rewrite = ( "^/$" => "/server-status" )
#url.redirect = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
# url.rewrite = ( "^/$" => "/server-status" )
# url.redirect = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
#
# define a pattern for the host url finding
@ -208,7 +220,11 @@ server.pid-file = "/var/run/lighttpd.pid"
# evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/"
#### expire module
#expire.url = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")
# expire.url = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")
#### ssi
# ssi.extension = ( ".shtml" )
#### rrdtool
# rrdtool.binary = "/usr/bin/rrdtool"
# rrdtool.db-name = "/var/www/lighttpd.rrd"

View file

@ -1,6 +1,6 @@
--- src/Makefile.in.orig Tue Mar 23 18:30:12 2004
+++ src/Makefile.in Wed Mar 24 05:25:13 2004
@@ -57,7 +57,7 @@
--- src/Makefile.in.orig Fri Oct 1 03:47:40 2004
+++ src/Makefile.in Fri Oct 1 17:05:04 2004
@@ -65,7 +65,7 @@
#hdr += chat.h chat_misc.h chat_endec.h chat_user.h \
# chat_channel.h
@ -9,7 +9,7 @@
DEPDIR = @DEPDIR@
DL_LIB = @DL_LIB@
ECHO = @ECHO@
@@ -373,12 +373,12 @@
@@ -599,12 +599,12 @@
libLTLIBRARIES_INSTALL = $(INSTALL)
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)

View file

@ -2,14 +2,13 @@ etc/lighttpd.conf.sample
etc/rc.d/lighttpd.sh
lib/lighttpd/mod_access.so
lib/lighttpd/mod_accesslog.so
lib/lighttpd/mod_alias.so
lib/lighttpd/mod_auth.so
lib/lighttpd/mod_cgi.so
lib/lighttpd/mod_compress.so
lib/lighttpd/mod_evhost.so
lib/lighttpd/mod_expire.so
lib/lighttpd/mod_fastcgi.so
lib/lighttpd/mod_httptls.so
lib/lighttpd/mod_maps.so
lib/lighttpd/mod_proxy.so
lib/lighttpd/mod_redirect.so
lib/lighttpd/mod_rewrite.so
@ -18,6 +17,7 @@ lib/lighttpd/mod_secdownload.so
lib/lighttpd/mod_simple_vhost.so
lib/lighttpd/mod_ssi.so
lib/lighttpd/mod_status.so
lib/lighttpd/mod_userdir.so
lib/lighttpd/mod_usertrack.so
sbin/lighttpd
@dirrm lib/lighttpd