Date: Thu, 21 Apr 2005 09:19:40 GMT From: Sergey Lyubka <valenok@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/80191: Update port: www/shttpd (upgrade to version 1.15) Message-ID: <200504210919.j3L9JeAC041307@www.freebsd.org> Resent-Message-ID: <200504210920.j3L9K9PR069220@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80191 >Category: ports >Synopsis: Update port: www/shttpd (upgrade to version 1.15) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 21 09:20:09 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sergey Lyubka >Release: 5.4 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: diff -ruN shttpd.orig/Makefile shttpd/Makefile --- shttpd.orig/Makefile Thu Apr 21 08:23:41 2005 +++ shttpd/Makefile Thu Apr 21 08:23:55 2005 @@ -6,7 +6,7 @@ # PORTNAME= shttpd -PORTVERSION= 1.14 +PORTVERSION= 1.15 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= shttpd diff -ruN shttpd.orig/distinfo shttpd/distinfo --- shttpd.orig/distinfo Thu Apr 21 08:23:41 2005 +++ shttpd/distinfo Thu Apr 21 08:29:54 2005 @@ -1,2 +1,2 @@ -MD5 (shttpd/shttpd_1.14.c) = af764aafb8789c703c6688e355388081 -SIZE (shttpd/shttpd_1.14.c) = 78643 +MD5 (shttpd/shttpd_1.15.c) = 5d50e8c6b0c6458ee336ed41fe1154bb +SIZE (shttpd/shttpd_1.15.c) = 79135 diff -ruN shttpd.orig/files/shttpd.1 shttpd/files/shttpd.1 --- shttpd.orig/files/shttpd.1 Thu Apr 21 08:23:41 2005 +++ shttpd/files/shttpd.1 Thu Apr 21 09:11:13 2005 @@ -2,20 +2,30 @@ .SH NAME shttpd \- Simple HTTP Daemon .SH SYNOPSIS +.PP .B shttpd .I [OPTIONS] -.br +.PP +.B http stream tcp nowait nobody /usr/local/bin/shttpd shttpd -I -d /var/www .SH "DESCRIPTION" .B shttpd 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. +root is assumed to be the current directory. +.P .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. +.P +.B shttpd +can be run as stand-alone server, or it may be managed by the +.I inetd(8) +superdaemon. In latter case, +.I \-I +option should be specified in inetd configuration line. .SH OPTIONS .TP 13 .I \-d directory @@ -28,7 +38,7 @@ display help .TP 13 .I \-S -use SSL (default NO) +use SSL .TP 13 .I \-s certfile use SSL certificate file (default shttpd.pem) @@ -39,6 +49,9 @@ .I \-l logfile log file (default shttpd.log) .TP 13 +.I \-I +inetd mode +.TP 13 .I \-i file1[,file2..] index file (default index.html,index.cgi) .TP 13 @@ -58,7 +71,11 @@ authentication realm (default mydomain.com) .TP 13 .I \-D -forbid directory listing (default yes) +forbid directory listing +.SH FILES +.I /etc/inetd.conf +.SH SEE ALSO +.I inetd(8) .SH COPYRIGHT .B shttpd is licensed under the terms of MIT license. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504210919.j3L9JeAC041307>