]> TLD Linux GIT Repositories - packages/lighttpd.git/blobdiff - lighttpd-branding.patch
- merged 1.4.58 from PLD, packaged mod_authn_dbi
[packages/lighttpd.git] / lighttpd-branding.patch
index f7e6dd54df3c79e546625a53eaa5669067c5afec..ac58026b59617484a7a898871113a23f4d24bda7 100644 (file)
@@ -1,19 +1,11 @@
---- lighttpd-1.4.40/src/response.c~    2016-07-16 13:06:16.000000000 +0300
-+++ lighttpd-1.4.40/src/response.c     2016-07-25 14:16:59.131926942 +0300
-@@ -5,6 +5,7 @@
- #include "log.h"
- #include "stat_cache.h"
- #include "chunk.h"
-+#include "version.h"
+--- lighttpd-1.4.56/src/server.c~      2020-11-30 00:32:01.000000000 +0200
++++ lighttpd-1.4.56/src/server.c       2020-11-30 08:29:32.022380561 +0200
+@@ -25,7 +25,7 @@
+ # define REPO_VERSION ""
+ #endif
  
- #include "configfile.h"
-@@ -111,6 +111,8 @@
-               if (!buffer_string_is_empty(con->conf.server_tag)) {
-                       buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: "));
-                       buffer_append_string_encoded(b, CONST_BUF_LEN(con->conf.server_tag), ENCODING_HTTP_HEADER);
-+              } else {
-+                      buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC " (TLD Linux)"));
-               }
-       }
+-#define PACKAGE_DESC PACKAGE_NAME "/" PACKAGE_VERSION REPO_VERSION
++#define PACKAGE_DESC PACKAGE_NAME "/" PACKAGE_VERSION REPO_VERSION " (TLD Linux)"
+ static const buffer default_server_tag = { CONST_STR_LEN(PACKAGE_DESC)+1, 0 };
  
+ #include <sys/types.h>