Index: head/www/shttpd/Makefile =================================================================== --- head/www/shttpd/Makefile (revision 133549) +++ head/www/shttpd/Makefile (revision 133550) @@ -1,42 +1,42 @@ # New ports collection makefile for: shttpd # Date created: Wed Dec 15, 2004 # Whom: Sergey Lyubka (valenok@gmail.com) # # $FreeBSD$ # PORTNAME= shttpd -PORTVERSION= 1.9 +PORTVERSION= 1.14 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= shttpd DISTNAME= shttpd_${PORTVERSION}.c EXTRACT_SUFX= EXTRACT_ONLY= #none MAINTAINER= valenok@gmail.com COMMENT= Simple embeddable web server with CGI support NO_WRKSUBDIR= yes DIST_SUBDIR= ${PORTNAME} MAN1= shttpd.1 .if defined(WITHOUT_SSL) PKGNAMESUFFIX= -nossl .else CFLAGS+= -DWITH_SSL -lssl -lcrypto .endif PLIST_FILES= bin/shttpd post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/ do-build: ${CC} ${CFLAGS} -o ${WRKSRC}/shttpd ${WRKSRC}/${DISTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/shttpd ${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/shttpd.1 ${PREFIX}/man/man1 .include Property changes on: head/www/shttpd/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/www/shttpd/distinfo =================================================================== --- head/www/shttpd/distinfo (revision 133549) +++ head/www/shttpd/distinfo (revision 133550) @@ -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 Property changes on: head/www/shttpd/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/www/shttpd/files/shttpd.1 =================================================================== --- head/www/shttpd/files/shttpd.1 (revision 133549) +++ head/www/shttpd/files/shttpd.1 (revision 133550) @@ -1,59 +1,66 @@ .TH SHTTPD 1 .SH NAME shttpd \- Simple HTTP Daemon .SH SYNOPSIS .B shttpd .I [OPTIONS] .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 document root directory (default .) .TP 13 .I \-p port listening port (default 80 for non-SSL, 443 for SSL mode) .TP 13 .I \-h display help .TP 13 .I \-S use SSL (default NO) .TP 13 .I \-s certfile use SSL certificate file (default shttpd.pem) .TP 13 .I \-e errfile error log file (default none) .TP 13 .I \-l logfile 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) .TP 13 .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. .SH AUTHOR Sergey Lyubka Property changes on: head/www/shttpd/files/shttpd.1 ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property