ports/60768: [update] mini_httpd 1.18 -> 1.19

Matt Peterson matt at peterson.org
Wed Dec 31 20:50:18 UTC 2003


>Number:         60768
>Category:       ports
>Synopsis:       [update] mini_httpd 1.18 -> 1.19
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 31 12:50:13 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matt Peterson
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
>Description:

Upgrade of port to latest stable version, changelog for this update below:

    *  Prohibit "Host: ." and "Host: .." (David Leadbeater).
    * Use the specified charset in directory listings and errors (Jonas Ohlsson).
    * Close and re-open the log file on SIGHUP. This includes code to chown the log file when starting up as root so that after switching uids to nobody (or whatever user you configure) it can still be re-opened. And there's also code to tweak the logfile pathname after a chroot so that it still works.
    * Generate multiple MIME encodings in the correct order, and with the correct separator.
    * Re-wrote the read() and write() loops to handle EINTR and EAGAIN.
    * Save and restore errno in signal handlers.
    * Corrected possible buffer overflow in building CGI environment (Bernhard Reiter).
    * Simplified handling of HAVE_INT64T (Trisk). If this causes problems, e.g. if there are still systems which don't have "long long", we can back out the change.
    * Automatically add no-cache control header on error responses. 

>How-To-Repeat:
>Fix:

diff -ur mini_httpd.old/Makefile mini_httpd/Makefile
--- mini_httpd.old/Makefile	Sun Nov 30 14:58:25 2003
+++ mini_httpd/Makefile	Wed Dec 31 12:23:49 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mini_httpd
-PORTVERSION=	1.18
+PORTVERSION=	1.19
 CATEGORIES=	www
 MASTER_SITES=	http://www.acme.com/software/mini_httpd/
 DISTNAME=	${PORTNAME}-${PORTVERSION}
diff -ur mini_httpd.old/distinfo mini_httpd/distinfo
--- mini_httpd.old/distinfo	Sun Nov 30 14:58:25 2003
+++ mini_httpd/distinfo	Wed Dec 31 12:24:02 2003
@@ -1,2 +1 @@
-MD5 (mini_httpd-1.18.tar.gz) = 7b98c81f7d8f4fd0924f37ad3c95c936
-SIZE (mini_httpd-1.18.tar.gz) = 41044
+MD5 (mini_httpd-1.19.tar.gz) = 792a529dfe974355aad8ba6c80e54e7a
>Release-Note:
>Audit-Trail:
>Unformatted:
 



More information about the freebsd-ports-bugs mailing list