Date: Wed, 26 May 1999 15:19:29 +0200 (CEST) From: Anders Nordby <anders@fix.no> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/11893: new port: www/thttpd Message-ID: <199905261319.PAA43629@totem.tihlde.hist.no>
next in thread | raw e-mail | index | archive | help
>Number: 11893 >Category: ports >Synopsis: new port: www/thttpd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 26 06:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Anders Nordby >Release: FreeBSD 3.1-STABLE i386 >Organization: >Environment: >Description: This is a new port of this tiny/turbo/throttling HTTP server. Some times Apache just is too much. :-) >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: # # thttpd # thttpd/Makefile # thttpd/pkg # thttpd/pkg/COMMENT # thttpd/pkg/DESCR # thttpd/pkg/PLIST # thttpd/files # thttpd/files/md5 # echo c - thttpd mkdir -p thttpd > /dev/null 2>&1 echo x - thttpd/Makefile sed 's/^X//' >thttpd/Makefile << 'END-of-thttpd/Makefile' X# New ports collection makefile for: thttpd X# Version required: thttpd-2.04 X# Date created: 24 May 1999 X# Whom: Anders Nordby <anders@fix.no> X# X# $Id$ X# X XDISTNAME= thttpd-2.04 XCATEGORIES= www XMASTER_SITES= http://www.acme.com/software/thttpd/ \ X http://www.freenix.no/~anders/ XEXTRACT_SUFX= .tar.Z X XMAINTAINER= anders@fix.no X XNO_PACKAGE= "Group needs to be created for users to have their own web dirs" X XGNU_CONFIGURE= yes X XMAN1= makeweb.1 htpasswd.1 XMAN8= thttpd.8 nph-redirect.8 ssi.8 syslogtocern.8 X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/thttpd ${PREFIX}/sbin/ X @${INSTALL_MAN} ${WRKSRC}/thttpd.8 ${PREFIX}/man/man8 X @${INSTALL} -d -o root -g wheel -m 0775 ${PREFIX}/www X @${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/www/cgi-bin X @${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/nph-redirect ${PREFIX}/www/cgi-bin/ X @${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/ssi ${PREFIX}/www/cgi-bin/ X @${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/phf ${PREFIX}/www/cgi-bin/ X @${INSTALL_MAN} ${WRKSRC}/cgi-src/nph-redirect.8 ${PREFIX}/man/man8 X @${INSTALL_MAN} ${WRKSRC}/cgi-src/ssi.8 ${PREFIX}/man/man8 X @${INSTALL_PROGRAM} ${WRKSRC}/extras/makeweb ${PREFIX}/bin/ X @${INSTALL} -c -m 755 -o root -g wheel ${WRKSRC}/extras/syslogtocern ${PREFIX}/bin/ X @${INSTALL_PROGRAM} ${WRKSRC}/extras/htpasswd ${PREFIX}/bin/ X @${INSTALL_MAN} ${WRKSRC}/extras/makeweb.1 ${PREFIX}/man/man1 X @${INSTALL_MAN} ${WRKSRC}/extras/htpasswd.1 ${PREFIX}/man/man1 X @${INSTALL_MAN} ${WRKSRC}/extras/syslogtocern.8 ${PREFIX}/man/man8 X Xpost-install: message X Xmessage: X @${ECHO} "=====================================================================" X @${ECHO} "" X @${ECHO} "If you want users to be able to create their own web subdirectories" X @${ECHO} "off of the main web directory, you need to:" X @${ECHO} "" X @${ECHO} "a) add a group for www admins" X @${ECHO} "b) chgrp yourgroup ${PREFIX}/bin/makeweb ${PREFIX}/www" X @${ECHO} "c) chmod 2755 ${PREFIX}/bin/makeweb" X @${ECHO} "d) tell them about makeweb(1)" X @${ECHO} "" X @${ECHO} "=====================================================================" X X.include <bsd.port.mk> END-of-thttpd/Makefile echo c - thttpd/pkg mkdir -p thttpd/pkg > /dev/null 2>&1 echo x - thttpd/pkg/COMMENT sed 's/^X//' >thttpd/pkg/COMMENT << 'END-of-thttpd/pkg/COMMENT' XTiny/turbo/throttling HTTP server. END-of-thttpd/pkg/COMMENT echo x - thttpd/pkg/DESCR sed 's/^X//' >thttpd/pkg/DESCR << 'END-of-thttpd/pkg/DESCR' X thttpd - tiny/turbo/throttling HTTP server X Xthttpd is a simple, small, portable, fast, and secure HTTP server. X XSimple: It handles only the minimum necessary to implement HTTP/1.1. X XSmall: See the size comparison chart at Xhttp://www.acme.com/software/thttpd/notes.html#sizes. It also has a Xvery small run-time size, since it does not fork and is very careful about Xmemory allocation. X XPortable: It compiles cleanly on SunOS 4.1.x, Solaris 2.x, BSD/OS 2.x, XLinux 1.2.x, and OSF/1 (on a 64-bit Alpha). X XFast: In typical use it's about as fast as the best full-featured servers X(Apache, NCSA, Netscape). Under extreme load it's much faster. X XSecure: It goes to great lengths to protect the web server machine Xagainst attacks and breakins from other sites. X XIt also has one extremely useful feature (URL-traffic-based throttling) that Xno other server currently has. X XWWW: http://www.acme.com/software/thttpd/ END-of-thttpd/pkg/DESCR echo x - thttpd/pkg/PLIST sed 's/^X//' >thttpd/pkg/PLIST << 'END-of-thttpd/pkg/PLIST' Xsbin/thttpd Xwww/cgi-bin/nph-redirect Xwww/cgi-bin/ssi Xwww/cgi-bin/phf Xbin/htpasswd Xbin/syslogtocern Xbin/makeweb X@dirrm www/cgi-bin X@dirrm www END-of-thttpd/pkg/PLIST echo c - thttpd/files mkdir -p thttpd/files > /dev/null 2>&1 echo x - thttpd/files/md5 sed 's/^X//' >thttpd/files/md5 << 'END-of-thttpd/files/md5' XMD5 (thttpd-2.04.tar.Z) = df4d68964ebe8d2d1b135db9b463b841 END-of-thttpd/files/md5 exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905261319.PAA43629>