From owner-freebsd-ports Thu May 21 22:44:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA09514 for freebsd-ports-outgoing; Thu, 21 May 1998 22:44:55 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09505 for ; Thu, 21 May 1998 22:44:50 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA21691; Thu, 21 May 1998 22:40:01 -0700 (PDT) Received: from rich.chel.su (root@mobil.surnet.ru [195.54.2.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA08386 for ; Thu, 21 May 1998 22:38:27 -0700 (PDT) (envelope-from andy@icc.surw.chel.su) Received: from icc.surw.chel.su (surw.chel.su [195.54.2.162]) by rich.chel.su (8.7.2/Murphy) with ESMTP id LAA08238 for ; Fri, 22 May 1998 11:38:39 +0600 (UDT) Received: (from andy@localhost) by icc.surw.chel.su (8.8.5/8.8.4) id JAA17477; Fri, 22 May 1998 09:41:56 +0400 (MSD) Message-Id: <199805220541.JAA17477@icc.surw.chel.su> Date: Fri, 22 May 1998 09:41:56 +0400 (MSD) From: Andrey Zakhvatov Reply-To: andy@icc.surw.chel.su To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/6718: New port: boa-0.92 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6718 >Category: ports >Synopsis: New port: boa-0.92 >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: Thu May 21 22:40:01 PDT 1998 >Last-Modified: >Originator: Andrey Zakhvatov >Organization: South Ural Railway ICC >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: >Description: This is a port of high performance single-tasking web server. Boa is a single-tasking HTTP server. That means that unlike traditional web servers, it does not fork for each incoming connection, nor does it fork many copies of itself to handle multiple connections. It internally multiplexes all of the ongoing HTTP connections, and forks only for CGI programs (which must be separate processes.) Preliminary tests show boa is about twice as fast as # 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: # # boa-0.92 # boa-0.92/Makefile # boa-0.92/patches # boa-0.92/patches/patch-ab # boa-0.92/patches/patch-aa # boa-0.92/files # boa-0.92/files/md5 # boa-0.92/pkg # boa-0.92/pkg/PLIST # boa-0.92/pkg/COMMENT # boa-0.92/pkg/DESCR # echo c - boa-0.92 mkdir -p boa-0.92 > /dev/null 2>&1 echo x - boa-0.92/Makefile sed 's/^X//' >boa-0.92/Makefile << 'END-of-boa-0.92/Makefile' X# New ports collection makefile for: boa X# Version required: 0.92 X# Date created: 21 May 1998 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= boa-0.92 XCATEGORIES= www XMASTER_SITES= http://www.boa.org/ X XMAINTAINER= andy@icc.surw.chel.su X Xdo-build: X @ cd ${WRKSRC}/src; make X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/src/boa ${PREFIX}/sbin X @ ${MKDIR} ${PREFIX}/share/examples/boa X @ ${INSTALL_DATA} ${WRKSRC}/conf/* ${PREFIX}/share/examples/boa X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${PREFIX}/share/doc/boa X @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/boa X.for file in Changelog Gnu_License biblio.html details.html details.txt logos.html newboa7.gif poweredbyboa.gif readme.html readme.txt todo.txt X @ ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/boa X.endfor X.endif X X.include END-of-boa-0.92/Makefile echo c - boa-0.92/patches mkdir -p boa-0.92/patches > /dev/null 2>&1 echo x - boa-0.92/patches/patch-ab sed 's/^X//' >boa-0.92/patches/patch-ab << 'END-of-boa-0.92/patches/patch-ab' X--- src/defines.h Sun Dec 22 22:20:16 1996 X+++ /home/andy/tmp/wrk/src/defines.h Thu May 21 22:10:31 1998 X@@ -23,7 +23,7 @@ X X /***** Change this, or use -c on the command line to specify it *****/ X X-#define SERVER_ROOT "/usr/local/boa" X+#define SERVER_ROOT "/usr/local/www" X X /***** Various stuff that you may want to tweak, but probably shouldn't *****/ X END-of-boa-0.92/patches/patch-ab echo x - boa-0.92/patches/patch-aa sed 's/^X//' >boa-0.92/patches/patch-aa << 'END-of-boa-0.92/patches/patch-aa' X--- src/Makefile Sat Dec 21 04:45:00 1996 X+++ /home/andy/tmp/wrk/src/Makefile Thu May 21 22:10:24 1998 X@@ -9,13 +9,13 @@ X X # Add -DVERBOSE_CGI_LOGS if you want logs of CGI program start and stop times X X-CMDARGS = -c -O2 X+CMDARGS = -c ${CFLAGS} X X # Change these if necessary X X YACC = bison -y X LEX = flex X-CC = gcc X+#CC = gcc X X all: boa X END-of-boa-0.92/patches/patch-aa echo c - boa-0.92/files mkdir -p boa-0.92/files > /dev/null 2>&1 echo x - boa-0.92/files/md5 sed 's/^X//' >boa-0.92/files/md5 << 'END-of-boa-0.92/files/md5' XMD5 (boa-0.92.tar.gz) = f3a28c2c911727f43eaf3e9e2703ab45 END-of-boa-0.92/files/md5 echo c - boa-0.92/pkg mkdir -p boa-0.92/pkg > /dev/null 2>&1 echo x - boa-0.92/pkg/PLIST sed 's/^X//' >boa-0.92/pkg/PLIST << 'END-of-boa-0.92/pkg/PLIST' Xsbin/boa Xshare/doc/boa/Changelog Xshare/doc/boa/Gnu_License Xshare/doc/boa/README Xshare/doc/boa/biblio.html Xshare/doc/boa/details.html Xshare/doc/boa/details.txt Xshare/doc/boa/logos.html Xshare/doc/boa/newboa7.gif Xshare/doc/boa/poweredbyboa.gif Xshare/doc/boa/readme.html Xshare/doc/boa/readme.txt Xshare/doc/boa/todo.txt Xshare/examples/boa/boa.conf Xshare/examples/boa/mime.types X@dirrm share/doc/boa X@dirrm share/examples/boa END-of-boa-0.92/pkg/PLIST echo x - boa-0.92/pkg/COMMENT sed 's/^X//' >boa-0.92/pkg/COMMENT << 'END-of-boa-0.92/pkg/COMMENT' XHigh performance single-tasking web server. END-of-boa-0.92/pkg/COMMENT echo x - boa-0.92/pkg/DESCR sed 's/^X//' >boa-0.92/pkg/DESCR << 'END-of-boa-0.92/pkg/DESCR' XBoa is a single-tasking HTTP server. That means that unlike Xtraditional web servers, it does not fork for each incoming Xconnection, nor does it fork many copies of itself to handle multiple Xconnections. It internally multiplexes all of the ongoing HTTP Xconnections, and forks only for CGI programs (which must be separate Xprocesses.) Preliminary tests show boa is about twice as fast as XApache, and is capable of handling 50 hits per second on a 66 MHz '486. X XThe primary design goals of Boa are speed and security. Security, in Xthe sense of "can't be subverted by a malicious user", not "fine Xgrained access control and encrypted communications". Boa is not Xintended as a feature-packed server; if you want one of those, check Xout WN from John Franks. Modifications to Boa that improve its speed, Xsecurity, robustness, and portability, are eagerly sought. Other Xfeatures may be added if they can be achieved without hurting the Xprimary goals. X XHomepage: http://www.boa.org END-of-boa-0.92/pkg/DESCR exit >How-To-Repeat: >Fix: Please, check and commit this port. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message