diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-01 20:07:43 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-01 20:07:43 +0000 |
commit | a78a94a4f6f91c29d1969aa948a3f809f479fc73 (patch) | |
tree | 5eff96d013b06c4e12d45766d8d5b6ac2e3cbc54 | |
parent | 2ffefb09aa7cf477702b87516503b6dec00f7c6e (diff) | |
download | pkgsrc-a78a94a4f6f91c29d1969aa948a3f809f479fc73.tar.gz |
Remove ap-aolserver. It was only needed by openacs;
its development has ceased; newer openacs releases don't need it.
Suggested by maintainer, cjones@
-rw-r--r-- | www/Makefile | 3 | ||||
-rw-r--r-- | www/ap-aolserver/DESCR | 2 | ||||
-rw-r--r-- | www/ap-aolserver/MESSAGE | 30 | ||||
-rw-r--r-- | www/ap-aolserver/Makefile | 36 | ||||
-rw-r--r-- | www/ap-aolserver/PLIST | 28 | ||||
-rw-r--r-- | www/ap-aolserver/distinfo | 6 | ||||
-rw-r--r-- | www/ap-aolserver/files/README | 8 | ||||
-rw-r--r-- | www/ap-aolserver/files/nsd.tcl.sample | 342 | ||||
-rw-r--r-- | www/ap-aolserver/patches/patch-aa | 49 |
9 files changed, 1 insertions, 503 deletions
diff --git a/www/Makefile b/www/Makefile index 2ce6c6d1cef..ded367b496b 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.398 2005/06/01 20:00:49 wiz Exp $ +# $NetBSD: Makefile,v 1.399 2005/06/01 20:07:43 wiz Exp $ # COMMENT= Packages related to the World Wide Web @@ -11,7 +11,6 @@ SUBDIR+= amaya SUBDIR+= analog SUBDIR+= ap-Embperl SUBDIR+= ap-access-referer -SUBDIR+= ap-aolserver SUBDIR+= ap-auth-cookie SUBDIR+= ap-auth-ldap SUBDIR+= ap-auth-mysql diff --git a/www/ap-aolserver/DESCR b/www/ap-aolserver/DESCR deleted file mode 100644 index 52fa979d250..00000000000 --- a/www/ap-aolserver/DESCR +++ /dev/null @@ -1,2 +0,0 @@ -This is mod_aolserver release 1.1, an Apache module that emulates enough -of the AOLserver API to run the ArsDigita Community System. diff --git a/www/ap-aolserver/MESSAGE b/www/ap-aolserver/MESSAGE deleted file mode 100644 index 024bb4823c1..00000000000 --- a/www/ap-aolserver/MESSAGE +++ /dev/null @@ -1,30 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE,v 1.3 2002/09/24 12:30:41 wiz Exp $ - -In order to use this module in your Apache installation, you need to -add the following to your httpd.conf file: - - LoadModule aolserver_module lib/httpd/mod_aolserver.so - -Also add, in any virtual hosts which will use mod_aolserver: - - AolServerConf tcl_modules /usr/local/etc/httpd/tcl_modules - AolServerConf config_file /usr/local/etc/httpd/tcl_modules/nsd.tcl - AolServerConf log_file_location /var/log/httpd/error_log - AolServerConf lockfile /var/run/aolsrv_lock - AolServerConf nsv_shmem_file /var/run/aolsrv_shmem - -And, for your DocumentRoot: - -<Directory ${PREFIX}/share/httpd/htdocs> - Options Indexes FollowSymLinks MultiViews ExecCGI - DirectoryIndex index.tcl index.adp index.shtml index.html index.htm - AddHandler adp adp - AddHandler aolserver tcl -</Directory> - -Also see the sample config files in - - ${PREFIX}/share/examples/mod_aolserver - -=========================================================================== diff --git a/www/ap-aolserver/Makefile b/www/ap-aolserver/Makefile deleted file mode 100644 index ceec457c069..00000000000 --- a/www/ap-aolserver/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# $NetBSD: Makefile,v 1.25 2005/04/11 21:47:49 tv Exp $ -# - -DISTNAME= mod_aolserver-1.1 -PKGNAME= ap-aolserver-1.1 -PKGREVISION= 5 -CATEGORIES= www -MASTER_SITES= ${MASTER_SITE_LOCAL} - -MAINTAINER= cjones@NetBSD.org -HOMEPAGE= http://www.arsdigita.com/acs-repository/one-version?version_id=601 -COMMENT= Module that emulates AOLServer in Apache - -GNU_CONFIGURE= YES - -CONFIGURE_ARGS+= --with-database=postgres -CONFIGURE_ARGS+= --with-mm=${BUILDLINK_PREFIX.libmm} - -CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql -CFLAGS+= ${APXSFLAGS_CMD:sh} - -MESSAGE_SUBST+= PREFIX=${PREFIX} - -APXSFLAGS_CMD= ${LOCALBASE}/sbin/apxs -q CFLAGS CFLAGS_SHLIB - -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_aolserver - ${INSTALL_DATA} ${FILESDIR}/README ${FILESDIR}/nsd.tcl.sample \ - ${WRKSRC}/tcl_modules/nsd.ini.sample \ - ${PREFIX}/share/examples/mod_aolserver - -.include "../../devel/libmm/buildlink3.mk" -.include "../../lang/tcl83/buildlink3.mk" -.include "../../www/apache/buildlink3.mk" -.include "../../mk/pgsql.buildlink3.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/www/ap-aolserver/PLIST b/www/ap-aolserver/PLIST deleted file mode 100644 index f01ccd2cd9e..00000000000 --- a/www/ap-aolserver/PLIST +++ /dev/null @@ -1,28 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 02:15:31 zuntum Exp $ -libexec/aol_bootstrap.tcl -libexec/aol_bootstrap/README -libexec/aol_bootstrap/Init_hooks.tcl -libexec/aol_bootstrap/Init_slave.tcl -libexec/aol_bootstrap/apache.tcl -libexec/aol_bootstrap/config.tcl -libexec/aol_bootstrap/dbsupport.tcl -libexec/aol_bootstrap/files.tcl -libexec/aol_bootstrap/misc.tcl -libexec/aol_bootstrap/regfilter.tcl -libexec/aol_bootstrap/regproc.tcl -libexec/aol_bootstrap/sched.tcl -libexec/aol_bootstrap/shared_vars.tcl -libexec/aol_bootstrap/status.tcl -@dirrm libexec/aol_bootstrap -etc/httpd/tcl_modules/README -etc/httpd/tcl_modules/form.tcl -etc/httpd/tcl_modules/http.tcl -etc/httpd/tcl_modules/nsdb.tcl -etc/httpd/tcl_modules/sendmail.tcl -etc/httpd/tcl_modules/util.tcl -@dirrm etc/httpd/tcl_modules -lib/httpd/mod_aolserver.so -share/examples/mod_aolserver/README -share/examples/mod_aolserver/nsd.ini.sample -share/examples/mod_aolserver/nsd.tcl.sample -@dirrm share/examples/mod_aolserver diff --git a/www/ap-aolserver/distinfo b/www/ap-aolserver/distinfo deleted file mode 100644 index 70f1870c54c..00000000000 --- a/www/ap-aolserver/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -$NetBSD: distinfo,v 1.4 2005/02/24 14:08:27 wiz Exp $ - -SHA1 (mod_aolserver-1.1.tar.gz) = 4173d5881c3c82cbb567da85107d032e06f17118 -RMD160 (mod_aolserver-1.1.tar.gz) = 8d678efdb4acd87251fc6e53cf8a39b53fc8f35c -Size (mod_aolserver-1.1.tar.gz) = 193569 bytes -SHA1 (patch-aa) = b5db9312ad50d0bf4b8705a54d82141ef8ad0183 diff --git a/www/ap-aolserver/files/README b/www/ap-aolserver/files/README deleted file mode 100644 index 98ccbbfc29b..00000000000 --- a/www/ap-aolserver/files/README +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: README,v 1.1.1.1 2001/07/16 17:04:02 cjones Exp $ - -Here are a couple of example config files. ONE of these should be -installed in apache's tcl_modules directory. The nsd.tcl file will -probably take less editing. - -Note that neither of these config files will actually work without -installing OpenACS. diff --git a/www/ap-aolserver/files/nsd.tcl.sample b/www/ap-aolserver/files/nsd.tcl.sample deleted file mode 100644 index 266f3bcece4..00000000000 --- a/www/ap-aolserver/files/nsd.tcl.sample +++ /dev/null @@ -1,342 +0,0 @@ -# -# AOLserver/OpenNSD Sample Configuration File -# -# Improved with lots of comments and things you'll need for -# running OpenACS. -# -# by Roberto Mello (rmello@fslc.usu.edu) -# $Id: nsd.tcl.sample,v 1.2 2001/07/19 04:19:02 cjones Exp $ -# $NetBSD: nsd.tcl.sample,v 1.2 2001/07/19 04:19:02 cjones Exp $ - -ns_log notice "nsd.tcl: starting to read config file..." - -# -# If httpport is set to 80, you'll have to start AOLserver as root and pass the user -# AOLserver will run as in the command line. (e.g. ./nsd -u nsadmin -g nsadmin -t ../nsd.tcl) -# (assuming you're starting AOLserver from the {aolserverdir}/bin directory. - -set httpport 80 -set httpsport 443 - -# -# Make sure your /etc/hostname is setup right, with your full domain. If you want AOLserver -# to listen to www.foobar.com instead of foobar.com then hard code the appropriate domain -# in the line below (e.g. set hostname www.foobar.com). -# -set hostname [ns_info hostname] -set address [ns_info address] - -# -# You can name your server whatever you want, but you'll need a directory with that -# name under {aolserverdir}/servers/ writable by you AOLserver user. -# -# For example: if your AOLserver is in /usr/local/aolserver and your server is "server1" -# you will need a /usr/local/aolserver/servers/server1 directory. -# -set server "server1" -set servername ${server} - -global server - -# -# Your DocumentRoot should be ${homedir}/${server}/www. If you're running -# Ars Digita or OpenACS, check the setting in the config file in the -# parameters directory. -# -set homedir /usr/local/share/httpd/htdocs -set bindir ${homedir}/${server}/bin - -# -# Where are your pages going to live ? -# -set pageroot ${homedir}/${server}/www -set directoryfile index.adp,index.tcl,index.html,index.htm - -# -# nsssl: Only loads if keyfile.pem and certfile.pem exist. -# If you are using SSL, make sure you have these dirs and files (refer -# to the AOLserver docs) - -set sslkeyfile ${homedir}/servers/${server}/modules/nsssl/keyfile.pem - -set sslcertfile ${homedir}/servers/${server}/modules/nsssl/certfile.pem - -# -# Global server parameters -# - -ns_section "ns/parameters" - ns_param home $homedir - ns_param debug false - ns_param MailHost localhost - ns_param ServerLog ${homedir}/log/server.log - ns_param LogRoll on - ns_param AuxConfigDir ${homedir}/${server}/parameters - -# -# Thread library (nsthread) parameters -# -ns_section "ns/threads" - ns_param mutexmeter true ;# measure lock contention - #ns_param stacksize [expr 128*1024] ;# Per-thread stack size for hungry C modules - -# -# MIME types. -# -# Note: AOLserver already has an exhaustive list of MIME types, but in -# case something is missing you can add it here. -# - -ns_section "ns/mimetypes" - ns_param default "*/*" ;# MIME type for unknown extension - ns_param noextension "*/*" ;# MIME type for missing extension - #ns_param ".xls" "application/vnd.ms-excel" - -# -# Tcl Configuration -# -ns_section "ns/server/${server}/tcl" - ns_param autoclose "on" - ns_param debug "false" - - -# This is where this server's private Tcl library is. All .tcl files in this directory -# are parsed when AOLserver starts. The crucial procedures used in OpenACS are -# defined through this library -# - ns_param library "${homedir}/${server}/tcl" - -############################################################ -# -# Server-level configuration -# -# There is only one server in AOLserver, but this is helpful when multiple -# servers share the same configuration file. This file assumes that only -# one server is in use so it is set at the top in the "server" Tcl variable -# Other host-specific values are set up above as Tcl variables, too. -# -ns_section "ns/servers" - ns_param $server $servername - -# -# Server parameters -# -ns_section "ns/server/${server}" - ns_param directoryfile $directoryfile - ns_param pageroot $pageroot - ns_param globalstats false ;# Enable built-in statistics - ns_param urlstats false ;# Enable URL statistics - ns_param maxurlstats 1000 ;# Max number of URL's to do stats on - ns_param enabletclpages true ;# Parse tcl files in pageroot (dangerous) - -# -# If you want to customize AOLserver's response to things like ``Internal Server Error'' -# and other HTTP responses. OpenACS comes with some in the directory www/global. - - ns_param NotFoundResponse "/global/file-not-found.html" - ns_param ServerBusyResponse "/global/busy.html" - ns_param ServerInternalErrorResponse "/global/error.html" - ns_param ForbiddenResponse "/global/forbidden.html" - ns_param UnauthorizedResponse "/global/unauthorized.html" - -# Directory listings -- use an ADP or a Tcl proc to generate them. -# - #ns_param directoryadp $pageroot/dirlist.adp ;# Choose one or the other - ns_param directoryproc _ns_dirlist ;# ...but not both! - ns_param directorylisting fancy ;# Can be simple or fancy -# -# ADP (AOLserver Dynamic Page) configuration -# -ns_section "ns/server/${server}/adp" - ns_param map "/*.adp" ;# Extensions to parse as ADP's - #ns_param map "/*.html" ;# Any extension can be mapped - ns_param enableexpire false ;# Set "Expires: now" on all ADP's - ns_param enabledebug false ;# Allow Tclpro debugging with "?debug" - - - -# ADP special pages - #ns_param errorpage ${pageroot}/errorpage.adp ;# Pretty-print ADP scripting errors - -# -# ADP custom parsers -- see adp.c -# -ns_section "ns/server/${server}/adp/parsers" - ns_param fancy ".adp" - -# -# Socket driver module (HTTP) -- nssock -# -ns_section "ns/server/${server}/module/nssock" - ns_param port $httpport - ns_param hostname $hostname -# ns_param address $address - -# -# Socket driver module (HTTPS) -- nsssl -# -# nsssl does not load unless sslkeyfile/sslcertfile exist (above). -# -ns_section "ns/server/${server}/module/nsssl" - ns_param port $httpsport - ns_param hostname $hostname -# ns_param address $address - ns_param keyfile $sslkeyfile - ns_param certfile $sslcertfile - -# -# Database drivers -# The database driver is specified here. PostgreSQL driver being loaded. -# Make sure you have the driver compiled and put it in {aolserverdir}/bin -# -#ns_section "ns/db/drivers" -# ns_param postgres ${bindir}/postgres.so ;# Load PostgreSQL driver - -ns_section "ns/db/driver/postgres" - ns_param datestyle iso - -# -# Database Pools: This is how AOLserver ``talks'' to the RDBMS. You need three for -# OpenACS: main, log, subquery. Make sure to replace ``yourdb'' and ``yourpassword'' -# with the actual values for your db name and the password for it. -# AOLserver can have different pools connecting to different databases and even different -# different database servers. -# -ns_section "ns/db/pools" - ns_param main "OpenACS Main Pool" - ns_param log "OpenACS Log Pool" - ns_param subquery "OpenACS Subquery Pool" - -ns_section "ns/db/pool/main" - ns_param Driver postgres - ns_param Connections 5 ;# 5 is a good number. Increase according to your needs - ns_param DataSource localhost::yourdb ;# Replace 'yourdb' with the name of your database in PG - ns_param User nsadmin ;# User and password AOLserver will use to connect - ns_param Password "yourpassword" - ns_param Verbose Off ;# Set it to On to see all queries. Good for debugging SQL. - ns_param LogSQLErrors On - ns_param ExtendedTableInfo On - # ns_param MaxOpen 1000000000 ;# Max time to keep idle db connection open - # ns_param MaxIdle 1000000000 ;# Max time to keep active db connection open - -ns_section "ns/db/pool/log" - ns_param Driver postgres - ns_param Connections 5 - ns_param DataSource localhost::yourdb - ns_param User nsadmin - ns_param Password "yourpassword" - ns_param Verbose Off - ns_param LogSQLErrors On - ns_param ExtendedTableInfo On - # ns_param MaxOpen 1000000000 - # ns_param MaxIdle 1000000000 - -ns_section "ns/db/pool/subquery" - ns_param Driver postgres - ns_param Connections 2 - ns_param DataSource localhost::yourdb - ns_param User nsadmin - ns_param Password "yourpassword" - ns_param Verbose Off - ns_param LogSQLErrors On - ns_param ExtendedTableInfo On - # ns_param MaxOpen 1000000000 - # ns_param MaxIdle 1000000000 - -ns_section "ns/server/${server}/db" - ns_param Pools "main,subquery,log" - ns_param DefaultPool "main" - -# -# nscp: AOLserver Control Port - very useful for testing and evaluating. -# Uncomment the sample password below and do a "telnet localhost 9999" -# log in with "nsadmin", password "x", type "ns_crypt newpassword salt" -# and paste the new encrypted string below. -# -# Sample User="nsadmin", password="x" - set nscp_user "nsadmin:t2GqvvaiIUbF2:" - -# -# Control port -- nscp -# nscp does not load unless nscp_user is a valid user. -# -ns_section "ns/server/${server}/module/nscp" - ns_param port 9999 - ns_param address "127.0.0.1" ;# LOCALHOST IS RECOMMENDED - -ns_section "ns/server/${server}/module/nscp/users" - ns_param user $nscp_user - -# -# Access log -- nslog -# -ns_section "ns/server/${server}/module/nslog" - ns_param rolllog true ;# Should we roll log? - ns_param rollonsignal true ;# Roll log on SIGHUP - ns_param rollhour 0 ;# Time to roll log - ns_param maxbackup 5 ;# Max number to keep around when rolling - -# -# nsjava - aolserver module that embeds a java virtual machine. Needed to -# support webmail. See http://nsjava.sourceforge.net for further -# details. -# - -ns_section "ns/server/acs-pg/module/nsjava" - ns_param EnableJava "off" ;# Set to on to enable nsjava. - ns_param VerboseJvm "off" ;# Same as command line -debug. - ns_param LogLevel "Notice" - ns_param DestroyJvm "off" ;# Destroy jvm on shutdown. - ns_param DisableJITCompiler "off" - ns_param ClassPath "/usr/local/jdk/jdk118_v1/lib/classes.zip:/usr/local/aolserver/bin/nsjava.jar:/home/nsadmin/mirror/acs3-pg/www/webmail/java/activation.jar:/home/nsadmin/mirror/acs3-pg/www/webmail/java/mail.jar:/home/nsadmin/mirror/acs3-pg/www/webmail/java" - -# -# CGI interface -- nscgi, if you have legacy stuff. Tcl or ADP files inside -# AOLserver are vastly superior to CGIs. You don't actually need the Interps -# if your script calls the appropriate interpreter itself. -# -#ns_section "ns/server/${server}/module/nscgi" -# ns_param map "GET /cgi-bin ${homedir}/$server/cgi-bin" -# ns_param map "POST /cgi-bin ${homedir}/$server/cgi-bin" -# ns_param Interps CGIinterps - -#ns_section "ns/interps/CGIinterps" -# ns_param .pl "/usr/bin/perl" - -# -# Modules to load -# -ns_section "ns/server/${server}/modules" - ns_param nssock ${bindir}/nssock.so - ns_param nslog ${bindir}/nslog.so -# ns_param nsperm ${bindir}/nsperm.so -# ns_param nscgi ${bindir}/nscgi.so - ns_param nsjava ${bindir}/libnsjava.so - -# -## nsssl: loads only if requisite files already exist (see top of this -# file). -# -if { [file exists $sslcertfile] && [file exists $sslkeyfile] } { - ns_param nsssl ${bindir}/nsssle.so -} else { - ns_log warning "nsd.tcl: nsssl not loaded because key/cert files do not exist." -} - -# nscp: loads only if nscp_user is set (see top of this file). -if { $nscp_user != "" } { - ns_param nscp ${bindir}/nscp.so -} else { - ns_log warning "nsd.tcl: nscp not loaded because user/password is not set." -} - -# -# To Source OpenACS Config File. You need a "yourservername.tcl" file in the -# OpenACS parameters dir. e.g.: say your server is "server1" then you'd need a -# file named ${homedir}/server1/parameters/server1.tcl -# (Hint: Rename ad.tcl to yourservername.tcl and edit it.) -# - -source ${homedir}/${server}/parameters/${server}.tcl - -ns_log notice "nsd.tcl: finished reading config file." diff --git a/www/ap-aolserver/patches/patch-aa b/www/ap-aolserver/patches/patch-aa deleted file mode 100644 index b6b1df55489..00000000000 --- a/www/ap-aolserver/patches/patch-aa +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2002/06/19 22:16:44 cjones Exp $ - ---- Makefile.in.orig Sat Oct 7 12:44:37 2000 -+++ Makefile.in Wed Jun 19 16:06:55 2002 -@@ -7,7 +7,7 @@ - APACHE_BASE = @APACHE_BASE@ - APXS = @APXS@ - CC = @CC@ --CFLAGS = -I. @CFLAGS@ -DORA8_DRIVER_VERSION=\"2.3\" -+CFLAGS = -I. @CFLAGS@ -DORA8_DRIVER_VERSION=\"2.3\" -fPIC - CPPFLAGS = -DDB_DRIVER_NAME=\"$(DBNAME)\" @CPPFLAGS@ - DBNAME = @DBNAME@ - INSTALL = @INSTALL@ -@@ -25,7 +25,7 @@ - - BOOTSTRAP_MAIN_DIR = $(APACHE_BASE)/libexec - BOOTSTRAP_OTHER_DIR = $(BOOTSTRAP_MAIN_DIR)/aol_bootstrap --TCL_MODULE_DIR = $(APACHE_BASE)/tcl_modules -+TCL_MODULE_DIR = $(APACHE_BASE)/etc/httpd/tcl_modules - - ################################################################ - -@@ -62,7 +62,7 @@ - - TCL_SRCS = \ - tcl_modules/README tcl_modules/form.tcl \ -- tcl_modules/http.tcl tcl_modules/nsd.ini.sample tcl_modules/nsdb.tcl \ -+ tcl_modules/http.tcl tcl_modules/nsdb.tcl \ - tcl_modules/sendmail.tcl tcl_modules/util.tcl - - MISCFILES = \ -@@ -78,14 +78,14 @@ - - BUILD_MODULE = $(APXS) -c $(LIBS) - --INSERT_MODULE = $(APXS) -i -a -+INSERT_MODULE = $(APXS) -i - - ######################################################################## - --all: $(MODULE_FILE) install -+all: $(MODULE_FILE) - - $(MODULE_FILE): $(OBJS) -- $(APXS) -c -o $@ $(OBJS) $(LIBS) -+ $(APXS) -c -o $@ $(LIBS) $(OBJS) - - install: install-mod_aolserver install-bootstrap install-tcl - |