Skip site navigation (1)Skip section navigation (2)
Date:      20 Feb 2005 23:00:26 -0000
From:      Rui Lopes <rui@ruilopes.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hendrik@scholz.net
Subject:   ports/77811: Update port: www/lighttpd to 1.3.11
Message-ID:  <20050220230026.13183.qmail@owl.clustercube.com>
Resent-Message-ID: <200502202300.j1KN0cUr005373@freefall.freebsd.org>

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

>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:



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