From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 21 09:20:10 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 245AE16A4CE for ; Thu, 21 Apr 2005 09:20:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCF3843D3F for ; Thu, 21 Apr 2005 09:20:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3L9K9EW069221 for ; Thu, 21 Apr 2005 09:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3L9K9PR069220; Thu, 21 Apr 2005 09:20:09 GMT (envelope-from gnats) Resent-Date: Thu, 21 Apr 2005 09:20:09 GMT Resent-Message-Id: <200504210920.j3L9K9PR069220@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergey Lyubka Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8659016A4CE for ; Thu, 21 Apr 2005 09:19:41 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CF8543D53 for ; Thu, 21 Apr 2005 09:19:41 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3L9JeC6041312 for ; Thu, 21 Apr 2005 09:19:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3L9JeAC041307; Thu, 21 Apr 2005 09:19:40 GMT (envelope-from nobody) Message-Id: <200504210919.j3L9JeAC041307@www.freebsd.org> Date: Thu, 21 Apr 2005 09:19:40 GMT From: Sergey Lyubka To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/80191: Update port: www/shttpd (upgrade to version 1.15) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2005 09:20:10 -0000 >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: