From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 20 23:00:38 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C105416A4CE for ; Sun, 20 Feb 2005 23:00:38 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82A3643D53 for ; Sun, 20 Feb 2005 23:00:38 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1KN0c45005374 for ; Sun, 20 Feb 2005 23:00:38 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1KN0cUr005373; Sun, 20 Feb 2005 23:00:38 GMT (envelope-from gnats) Resent-Date: Sun, 20 Feb 2005 23:00:38 GMT Resent-Message-Id: <200502202300.j1KN0cUr005373@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rui Lopes Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CC6716A4CE for ; Sun, 20 Feb 2005 23:00:28 +0000 (GMT) Received: from firebird.clustercube.com (firebird.clustercube.com [72.21.32.50]) by mx1.FreeBSD.org (Postfix) with SMTP id 5FF4043D1F for ; Sun, 20 Feb 2005 23:00:27 +0000 (GMT) (envelope-from root@firebird.clustercube.com) Received: (qmail 13187 invoked from network); 20 Feb 2005 23:00:27 -0000 Received: from owl.clustercube.com (72.21.32.52) by 127.0.0.2 with QMQP; 20 Feb 2005 23:00:27 -0000 Message-Id: <20050220230026.13183.qmail@owl.clustercube.com> Date: 20 Feb 2005 23:00:26 -0000 From: Rui Lopes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: hendrik@scholz.net Subject: ports/77811: Update port: www/lighttpd to 1.3.11 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Rui Lopes List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 23:00:39 -0000 >Number: 77811 >Category: ports >Synopsis: Update port: www/lighttpd to 1.3.11 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Feb 20 23:00:37 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Rui Lopes >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: >Description: Update www/lighttpd from 1.3.10 to 1.3.11. >How-To-Repeat: >Fix: --- lighttpd-update-1.3.11.patch begins here --- diff -ruN lighttpd.orig/Makefile lighttpd/Makefile --- lighttpd.orig/Makefile Sun Feb 20 22:26:06 2005 +++ lighttpd/Makefile Sun Feb 20 22:26:30 2005 @@ -6,8 +6,7 @@ # PORTNAME= lighttpd -PORTVERSION= 1.3.10 -PORTREVISION= 1 +PORTVERSION= 1.3.11 CATEGORIES= www MASTER_SITES= http://www.lighttpd.net/download/ \ http://dl.fkb.wormulon.net/lighttpd/ \ diff -ruN lighttpd.orig/distinfo lighttpd/distinfo --- lighttpd.orig/distinfo Sun Feb 20 22:26:06 2005 +++ lighttpd/distinfo Sun Feb 20 22:27:49 2005 @@ -1,2 +1,2 @@ -MD5 (lighttpd-1.3.10.tar.gz) = 28623eff50653a9b104ddb20fe65aaf1 -SIZE (lighttpd-1.3.10.tar.gz) = 667324 +MD5 (lighttpd-1.3.11.tar.gz) = 730c9b9d743360d23e523968ab4fe7c5 +SIZE (lighttpd-1.3.11.tar.gz) = 670438 diff -ruN lighttpd.orig/files/patch-src::cgi.c lighttpd/files/patch-src::cgi.c --- lighttpd.orig/files/patch-src::cgi.c Sun Feb 20 22:26:06 2005 +++ lighttpd/files/patch-src::cgi.c Thu Jan 1 01:00:00 1970 @@ -1,29 +0,0 @@ ---- ./src/cgi.c~ 2005-02-08 00:08:01.000000000 +0200 -+++ ./src/cgi.c 2005-02-08 00:13:02.000000000 +0200 -@@ -686,16 +686,18 @@ - - int to_cgi_fds[2]; - int from_cgi_fds[2]; -- struct stat st; -- -+ - #ifndef __WIN32 -+ struct stat st; - -- /* stat the exec file */ -- if (-1 == (stat(cgi_handler->ptr, &st))) { -- log_error_write(srv, __FILE__, __LINE__, "sbss", -- "stat for cgi-handler", cgi_handler, -- "failed:", strerror(errno)); -- return -1; -+ if (cgi_handler->used > 1) { -+ /* stat the exec file */ -+ if (-1 == (stat(cgi_handler->ptr, &st))) { -+ log_error_write(srv, __FILE__, __LINE__, "sbss", -+ "stat for cgi-handler", cgi_handler, -+ "failed:", strerror(errno)); -+ return -1; -+ } - } - - if (pipe(to_cgi_fds)) { diff -ruN lighttpd.orig/files/patch-src::mod_cgi.c lighttpd/files/patch-src::mod_cgi.c --- lighttpd.orig/files/patch-src::mod_cgi.c Thu Jan 1 01:00:00 1970 +++ lighttpd/files/patch-src::mod_cgi.c Sun Feb 20 22:51:32 2005 @@ -0,0 +1,23 @@ +--- src/mod_cgi.c (revision 34) ++++ src/mod_cgi.c (revision 35) +@@ -690,12 +690,14 @@ + + #ifndef __WIN32 + +- /* stat the exec file */ +- if (-1 == (stat(cgi_handler->ptr, &st))) { +- log_error_write(srv, __FILE__, __LINE__, "sbss", +- "stat for cgi-handler", cgi_handler, +- "failed:", strerror(errno)); +- return -1; ++ if (cgi_handler->used > 1) { ++ /* stat the exec file */ ++ if (-1 == (stat(cgi_handler->ptr, &st))) { ++ log_error_write(srv, __FILE__, __LINE__, "sbss", ++ "stat for cgi-handler", cgi_handler, ++ "failed:", strerror(errno)); ++ return -1; ++ } + } + + if (pipe(to_cgi_fds)) { --- lighttpd-update-1.3.11.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: