23061200 Upgrade lighttpd to version 1.4.39
authorPetr Sumbera <petr.sumbera@oracle.com>
Tue, 05 Apr 2016 05:41:03 -0700
changeset 5738 fc0e1d002c9e
parent 5737 6ccbf34f1588
child 5739 da905fdd7f4a
23061200 Upgrade lighttpd to version 1.4.39
components/lighttpd/Makefile
components/lighttpd/lighttpd.license
components/lighttpd/lighttpd.p5m
components/lighttpd/patches/01-drop_privileges.patch
components/lighttpd/patches/02-sslv3-disable.patch
components/lighttpd/patches/03-lighttpd.conf.patch
components/lighttpd/patches/05-network-nodelay.patch
components/lighttpd/patches/06-fix_lua.patch
components/lighttpd/patches/07-parfait-errors.patch
components/lighttpd/patches/CVE-2015-3200.patch
components/lighttpd/patches/tests-perlver.patch
components/lighttpd/test/results-64.master
--- a/components/lighttpd/Makefile	Thu Apr 07 01:49:33 2016 -0700
+++ b/components/lighttpd/Makefile	Tue Apr 05 05:41:03 2016 -0700
@@ -26,13 +26,13 @@
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		lighttpd
-COMPONENT_VERSION=	1.4.35
+COMPONENT_VERSION=	1.4.39
 COMPONENT_PROJECT_URL=	http://www.lighttpd.net/
 COMPONENT_ARCHIVE_HASH=	\
-    sha256:62c23de053fd82e1bf64f204cb6c6e44ba3c16c01ff1e09da680d982802ef1cc
+    sha256:bc5f910f78b8cbae3e8fe1a1d8558259f09dbe50dd3907db771404bfab27bb2e
 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
 
-TPNO=			17006
+TPNO=			27512
 
 LIGHTTPD_INSTALLDIR=$(USRDIR)/lighttpd/1.4
 
@@ -40,9 +40,6 @@
 
 PATCH_LEVEL=0
 
-# We need to run autogen because we patch configure.ac file
-COMPONENT_PREP_ACTION = ( cd $(@D) ; $(CONFIG_SHELL) autogen.sh )
-
 # lighttpd is logging using __FILE__ macro. Cloning will make this happen
 # using just source file names (without full absolute paths).
 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -64,6 +61,9 @@
 CONFIGURE_OPTIONS +=	--with-mysql=$(USRDIR)/mysql/5.5/bin/mysql_config
 CONFIGURE_OPTIONS +=    PCRECONFIG="$(USRBINDIR64)/pcre-config"
 
+COMPONENT_TEST_TRANSFORMS += \
+	'-e "s/[0-9][0-9]* wallclock secs (.*CPU)$$/<TIMINGS REMOVED>/" ' 
+
 REQUIRED_PACKAGES += compress/bzip2
 REQUIRED_PACKAGES += database/mysql-55
 REQUIRED_PACKAGES += database/mysql-55/library
@@ -73,6 +73,7 @@
 REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
 REQUIRED_PACKAGES += library/zlib
 REQUIRED_PACKAGES += runtime/lua
+REQUIRED_PACKAGES += runtime/perl-522
 REQUIRED_PACKAGES += system/core-os
 REQUIRED_PACKAGES += system/network
 REQUIRED_PACKAGES += web/fastcgi/spawn-fcgi
--- a/components/lighttpd/lighttpd.license	Thu Apr 07 01:49:33 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-Copyright (c) 2004, Jan Kneschke, incremental
- All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-- Redistributions of source code must retain the above copyright notice, this
-  list of conditions and the following disclaimer.
-
-- Redistributions in binary form must reproduce the above copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-
-- Neither the name of the 'incremental' nor the names of its contributors may
-  be used to endorse or promote products derived from this software without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGE.
-
--- a/components/lighttpd/lighttpd.p5m	Thu Apr 07 01:49:33 2016 -0700
+++ b/components/lighttpd/lighttpd.p5m	Tue Apr 05 05:41:03 2016 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
@@ -143,7 +143,7 @@
 dir  path=var/lighttpd/1.4/logs owner=webservd group=webservd mode=700
 dir  path=var/lighttpd/1.4/sockets
 dir  path=var/lighttpd/1.4/vhosts
-license lighttpd.license license="Lighttpd license"
+license COPYING license="Lighttpd license"
 depend type=require fmri=__TBD pkg.debug.depend.file=usr/bin/spawn-fcgi
 depend type=require fmri=__TBD \
     pkg.debug.depend.file=usr/share/man/man1/spawn-fcgi.1
--- a/components/lighttpd/patches/01-drop_privileges.patch	Thu Apr 07 01:49:33 2016 -0700
+++ b/components/lighttpd/patches/01-drop_privileges.patch	Tue Apr 05 05:41:03 2016 -0700
@@ -4,8 +4,8 @@
 user, initial user needs elevated privileges. Those
 privileges are unnecessary and should be dropped.
 
---- src/network.c	2013-08-30 04:07:05.000000000 -0700
-+++ src/network.c	2013-10-22 04:07:55.193853968 -0700
+--- src/network.c
++++ src/network.c
 @@ -21,6 +21,8 @@
  #include <stdlib.h>
  #include <assert.h>
@@ -15,8 +15,8 @@
  #ifdef USE_OPENSSL
  # include <openssl/ssl.h>
  # include <openssl/err.h>
-@@ -497,6 +499,8 @@
- 	size_t i;
+@@ -615,6 +617,8 @@
+ 	size_t i, j;
  	network_backend_t backend;
  
 +	priv_set_t *tset;
@@ -24,7 +24,7 @@
  #if OPENSSL_VERSION_NUMBER >= 0x0090800fL
  #ifndef OPENSSL_NO_ECDH
  	EC_KEY *ecdh;
-@@ -877,6 +881,16 @@
+@@ -1005,6 +1009,16 @@
  		}
  	}
  
--- a/components/lighttpd/patches/02-sslv3-disable.patch	Thu Apr 07 01:49:33 2016 -0700
+++ b/components/lighttpd/patches/02-sslv3-disable.patch	Tue Apr 05 05:41:03 2016 -0700
@@ -1,16 +1,16 @@
 Patch origin: in-house
-Patch status: submitted to upstream
+Patch status: Not suitable for upstream.
 
-http://redmine.lighttpd.net/issues/2647
+Always disable SSLv3 and don't allow to enable it ever again.
 
---- src/configfile.c
-+++ src/configfile.c
-@@ -182,7 +182,7 @@
- 		s->ssl_honor_cipher_order = 1;
- 		s->ssl_empty_fragments = 0;
- 		s->ssl_use_sslv2 = 0;
--		s->ssl_use_sslv3 = 1;
-+		s->ssl_use_sslv3 = 0;
- 		s->use_ipv6      = 0;
- 		s->set_v6only    = 1;
- 		s->defer_accept  = 0;
+--- src/network.c
++++ src/network.c
+@@ -780,7 +780,7 @@
+ 			}
+ 		}
+ 
+-		if (!s->ssl_use_sslv3) {
++		if (1) {
+ 			/* disable SSLv3 */
+ 			if (!(SSL_OP_NO_SSLv3 & SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv3))) {
+ 				log_error_write(srv, __FILE__, __LINE__, "ss", "SSL:",
--- a/components/lighttpd/patches/03-lighttpd.conf.patch	Thu Apr 07 01:49:33 2016 -0700
+++ b/components/lighttpd/patches/03-lighttpd.conf.patch	Tue Apr 05 05:41:03 2016 -0700
@@ -67,15 +67,6 @@
  
  ##
  ## The basic network interface for all platforms at the syscalls read()
-@@ -188,7 +188,7 @@
- ## linux-sendfile - is recommended for small files.
- ## writev         - is recommended for sending many large files
- ##
--server.network-backend = "linux-sendfile"
-+server.network-backend = "solaris-sendfilev"
- 
- ##
- ## As lighttpd is a single-threaded server, its main resource limit is
 @@ -296,7 +296,7 @@
  ##                                 "index.htm", "default.htm" )
  ##
--- a/components/lighttpd/patches/05-network-nodelay.patch	Thu Apr 07 01:49:33 2016 -0700
+++ b/components/lighttpd/patches/05-network-nodelay.patch	Tue Apr 05 05:41:03 2016 -0700
@@ -4,7 +4,7 @@
 
 --- src/network.c	2013-11-05 09:41:41.841723296 -0800
 +++ src/network.c	2013-11-05 09:40:25.359053258 -0800
-@@ -251,6 +251,10 @@
+@@ -274,6 +274,10 @@
  		log_error_write(srv, __FILE__, __LINE__, "ss", "socketsockopt(SO_REUSEADDR) failed:", strerror(errno));
  		goto error_free_socket;
  	}
--- a/components/lighttpd/patches/06-fix_lua.patch	Thu Apr 07 01:49:33 2016 -0700
+++ b/components/lighttpd/patches/06-fix_lua.patch	Tue Apr 05 05:41:03 2016 -0700
@@ -16,7 +16,7 @@
  typedef struct {
  	stream st;
  	int done;
-@@ -285,7 +285,11 @@
+@@ -291,7 +291,11 @@
  	lua_settable(L, LUA_GLOBALSINDEX);
  
  	/* load lua program */
--- a/components/lighttpd/patches/07-parfait-errors.patch	Thu Apr 07 01:49:33 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-Developed in-house, fed to community.
-http://redmine.lighttpd.net/issues/2530
-
---- src/lempar.c	2012-08-31 07:11:20.000000000 -0700
-+++ src/lempar.c	2013-10-14 02:10:29.201323553 -0700
-@@ -486,6 +486,9 @@
-   }else if( yyact == YYNSTATE + YYNRULE + 1 ){
-     yy_accept(yypParser);
-   }
-+  /* Parfait_ALLOW memory-leak - false positive for variable yygotominor - memory is properly freed in function yy_accept above */
-+  /* parfait needs two comments here to stop complaining and accept Parfait_ALLOW directive, I don't know why */
-+  return;
- }
- 
- /*
---- src/mod_mysql_vhost.c	2010-08-17 02:04:38.000000000 -0700
-+++ src/mod_mysql_vhost.c	2013-10-14 03:48:47.184131818 -0700
-@@ -217,7 +217,10 @@
- 
-         	if (config_insert_values_global(srv,
- 			((data_config *)srv->config_context->data[i])->value,
--			cv)) return HANDLER_ERROR;
-+			cv)) {
-+			buffer_free(sel);
-+			return HANDLER_ERROR;
-+		}
- 
- 		s->mysql_pre = buffer_init();
- 		s->mysql_post = buffer_init();
---- src/lemon.c	2012-08-31 07:11:20.000000000 -0700
-+++ src/lemon.c	2013-10-14 04:29:24.547185717 -0700
-@@ -453,13 +453,11 @@
- #define acttab_yylookahead(X,N)  ((X)->aAction[N].lookahead)
- 
- /* Free all memory associated with the given acttab */
--/*
- PRIVATE void acttab_free(acttab *p){
-   free( p->aAction );
-   free( p->aLookahead );
-   free( p );
- }
--*/
- 
- /* Allocate a new acttab structure */
- PRIVATE acttab *acttab_alloc(void){
-@@ -3582,6 +3580,7 @@
- 
-   fclose(in);
-   fclose(out);
-+  acttab_free(pActtab);
-   return;
- }
- 
---- src/fdevent.c	2012-08-31 07:11:20.000000000 -0700
-+++ src/fdevent.c	2013-10-14 03:55:48.707756259 -0700
-@@ -77,6 +77,7 @@
- 
- 	log_error_write(ev->srv, __FILE__, __LINE__, "S",
- 		"event-handler is unknown, try to set server.event-handler = \"poll\" or \"select\"");
-+	free(ev);
- 	return NULL;
- }
- 
---- src/configfile.c	2012-11-07 06:50:29.000000000 -0800
-+++ src/configfile.c	2013-10-15 06:45:37.918474628 -0700
-@@ -1131,12 +1131,14 @@
- 	context_free(&context);
- 
- 	if (0 != ret) {
-+		/* Parfait_ALLOW memory-leak - false positive dcwd variable - memory is properly freed on server close */
- 		return ret;
- 	}
- 
- 	if (NULL != (dc = (data_config *)array_get_element(srv->config_context, "global"))) {
- 		srv->config = dc->value;
- 	} else {
-+		/* Parfait_ALLOW memory-leak - false positive dcwd variable - memory is properly freed on server close */
- 		return -1;
- 	}
- 
-@@ -1146,6 +1148,7 @@
- 
- 		if (modules->type != TYPE_ARRAY) {
- 			fprintf(stderr, "server.modules must be an array");
-+			/* Parfait_ALLOW memory-leak - false positive dcwd variable - memory is properly freed on server close */
- 			return -1;
- 		}
- 
-@@ -1200,9 +1207,11 @@
- 
- 
- 	if (0 != config_insert(srv)) {
-+		/* Parfait_ALLOW memory-leak - false positive dcwd variable - memory is properly freed on server close */
- 		return -1;
- 	}
- 
-+	/* Parfait_ALLOW memory-leak - false positive dcwd variable - memory is properly freed on server close */
- 	return 0;
- }
- 
--- a/components/lighttpd/patches/CVE-2015-3200.patch	Thu Apr 07 01:49:33 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-Patch origin: in-house
-Patch status: submitted to upstream
-
-http://redmine.lighttpd.net/issues/2646
-
---- src/http_auth.c
-+++ src/http_auth.c
-@@ -857,7 +857,7 @@
- 
- 	/* r2 == user:password */
- 	if (NULL == (pw = strchr(username->ptr, ':'))) {
--		log_error_write(srv, __FILE__, __LINE__, "sb", ": is missing in", username);
-+		log_error_write(srv, __FILE__, __LINE__, "s", ": is missing in decoded base64-string");
- 
- 		buffer_free(username);
- 		return 0;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/lighttpd/patches/tests-perlver.patch	Tue Apr 05 05:41:03 2016 -0700
@@ -0,0 +1,17 @@
+Patch origin: in-house
+Patch status: Solaris-specific; not suitable for upstream
+
+Makes Perl tests independent on perl mediator setting. Note that there
+might be different test results depending on used Perl version.
+
+--- tests/Makefile.in
++++ tests/Makefile.in
+@@ -449,7 +449,7 @@
+ 	var-include-sub.conf \
+ 	var-include.conf
+ 
+-TESTS_ENVIRONMENT = $(srcdir)/wrapper.sh $(srcdir) $(top_builddir)
++TESTS_ENVIRONMENT = PATH="/usr/perl5/5.22/bin:$(PATH)" $(srcdir)/wrapper.sh $(srcdir) $(top_builddir)
+ EXTRA_DIST = \
+ 	$(CONFS) \
+ 	$(TESTS) \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/lighttpd/test/results-64.master	Tue Apr 05 05:41:03 2016 -0700
@@ -0,0 +1,177 @@
+make[1]: Entering directory '$(@D)'
+Making check in src
+make[2]: Entering directory '$(@D)/src'
+/usr/gnu/bin/make  check-am
+make[3]: Entering directory '$(@D)/src'
+make[3]: Nothing to be done for 'check-am'.
+make[3]: Leaving directory '$(@D)/src'
+make[2]: Leaving directory '$(@D)/src'
+Making check in doc
+make[2]: Entering directory '$(@D)/doc'
+Making check in config
+make[3]: Entering directory '$(@D)/doc/config'
+Making check in conf.d
+make[4]: Entering directory '$(@D)/doc/config/conf.d'
+make[4]: Nothing to be done for 'check'.
+make[4]: Leaving directory '$(@D)/doc/config/conf.d'
+Making check in vhosts.d
+make[4]: Entering directory '$(@D)/doc/config/vhosts.d'
+make[4]: Nothing to be done for 'check'.
+make[4]: Leaving directory '$(@D)/doc/config/vhosts.d'
+make[4]: Entering directory '$(@D)/doc/config'
+make[4]: Nothing to be done for 'check-am'.
+make[4]: Leaving directory '$(@D)/doc/config'
+make[3]: Leaving directory '$(@D)/doc/config'
+Making check in scripts
+make[3]: Entering directory '$(@D)/doc/scripts'
+make[3]: Nothing to be done for 'check'.
+make[3]: Leaving directory '$(@D)/doc/scripts'
+Making check in initscripts
+make[3]: Entering directory '$(@D)/doc/initscripts'
+make[3]: Nothing to be done for 'check'.
+make[3]: Leaving directory '$(@D)/doc/initscripts'
+Making check in systemd
+make[3]: Entering directory '$(@D)/doc/systemd'
+make[3]: Nothing to be done for 'check'.
+make[3]: Leaving directory '$(@D)/doc/systemd'
+Making check in outdated
+make[3]: Entering directory '$(@D)/doc/outdated'
+make[3]: Nothing to be done for 'check'.
+make[3]: Leaving directory '$(@D)/doc/outdated'
+make[3]: Entering directory '$(@D)/doc'
+make[3]: Nothing to be done for 'check-am'.
+make[3]: Leaving directory '$(@D)/doc'
+make[2]: Leaving directory '$(@D)/doc'
+Making check in tests
+make[2]: Entering directory '$(@D)/tests'
+Making check in docroot
+make[3]: Entering directory '$(@D)/tests/docroot'
+Making check in 123
+make[4]: Entering directory '$(@D)/tests/docroot/123'
+make[4]: Nothing to be done for 'check'.
+make[4]: Leaving directory '$(@D)/tests/docroot/123'
+Making check in www
+make[4]: Entering directory '$(@D)/tests/docroot/www'
+Making check in expire
+make[5]: Entering directory '$(@D)/tests/docroot/www/expire'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/tests/docroot/www/expire'
+Making check in go
+make[5]: Entering directory '$(@D)/tests/docroot/www/go'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/tests/docroot/www/go'
+Making check in indexfile
+make[5]: Entering directory '$(@D)/tests/docroot/www/indexfile'
+make[5]: Nothing to be done for 'check'.
+make[5]: Leaving directory '$(@D)/tests/docroot/www/indexfile'
+make[5]: Entering directory '$(@D)/tests/docroot/www'
+make[5]: Nothing to be done for 'check-am'.
+make[5]: Leaving directory '$(@D)/tests/docroot/www'
+make[4]: Leaving directory '$(@D)/tests/docroot/www'
+make[4]: Entering directory '$(@D)/tests/docroot'
+make[4]: Nothing to be done for 'check-am'.
+make[4]: Leaving directory '$(@D)/tests/docroot'
+make[3]: Leaving directory '$(@D)/tests/docroot'
+make[3]: Entering directory '$(@D)/tests'
+/usr/gnu/bin/make  fcgi-auth fcgi-responder
+make[4]: Entering directory '$(@D)/tests'
+source='fcgi-auth.c' object='fcgi-auth.o' libtool=no \
+DEPDIR=.deps depmode=none /bin/bash $(SOURCE_DIR)/depcomp \
+/ws/on12-tools/SUNWspro/solarisstudio12.4/bin/cc -DHAVE_CONFIG_H -I. -I$(SOURCE_DIR)/tests -I..   -m64 -D_REENTRANT -D__EXTENSIONS__ -DOPENSSL_NO_KRB5 -I/usr/include/pcre -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -m64 -xO4 -xchip=generic -Ui386 -U__i386 -xregs=no%frameptr -mt -I/usr/include/openldap -c -o fcgi-auth.o fcgi-auth.c
+/bin/bash ../libtool  --tag=CC   --mode=link /ws/on12-tools/SUNWspro/solarisstudio12.4/bin/cc  -m64 -xO4 -xchip=generic -Ui386 -U__i386 -xregs=no%frameptr -mt -I/usr/include/openldap  -lldap_r-2.4 -o fcgi-auth fcgi-auth.o -lfcgi -lresolv 
+libtool: link: /ws/on12-tools/SUNWspro/solarisstudio12.4/bin/cc -m64 -xO4 -xchip=generic -Ui386 -U__i386 -xregs=no%frameptr -mt -I/usr/include/openldap -o fcgi-auth fcgi-auth.o  -lldap_r-2.4 -lfcgi -lresolv -mt
+source='fcgi-responder.c' object='fcgi-responder.o' libtool=no \
+DEPDIR=.deps depmode=none /bin/bash $(SOURCE_DIR)/depcomp \
+/ws/on12-tools/SUNWspro/solarisstudio12.4/bin/cc -DHAVE_CONFIG_H -I. -I$(SOURCE_DIR)/tests -I..   -m64 -D_REENTRANT -D__EXTENSIONS__ -DOPENSSL_NO_KRB5 -I/usr/include/pcre -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -m64 -xO4 -xchip=generic -Ui386 -U__i386 -xregs=no%frameptr -mt -I/usr/include/openldap -c -o fcgi-responder.o fcgi-responder.c
+/bin/bash ../libtool  --tag=CC   --mode=link /ws/on12-tools/SUNWspro/solarisstudio12.4/bin/cc  -m64 -xO4 -xchip=generic -Ui386 -U__i386 -xregs=no%frameptr -mt -I/usr/include/openldap  -lldap_r-2.4 -o fcgi-responder fcgi-responder.o -lfcgi -lresolv 
+libtool: link: /ws/on12-tools/SUNWspro/solarisstudio12.4/bin/cc -m64 -xO4 -xchip=generic -Ui386 -U__i386 -xregs=no%frameptr -mt -I/usr/include/openldap -o fcgi-responder fcgi-responder.o  -lldap_r-2.4 -lfcgi -lresolv -mt
+make[4]: Leaving directory '$(@D)/tests'
+/usr/gnu/bin/make  check-TESTS
+make[4]: Entering directory '$(@D)/tests'
+preparing infrastructure                PASS: prepare.sh
+# 
+# status failed: expected '304', got '200'
+# 
+# status failed: expected '304', got '200'
+$(SOURCE_DIR)/tests/cachable.t .......... ok
+# 
+# body failed: expected 'found here
+# ', got ''
+
+#   Failed test '404 handler => dynamic(200)'
+#   at $(SOURCE_DIR)/tests/core-404-handler.t line 45.
+# 
+# status failed: expected '302', got '200'
+
+#   Failed test '404 handler => dynamic(302)'
+#   at $(SOURCE_DIR)/tests/core-404-handler.t line 52.
+# 
+# status failed: expected '404', got '200'
+
+#   Failed test '404 handler => dynamic(404)'
+#   at $(SOURCE_DIR)/tests/core-404-handler.t line 59.
+# 
+# body failed: expected 'found here
+# ', got ''
+
+#   Failed test '404 handler => dynamic(nostatus)'
+#   at $(SOURCE_DIR)/tests/core-404-handler.t line 66.
+# 
+# status failed: expected '404', got '200'
+
+#   Failed test '404 generated by CGI should stay 404'
+#   at $(SOURCE_DIR)/tests/core-404-handler.t line 73.
+# Looks like you failed 5 tests of 8.
+$(SOURCE_DIR)/tests/core-404-handler.t .. 
+Dubious, test returned 5 (wstat 1280, 0x500)
+Failed 5/8 subtests 
+$(SOURCE_DIR)/tests/core-condition.t .... ok
+$(SOURCE_DIR)/tests/core-keepalive.t .... ok
+$(SOURCE_DIR)/tests/core-request.t ...... ok
+$(SOURCE_DIR)/tests/core-response.t ..... ok
+$(SOURCE_DIR)/tests/core-var-include.t .. ok
+$(SOURCE_DIR)/tests/core.t .............. ok
+$(SOURCE_DIR)/tests/lowercase.t ......... ok
+$(SOURCE_DIR)/tests/mod-access.t ........ ok
+$(SOURCE_DIR)/tests/mod-auth.t .......... ok
+$(SOURCE_DIR)/tests/mod-cgi.t ........... ok
+$(SOURCE_DIR)/tests/mod-compress.t ...... ok
+$(SOURCE_DIR)/tests/mod-extforward.t .... ok
+$(SOURCE_DIR)/tests/mod-fastcgi.t ....... ok
+$(SOURCE_DIR)/tests/mod-proxy.t ......... ok
+$(SOURCE_DIR)/tests/mod-redirect.t ...... ok
+$(SOURCE_DIR)/tests/mod-rewrite.t ....... ok
+$(SOURCE_DIR)/tests/mod-secdownload.t ... ok
+$(SOURCE_DIR)/tests/mod-setenv.t ........ ok
+$(SOURCE_DIR)/tests/mod-simplevhost.t ... ok
+$(SOURCE_DIR)/tests/mod-ssi.t ........... ok
+$(SOURCE_DIR)/tests/mod-userdir.t ....... ok
+$(SOURCE_DIR)/tests/request.t ........... ok
+$(SOURCE_DIR)/tests/symlink.t ........... ok
+
+Test Summary Report
+-------------------
+$(SOURCE_DIR)/tests/core-404-handler.t (Wstat: 1280 Tests: 8 Failed: 5)
+  Failed tests:  3-7
+  Non-zero exit status: 5
+Files=25, Tests=396, <TIMINGS REMOVED>
+Result: FAIL
+Failed 1/25 test programs. 5/396 subtests failed.
+FAIL: run-tests.pl
+cleaning up                             PASS: cleanup.sh
+=====================================
+1 of 3 tests failed
+Please report to [email protected]
+=====================================
+Makefile:651: recipe for target 'check-TESTS' failed
+make[4]: *** [check-TESTS] Error 1
+make[4]: Leaving directory '$(@D)/tests'
+Makefile:799: recipe for target 'check-am' failed
+make[3]: *** [check-am] Error 2
+make[3]: Leaving directory '$(@D)/tests'
+Makefile:558: recipe for target 'check-recursive' failed
+make[2]: *** [check-recursive] Error 1
+make[2]: Leaving directory '$(@D)/tests'
+Makefile:436: recipe for target 'check-recursive' failed
+make[1]: *** [check-recursive] Error 1
+make[1]: Leaving directory '$(@D)'