aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/shttpd/Makefile2
-rw-r--r--www/shttpd/distinfo4
-rw-r--r--www/shttpd/files/shttpd.121
3 files changed, 17 insertions, 10 deletions
diff --git a/www/shttpd/Makefile b/www/shttpd/Makefile
index 9e23768ca548..3d304fb70121 100644
--- a/www/shttpd/Makefile
+++ b/www/shttpd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= shttpd
-PORTVERSION= 1.9
+PORTVERSION= 1.14
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= shttpd
diff --git a/www/shttpd/distinfo b/www/shttpd/distinfo
index a9882e2b75ee..231873827cc3 100644
--- a/www/shttpd/distinfo
+++ b/www/shttpd/distinfo
@@ -1,2 +1,2 @@
-MD5 (shttpd/shttpd_1.9.c) = e1ce9c741af69b1101cc1b26221ef82d
-SIZE (shttpd/shttpd_1.9.c) = 72325
+MD5 (shttpd/shttpd_1.14.c) = af764aafb8789c703c6688e355388081
+SIZE (shttpd/shttpd_1.14.c) = 78643
diff --git a/www/shttpd/files/shttpd.1 b/www/shttpd/files/shttpd.1
index 2d7170835c58..fcb97237628d 100644
--- a/www/shttpd/files/shttpd.1
+++ b/www/shttpd/files/shttpd.1
@@ -7,8 +7,15 @@ shttpd \- Simple HTTP Daemon
.br
.SH "DESCRIPTION"
.B shttpd
-is a simple web server with CGI support.
-It does not detach from terminal. It stores logs in a standard format.
+is a simple web server. It supports: CGI, Digest authentication, cookies,
+GET, POST, PUT, DELETE methods, SSL. It does not detach from terminal.
+It stores logs in a standard format. If -d option is not given, the document
+root is assumed to be current directory.
+.B shttpd
+can be embedded into existing application, in order to provide a Web GUI.
+To do that, a header file with interface definition is needed, and application
+should be compiled with shttpd.c, with -DEMBEDDED compilation flag set.
+Refer to http://shttpd.sf.net to get the header file.
.SH OPTIONS
.TP 13
.I \-d directory
@@ -33,7 +40,7 @@ error log file (default none)
log file (default shttpd.log)
.TP 13
.I \-i file1[,file2..]
-index file (default index.html,index.cgi,index.php)
+index file (default index.html,index.cgi)
.TP 13
.I \-c pattern
CGI file pattern (default .cgi)
@@ -41,17 +48,17 @@ CGI file pattern (default .cgi)
.I \-P passfile
global auth passwords file (default none)
.TP 13
-.I \-u uid
-run-time numeric UID (default none)
+.I \-u username
+switch UID to given username's UID (default none)
.TP 13
.I \-m file
mime types file (default none)
.TP 13
.I \-N realm
-authentication realm (default auth)
+authentication realm (default mydomain.com)
.TP 13
.I \-D
-do directory listing (default no)
+forbid directory listing (default yes)
.SH COPYRIGHT
.B shttpd
is licensed under the terms of MIT license.