diff options
author | sem <sem@FreeBSD.org> | 2004-12-16 01:18:15 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-16 01:18:15 +0800 |
commit | 739232a2e28ab761b8cca023124e044aa08de9a6 (patch) | |
tree | a5da728ed37ebaad51b6706c4ce6436e51b7f6c9 /www | |
parent | 2fc4f5572457ce2762a106988568b2dbb59199d3 (diff) | |
download | freebsd-ports-graphics-739232a2e28ab761b8cca023124e044aa08de9a6.tar.gz freebsd-ports-graphics-739232a2e28ab761b8cca023124e044aa08de9a6.tar.zst freebsd-ports-graphics-739232a2e28ab761b8cca023124e044aa08de9a6.zip |
SHTTPD is a simple, easy to use, embeddable web server with CGI,
SSL, cookies support.
PR: ports/75102
Submitted by: Sergey Lyubka <valenok(at)gmail.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/shttpd/Makefile | 36 | ||||
-rw-r--r-- | www/shttpd/distinfo | 2 | ||||
-rw-r--r-- | www/shttpd/files/shttpd.1 | 43 | ||||
-rw-r--r-- | www/shttpd/pkg-descr | 10 |
5 files changed, 92 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 7e3573c346a..aa84411e3c8 100644 --- a/www/Makefile +++ b/www/Makefile @@ -647,6 +647,7 @@ SUBDIR += scout SUBDIR += screem SUBDIR += script4rss + SUBDIR += shttpd SUBDIR += sidplug SUBDIR += simplog SUBDIR += sitebar diff --git a/www/shttpd/Makefile b/www/shttpd/Makefile new file mode 100644 index 00000000000..5399a57039f --- /dev/null +++ b/www/shttpd/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: shttpd +# Date created: Wed Dec 15, 2004 +# Whom: Sergey Lyubka (valenok@gmail.com) +# +# $FreeBSD$ +# + +PORTNAME= shttpd +PORTVERSION= 1.0 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= shttpd +DISTNAME= httpd.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 + +PLIST_FILES= bin/shttpd + +post-extract: + ${CP} ${DISTDIR}/${DIST_SUBDIR}/httpd.c ${WRKSRC}/ + +do-build: + ${CC} ${CFLAGS} -o ${WRKSRC}/shttpd ${WRKSRC}/httpd.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/shttpd ${PREFIX}/bin + ${INSTALL_MAN} ${FILESDIR}/shttpd.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/www/shttpd/distinfo b/www/shttpd/distinfo new file mode 100644 index 00000000000..388f7caec70 --- /dev/null +++ b/www/shttpd/distinfo @@ -0,0 +1,2 @@ +MD5 (shttpd/httpd.c) = b889be47e050449250931c46ba40b525 +SIZE (shttpd/httpd.c) = 41033 diff --git a/www/shttpd/files/shttpd.1 b/www/shttpd/files/shttpd.1 new file mode 100644 index 00000000000..2c2ced3a6c6 --- /dev/null +++ b/www/shttpd/files/shttpd.1 @@ -0,0 +1,43 @@ +.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. +.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 \-l logfile +log file (default httpd.log) +.TP 13 +.I \-i file1[,file2..] +index file (default index.html,index.cgi,index.php) +.TP 13 +.I \-c +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) +.SH COPYRIGHT +.B shttpd +is licensed under the terms of MIT license. +.SH BUGS +Please send bug reports to <valenok@gmail.com> +.SH AUTHOR +Sergey Lyubka <valenok@gmail.com> diff --git a/www/shttpd/pkg-descr b/www/shttpd/pkg-descr new file mode 100644 index 00000000000..b9693333432 --- /dev/null +++ b/www/shttpd/pkg-descr @@ -0,0 +1,10 @@ +SHTTPD is a simple, easy to use, embeddable web server with CGI, +SSL, cookies support. It is written in C, as one single source file httpd.c, +and compiles both in UNIX and Windows environments. Gives exceptionally +small footprint when linked against uclibc or dietlibc. It is a good choice +to serve Web based GUI for various applications, where other sophisticated +servers like Apache, IIS etc are too big, hard to install and configure or +overcomplicated. +shttpd is licensed under the terms of very liberal MIT license. + +WWW: http://shttpd.sf.net |