bump seafile-server + components to stable 7.0.5, stable libsearpc
- downgrade to the latest stable seafile-server - switch to a stable libsearpc version - adapt & backport libevhtp patch
This commit is contained in:
parent
e84aeea8f1
commit
e54c1770d1
3 changed files with 35 additions and 15 deletions
|
@ -60,8 +60,16 @@ index 21f955a..0606b28 100755
|
|||
send_error_reply (req, EVHTP_RES_BADREQ, err_msg);
|
||||
|
||||
g_free (repo_id);
|
||||
@@ -2667,32 +2667,32 @@ upload_file_init (evhtp_t *htp, const char *http_temp_dir)
|
||||
g_free (cluster_shared_dir);
|
||||
diff --git a/server/upload-file.c b/server/upload-file.c
|
||||
index 8dc6001..5233b50 100755
|
||||
--- a/server/upload-file.c
|
||||
+++ b/server/upload-file.c
|
||||
@@ -2905,38 +2905,38 @@ upload_file_init (evhtp_t *htp, const char *http_temp_dir)
|
||||
|
||||
cb = evhtp_set_regex_cb (htp, "^/upload/.*", upload_cb, NULL);
|
||||
/* upload_headers_cb() will be called after evhtp parsed all http headers. */
|
||||
- evhtp_set_hook(&cb->hooks, evhtp_hook_on_headers, upload_headers_cb, NULL);
|
||||
+ evhtp_callback_set_hook(cb, evhtp_hook_on_headers, upload_headers_cb, NULL);
|
||||
|
||||
cb = evhtp_set_regex_cb (htp, "^/upload-api/.*", upload_api_cb, NULL);
|
||||
- evhtp_set_hook(&cb->hooks, evhtp_hook_on_headers, upload_headers_cb, NULL);
|
||||
|
@ -82,6 +90,10 @@ index 21f955a..0606b28 100755
|
|||
|
||||
cb = evhtp_set_regex_cb (htp, "^/upload-aj/.*", upload_ajax_cb, NULL);
|
||||
- evhtp_set_hook(&cb->hooks, evhtp_hook_on_headers, upload_headers_cb, NULL);
|
||||
+ evhtp_callback_set_hook(cb, evhtp_hook_on_headers, upload_headers_cb, NULL);
|
||||
|
||||
cb = evhtp_set_regex_cb (htp, "^/update/.*", update_cb, NULL);
|
||||
- evhtp_set_hook(&cb->hooks, evhtp_hook_on_headers, upload_headers_cb, NULL);
|
||||
+ evhtp_callback_set_hook(cb, evhtp_hook_on_headers, upload_headers_cb, NULL);
|
||||
|
||||
cb = evhtp_set_regex_cb (htp, "^/update-api/.*", update_api_cb, NULL);
|
||||
|
@ -101,7 +113,7 @@ index 21f955a..0606b28 100755
|
|||
+ evhtp_callback_set_hook(cb, evhtp_hook_on_headers, upload_headers_cb, NULL);
|
||||
|
||||
evhtp_set_regex_cb (htp, "^/upload_progress.*", upload_progress_cb, NULL);
|
||||
|
||||
|
||||
From b6c41aae74f1eb285a033125f4a5af578c8efbb6 Mon Sep 17 00:00:00 2001
|
||||
From: Ultima1252 <ultima1252@gmail.com>
|
||||
Date: Mon, 15 Jan 2018 17:13:57 -0800
|
||||
|
@ -148,7 +160,16 @@ index c6fef89..78dece3 100644
|
|||
|
||||
PKG_CHECK_MODULES(SSL, [openssl])
|
||||
AC_SUBST(SSL_CFLAGS)
|
||||
@@ -227,6 +229,14 @@ PKG_CHECK_MODULES(ZLIB, [zlib >= $ZLIB_REQUIRED])
|
||||
@@ -189,6 +189,8 @@ ZDB_REQUIRED=2.10
|
||||
CURL_REQUIRED=7.17
|
||||
FUSE_REQUIRED=2.7.3
|
||||
ZLIB_REQUIRED=1.2.0
|
||||
+LIBEVHTP_REQUIRED=1.2.16
|
||||
+ONIGURUMA_REQUIRED=5.9.2
|
||||
|
||||
PKG_CHECK_MODULES(SSL, [openssl])
|
||||
AC_SUBST(SSL_CFLAGS)
|
||||
@@ -222,6 +224,14 @@ PKG_CHECK_MODULES(ZLIB, [zlib >= $ZLIB_REQUIRED])
|
||||
AC_SUBST(ZLIB_CFLAGS)
|
||||
AC_SUBST(ZLIB_LIBS)
|
||||
|
||||
|
@ -160,7 +181,6 @@ index c6fef89..78dece3 100644
|
|||
+AC_SUBST(ONIGURUMA_CFLAGS)
|
||||
+AC_SUBST(ONIGURUMA_LIBS)
|
||||
+
|
||||
if test "x${MYSQL_CONFIG}" = "xdefault_mysql_config"; then
|
||||
PKG_CHECK_MODULES(MYSQL, [mysqlclient], [have_mysql="yes"], [have_mysql="no"])
|
||||
if test "x${have_mysql}" = "xyes"; then
|
||||
if test "x${have_mysql}" = "xyes"; then
|
||||
if test x${compile_python} = xyes; then
|
||||
AM_PATH_PYTHON([2.6])
|
||||
if test "$bwin32" = true; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue