diff --git a/src/angel/angel_main.c b/src/angel/angel_main.c index d6f59e3..d84a410 100644 --- a/src/angel/angel_main.c +++ b/src/angel/angel_main.c @@ -3,6 +3,8 @@ #include #include +#include + # ifndef HAVE_ISSETUGID static int l_issetugid() { @@ -50,7 +52,7 @@ int main(int argc, char *argv[]) { } if (show_version) { - g_print("%s %s - a fast and lightweight webserver\n", PACKAGE_NAME "-angel", PACKAGE_VERSION); + g_print(PACKAGE_NAME "-angel" "/" PACKAGE_VERSION REPO_VERSION " - a fast and lightweight webserver\n"); g_print("Build date: %s\n", PACKAGE_BUILD_DATE); goto cleanup; } diff --git a/src/main/lighttpd.c b/src/main/lighttpd.c index 7d010e9..8938a1c 100644 --- a/src/main/lighttpd.c +++ b/src/main/lighttpd.c @@ -3,6 +3,8 @@ #include #include +#include + #ifdef HAVE_LUA_H # include #endif @@ -66,7 +68,7 @@ int main(int argc, char *argv[]) { /* -v, show version and exit */ if (show_version) { - g_print("%s-%s - a fast and lightweight webserver\n", PACKAGE_NAME, PACKAGE_VERSION); + g_print(PACKAGE_DESC " - a fast and lightweight webserver\n"); g_print("Build date: %s\n", PACKAGE_BUILD_DATE); #ifdef LIGHTTPD_REVISION g_print("Revision: %s\n", LIGHTTPD_REVISION); diff --git a/src/main/plugin_core.c b/src/main/plugin_core.c index 39040eb..39b3446 100644 --- a/src/main/plugin_core.c +++ b/src/main/plugin_core.c @@ -3,6 +3,8 @@ #include #include +#include + #include #include @@ -1159,7 +1161,7 @@ static const liPluginOption options[] = { { "static-file.exclude", LI_VALUE_LIST, NULL, NULL, NULL }, /* TODO: not used right now */ { "server.name", LI_VALUE_STRING, NULL, NULL, NULL }, - { "server.tag", LI_VALUE_STRING, "lighttpd-2.0~sandbox", NULL, NULL }, + { "server.tag", LI_VALUE_STRING, PACKAGE_DESC, NULL, NULL }, { "server.max_keep_alive_idle", LI_VALUE_NUMBER, GINT_TO_POINTER(5), NULL, NULL }, { "server.max_keep_alive_requests", LI_VALUE_NUMBER, GINT_TO_POINTER(15), NULL, NULL },