X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=lighttpd-branding.patch;h=64a9be415fd2d02fc76e0c6f1d63eaaa0cabb3d7;hb=8239b3691d1ae536833b6d53a2efd289956ccbcd;hp=9fdf8a5681c31949a202bf6129ea1330e2b480e1;hpb=569e9ab04d516cfbb5f997b9614e20e31e3f8b56;p=packages%2Flighttpd.git diff --git a/lighttpd-branding.patch b/lighttpd-branding.patch index 9fdf8a5..64a9be4 100644 --- a/lighttpd-branding.patch +++ b/lighttpd-branding.patch @@ -1,11 +1,11 @@ ---- lighttpd-1.4.22/src/response.c~ 2009-04-17 00:50:21.000000000 +0300 -+++ lighttpd-1.4.22/src/response.c 2009-04-17 00:51:22.174367972 +0300 -@@ -105,7 +105,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 (con->conf.server_tag->used > 1) { - 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 " (TLD Linux)" + + #include + #include