ports/135852: [PATCH] www/lighttpd: update to 1.4.23

Sylvio Cesar scjamorim at bsd.com.br
Sat Jun 20 04:30:08 UTC 2009


>Number:         135852
>Category:       ports
>Synopsis:       [PATCH] www/lighttpd: update to 1.4.23
>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:   Sat Jun 20 04:30:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD freecontrib.vida.br 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC
>Description:
- Update to 1.4.23

Removed file(s):
- files/patch-doc_Makefile.in
- files/patch-src_Makefile.in
- files/patch-src__stat_cache.c

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

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

--- lighttpd-1.4.23_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.71
diff -u -u -r1.71 Makefile
--- Makefile	6 Jun 2009 23:09:27 -0000	1.71
+++ Makefile	20 Jun 2009 04:23:46 -0000
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	lighttpd
-PORTVERSION=	1.4.22
-PORTREVISION=	2
+PORTVERSION=	1.4.23
+PORTREVISION=	3
 CATEGORIES=	www
 MASTER_SITES=	http://www.lighttpd.net/download/ \
 		http://mirrors.cat.pdx.edu/lighttpd/
@@ -27,7 +27,7 @@
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAN1=		lighttpd.1
+MAN8=		lighttpd.8
 
 OPTIONS=	BZIP2		"Enable Bzip2 support" off \
 		CML		"Enable Cache Meta Language support" off \
@@ -123,7 +123,6 @@
 SUB_LIST+=		REQUIRE="${_REQUIRE}"
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-std=gnu99||' ${WRKSRC}/configure.in
 	@${REINPLACE_CMD} -E -e 's|(server.document-root.*=).*|\1 "${PREFIX}/www/data/"|' \
 		-e 's|(server.errorlog.*=).*|\1 "/var/log/lighttpd.error.log"|' \
 		-e 's|# server.event-handler|server.event-handler|' \
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/lighttpd/distinfo,v
retrieving revision 1.37
diff -u -u -r1.37 distinfo
--- distinfo	21 Mar 2009 22:22:43 -0000	1.37
+++ distinfo	20 Jun 2009 04:23:46 -0000
@@ -1,3 +1,3 @@
-MD5 (lighttpd-1.4.22.tar.bz2) = ed4ca3897eadf419c893b03fee53c982
-SHA256 (lighttpd-1.4.22.tar.bz2) = 6d217dd47fbbf431ee37aa6f12604411204be1fb37bc2a70e14d15dab507c451
-SIZE (lighttpd-1.4.22.tar.bz2) = 657939
+MD5 (lighttpd-1.4.23.tar.bz2) = 0ab6bb7b17bf0f515ce7dce68e5e215a
+SHA256 (lighttpd-1.4.23.tar.bz2) = 72896e6677b12aee2371c12e6d3f8299cfbdb2f89ad4b519a96b3ba80852a5fa
+SIZE (lighttpd-1.4.23.tar.bz2) = 641621
Index: files/patch-doc_Makefile.in
===================================================================
RCS file: files/patch-doc_Makefile.in
diff -N files/patch-doc_Makefile.in
--- files/patch-doc_Makefile.in	25 Apr 2009 04:17:04 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- doc/Makefile.in.orig	2009-04-25 00:55:41.000000000 -0300
-+++ doc/Makefile.in	2009-04-25 00:56:00.000000000 -0300
-@@ -189,7 +189,7 @@
- target_vendor = @target_vendor@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--dist_man1_MANS = lighttpd.1 spawn-fcgi.1
-+dist_man1_MANS = lighttpd.1
- DOCS = accesslog.txt \
- authentication.txt \
- cgi.txt \
Index: files/patch-src_Makefile.in
===================================================================
RCS file: files/patch-src_Makefile.in
diff -N files/patch-src_Makefile.in
--- files/patch-src_Makefile.in	25 Apr 2009 04:17:04 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,66 +0,0 @@
---- src/Makefile.in.orig	2009-04-25 00:52:47.000000000 -0300
-+++ src/Makefile.in	2009-04-25 00:54:11.000000000 -0300
-@@ -37,7 +37,6 @@
- target_triplet = @target@
- noinst_PROGRAMS = proc_open$(EXEEXT) lemon$(EXEEXT)
- sbin_PROGRAMS = lighttpd$(EXEEXT) lighttpd-angel$(EXEEXT)
--bin_PROGRAMS = spawn-fcgi$(EXEEXT)
- 
- # if the linker doesn't allow referencing symbols of the binary
- # we have to put everything into a shared-lib and link it into
-@@ -380,9 +379,6 @@
- 	proc_open-buffer.$(OBJEXT)
- proc_open_OBJECTS = $(am_proc_open_OBJECTS)
- proc_open_LDADD = $(LDADD)
--am_spawn_fcgi_OBJECTS = spawn-fcgi.$(OBJEXT)
--spawn_fcgi_OBJECTS = $(am_spawn_fcgi_OBJECTS)
--spawn_fcgi_LDADD = $(LDADD)
- DEFAULT_INCLUDES = -I. at am__isrc@ -I$(top_builddir)
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
-@@ -412,8 +408,7 @@
- 	$(mod_status_la_SOURCES) $(mod_trigger_b4_dl_la_SOURCES) \
- 	$(mod_userdir_la_SOURCES) $(mod_usertrack_la_SOURCES) \
- 	$(mod_webdav_la_SOURCES) $(lemon_SOURCES) $(lighttpd_SOURCES) \
--	$(lighttpd_angel_SOURCES) $(proc_open_SOURCES) \
--	$(spawn_fcgi_SOURCES)
-+	$(lighttpd_angel_SOURCES) $(proc_open_SOURCES)
- DIST_SOURCES = $(am__liblightcomp_la_SOURCES_DIST) \
- 	$(mod_access_la_SOURCES) $(mod_accesslog_la_SOURCES) \
- 	$(mod_alias_la_SOURCES) $(mod_auth_la_SOURCES) \
-@@ -432,8 +427,7 @@
- 	$(mod_trigger_b4_dl_la_SOURCES) $(mod_userdir_la_SOURCES) \
- 	$(mod_usertrack_la_SOURCES) $(mod_webdav_la_SOURCES) \
- 	$(lemon_SOURCES) $(am__lighttpd_SOURCES_DIST) \
--	$(lighttpd_angel_SOURCES) $(proc_open_SOURCES) \
--	$(spawn_fcgi_SOURCES)
-+	$(lighttpd_angel_SOURCES) $(proc_open_SOURCES)
- HEADERS = $(noinst_HEADERS)
- ETAGS = etags
- CTAGS = ctags
-@@ -605,7 +599,6 @@
- 
- src = server.c response.c connections.c network.c configfile.c \
- 	configparser.c request.c proc_open.c $(am__append_2)
--spawn_fcgi_SOURCES = spawn-fcgi.c
- 
- #lib_LTLIBRARIES += mod_httptls.la
- #mod_httptls_la_SOURCES = mod_httptls.c
-@@ -963,9 +956,6 @@
- proc_open$(EXEEXT): $(proc_open_OBJECTS) $(proc_open_DEPENDENCIES) 
- 	@rm -f proc_open$(EXEEXT)
- 	$(LINK) $(proc_open_OBJECTS) $(proc_open_LDADD) $(LIBS)
--spawn-fcgi$(EXEEXT): $(spawn_fcgi_OBJECTS) $(spawn_fcgi_DEPENDENCIES) 
--	@rm -f spawn-fcgi$(EXEEXT)
--	$(LINK) $(spawn_fcgi_OBJECTS) $(spawn_fcgi_LDADD) $(LIBS)
- 
- mostlyclean-compile:
- 	-rm -f *.$(OBJEXT)
-@@ -1098,7 +1088,6 @@
- @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/request.Po at am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/response.Po at am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/server.Po at am__quote@
-- at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/spawn-fcgi.Po at am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/splaytree.Po at am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/stat_cache.Po at am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/status_counter.Po at am__quote@
Index: files/patch-src__stat_cache.c
===================================================================
RCS file: files/patch-src__stat_cache.c
diff -N files/patch-src__stat_cache.c
--- files/patch-src__stat_cache.c	6 Jun 2009 23:09:27 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-#
-# Do not remove until http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/21768
-# is not applied and release new versions.
-#
-Index: stat_cache.c
-===================================================================
---- src/stat_cache.c	(revision 1006)
-+++ src/stat_cache.c	(revision 1008)
-@@ -487,6 +487,12 @@
- 
- 
- 	if (S_ISREG(st.st_mode)) {
-+		/* fix broken stat/open for symlinks to reg files with appended slash on freebsd,osx */
-+		if (name->ptr[name->used-2] == '/') {
-+			errno = ENOTDIR;
-+			return HANDLER_ERROR;
-+		}
-+
- 		/* try to open the file to check if we can read it */
- 		if (-1 == (fd = open(name->ptr, O_RDONLY))) {
- 			return HANDLER_ERROR;
--- lighttpd-1.4.23_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list