summaryrefslogtreecommitdiff
path: root/www/lighttpd/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2007-04-19 16:16:17 +0000
committerjoerg <joerg>2007-04-19 16:16:17 +0000
commitd89e781780b892a0e218ad10958bf50490f56f32 (patch)
tree9617028dad9e7da048b4edd5c863c8750624e21c /www/lighttpd/patches
parentdd2ae5269f69e32dedcb6204783eef47cca08118 (diff)
downloadpkgsrc-d89e781780b892a0e218ad10958bf50490f56f32.tar.gz
Update to lighttpd 1.4.15:
Most important changes are: - fix a crash for files with an mtime of 0 - fix cpu hog in certain requests - added mod_extforward module - reduced default PATH_MAX to 255
Diffstat (limited to 'www/lighttpd/patches')
-rw-r--r--www/lighttpd/patches/patch-aa13
-rw-r--r--www/lighttpd/patches/patch-ab13
-rw-r--r--www/lighttpd/patches/patch-ac13
-rw-r--r--www/lighttpd/patches/patch-ad13
-rw-r--r--www/lighttpd/patches/patch-ae13
-rw-r--r--www/lighttpd/patches/patch-af14
-rw-r--r--www/lighttpd/patches/patch-ag12
-rw-r--r--www/lighttpd/patches/patch-ah43
8 files changed, 0 insertions, 134 deletions
diff --git a/www/lighttpd/patches/patch-aa b/www/lighttpd/patches/patch-aa
deleted file mode 100644
index 233f639e7c3..00000000000
--- a/www/lighttpd/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2006/12/22 21:07:11 joerg Exp $
-
---- src/network_backends.h.orig 2006-12-22 20:42:35.000000000 +0000
-+++ src/network_backends.h
-@@ -14,7 +14,7 @@
- # include <sys/uio.h>
- #endif
-
--#if defined HAVE_SYS_UIO_H && defined HAVE_SENDFILE && defined HAVE_WRITEV && defined(__FreeBSD__)
-+#if defined HAVE_SYS_UIO_H && defined HAVE_SENDFILE && defined HAVE_WRITEV && (defined(__FreeBSD__) || defined(__DragonFly__))
- # define USE_FREEBSD_SENDFILE
- # include <sys/uio.h>
- #endif
diff --git a/www/lighttpd/patches/patch-ab b/www/lighttpd/patches/patch-ab
deleted file mode 100644
index 9aff8da4634..00000000000
--- a/www/lighttpd/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2007/02/19 21:31:34 joerg Exp $
-
---- src/network_freebsd_sendfile.c.orig 2006-10-04 13:29:17.000000000 +0000
-+++ src/network_freebsd_sendfile.c
-@@ -25,7 +25,7 @@
-
-
- #ifndef UIO_MAXIOV
--# ifdef __FreeBSD__
-+# if defined(__FreeBSD__) || defined(__DragonFly__)
- /* FreeBSD 4.7, 4.9 defined it in sys/uio.h only if _KERNEL is specified */
- # define UIO_MAXIOV 1024
- # endif
diff --git a/www/lighttpd/patches/patch-ac b/www/lighttpd/patches/patch-ac
deleted file mode 100644
index 6bf78a93752..00000000000
--- a/www/lighttpd/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2007/02/19 21:31:34 joerg Exp $
-
---- src/network_writev.c.orig 2006-10-07 17:25:51.000000000 +0000
-+++ src/network_writev.c
-@@ -55,7 +55,7 @@ int network_write_chunkqueue_writev(serv
- const size_t max_chunks = MAX_IOVEC;
- #elif defined(UIO_MAXIOV) /* Linux x86 (glibc-2.2.5-233) */
- const size_t max_chunks = UIO_MAXIOV;
--#elif (defined(__FreeBSD__) && __FreeBSD_version < 500000) /* FreeBSD 4.x */
-+#elif (defined(__FreeBSD__) && __FreeBSD_version < 500000) || defined(__DragonFly__) /* FreeBSD 4.x */
- const size_t max_chunks = 1024; /* UIO_MAXIOV value from sys/uio.h */
- #else
- #error "sysconf() doesnt return _SC_IOV_MAX ..., check the output of 'man writev' for the EINVAL error and send the output to jan@kneschke.de"
diff --git a/www/lighttpd/patches/patch-ad b/www/lighttpd/patches/patch-ad
deleted file mode 100644
index e96325867d5..00000000000
--- a/www/lighttpd/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2007/02/19 21:31:36 joerg Exp $
-
---- configure.in.orig 2007-02-19 21:15:12.000000000 +0000
-+++ configure.in
-@@ -398,7 +398,7 @@ AC_ARG_WITH(lua, AC_HELP_STRING([--with-
-
- AC_MSG_RESULT($WITH_LUA)
- if test "$WITH_LUA" != "no"; then
-- if test "$WITH_LUA" == "yes"; then
-+ if test "$WITH_LUA" = "yes"; then
- WITH_LUA=lua
- fi
- PKG_CHECK_MODULES(LUA, $WITH_LUA >= 5.1, [
diff --git a/www/lighttpd/patches/patch-ae b/www/lighttpd/patches/patch-ae
deleted file mode 100644
index 7d36b806d0a..00000000000
--- a/www/lighttpd/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2007/02/19 21:31:37 joerg Exp $
-
---- configure.orig 2007-02-19 21:14:50.000000000 +0000
-+++ configure
-@@ -26988,7 +26988,7 @@ fi;
- echo "$as_me:$LINENO: result: $WITH_LUA" >&5
- echo "${ECHO_T}$WITH_LUA" >&6
- if test "$WITH_LUA" != "no"; then
-- if test "$WITH_LUA" == "yes"; then
-+ if test "$WITH_LUA" = "yes"; then
- WITH_LUA=lua
- fi
-
diff --git a/www/lighttpd/patches/patch-af b/www/lighttpd/patches/patch-af
deleted file mode 100644
index 1c9ca9beaf3..00000000000
--- a/www/lighttpd/patches/patch-af
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-af,v 1.1 2007/02/19 21:31:37 joerg Exp $
-
---- src/http_auth.c.orig 2006-10-04 13:29:17.000000000 +0000
-+++ src/http_auth.c
-@@ -733,7 +733,8 @@ static int http_auth_basic_password_comp
- }
- }
-
--
-+ if (p->conf.auth_ldap_allow_empty_pw != 1 && pw[0] == '\0')
-+ return -1;
-
- /* build filter */
- buffer_copy_string_buffer(p->ldap_filter, p->conf.ldap_filter_pre);
diff --git a/www/lighttpd/patches/patch-ag b/www/lighttpd/patches/patch-ag
deleted file mode 100644
index b4fc2a14d53..00000000000
--- a/www/lighttpd/patches/patch-ag
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2007/02/19 21:31:37 joerg Exp $
-
---- src/http_auth.h.orig 2006-10-04 13:29:17.000000000 +0000
-+++ src/http_auth.h
-@@ -36,6 +36,7 @@ typedef struct {
- buffer *auth_ldap_filter;
- buffer *auth_ldap_cafile;
- unsigned short auth_ldap_starttls;
-+ unsigned short auth_ldap_allow_empty_pw;
-
- unsigned short auth_debug;
-
diff --git a/www/lighttpd/patches/patch-ah b/www/lighttpd/patches/patch-ah
deleted file mode 100644
index 8ce01831085..00000000000
--- a/www/lighttpd/patches/patch-ah
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2007/02/19 21:31:37 joerg Exp $
-
---- src/mod_auth.c.orig 2006-10-04 13:29:17.000000000 +0000
-+++ src/mod_auth.c
-@@ -113,6 +113,7 @@ static int mod_auth_patch_connection(ser
- PATCH(auth_ldap_filter);
- PATCH(auth_ldap_cafile);
- PATCH(auth_ldap_starttls);
-+ PATCH(auth_ldap_allow_empty_pw);
- #ifdef USE_LDAP
- PATCH(ldap);
- PATCH(ldap_filter_pre);
-@@ -160,6 +161,8 @@ static int mod_auth_patch_connection(ser
- PATCH(auth_ldap_cafile);
- } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("auth.backend.ldap.starttls"))) {
- PATCH(auth_ldap_starttls);
-+ } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("auth.backend.ldap.allow-empty-pw"))) {
-+ PATCH(auth_ldap_allow_empty_pw);
- }
- }
- }
-@@ -312,6 +315,7 @@ SETDEFAULTS_FUNC(mod_auth_set_defaults)
- { "auth.backend.ldap.starttls", NULL, T_CONFIG_BOOLEAN, T_CONFIG_SCOPE_CONNECTION },
- { "auth.backend.ldap.bind-dn", NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION },
- { "auth.backend.ldap.bind-pw", NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION }, /* 10 */
-+ { "auth.backend.ldap.allow-empty-pw", NULL, T_CONFIG_BOOLEAN, T_CONFIG_SCOPE_CONNECTION },
- { "auth.backend.htdigest.userfile", NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION },
- { "auth.backend.htpasswd.userfile", NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION },
- { "auth.debug", NULL, T_CONFIG_SHORT, T_CONFIG_SCOPE_CONNECTION }, /* 13 */
-@@ -361,9 +365,10 @@ SETDEFAULTS_FUNC(mod_auth_set_defaults)
- cv[8].destination = &(s->auth_ldap_starttls);
- cv[9].destination = s->auth_ldap_binddn;
- cv[10].destination = s->auth_ldap_bindpw;
-- cv[11].destination = s->auth_htdigest_userfile;
-- cv[12].destination = s->auth_htpasswd_userfile;
-- cv[13].destination = &(s->auth_debug);
-+ cv[11].destination = &(s->auth_ldap_allow_empty_pw);
-+ cv[12].destination = s->auth_htdigest_userfile;
-+ cv[13].destination = s->auth_htpasswd_userfile;
-+ cv[14].destination = &(s->auth_debug);
-
- p->config_storage[i] = s;
- ca = ((data_config *)srv->config_context->data[i])->value;