Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2000 20:06:09 -0800 (PST)
From:      Matt Braithwaite <mab@red-bean.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16115: NEW PORT: aolserver3
Message-ID:  <200001140406.UAA90264@zildjian.hq.alink.net>

next in thread | raw e-mail | index | archive | help

>Number:         16115
>Category:       ports
>Synopsis:       AOL's web server
>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 Jan 13 20:10:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Braithwaite
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Red Bean Software
>Environment:
>Description:

This program is one of the best kept secrets on the net IMO.
It wasn't written for BSD, but I think I've cleaned up most
of the rough edges---one exception is that the logs don't go
in /var.  This seemed too painful to fix, but I think my 
install otherwise respects hier(7).


# 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/aolserver3
#	www/aolserver3/files
#	www/aolserver3/files/md5
#	www/aolserver3/pkg
#	www/aolserver3/pkg/PLIST
#	www/aolserver3/pkg/COMMENT
#	www/aolserver3/pkg/DESCR
#	www/aolserver3/pkg/MESSAGE
#	www/aolserver3/Makefile
#	www/aolserver3/patches
#	www/aolserver3/patches/patch-aa
#
echo c - www/aolserver3
mkdir -p www/aolserver3 > /dev/null 2>&1
echo c - www/aolserver3/files
mkdir -p www/aolserver3/files > /dev/null 2>&1
echo x - www/aolserver3/files/md5
sed 's/^X//' >www/aolserver3/files/md5 << 'END-of-www/aolserver3/files/md5'
XMD5 (as3b5.src.tgz) = d1d97a21093a2ac32ff3e29c9fc4a663
END-of-www/aolserver3/files/md5
echo c - www/aolserver3/pkg
mkdir -p www/aolserver3/pkg > /dev/null 2>&1
echo x - www/aolserver3/pkg/PLIST
sed 's/^X//' >www/aolserver3/pkg/PLIST << 'END-of-www/aolserver3/pkg/PLIST'
Xsbin/nsd
Xsbin/nsd76
Xsbin/nsd82
Xsbin/translate-ini
Xlibexec/aolserver3/nscgi.so
Xlibexec/aolserver3/nscp.so
Xlibexec/aolserver3/nsext.so
Xlibexec/aolserver3/nslog.so
Xlibexec/aolserver3/nsperm.so
Xlibexec/aolserver3/nssock.so
Xlibexec/aolserver3/nsunix.so
Xlibexec/aolserver3/nsvhr.so
X@dirrm libexec/aolserver3
Xlib/libnspd.a
X@dirrm etc/aolserver3/modules/nsunix
Xetc/aolserver3/modules/tcl/nsperm/compat.tcl
Xetc/aolserver3/modules/tcl/nsperm/init.tcl
X@dirrm etc/aolserver3/modules/tcl/nsperm
Xetc/aolserver3/modules/tcl/sendmail.tcl
Xetc/aolserver3/modules/tcl/prodebug.tcl
Xetc/aolserver3/modules/tcl/modlog.tcl
Xetc/aolserver3/modules/tcl/http.tcl
Xetc/aolserver3/modules/tcl/form.tcl
Xetc/aolserver3/modules/tcl/debug.tcl
X@dirrm etc/aolserver3/modules/tcl
X@dirrm etc/aolserver3/modules
Xetc/aolserver3/nsd.tcl.sample
X@dirrm etc/aolserver3
Xinclude/aolserver3/ns.h
Xinclude/aolserver3/nsextmsg.h
Xinclude/aolserver3/nspd.h
Xinclude/aolserver3/nsthread.h
Xinclude/aolserver3/tcl.h
Xinclude/aolserver3/tcl76.h
Xinclude/aolserver3/tcl82.h
Xinclude/aolserver3/tclDecls.h
X@dirrm include/aolserver3
X@dirrm www/aolserver3/servers/example-server/modules/tcl
X@dirrm www/aolserver3/servers/example-server/modules/nscp
Xwww/aolserver3/servers/example-server/modules/nsperm/group
Xwww/aolserver3/servers/example-server/modules/nsperm/hosts.allow
Xwww/aolserver3/servers/example-server/modules/nsperm/hosts.deny
Xwww/aolserver3/servers/example-server/modules/nsperm/passwd
Xwww/aolserver3/servers/example-server/modules/nsperm/perms
X@dirrm www/aolserver3/servers/example-server/modules/nsperm
X@dirrm www/aolserver3/servers/example-server/modules/nslog
X@dirrm www/aolserver3/servers/example-server/modules
Xwww/aolserver3/servers/example-server/pages/index.html
X@dirrm www/aolserver3/servers/example-server/pages
X@dirrm www/aolserver3/servers/example-server
X@dirrm www/aolserver3/servers
X@dirrm www/aolserver3/log
X@dirrm www/aolserver3/
Xshare/examples/aolserver3/alias/alias.c
Xshare/examples/aolserver3/alias/makefile
Xshare/examples/aolserver3/alias/nsd.tcl
X@dirrm share/examples/aolserver3/alias
Xshare/examples/aolserver3/counter/counter.c
Xshare/examples/aolserver3/counter/makefile
Xshare/examples/aolserver3/counter/nsd.tcl
X@dirrm share/examples/aolserver3/counter
Xshare/examples/aolserver3/logrefer/logrefer.c
Xshare/examples/aolserver3/logrefer/makefile
Xshare/examples/aolserver3/logrefer/nsd.tcl
X@dirrm share/examples/aolserver3/logrefer
Xshare/examples/aolserver3/makefile
Xshare/examples/aolserver3/nscommdrv/makefile
Xshare/examples/aolserver3/nscommdrv/nscommdrv.c
Xshare/examples/aolserver3/nscommdrv/nsd.tcl
X@dirrm share/examples/aolserver3/nscommdrv
Xshare/examples/aolserver3/nshello/makefile
Xshare/examples/aolserver3/nshello/nsd.tcl
Xshare/examples/aolserver3/nshello/nshello.c
X@dirrm share/examples/aolserver3/nshello
Xshare/examples/aolserver3/nsproxy/display.c
Xshare/examples/aolserver3/nsproxy/display.h
Xshare/examples/aolserver3/nsproxy/makefile
Xshare/examples/aolserver3/nsproxy/nsd.tcl
Xshare/examples/aolserver3/nsproxy/nsproxy.c
X@dirrm share/examples/aolserver3/nsproxy
Xshare/examples/aolserver3/postgres/makefile
Xshare/examples/aolserver3/postgres/nsd.tcl
Xshare/examples/aolserver3/postgres/postgres.c
X@dirrm share/examples/aolserver3/postgres
Xshare/examples/aolserver3/stats/makefile
Xshare/examples/aolserver3/stats/nsd.tcl
Xshare/examples/aolserver3/stats/stats.c
X@dirrm share/examples/aolserver3/stats
Xshare/examples/aolserver3/tclcs/makefile
Xshare/examples/aolserver3/tclcs/nsd.tcl
Xshare/examples/aolserver3/tclcs/tclcs.c
X@dirrm share/examples/aolserver3/tclcs
Xshare/examples/aolserver3/tclhello/makefile
Xshare/examples/aolserver3/tclhello/nsd.tcl
Xshare/examples/aolserver3/tclhello/tclhello.c
X@dirrm share/examples/aolserver3/tclhello
Xshare/examples/aolserver3/tests/makefile
Xshare/examples/aolserver3/tests/nsd.tcl
Xshare/examples/aolserver3/tests/tests.c
X@dirrm share/examples/aolserver3/tests
Xetc/rc.d/aolserver3.sh
END-of-www/aolserver3/pkg/PLIST
echo x - www/aolserver3/pkg/COMMENT
sed 's/^X//' >www/aolserver3/pkg/COMMENT << 'END-of-www/aolserver3/pkg/COMMENT'
XA multithreaded web server with embedded TCL interpreter.
END-of-www/aolserver3/pkg/COMMENT
echo x - www/aolserver3/pkg/DESCR
sed 's/^X//' >www/aolserver3/pkg/DESCR << 'END-of-www/aolserver3/pkg/DESCR'
XAOLserver is a highly-optimized multi-threaded web server. Its main
Xfeatures include database connection-pooling and a powerful Tcl API
Xfor application development.
X
XThe support for FreeBSD probably needs work, and I will gratefully
X(and, it is to be hoped, promptly) accept patches or suggestions for
Xthis port.
X
XMore information is available at www.aolserver.com.
X
X- Matt Braithwaite <mab@red-bean.com>
END-of-www/aolserver3/pkg/DESCR
echo x - www/aolserver3/pkg/MESSAGE
sed 's/^X//' >www/aolserver3/pkg/MESSAGE << 'END-of-www/aolserver3/pkg/MESSAGE'
X
X
XAssuming you have changed to /usr/local, please copy
Xetc/aolserver3/nsd.tcl.sample to etc/aolserver3/nsd.tcl and season to
Xtaste.  An example server is in at www/data/aolserver/servers, and you
Xshould similarly copy the contents of this directory to, e.g.,
Xwww/data/aolserver/servers/www.mydomain.com before modifying them.
X
X
END-of-www/aolserver3/pkg/MESSAGE
echo x - www/aolserver3/Makefile
sed 's/^X//' >www/aolserver3/Makefile << 'END-of-www/aolserver3/Makefile'
X# New ports collection makefile for:	aolserver3
X# Version required:	3.0b5
X# Date created:		13 January 2000
X# Whom:			Matt Braithwaite <mab@red-bean.com>
X#
X# $Id$
X#
X# Location of log and PID file
X# /usr/local/www/aolserver3/log/nspid.example-server
X
XDISTNAME=	as3b5
XPKGNAME=	aolserver-3.0b5
XCATEGORIES=	www
XMASTER_SITES=	http://aolserver.com/download/3.0b5/
XEXTRACT_SUFX=	.src.tgz
X
XMAINTAINER=	mab@red-bean.com
X
XNO_PACKAGE=	"ignores cflags"
X
XUSE_GMAKE=	yes
X
XMAKEFILE=	makefile
X
XMAN3= 	ns_absoluteurl.3 ns_abstimedwaitforevent.3 ns_adjtime.3 \
X	ns_adpregisterparser.3 ns_allocthreadlocalstorage.3 \
X	ns_asctime.3 ns_authorizerequest.3 ns_authorizeuser.3 \
X	ns_begindetachedthread.3 ns_beginthread.3 ns_bindsock.3 \
X	ns_broadcastevent.3 ns_cachebroadcast.3 ns_cachecreate.3 \
X	ns_cachecreateentry.3 ns_cachecreatesz.3 ns_cachedeleteentry.3 \
X	ns_cachefind.3 ns_cachefindentry.3 ns_cachefirstentry.3 \
X	ns_cacheflush.3 ns_cacheflushentry.3 ns_cachefree.3 \
X	ns_cachegetvalue.3 ns_cachekey.3 ns_cachelock.3 \
X	ns_cachemalloc.3 ns_cachename.3 ns_cachenextentry.3 \
X	ns_cachesetvalue.3 ns_cachesetvaluesz.3 ns_cachesignal.3 \
X	ns_cachetimedgetvalue.3 ns_cachetimedwait.3 ns_cacheunlock.3 \
X	ns_cacheunsetvalue.3 ns_cachewait.3 ns_calloc.3 \
X	ns_checkstack.3 ns_closeonexec.3 ns_condbroadcast.3 \
X	ns_conddestroy.3 ns_condinit.3 ns_condsignal.3 \
X	ns_condtimedwait.3 ns_condwait.3 ns_configgetbool.3 \
X	ns_configgetint.3 ns_configgetint64.3 ns_configgetpath.3 \
X	ns_configgetsection.3 ns_configgetsections.3 \
X	ns_configgetvalue.3 ns_configgetvalueexact.3 \
X	ns_connauthpasswd.3 ns_connauthuser.3 ns_connclose.3 \
X	ns_conncondsetheaders.3 ns_connconstructheaders.3 \
X	ns_conncontentlength.3 ns_conncontentsent.3 \
X	ns_conncopytochannel.3 ns_conncopytodstring.3 \
X	ns_conncopytofd.3 ns_conncopytofile.3 ns_conndrivercontext.3 \
X	ns_conndrivername.3 ns_connflushcontent.3 \
X	ns_connflushheaders.3 ns_conngetquery.3 ns_conngets.3 \
X	ns_connheaders.3 ns_connhost.3 ns_conninit.3 ns_connlocation.3 \
X	ns_connmodifiedsince.3 ns_connoutputheaders.3 ns_connpeer.3 \
X	ns_connpeerport.3 ns_connport.3 ns_connprintfheader.3 \
X	ns_connputs.3 ns_connread.3 ns_connreadheaders.3 \
X	ns_connreadline.3 ns_connredirect.3 ns_connreplaceheaders.3 \
X	ns_connresponselength.3 ns_connresponsestatus.3 \
X	ns_connreturnadminnotice.3 ns_connreturnbadrequest.3 \
X	ns_connreturndata.3 ns_connreturnfile.3 \
X	ns_connreturnforbidden.3 ns_connreturnhtml.3 \
X	ns_connreturninternalerror.3 ns_connreturnnoresponse.3 \
X	ns_connreturnnotfound.3 ns_connreturnnotice.3 \
X	ns_connreturnnotimplemented.3 ns_connreturnnotmodified.3 \
X	ns_connreturnok.3 ns_connreturnopenchannel.3 \
X	ns_connreturnopenfd.3 ns_connreturnopenfile.3 \
X	ns_connreturnredirect.3 ns_connreturnstatus.3 \
X	ns_connreturnunauthorized.3 ns_connrunrequest.3 \
X	ns_connsendchannel.3 ns_connsenddstring.3 ns_connsendfd.3 \
X	ns_connsendfp.3 ns_connserver.3 ns_connsetexpiresheader.3 \
X	ns_connsetheaders.3 ns_connsetlastmodifiedheader.3 \
X	ns_connsetlengthheader.3 ns_connsetrequiredheaders.3 \
X	ns_connsettypeheader.3 ns_connwrite.3 ns_csdestroy.3 \
X	ns_csenter.3 ns_csinit.3 ns_csleave.3 ns_ctime.3 \
X	ns_db0or1row.3 ns_db1row.3 ns_dbbindrow.3 ns_dbbouncepool.3 \
X	ns_dbcancel.3 ns_dbdml.3 ns_dbdriverdbtype.3 ns_dbdrivername.3 \
X	ns_dbexec.3 ns_dbflush.3 ns_dbgetrow.3 ns_dbinterpretsqlfile.3 \
X	ns_dbpoolallowable.3 ns_dbpooldefault.3 ns_dbpooldescription.3 \
X	ns_dbpoolgethandle.3 ns_dbpoolgetmultiplehandles.3 \
X	ns_dbpoollist.3 ns_dbpoolputhandle.3 ns_dbpooltimedgethandle.3 \
X	ns_dbpooltimedgetmultiplehandles.3 ns_dbquotevalue.3 \
X	ns_dbregisterdriver.3 ns_dbselect.3 ns_dbsetexception.3 \
X	ns_dbspexec.3 ns_dbspgetparams.3 ns_dbspreturncode.3 \
X	ns_dbspsetparam.3 ns_dbspstart.3 ns_decodeurl.3 \
X	ns_destroycriticalsection.3 ns_destroyevent.3 \
X	ns_destroymutex.3 ns_destroyrwlock.3 ns_destroysemaphore.3 \
X	ns_difftime.3 ns_driverenablekeepalive.3 ns_dstringappend.3 \
X	ns_dstringappendarg.3 ns_dstringexport.3 ns_dstringfree.3 \
X	ns_dstringinit.3 ns_dstringlength.3 ns_dstringnappend.3 \
X	ns_dstringprintf.3 ns_dstringtrunc.3 ns_dstringvalue.3 \
X	ns_dstringvarappend.3 ns_duphigh.3 ns_encodeurl.3 ns_encrypt.3 \
X	ns_entercriticalsection.3 ns_execargblk.3 ns_execargv.3 \
X	ns_execproc.3 ns_execprocess.3 ns_exitthread.3 ns_fatal.3 \
X	ns_fetchpage.3 ns_fetchurl.3 ns_fork.3 ns_free.3 \
X	ns_freerequest.3 ns_getconninterp.3 ns_getdriver.3 \
X	ns_getdrivercontext.3 ns_getdriverlabel.3 ns_getdrivername.3 \
X	ns_getdriverproc.3 ns_getfirstdriver.3 ns_gethostbyaddr.3 \
X	ns_getmimetype.3 ns_getnextdriver.3 ns_getrequest.3 \
X	ns_getsockaddr.3 ns_getthread.3 ns_getthreadid.3 \
X	ns_getthreadlocalstorage.3 ns_gettime.3 ns_getuid.3 \
X	ns_getuserhome.3 ns_gmtime.3 ns_homepath.3 ns_httptime.3 \
X	ns_htuudecode.3 ns_htuuencode.3 ns_incrtime.3 ns_inetntoa.3 \
X	ns_infoboottime.3 ns_infobuilddate.3 ns_infoconfigfile.3 \
X	ns_infoerrorlog.3 ns_infohomepath.3 ns_infohostname.3 \
X	ns_infolabel.3 ns_infopid.3 ns_infoplatform.3 \
X	ns_infoservername.3 ns_infoserversstarted.3 \
X	ns_infoserverversion.3 ns_infoshutdownpending.3 \
X	ns_infostarted.3 ns_infouptime.3 \
X	ns_initializecriticalsection.3 ns_initializeevent.3 \
X	ns_initializemutex.3 ns_initializerwlock.3 \
X	ns_initializesemaphore.3 ns_leavecriticalsection.3 \
X	ns_libpath.3 ns_localtime.3 ns_lockmutex.3 ns_log.3 ns_log2.3 \
X	ns_logroll.3 ns_logtime.3 ns_makepath.3 ns_malloc.3 ns_match.3 \
X	ns_modlog.3 ns_modloggetthreshold.3 ns_modloglookuphandle.3 \
X	ns_modloglookuprealm.3 ns_modlogredirect.3 ns_modlogregister.3 \
X	ns_modlogsetthreshold.3 ns_moduleload.3 ns_modulepath.3 \
X	ns_modulesymbol.3 ns_mutexdestroy.3 ns_mutexinit.3 \
X	ns_mutexlock.3 ns_mutexunlock.3 ns_nextword.3 \
X	ns_normalizepath.3 ns_pageroot.3 ns_parseheader.3 \
X	ns_parsehttptime.3 ns_parserequest.3 ns_parseurl.3 \
X	ns_pathisabsolute.3 ns_permpasswordcheck.3 ns_poolalloc.3 \
X	ns_poolcreate.3 ns_pooldestroy.3 ns_pooldump.3 ns_poolfree.3 \
X	ns_poolrealloc.3 ns_pooltrace.3 ns_querytoset.3 ns_queueconn.3 \
X	ns_quotehtml.3 ns_readdir.3 ns_readlockrwlock.3 \
X	ns_readunlockrwlock.3 ns_realloc.3 ns_registeratexit.3 \
X	ns_registeratprestartup.3 ns_registeratsignal.3 \
X	ns_registeratstartup.3 ns_registercleanup.3 \
X	ns_registerdriver.3 ns_registerfilter.3 ns_registerlocation.3 \
X	ns_registerproxyrequest.3 ns_registerrequest.3 \
X	ns_registerreturn.3 ns_registerservershutdown.3 \
X	ns_registerservertrace.3 ns_registershutdown.3 \
X	ns_relativeurl.3 ns_releasesemaphore.3 ns_rollfile.3 \
X	ns_rwlockdestroy.3 ns_rwlockinit.3 ns_rwlockrdlock.3 \
X	ns_rwlockunlock.3 ns_rwlockwrlock.3 ns_scheduledaily.3 \
X	ns_scheduleproc.3 ns_scheduleprocex.3 ns_scheduleweekly.3 \
X	ns_semadestroy.3 ns_semainit.3 ns_semapost.3 ns_semawait.3 \
X	ns_serverspecificalloc.3 ns_serverspecificdestroy.3 \
X	ns_serverspecificget.3 ns_serverspecificset.3 ns_setcopy.3 \
X	ns_setcreate.3 ns_setdelete.3 ns_setdeletekey.3 \
X	ns_setdriverproc.3 ns_setevent.3 ns_setfind.3 ns_setfree.3 \
X	ns_setget.3 ns_setideletekey.3 ns_setifind.3 ns_setiget.3 \
X	ns_setiunique.3 ns_setkey.3 ns_setlast.3 ns_setlistfind.3 \
X	ns_setlistfree.3 ns_setmerge.3 ns_setmove.3 ns_setname.3 \
X	ns_setprint.3 ns_setput.3 ns_setputvalue.3 \
X	ns_setrequestauthorizeproc.3 ns_setrequesturl.3 ns_setsize.3 \
X	ns_setsplit.3 ns_setthreadlocalstorage.3 ns_settrunc.3 \
X	ns_setunique.3 ns_setupdate.3 ns_seturltofileproc.3 \
X	ns_setuserauthorizeproc.3 ns_setvalue.3 ns_sigmask.3 \
X	ns_signal.3 ns_sigwait.3 ns_skipurl.3 ns_sockasyncconnect.3 \
X	ns_sockcallback.3 ns_sockcancelcallback.3 ns_sockconnect.3 \
X	ns_socklisten.3 ns_socklistencallback.3 ns_sockpipe.3 \
X	ns_sockportbound.3 ns_socksetblocking.3 \
X	ns_socksetnonblocking.3 ns_socktimedconnect.3 ns_strcasefind.3 \
X	ns_strcopy.3 ns_strdup.3 ns_stringprint.3 ns_strtok.3 \
X	ns_strtolower.3 ns_strtoupper.3 ns_strtrim.3 ns_strtrimleft.3 \
X	ns_strtrimright.3 ns_tclallocateinterp.3 ns_tclappendint.3 \
X	ns_tcldeallocateinterp.3 ns_tcldestroyinterp.3 \
X	ns_tclenterset.3 ns_tcleval.3 ns_tclfreeset.3 ns_tclgetconn.3 \
X	ns_tclgetopenchannel.3 ns_tclgetopenfd.3 ns_tclgetset.3 \
X	ns_tclgetset2.3 ns_tclinitinterps.3 ns_tclinitmodule.3 \
X	ns_tclinterpserver.3 ns_tcllibrary.3 ns_tcllogerror.3 \
X	ns_tclmarkfordelete.3 ns_tclregisteratcreate.3 \
X	ns_tclregisterdeferred.3 ns_threadcreate.3 ns_threadexit.3 \
X	ns_threadfree.3 ns_threadgetname.3 ns_threadid.3 \
X	ns_threadjoin.3 ns_threadmalloc.3 ns_threadpool.3 \
X	ns_threadrealloc.3 ns_threadself.3 ns_threadsetname.3 \
X	ns_threadyield.3 ns_timedwaitforevent.3 ns_tlsalloc.3 \
X	ns_tlsget.3 ns_tlsset.3 ns_unlockmutex.3 \
X	ns_unregisterproxyrequest.3 ns_unregisterrequest.3 \
X	ns_unscheduleproc.3 ns_urlisdir.3 ns_urlisfile.3 \
X	ns_urlspecificalloc.3 ns_urlspecificdestroy.3 \
X	ns_urlspecificget.3 ns_urlspecificgetexact.3 \
X	ns_urlspecificset.3 ns_urltofile.3 ns_utimedwaitforevent.3 \
X	ns_waitforevent.3 ns_waitforprocess.3 ns_waitforsemaphore.3 \
X	ns_waitforstartup.3 ns_waitforthread.3 ns_waitprocess.3 \
X	ns_waitthread.3 ns_writeconn.3 ns_writelockrwlock.3 \
X	ns_writeunlockrwlock.3
X
XMANN=	ns_adp_abort.n ns_adp_argc.n ns_adp_argv.n ns_adp_bind_args.n \
X	ns_adp_break.n ns_adp_debug.n ns_adp_dir.n ns_adp_dump.n \
X	ns_adp_eval.n ns_adp_exception.n ns_adp_include.n \
X	ns_adp_parse.n ns_adp_puts.n ns_adp_registertag.n \
X	ns_adp_return.n ns_adp_stream.n ns_adp_tell.n ns_adp_trunc.n \
X	ns_atclose.n \
X	ns_atexit.n ns_atshutdown.n ns_atsignal.n ns_cache_flush.n \
X	ns_cache_names.n ns_cache_size.n ns_cache_stats.n \
X	ns_checkurl.n ns_chmod.n ns_cond.n ns_config.n \
X	ns_configsection.n ns_configsections.n ns_conn.n \
X	ns_conncptofp.n ns_connsendfp.n ns_cp.n ns_cpfp.n ns_cport.n \
X	ns_critsec.n ns_crypt.n ns_db.n ns_dbconfigpath.n ns_dberror.n \
X	ns_dbformvalue.n ns_dbformvalueput.n ns_dbquotename.n \
X	ns_dbquotevalue.n ns_deleterow.n ns_eval.n ns_event.n ns_ext.n \
X	ns_findrowbyid.n ns_fmttime.n ns_ftruncate.n \
X	ns_get_multipart_formdata.n ns_getcsv.n ns_getform.n \
X	ns_geturl.n ns_gifsize.n ns_gmtime.n ns_guesstype.n \
X	ns_hostbyaddr.n ns_hrefs.n ns_httpget.n ns_httpopen.n \
X	ns_httptime.n ns_info.n ns_insertrow.n ns_jpegsize.n ns_kill.n \
X	ns_library.n ns_link.n ns_localsqltimestamp.n ns_localtime.n \
X	ns_log.n ns_logroll.n ns_markfordelete.n ns_menu.n ns_mkdir.n \
X	ns_mktemp.n ns_modlog.n ns_modlogcontrol.n ns_modulepath.n \
X	ns_mutex.n ns_normalizepath.n ns_param.n ns_parseheader.n \
X	ns_parsehttptime.n ns_parsequery.n ns_passwordcheck.n \
X	ns_perm.n ns_permpasswd.n ns_pooldescription.n \
X	ns_queryexists.n ns_queryget.n ns_querygetall.n ns_quotehtml.n \
X	ns_rand.n ns_register_adptag.n ns_register_filter.n \
X	ns_register_proc.n ns_register_trace.n ns_rename.n \
X	ns_requestauthorize.n ns_respond.n ns_return.n ns_rmdir.n \
X	ns_rollfile.n ns_rwlock.n ns_schedule_daily.n \
X	ns_schedule_proc.n ns_schedule_weekly.n ns_section.n ns_sema.n \
X	ns_sendmail.n ns_server.n ns_set.n ns_set_precision.n \
X	ns_setexpires.n ns_share.n ns_shutdown.n ns_sleep.n \
X	ns_sockaccept.n ns_sockblocking.n ns_sockcallback.n \
X	ns_sockcheck.n ns_socketpair.n ns_socklisten.n \
X	ns_socklistencallback.n ns_socknonblocking.n ns_socknread.n \
X	ns_sockopen.n ns_sockselect.n ns_striphtml.n ns_symlink.n \
X	ns_thread.n ns_time.n ns_tmpnam.n ns_truncate.n ns_unlink.n \
X	ns_unregister_proc.n ns_unschedule_proc.n ns_url2file.n \
X	ns_urldecode.n ns_urlencode.n ns_uudecode.n ns_uuencode.n \
X	ns_write.n ns_writecontent.n ns_writefp.n
X
X# AOLServer's `make install' actually installs into ${WRKSRC}/root,
X# so we have to do this by hand.  Just as well---it gives us a
X# chance to respect hier(7). :-)
X
Xpost-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/root/bin/nsd76	${PREFIX}/sbin
X	${INSTALL_PROGRAM} ${WRKSRC}/root/bin/nsd82	${PREFIX}/sbin
X	${INSTALL_SCRIPT} ${WRKSRC}/root/bin/translate-ini	${PREFIX}/sbin
X	${LN} -sf ${PREFIX}/sbin/nsd82	${PREFIX}/sbin/nsd
X
X	${INSTALL_MAN} ${WRKSRC}/doc/man3/* ${PREFIX}/man/man3
X	${INSTALL_MAN} ${WRKSRC}/doc/mann/* ${PREFIX}/man/mann
X
X	${MKDIR} ${PREFIX}/libexec/aolserver3
X	${INSTALL_DATA} ${WRKSRC}/root/bin/*.so	${PREFIX}/libexec/aolserver3
X	${INSTALL_DATA} ${WRKSRC}/root/lib/libnspd.a	${PREFIX}/lib
X
X	${MKDIR} ${PREFIX}/etc/aolserver3
X	${INSTALL_DATA} ${WRKSRC}/root/nsd.tcl	${PREFIX}/etc/aolserver3/nsd.tcl.sample
X
X	${MKDIR} ${PREFIX}/include/aolserver3
X	${INSTALL_DATA} ${WRKSRC}/root/include/*	${PREFIX}/include/aolserver3
X
X	${MKDIR} ${PREFIX}/etc/aolserver3/modules/nsunix
X	${MKDIR} ${PREFIX}/etc/aolserver3/modules/tcl/nsperm
X	${INSTALL_DATA} ${WRKSRC}/root/modules/tcl/*.tcl ${PREFIX}/etc/aolserver3/modules/tcl
X	${INSTALL_DATA} ${WRKSRC}/root/modules/tcl/nsperm/*.tcl ${PREFIX}/etc/aolserver3/modules/tcl/nsperm
X
X	${MKDIR} ${PREFIX}/www/aolserver3/log
X	${MKDIR} ${PREFIX}/www/aolserver3/servers/example-server/modules/tcl
X	${MKDIR} ${PREFIX}/www/aolserver3/servers/example-server/modules/nscp
X	${MKDIR} ${PREFIX}/www/aolserver3/servers/example-server/modules/nsperm
X	${MKDIR} ${PREFIX}/www/aolserver3/servers/example-server/modules/nslog
X	${MKDIR} ${PREFIX}/www/aolserver3/servers/example-server/pages
X	${CHOWN} nobody.nogroup ${PREFIX}/www/aolserver3/servers/example-server/modules/nslog
X	${CHOWN} nobody.nogroup ${PREFIX}/www/aolserver3/log
X
X	${INSTALL_DATA} ${WRKSRC}/root/servers/server1/modules/nsperm/* ${PREFIX}/www/aolserver3/servers/example-server/modules/nsperm/
X	${INSTALL_DATA} ${WRKSRC}/root/servers/server1/pages/* ${PREFIX}/www/aolserver3/servers/example-server/pages
X
X	${MKDIR} ${PREFIX}/share/examples/aolserver3
X	${INSTALL_DATA} ${WRKSRC}/examples/c/makefile ${PREFIX}/share/examples/aolserver3
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/alias
X	${INSTALL_DATA} ${WRKSRC}/examples/c/alias/* ${PREFIX}/share/examples/aolserver3/alias
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/counter
X	${INSTALL_DATA} ${WRKSRC}/examples/c/counter/* ${PREFIX}/share/examples/aolserver3/counter
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/logrefer
X	${INSTALL_DATA} ${WRKSRC}/examples/c/logrefer/* ${PREFIX}/share/examples/aolserver3/logrefer
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/nscommdrv
X	${INSTALL_DATA} ${WRKSRC}/examples/c/nscommdrv/* ${PREFIX}/share/examples/aolserver3/nscommdrv
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/nshello
X	${INSTALL_DATA} ${WRKSRC}/examples/c/nshello/* ${PREFIX}/share/examples/aolserver3/nshello
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/nsproxy
X	${INSTALL_DATA} ${WRKSRC}/examples/c/nsproxy/* ${PREFIX}/share/examples/aolserver3/nsproxy
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/postgres
X	${INSTALL_DATA} ${WRKSRC}/examples/c/postgres/* ${PREFIX}/share/examples/aolserver3/postgres
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/stats
X	${INSTALL_DATA} ${WRKSRC}/examples/c/stats/* ${PREFIX}/share/examples/aolserver3/stats
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/tclcs
X	${INSTALL_DATA} ${WRKSRC}/examples/c/tclcs/* ${PREFIX}/share/examples/aolserver3/tclcs
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/tclhello
X	${INSTALL_DATA} ${WRKSRC}/examples/c/tclhello/* ${PREFIX}/share/examples/aolserver3/tclhello
X	${MKDIR} ${PREFIX}/share/examples/aolserver3/tests
X	${INSTALL_DATA} ${WRKSRC}/examples/c/tests/* ${PREFIX}/share/examples/aolserver3/tests
X
X	@if [ ! -f ${PREFIX}/etc/rc.d/aolserver3.sh ]; then \
X		${ECHO} "Installing ${PREFIX}/etc/rc.d/aolserver3.sh startup file."; \
X		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/aolserver3.sh; \
X		${ECHO} "[ -x ${PREFIX}/sbin/nsd  ] && ${PREFIX}/sbin/nsd -t ${PREFIX}/etc/aolserver3/nsd.tcl && ${ECHO} -n ' aolserver'" >> ${PREFIX}/etc/rc.d/aolserver3.sh; \
X		${CHMOD} 751 ${PREFIX}/etc/rc.d/aolserver3.sh; \
X	fi
X
X	${CAT} pkg/MESSAGE
X
X.include <bsd.port.mk>
END-of-www/aolserver3/Makefile
echo c - www/aolserver3/patches
mkdir -p www/aolserver3/patches > /dev/null 2>&1
echo x - www/aolserver3/patches/patch-aa
sed 's/^X//' >www/aolserver3/patches/patch-aa << 'END-of-www/aolserver3/patches/patch-aa'
X*** scripts/nsd.tcl~	Mon Jan 10 15:24:58 2000
X--- scripts/nsd.tcl	Thu Jan 13 19:24:35 2000
X***************
X*** 5,39 ****
X  
X  ns_section "ns/parameters"
X  ns_param debug        off
X! ns_param Home         $home
X  
X  ns_section "ns/servers"
X! ns_param server1      "Server One"
X  
X! ns_section "ns/server/server1"
X  ns_param directoryfile index.html
X  
X! ns_section "ns/server/server1/adp"
X  ns_param map          "/*.adp"
X  
X! ns_section "ns/server/server1/adp/parsers"
X  ns_param fancy        ".adp"
X  #ns_param adp         ".adp"
X  
X! ns_section "ns/server/server1/module/nssock"
X! #ns_param port         80
X! ns_param port         8000
X  ns_param hostname     $host
X  
X! ns_section "ns/server/server1/modules"
X! ns_param nssock       nssock.so
X! ns_param nscp         nscp.so
X! ns_param nslog        nslog.so
X  
X! ns_section "ns/server/server1/module/nscp"
X  ns_param port         9999
X  ns_param address      "127.0.0.1"
X  
X! ns_section "ns/server/server1/module/nscp/users"
X  # The default password for nsadmin is "x". You should change it.
X  ns_param user         "nsadmin:t2GqvvaiIUbF2:"
X--- 5,40 ----
X  
X  ns_section "ns/parameters"
X  ns_param debug        off
X! ns_param Home         /usr/local/www/aolserver3
X! ns_param user         nobody
X  
X  ns_section "ns/servers"
X! ns_param example-server      "Server One"
X  
X! ns_section "ns/server/example-server"
X  ns_param directoryfile index.html
X  
X! ns_section "ns/server/example-server/adp"
X  ns_param map          "/*.adp"
X  
X! ns_section "ns/server/example-server/adp/parsers"
X  ns_param fancy        ".adp"
X  #ns_param adp         ".adp"
X  
X! ns_section "ns/server/example-server/module/nssock"
X! ns_param port         80
X! #ns_param port         8000
X  ns_param hostname     $host
X  
X! ns_section "ns/server/example-server/modules"
X! ns_param nssock       /usr/local/libexec/aolserver3/nssock.so
X! ns_param nscp         /usr/local/libexec/aolserver3/nscp.so
X! ns_param nslog        /usr/local/libexec/aolserver3/nslog.so
X  
X! ns_section "ns/server/example-server/module/nscp"
X  ns_param port         9999
X  ns_param address      "127.0.0.1"
X  
X! ns_section "ns/server/example-server/module/nscp/users"
X  # The default password for nsadmin is "x". You should change it.
X  ns_param user         "nsadmin:t2GqvvaiIUbF2:"
END-of-www/aolserver3/patches/patch-aa
exit


>How-To-Repeat:
>Fix:
>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?200001140406.UAA90264>