]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-branding.patch
fix missing bcond on mod_authn_ldap
[packages/lighttpd.git] / lighttpd-branding.patch
index bcb01c5088f9e89fa315b8ce4bef569678a6cf4b..55cc9cf4d833708ea5f065210d8bd73041984d27 100644 (file)
@@ -1,11 +1,11 @@
---- lighttpd-1.4.36/src/response.c~    2015-07-26 13:36:36.000000000 +0300
-+++ lighttpd-1.4.36/src/response.c     2015-07-26 18:29:48.302220417 +0300
-@@ -109,7 +109,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_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC));
-+                      buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC " (PLD Linux)"));
-               } else 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);
+-#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.036295 seconds and 4 git commands to generate.