Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  6 Oct 2006 21:35:01 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, hendrik@scholz.net
Subject:   ports/104061: [PATCH] www/lighttpd: Crash patch (official)
Message-ID:  <20061006133501.086C5F9@netnews.NCTU.edu.tw>
Resent-Message-ID: <200610061340.k96DeH3G010111@freefall.freebsd.org>

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

>Number:         104061
>Category:       ports
>Synopsis:       [PATCH] www/lighttpd: Crash patch (official)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 06 13:40:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE-p8 FreeBSD 6.1-RELEASE-p8 #0: Fri Sep 29 03:41:50 CST 2006
>Description:
- lighttpd 1.4.12 will crash in some cases:

  http://blog.lighttpd.net/articles/2006/10/04/pre-release-lighttpd-1-4-13-r1370-tar-gz
  http://trac.lighttpd.net/trac/ticket/876
  http://trac.lighttpd.net/trac/changeset/1352

Port maintainer (hendrik@scholz.net) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- lighttpd-1.4.12_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/lighttpd/Makefile /home/staff/gslin/work/ports/lighttpd/Makefile
--- /usr/ports/www/lighttpd/Makefile	Wed Sep 27 03:25:51 2006
+++ /home/staff/gslin/work/ports/lighttpd/Makefile	Fri Oct  6 21:32:26 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	lighttpd
 PORTVERSION=	1.4.12
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://www.lighttpd.net/download/ \
 		http://mirrors.cat.pdx.edu/lighttpd/
@@ -72,7 +73,8 @@
 SUB_LIST+=		REQUIRE="${_REQUIRE}"
 
 post-patch:
-	@${REINPLACE_CMD} -E -e 's|-D_XOPEN_SOURCE=600||' ${WRKSRC}/configure.in
+	@${REINPLACE_CMD} -e 's|missing_chars \+ 1|missing_chars|' ${WRKSRC}/src/connections.c
+	@${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=600||' ${WRKSRC}/configure.in
 
 post-install:
 	@${INSTALL_DATA} ${FILESDIR}/lighttpd.conf.sample ${PREFIX}/etc
--- lighttpd-1.4.12_1.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?20061006133501.086C5F9>