List IPv6 as feature after the version if it is supported
git-svn-id: svn://svn.lighttpd.net/spawn-fcgi/trunk@44 4a9f3682-ca7b-49a8-9a55-ba4640e46f83master
parent
36734bc41f
commit
010312e53c
1
NEWS
1
NEWS
|
@ -8,6 +8,7 @@ NEWS
|
|||
* Add IPv6 support
|
||||
* Fix problems with usernames starting with a digit and not existing uids; add warning if only user privs are dropped. (fixes #1959)
|
||||
* Add check to link against socket/nsl if needed (fixes #1960)
|
||||
* List IPv6 as feature after the version if it is supported
|
||||
|
||||
- 1.6.1 - 2009-03-29
|
||||
|
||||
|
|
|
@ -69,6 +69,15 @@ static int issetugid() {
|
|||
# define USE_IPV6
|
||||
#endif
|
||||
|
||||
#ifdef USE_IPV6
|
||||
#define PACKAGE_FEATURES " (ipv6)"
|
||||
#else
|
||||
#define PACKAGE_FEATURES ""
|
||||
#endif
|
||||
|
||||
#define PACKAGE_DESC "spawn-fcgi v" PACKAGE_VERSION PACKAGE_FEATURES " - spawns FastCGI processes\n"
|
||||
|
||||
|
||||
static int bind_socket(const char *addr, unsigned short port, const char *unixsocket, uid_t uid, gid_t gid, int mode) {
|
||||
int fcgi_fd, socket_type, val;
|
||||
|
||||
|
@ -394,7 +403,6 @@ static int find_user_group(const char *user, const char *group, uid_t *uid, gid_
|
|||
return 0;
|
||||
}
|
||||
|
||||
#define PACKAGE_DESC "spawn-fcgi v" PACKAGE_VERSION " - spawns FastCGI processes\n"
|
||||
static void show_version () {
|
||||
const char *b = PACKAGE_DESC
|
||||
"Build-Date: " __DATE__ " " __TIME__ "\n";
|
||||
|
@ -406,7 +414,7 @@ static void show_help () {
|
|||
char *b = \
|
||||
"Usage: spawn-fcgi [options] [-- <fcgiapp> [fcgi app arguments]]\n" \
|
||||
"\n" \
|
||||
"spawn-fcgi v" PACKAGE_VERSION " - spawns FastCGI processes\n" \
|
||||
PACKAGE_DESC \
|
||||
"\n" \
|
||||
"Options:\n" \
|
||||
" -f <path> filename of the fcgi-application (ignored if <fcgiapp> is given)\n" \
|
||||
|
|
Loading…
Reference in New Issue