Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Nov 2009 13:45:11 +0100
From:      Ralf van der Enden <tremere@cainites.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mnag@FreeBSD.org
Subject:   ports/140308: [PATCH] www/lighttpd: update to 1.4.24
Message-ID:  <E1N61iB-000Lro-PF@cainites.net>
Resent-Message-ID: <200911051250.nA5Co2Qc075210@freefall.freebsd.org>

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

>Number:         140308
>Category:       ports
>Synopsis:       [PATCH] www/lighttpd: update to 1.4.24
>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:   Thu Nov 05 12:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ralf van der Enden
>Release:        FreeBSD 7.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #5: Sat Oct  3 10:31:25 CEST
>Description:
- Update to 1.4.24

Added file(s):
- files/patch-src_mod_accesslog.c

Port maintainer (mnag@FreeBSD.org) is cc'd.

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

--- lighttpd-1.4.24.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/lighttpd.orig/Makefile /usr/ports/www/lighttpd/Makefile
--- /usr/ports/www/lighttpd.orig/Makefile	2009-08-02 21:36:01.000000000 +0200
+++ /usr/ports/www/lighttpd/Makefile	2009-11-03 14:18:12.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	lighttpd
-PORTVERSION=	1.4.23
+PORTVERSION=	1.4.24
 CATEGORIES=	www
 MASTER_SITES=	http://www.lighttpd.net/download/ \
 		http://mirrors.cat.pdx.edu/lighttpd/
@@ -123,6 +123,7 @@
 SUB_LIST+=		REQUIRE="${_REQUIRE}"
 
 post-patch:
+	@${TOUCH} ${WRKSRC}/ChangeLog
 	@${REINPLACE_CMD} -e 's|-std=gnu99||' ${WRKSRC}/configure ${WRKSRC}/configure.ac
 	@${REINPLACE_CMD} -E -e 's|(server.document-root.*=).*|\1 "${PREFIX}/www/data/"|' \
 		-e 's|(server.errorlog.*=).*|\1 "/var/log/lighttpd.error.log"|' \
diff -ruN --exclude=CVS /usr/ports/www/lighttpd.orig/distinfo /usr/ports/www/lighttpd/distinfo
--- /usr/ports/www/lighttpd.orig/distinfo	2009-06-28 07:07:13.000000000 +0200
+++ /usr/ports/www/lighttpd/distinfo	2009-11-03 13:33:42.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (lighttpd-1.4.23.tar.bz2) = 0ab6bb7b17bf0f515ce7dce68e5e215a
-SHA256 (lighttpd-1.4.23.tar.bz2) = 72896e6677b12aee2371c12e6d3f8299cfbdb2f89ad4b519a96b3ba80852a5fa
-SIZE (lighttpd-1.4.23.tar.bz2) = 641621
+MD5 (lighttpd-1.4.24.tar.bz2) = e2324a24e4a5bce74663c21c58ddd200
+SHA256 (lighttpd-1.4.24.tar.bz2) = 6e643dc4627d742510afee67654291a5190a316f5737dfb463b158a70f24750e
+SIZE (lighttpd-1.4.24.tar.bz2) = 622842
diff -ruN --exclude=CVS /usr/ports/www/lighttpd.orig/files/patch-src_mod_accesslog.c /usr/ports/www/lighttpd/files/patch-src_mod_accesslog.c
--- /usr/ports/www/lighttpd.orig/files/patch-src_mod_accesslog.c	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/www/lighttpd/files/patch-src_mod_accesslog.c	2009-11-03 14:17:51.000000000 +0100
@@ -0,0 +1,12 @@
+--- src/mod_accesslog.c.orig	2009-11-03 14:16:23.000000000 +0100
++++ src/mod_accesslog.c	2009-11-03 14:16:39.000000000 +0100
+@@ -162,7 +162,8 @@
+ 	if (str->used == 0) return;
+ 	buffer_prepare_append(dest, str->used - 1);
+ 
+-	for (unsigned int i = 0; i < str->used - 1; i++) {
++	unsigned int i;
++	for (i = 0; i < str->used - 1; i++) {
+ 		if (str->ptr[i] >= ' ' && str->ptr[i] <= '~') {
+ 			/* printable chars */
+ 			buffer_append_string_len(dest, &str->ptr[i], 1);
--- lighttpd-1.4.24.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?E1N61iB-000Lro-PF>