[BusyBox-cvs] busybox/include applets.h,1.85,1.86 usage.h,1.134,1.135
Glenn McGrath
bug1 at busybox.net
Sun Jan 5 04:01:59 UTC 2003
- Previous message: [BusyBox-cvs] busybox/debian changelog,1.32,1.33 config-static,1.6,1.7
- Next message: [BusyBox-cvs] busybox/networking httpd.c,NONE,1.1 Config.in,1.5,1.6 Makefile.in,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv8938/include
Modified Files:
applets.h usage.h
Log Message:
New applet: httpd, by Glenn Engel
Index: applets.h
===================================================================
RCS file: /var/cvs/busybox/include/applets.h,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- applets.h 13 Dec 2002 02:43:49 -0000 1.85
+++ applets.h 5 Jan 2003 04:01:55 -0000 1.86
@@ -236,6 +236,9 @@
#ifdef CONFIG_HOSTNAME
APPLET(hostname, hostname_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_HTTPD
+ APPLET(httpd, httpd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_HUSH
APPLET_NOUSAGE("hush", hush_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- usage.h 27 Dec 2002 00:45:35 -0000 1.134
+++ usage.h 5 Jan 2003 04:01:55 -0000 1.135
@@ -775,7 +775,20 @@
#define hostname_example_usage \
"$ hostname\n" \
"sage \n"
-
+#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH
+ #define USAGE_HTTPD_BASIC_AUTH(a) a
+#else
+ #define USAGE_HTTPD_BASIC_AUTH(a)
+#endif
+#define httpd_trivial_usage \
+ "[-p <port>] [-d/-e <string>]" USAGE_HTTPD_BASIC_AUTH(" [-c <conf file>] [-r <realm>]")
+#define httpd_full_usage \
+ "Listens for incoming http server requests.\n"\
+ "Options:\n" \
+ "\t-p PORT\tServer port (default 80).\n" \
+ USAGE_HTTPD_BASIC_AUTH("\t-c FILE\tSpecifies configuration file. (default httpd.conf)\n\t-r REALM\tAuthentication Realm for Basic Authentication\n") \
+ "\t-e STRING\tHtml encode STRING\n" \
+ "\t-d STRING\tURL decode STRING\n"
#define hwclock_trivial_usage \
"[-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--utc]"
#define hwclock_full_usage \
- Previous message: [BusyBox-cvs] busybox/debian changelog,1.32,1.33 config-static,1.6,1.7
- Next message: [BusyBox-cvs] busybox/networking httpd.c,NONE,1.1 Config.in,1.5,1.6 Makefile.in,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list