Bug 140316 - [PATCH] www/lighttpd: update to 1.4.24
Summary: [PATCH] www/lighttpd: update to 1.4.24
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-05 15:30 UTC by Renato Botelho
Modified: 2009-11-09 10:30 UTC (History)
1 user (show)

See Also:


Attachments
lighttpd-1.4.24.patch (2.25 KB, patch)
2009-11-05 15:30 UTC, Renato Botelho
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Botelho freebsd_committer freebsd_triage 2009-11-05 15:30:05 UTC
- 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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-11-05 15:30:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2009-11-05 19:15:47 UTC
Following patch is better than first since i noted lighttpd doesn't depend
of all autotools stuff, just libtool:22 is enough.

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.74
diff -u -r1.74 Makefile
--- Makefile	2 Aug 2009 19:36:01 -0000	1.74
+++ Makefile	5 Nov 2009 19:13:27 -0000
@@ -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/
@@ -17,8 +17,7 @@
 LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
 
 USE_BZIP2=	yes
-USE_AUTOTOOLS=	aclocal:110 autoconf:262 autoheader:262 automake:110 libtool:22
-ACLOCAL_ARGS=	--force
+USE_AUTOTOOLS=	libtool:22
 GNU_CONFIGURE=	yes
 USE_GNOME=	lthack pkgconfig
 USE_RC_SUBR=	lighttpd.sh
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/lighttpd/distinfo,v
retrieving revision 1.38
diff -u -r1.38 distinfo
--- distinfo	28 Jun 2009 05:07:13 -0000	1.38
+++ distinfo	5 Nov 2009 19:13:27 -0000
@@ -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
Index: files/patch-src_mod_accesslog.c
===================================================================
RCS file: files/patch-src_mod_accesslog.c
diff -N files/patch-src_mod_accesslog.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src_mod_accesslog.c	5 Nov 2009 19:13:27 -0000
@@ -0,0 +1,13 @@
+--- src/mod_accesslog.c.orig	2009-11-05 12:40:58.000000000 -0200
++++ src/mod_accesslog.c	2009-11-05 12:41:17.000000000 -0200
+@@ -162,7 +162,9 @@
+ 	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);

-- 
Renato Botelho <garga @ FreeBSD.org>
               <garga @ freebsdbrasil.com.br>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

There is not much to choose between a woman who deceives
us for another, and a woman who deceives another for ourselves.
		-- Augier
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-11-09 10:24:32 UTC
garga       2009-11-09 10:24:23 UTC

  FreeBSD ports repository

  Modified files:
    www/lighttpd         Makefile distinfo 
  Added files:
    www/lighttpd/files   patch-src_mod_accesslog.c 
  Log:
  Update to 1.4.24
  
  PR:             ports/140316
  Approved by:    maintainer by email
  
  Revision  Changes    Path
  1.75      +2 -3      ports/www/lighttpd/Makefile
  1.39      +3 -3      ports/www/lighttpd/distinfo
  1.1       +13 -0     ports/www/lighttpd/files/patch-src_mod_accesslog.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Renato Botelho freebsd_committer freebsd_triage 2009-11-09 10:24:46 UTC
State Changed
From-To: open->closed

Committed. Thanks!