ports/104061: [PATCH] www/lighttpd: Crash patch (official)

Gea-Suan Lin gslin at gslin.org
Fri Oct 6 13:40:29 UTC 2006


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



More information about the freebsd-ports-bugs mailing list