Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  3 Jul 2000 00:25:18 +0200 (CEST)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19656: Update port: www/thttpd
Message-ID:  <20000702222518.B725557A3@totem.fix.no>

next in thread | raw e-mail | index | archive | help

>Number:         19656
>Category:       ports
>Synopsis:       Update port: www/thttpd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 02 15:30:04 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

FreeBSD eggsilo 4.0-STABLE FreeBSD 4.0-STABLE #0: Sat Jun 17 00:40:51 CEST
2000     root@eggsilo:/usr/src/sys/compile/EGGSILO  i386

>Description:

Updates the port to version 2.19.

Fixes:

- PLIST
- rc.d script (that didn't detach, thereby stopping the boot process)
- Some dirs/PLIST things

--- snip ---
New in version 2.19: 

-Added hack to prevent MSIE 5 from censoring error messages. 
-Minor fix to handling of shouldn't-happen error in ls(). 
-IPv6/Linux fix from Tero Pelander. 
-Documented the -D flag. 

New in version 2.18: 

-Fixed URL-encoding of high-bit characters - used in directory
listings. 
-Made a few more characters come through verbatim instead of
%-encoded. 
-Couple of minor code cleanups. 
-Added some MIME types to support WAP/WML. 
-IPv6 fix. 
-Made MIME text character-set an option, with iso-8859-1 the
default. 

New in version 2.17: 

-A change in the way wildcard matching works - now a single * only 
matches strings that don't include a slash. To match entire pathnames
including slashes you have to use **. 
-On systems with IPv6, automatically bind to both v4 and v6 sockets. 
Slight change to non-local referer checking to handle older browsers. 
-Tweaks to some of the error-403 syslog messages. 
-Portability tweak for OSF/1. 
-Portability tweak for IPv6 systems. 
-Fix for ssi.c from Marcel Telka. 
-Added charset=iso-8859-1 to text MIME types. 
-Added wildcards to redirect. 
-Changed symlinks/nosymlinks config options to symlink/nosymlink, to
conform to the man page (old style still accepted). 
---snip---

>How-To-Repeat:

	

>Fix:
	
diff -Nur thttpd.old/Makefile thttpd/Makefile
--- thttpd.old/Makefile	Thu Apr 13 22:40:40 2000
+++ thttpd/Makefile	Sun Jul  2 23:13:19 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	thttpd
-PORTVERSION= 	2.16
+PORTVERSION= 	2.19
 CATEGORIES=	www ipv6
 MASTER_SITES=	http://www.acme.com/software/thttpd/ \
 		http://www.freenix.no/~anders/
@@ -24,6 +24,8 @@
 	@${INSTALL_PROGRAM} ${WRKSRC}/thttpd ${PREFIX}/sbin/
 	@${INSTALL_MAN} ${WRKSRC}/thttpd.8 ${PREFIX}/man/man8
 	@${INSTALL} -d -o root -g wheel -m 0775 ${PREFIX}/www
+	@${INSTALL} -d -o root -g wheel -m 0775 ${PREFIX}/www/data
+	@${INSTALL} -d -o root -g wheel -m 0775 ${PREFIX}/www/logs
 	@${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/www/cgi-bin
 	@${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/redirect ${PREFIX}/www/cgi-bin/
 	@${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/ssi ${PREFIX}/www/cgi-bin/
@@ -54,7 +56,7 @@
 	@if [ ! -f ${PREFIX}/etc/rc.d/thttpd.sh ]; then \
 		${ECHO} "Installing ${PREFIX}/etc/rc.d/thttpd.sh startup file."; \
 		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/thttpd.sh; \
-		${ECHO} "[ -x ${PREFIX}/sbin/thttpd_wrapper ] && ${PREFIX}/sbin/thttpd_wrapper && ${ECHO} -n ' thttpd'" >> ${PREFIX}/etc/rc.d/thttpd.sh; \
+		${ECHO} "[ -x ${PREFIX}/sbin/thttpd_wrapper ] && ${PREFIX}/sbin/thttpd_wrapper & && ${ECHO} -n ' thttpd'" >> ${PREFIX}/etc/rc.d/thttpd.sh; \
 		${CHMOD} 751 ${PREFIX}/etc/rc.d/thttpd.sh; \
 	fi
 .if !defined(NOPORTDOCS)
diff -Nur thttpd.old/files/md5 thttpd/files/md5
--- thttpd.old/files/md5	Sat Mar 25 16:50:57 2000
+++ thttpd/files/md5	Sun Jul  2 23:14:45 2000
@@ -1,2 +1,2 @@
-MD5 (thttpd-2.16.tar.gz) = c095d3b8919cb386dfb5ee35dad2ad42
+MD5 (thttpd-2.19.tar.gz) = bc8893b2a3577df5d529056bef9a5fb2
 MD5 (notes.html) = c5fec04bcb3cfbb6c1d590c66441a3e7
diff -Nur thttpd.old/pkg/PLIST thttpd/pkg/PLIST
--- thttpd.old/pkg/PLIST	Sat Mar 25 16:50:57 2000
+++ thttpd/pkg/PLIST	Sun Jul  2 23:22:42 2000
@@ -5,8 +5,12 @@
 sbin/thttpd_wrapper
 etc/thttpd.conf.sample
 etc/rc.d/thttpd.sh
+share/doc/thttpd/notes.html
+@dirrm share/doc/thttpd
 www/cgi-bin/redirect
 www/cgi-bin/phf
 www/cgi-bin/ssi
 @dirrm www/cgi-bin
+@dirrm www/logs
+@dirrm www/data
 @dirrm www

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000702222518.B725557A3>