Date: Wed, 15 Dec 2004 11:34:46 GMT From: Sergey Lyubka <valenok@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/75102: New port: www/shttpd (simple http server) Message-ID: <200412151134.iBFBYkTu015342@www.freebsd.org> Resent-Message-ID: <200412151140.iBFBeICI001184@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75102 >Category: ports >Synopsis: New port: www/shttpd (simple http server) >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: Wed Dec 15 11:40:18 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Sergey Lyubka >Release: 5.3 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # www/shttpd/ # www/shttpd/files # www/shttpd/files/shttpd.1 # www/shttpd/pkg-descr # www/shttpd/Makefile # www/shttpd/distinfo # www/shttpd/pkg-plist # echo c - www/shttpd/ mkdir -p www/shttpd/ > /dev/null 2>&1 echo c - www/shttpd/files mkdir -p www/shttpd/files > /dev/null 2>&1 echo x - www/shttpd/files/shttpd.1 sed 's/^X//' >www/shttpd/files/shttpd.1 << 'END-of-www/shttpd/files/shttpd.1' X.TH SHTTPD 1 X.SH NAME Xshttpd \- Simple HTTP Daemon X.SH SYNOPSIS X.B shttpd X.I [OPTIONS] X.br X.SH "DESCRIPTION" X.B shttpd Xis a simple web server with CGI support. XIt does not detach from terminal. It stores logs in a standard format. X.SH OPTIONS X.TP 13 X.I \-d directory Xdocument root directory (default .) X.TP 13 X.I \-p port Xlistening port (default 80 for non-SSL, 443 for SSL mode) X.TP 13 X.I \-h Xdisplay help X.TP 13 X.I \-l logfile Xlog file (default httpd.log) X.TP 13 X.I \-i file1[,file2..] Xindex file (default index.html,index.cgi,index.php) X.TP 13 X.I \-c XCGI file pattern (default .cgi) X.TP 13 X.I \-P passfile Xglobal auth passwords file (default none) X.TP 13 X.I \-u uid Xrun-time numeric UID (default none) X.SH COPYRIGHT X.B shttpd Xis licensed under the terms of MIT license. X.SH BUGS XPlease send bug reports to <valenok@gmail.com> X.SH AUTHOR XSergey Lyubka <valenok@gmail.com> END-of-www/shttpd/files/shttpd.1 echo x - www/shttpd/pkg-descr sed 's/^X//' >www/shttpd/pkg-descr << 'END-of-www/shttpd/pkg-descr' XSHTTPD is a simple, easy to use, embeddable web server with CGI, XSSL, cookies support. It is written in C, as one single source file httpd.c, Xand compiles both in UNIX and Windows environments. Gives exceptionally Xsmall footprint when linked against uclibc or dietlibc. It is a good choice Xto serve Web based GUI for various applications, where other sophisticated Xservers like Apache, IIS etc are too big, hard to install and configure or Xovercomplicated. Xshttpd is licensed under the terms of very liberal MIT license. END-of-www/shttpd/pkg-descr echo x - www/shttpd/Makefile sed 's/^X//' >www/shttpd/Makefile << 'END-of-www/shttpd/Makefile' X# New ports collection makefile for: shttpd X# Date created: Wed Dec 15, 2004 X# Whom: Sergey Lyubka (valenok@gmail.com) X# X# $FreeBSD$ X# X XPORTNAME= shttpd XPORTVERSION= 1.0 XCATEGORIES= www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= shttpd XDISTNAME= httpd.c XEXTRACT_SUFX= XEXTRACT_ONLY= #none X XMAINTAINER= valenok@gmail.com XCOMMENT= Simple embeddable web server with CGI support X XNO_WRKSUBDIR= yes XDIST_SUBDIR= ${PORTNAME} XMAN1= shttpd.1 X Xpost-extract: X ${CP} ${DISTDIR}/${DIST_SUBDIR}/httpd.c ${WRKSRC}/ X Xdo-build: X ${CC} ${CFLAGS} -o ${WRKSRC}/shttpd ${WRKSRC}/httpd.c X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/shttpd ${PREFIX}/bin X ${INSTALL_MAN} ${FILESDIR}/shttpd.1 ${PREFIX}/man/man1 X X.include <bsd.port.mk> END-of-www/shttpd/Makefile echo x - www/shttpd/distinfo sed 's/^X//' >www/shttpd/distinfo << 'END-of-www/shttpd/distinfo' XMD5 (shttpd/httpd.c) = b889be47e050449250931c46ba40b525 XSIZE (shttpd/httpd.c) = 41033 END-of-www/shttpd/distinfo echo x - www/shttpd/pkg-plist sed 's/^X//' >www/shttpd/pkg-plist << 'END-of-www/shttpd/pkg-plist' Xbin/shttpd END-of-www/shttpd/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412151134.iBFBYkTu015342>