]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-branding.patch
- release 4 (by relup.sh)
[packages/lighttpd.git] / lighttpd-branding.patch
index fe84aa998b40fcd80dc98a136e8177672f835027..55cc9cf4d833708ea5f065210d8bd73041984d27 100644 (file)
@@ -1,11 +1,11 @@
---- lighttpd-1.4.19/src/response.c~    2008-04-10 21:33:53.255875588 +0300
-+++ lighttpd-1.4.19/src/response.c     2008-04-10 21:34:21.149289502 +0300
-@@ -100,7 +100,7 @@
+--- lighttpd-1.4.46/src/server.c~      2017-10-21 22:36:29.000000000 +0300
++++ lighttpd-1.4.46/src/server.c       2017-10-22 14:38:39.530007753 +0300
+@@ -25,7 +25,7 @@
+ # define REPO_VERSION ""
+ #endif
  
-       if (!have_server) {
-               if (buffer_is_empty(con->conf.server_tag)) {
--                      BUFFER_APPEND_STRING_CONST(b, "\r\nServer: " PACKAGE_NAME "/" PACKAGE_VERSION);
-+                      BUFFER_APPEND_STRING_CONST(b, "\r\nServer: " PACKAGE_NAME "/" PACKAGE_VERSION " (PLD Linux)");
-               } else if (con->conf.server_tag->used > 1) {
-                       BUFFER_APPEND_STRING_CONST(b, "\r\nServer: ");
-                       buffer_append_string_encoded(b, CONST_BUF_LEN(con->conf.server_tag), ENCODING_HTTP_HEADER);
+-#define PACKAGE_DESC PACKAGE_NAME "/" PACKAGE_VERSION REPO_VERSION
++#define PACKAGE_DESC PACKAGE_NAME "/" PACKAGE_VERSION REPO_VERSION " (PLD Linux)"
+ #include <sys/types.h>
+ #include <sys/time.h>
This page took 0.08761 seconds and 4 git commands to generate.