summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2006-12-27 04:19:56 +0000
committerRyan Hill <dirtyepic@gentoo.org>2006-12-27 04:19:56 +0000
commit49db7f51a321ae6a7b065b1b0abb8fc08aa2d625 (patch)
treea857186312d452a5260103539bf65a25fc6667c1 /www-servers
parentFix building with GCC 4. Thanks to eastx7g02 sneakermail com, bug #151049. (diff)
downloadgentoo-2-49db7f51a321ae6a7b065b1b0abb8fc08aa2d625.tar.gz
gentoo-2-49db7f51a321ae6a7b065b1b0abb8fc08aa2d625.tar.bz2
gentoo-2-49db7f51a321ae6a7b065b1b0abb8fc08aa2d625.zip
Fix building with GCC 4. Thanks to eastx7g02 sneakermail com, bug #151049.
(Portage version: 2.1.2_rc4-r1) (Unsigned Manifest commit)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/aolserver/Manifest46
-rw-r--r--www-servers/aolserver/files/4.0.9/Makefile.global4
-rw-r--r--www-servers/aolserver/files/4.0.9/aolserver-4.0.9-nptl.patch12
-rwxr-xr-xwww-servers/aolserver/files/4.0.9/aolserver.init24
-rw-r--r--www-servers/aolserver/files/4.0.9/config.tcl473
5 files changed, 12 insertions, 547 deletions
diff --git a/www-servers/aolserver/Manifest b/www-servers/aolserver/Manifest
index bb11e7240379..10bc79e765d8 100644
--- a/www-servers/aolserver/Manifest
+++ b/www-servers/aolserver/Manifest
@@ -1,10 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 4.0.10/Makefile.global 127 RMD160 2c74ef55d6b50c9a5ead02051d4dce4c390bfea6 SHA1 16d22d67fe11482997053b37de8b90e123759049 SHA256 3e1a9db384ce352e2c3266b69b7c138488cefd261286254413b823d5ca9307f4
MD5 188da2cbedb4c37b6932a413fd21fead files/4.0.10/Makefile.global 127
RMD160 2c74ef55d6b50c9a5ead02051d4dce4c390bfea6 files/4.0.10/Makefile.global 127
SHA256 3e1a9db384ce352e2c3266b69b7c138488cefd261286254413b823d5ca9307f4 files/4.0.10/Makefile.global 127
+AUX 4.0.10/aolserver-4.0.10-gcc41.patch 444 RMD160 d6f6dc7617493ea3ed4187ce88e00e800ff4800a SHA1 9897944a99b600bd039611e5de4ec14c35f9e962 SHA256 22d8396fb0542f86da6b830cc00eb935327ee03e3c81f337d3fe5c1a78e2b6ba
+MD5 74ecb3fa808de241cd3fc8e27938e84e files/4.0.10/aolserver-4.0.10-gcc41.patch 444
+RMD160 d6f6dc7617493ea3ed4187ce88e00e800ff4800a files/4.0.10/aolserver-4.0.10-gcc41.patch 444
+SHA256 22d8396fb0542f86da6b830cc00eb935327ee03e3c81f337d3fe5c1a78e2b6ba files/4.0.10/aolserver-4.0.10-gcc41.patch 444
AUX 4.0.10/aolserver-4.0.10-nptl.patch 444 RMD160 e61e5fd3c16c677757057783d42ab0b66c0b17af SHA1 a276c3dea493e9075ae0ed6d526710a4e1f066b0 SHA256 45a82b07004eedfab740e9ad307a6f7a2207a83870a709e644cb2d3b96e66813
MD5 5990b903db3f64b02306f84e37dc3c11 files/4.0.10/aolserver-4.0.10-nptl.patch 444
RMD160 e61e5fd3c16c677757057783d42ab0b66c0b17af files/4.0.10/aolserver-4.0.10-nptl.patch 444
@@ -17,31 +18,15 @@ AUX 4.0.10/config.tcl 16785 RMD160 f72902a8ae0a47f33bfde11f38f5d6efbd4d5a8a SHA1
MD5 396640ec2ff59ade15577e8e9670e806 files/4.0.10/config.tcl 16785
RMD160 f72902a8ae0a47f33bfde11f38f5d6efbd4d5a8a files/4.0.10/config.tcl 16785
SHA256 45b523a1b7f08ff77ce0bfd4ca6f2ba56852b693b029c03215e34c4dd46c8595 files/4.0.10/config.tcl 16785
-AUX 4.0.9/Makefile.global 127 RMD160 2c74ef55d6b50c9a5ead02051d4dce4c390bfea6 SHA1 16d22d67fe11482997053b37de8b90e123759049 SHA256 3e1a9db384ce352e2c3266b69b7c138488cefd261286254413b823d5ca9307f4
-MD5 188da2cbedb4c37b6932a413fd21fead files/4.0.9/Makefile.global 127
-RMD160 2c74ef55d6b50c9a5ead02051d4dce4c390bfea6 files/4.0.9/Makefile.global 127
-SHA256 3e1a9db384ce352e2c3266b69b7c138488cefd261286254413b823d5ca9307f4 files/4.0.9/Makefile.global 127
-AUX 4.0.9/aolserver-4.0.9-nptl.patch 440 RMD160 66f391c67eb320d3f8f19664f8f1688c7fc549f6 SHA1 8c83dc139bd03f915b87d5649a00b68339fcebdf SHA256 b3d235d9400816734ccc2f6a4ee63b9eaece2821108eede215f734d7bd9571ad
-MD5 59ce0f4269f077b1875ce2ea11169904 files/4.0.9/aolserver-4.0.9-nptl.patch 440
-RMD160 66f391c67eb320d3f8f19664f8f1688c7fc549f6 files/4.0.9/aolserver-4.0.9-nptl.patch 440
-SHA256 b3d235d9400816734ccc2f6a4ee63b9eaece2821108eede215f734d7bd9571ad files/4.0.9/aolserver-4.0.9-nptl.patch 440
-AUX 4.0.9/aolserver.init 475 RMD160 b174f60e7a29b57882e50a173f04d02e2606ac3d SHA1 c32df16200061ecad3f12f08e57d49ec85c404d9 SHA256 e5070315071ac25ba9291500f4b18a51c4b68a262ad8540c6fac9836069d917f
-MD5 ef896c9186113d2882eb14aeb7a0e0a6 files/4.0.9/aolserver.init 475
-RMD160 b174f60e7a29b57882e50a173f04d02e2606ac3d files/4.0.9/aolserver.init 475
-SHA256 e5070315071ac25ba9291500f4b18a51c4b68a262ad8540c6fac9836069d917f files/4.0.9/aolserver.init 475
-AUX 4.0.9/config.tcl 16784 RMD160 90219c4fb4a401049b871bb862221edbbbf614c3 SHA1 a29e9578589d75d9d29b8631c72a9dd31bca7c60 SHA256 f929b62f48109216843ca9c77b3dd1f6cdd5234f9ce4aeb047c1fec56ad81ac4
-MD5 8283909c0fc2061c5c4d4af284ffc3e9 files/4.0.9/config.tcl 16784
-RMD160 90219c4fb4a401049b871bb862221edbbbf614c3 files/4.0.9/config.tcl 16784
-SHA256 f929b62f48109216843ca9c77b3dd1f6cdd5234f9ce4aeb047c1fec56ad81ac4 files/4.0.9/config.tcl 16784
DIST aolserver-4.0.10-src.tar.gz 599052 RMD160 71ca0e32006c3d12df25a40c5963d961ad661449 SHA1 961660bec47ee7dd5297bd3f5842a615b738334f SHA256 df4f32fda173f4ef44fbf47bd86d26793fd2b6dde4b117b96b79c1d4fee64019
-EBUILD aolserver-4.0.10.ebuild 5343 RMD160 194c434bf0d9bb04b671aa7bea8c06aabb8454aa SHA1 080e2b0adaaa7efe9d5c36db36d7c84857bce06b SHA256 a90cb273df00efeed2f1cbca3ee11611158fcc397250d8974568a811d0babdd2
-MD5 629c149075ee94a24325b0e95db0b7a1 aolserver-4.0.10.ebuild 5343
-RMD160 194c434bf0d9bb04b671aa7bea8c06aabb8454aa aolserver-4.0.10.ebuild 5343
-SHA256 a90cb273df00efeed2f1cbca3ee11611158fcc397250d8974568a811d0babdd2 aolserver-4.0.10.ebuild 5343
-MISC ChangeLog 2831 RMD160 f80bf25bbd6b9310dc791728cf6fb98f8bba0b2e SHA1 7cfc9029aa5726d19859edf23af8c1566a22271b SHA256 af0f6fe9dd80e5045fbd0d9de3d5e13074aa384cfb3dbd1590b5dde905168513
-MD5 273016289b90e65a6e5f949f68b187a8 ChangeLog 2831
-RMD160 f80bf25bbd6b9310dc791728cf6fb98f8bba0b2e ChangeLog 2831
-SHA256 af0f6fe9dd80e5045fbd0d9de3d5e13074aa384cfb3dbd1590b5dde905168513 ChangeLog 2831
+EBUILD aolserver-4.0.10.ebuild 5406 RMD160 da0863f625ec8bc19ff777c8af48abf029b83f95 SHA1 26d1970eb99b39f2c0fa262e27b4a0a9881a8ed9 SHA256 0328d40b969d3986e0f2fa4d0a8c9e964d76d98a4037b59de3c57c78d8be3d8a
+MD5 8a47286f64dad9d8af88f9f2e1586365 aolserver-4.0.10.ebuild 5406
+RMD160 da0863f625ec8bc19ff777c8af48abf029b83f95 aolserver-4.0.10.ebuild 5406
+SHA256 0328d40b969d3986e0f2fa4d0a8c9e964d76d98a4037b59de3c57c78d8be3d8a aolserver-4.0.10.ebuild 5406
+MISC ChangeLog 3162 RMD160 e6c9c79bbc22c83ed80bb1e6cf781bed94a1bc3b SHA1 0266207f08fc8aee37fba887212204772841f0d5 SHA256 e4e7183d90b5f8436b19b87a7f468b52ebe1961cb177e2278bac1d7d9065ce45
+MD5 da542e06e0437cd9feeaaa9c73d54e16 ChangeLog 3162
+RMD160 e6c9c79bbc22c83ed80bb1e6cf781bed94a1bc3b ChangeLog 3162
+SHA256 e4e7183d90b5f8436b19b87a7f468b52ebe1961cb177e2278bac1d7d9065ce45 ChangeLog 3162
MISC metadata.xml 216 RMD160 a2670ea7da908bcc656106195838999f0b5aae97 SHA1 dcc9a3031107c473960ec4d97ca00065b5f2b225 SHA256 493a3bef8c688b98b0300b6d437ae3e7aff4b2f50d1d9896f4da7ffee2903678
MD5 99b7ff02b6d7ef5f4808671733078727 metadata.xml 216
RMD160 a2670ea7da908bcc656106195838999f0b5aae97 metadata.xml 216
@@ -49,10 +34,3 @@ SHA256 493a3bef8c688b98b0300b6d437ae3e7aff4b2f50d1d9896f4da7ffee2903678 metadata
MD5 b90b1c5a23c23b895b4bc4047140d879 files/digest-aolserver-4.0.10 262
RMD160 26fac62af490561e2d0afd33831e4a140fdf7e4b files/digest-aolserver-4.0.10 262
SHA256 88061b89e5a7ae6a9949b38d8ad6ec807b3e54539f63df5ee5584c4c9ff8eff5 files/digest-aolserver-4.0.10 262
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFE5ppg/NoSW7FuNV8RAt0XAKCsDnqQGEjYQr4KtOx1T79OZgMKLgCfTahC
-xu4oW19ukHbbNlD2uHryGPg=
-=uYGx
------END PGP SIGNATURE-----
diff --git a/www-servers/aolserver/files/4.0.9/Makefile.global b/www-servers/aolserver/files/4.0.9/Makefile.global
deleted file mode 100644
index 033164670167..000000000000
--- a/www-servers/aolserver/files/4.0.9/Makefile.global
+++ /dev/null
@@ -1,4 +0,0 @@
-include /usr/share/aolserver/include/Makefile.global.orig
-
-LDFLAGS += -L/usr/lib/aolserver/lib
-INCDIR = /usr/include/aolserver
diff --git a/www-servers/aolserver/files/4.0.9/aolserver-4.0.9-nptl.patch b/www-servers/aolserver/files/4.0.9/aolserver-4.0.9-nptl.patch
deleted file mode 100644
index bab95ac0af88..000000000000
--- a/www-servers/aolserver/files/4.0.9/aolserver-4.0.9-nptl.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN aolserver-4.0.9.orig/nsd/unix.c aolserver-4.0.9/nsd/unix.c
---- aolserver-4.0.9.orig/nsd/unix.c 2005-01-05 19:34:06.116158744 +0000
-+++ aolserver-4.0.9/nsd/unix.c 2005-01-05 19:34:17.799382624 +0000
-@@ -71,7 +71,7 @@
- * As of glibc 2.3 with NPTL, this should be a no-op.
- */
-
-- pthread_kill_other_threads_np();
-+ //pthread_kill_other_threads_np();
- #endif
-
- Ns_Log(Fatal, "received fatal signal %d", signal);
diff --git a/www-servers/aolserver/files/4.0.9/aolserver.init b/www-servers/aolserver/files/4.0.9/aolserver.init
deleted file mode 100755
index 45cb36cd14c1..000000000000
--- a/www-servers/aolserver/files/4.0.9/aolserver.init
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/runscript
-
-instance=`basename ${1}`
-instance="${instance/*\./}"
-
-depend() {
- use net
-}
-
-start() {
- ebegin "Starting aolserver - $instance"
- env LD_LIBRARY_PATH=/usr/lib/aolserver/lib \
- start-stop-daemon --start --quiet --exec /usr/bin/nsd -- \
- -t /etc/aolserver/$instance.tcl \
- -u aolserver \
- -g web
- eend $?
-}
-
-stop () {
- ebegin "Stopping aolserver - $instance"
- start-stop-daemon --stop --quiet --pidfile /var/run/aolserver/$instance.pid
- eend $?
-}
diff --git a/www-servers/aolserver/files/4.0.9/config.tcl b/www-servers/aolserver/files/4.0.9/config.tcl
deleted file mode 100644
index b1cf2b6b364d..000000000000
--- a/www-servers/aolserver/files/4.0.9/config.tcl
+++ /dev/null
@@ -1,473 +0,0 @@
-#
-# The contents of this file are subject to the AOLserver Public License
-# Version 1.1 (the "License"); you may not use this file except in
-# compliance with the License. You may obtain a copy of the License at
-# http://aolserver.com/.
-#
-# Software distributed under the License is distributed on an "AS IS"
-# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
-# the License for the specific language governing rights and limitations
-# under the License.
-#
-# The Original Code is AOLserver Code and related documentation
-# distributed by AOL.
-#
-# The Initial Developer of the Original Code is America Online,
-# Inc. Portions created by AOL are Copyright (C) 1999 America Online,
-# Inc. All Rights Reserved.
-#
-# Alternatively, the contents of this file may be used under the terms
-# of the GNU General Public License (the "GPL"), in which case the
-# provisions of GPL are applicable instead of those above. If you wish
-# to allow use of your version of this file only under the terms of the
-# GPL and not to allow others to use your version of this file under the
-# License, indicate your decision by deleting the provisions above and
-# replace them with the notice and other provisions required by the GPL.
-# If you do not delete the provisions above, a recipient may use your
-# version of this file under either the License or the GPL.
-#
-#
-# $Header: /var/cvsroot/gentoo-x86/www-servers/aolserver/files/4.0.9/config.tcl,v 1.1 2005/01/05 19:49:09 port001 Exp $
-#
-
-#
-# Set some Tcl variables that are commonly used throughout this file.
-#
-
-# The hostname and address should be set to actual values.
-set hostname localhost
-set address 127.0.0.1
-
-set servername "aolserver"
-set serverdesc "Gentoo Linux AOLserver"
-
-set httpport 8000
-set httpsport 8443
-
-set directoryfile index.adp,index.html,index.htm
-
-set homedir /usr/lib/aolserver
-set bindir ${homedir}/bin
-set logdir /var/log/aolserver
-set piddir /var/run/aolserver
-
-set serverroot /var/aolserver
-set pageroot /var/www/ns-${hostname}
-
-set debug false
-
-
-###################
-# Modules to load
-#
-ns_section "ns/server/${servername}/modules"
-
- ##################
- # Standard AOLserver modules
- ns_param nssock ${bindir}/nssock.so
- ns_param nslog ${bindir}/nslog.so
- #ns_param nscgi ${bindir}/nscgi.so
- #ns_param nsperm ${bindir}/nsperm.so
- #ns_param nscp ${bindir}/nscp.so
-
- ##################
- # The modules below are not installed by default. Some of them exist as
- # separate ebuilds.
- #ns_param nssha1 ${bindir}/nssha1.so
- #ns_param nscache ${bindir}/nscache.so
-
- # URL rewriting module
- #ns_param nsrewrite ${bindir}/nsrewrite.so
-
- # Allow SSL connections
- #ns_param nsopenssl ${bindir}/nsopenssl.so
-
- # Enable free text search
- #ns_param nsfts ${bindir}/nsfts.so
-
- # Allow PAM authentication
- #ns_param nspam ${bindir}/nspam.so
-
- # Allow LDAP authentication
- #ns_param nsldap ${bindir}/nsldap.so
-
-
-######################################################################
-#
-# AOLserver Parameters
-#
-######################################################################
-
-#
-# Global server parameters
-#
-ns_section "ns/parameters"
- ns_param home $homedir
- ns_param logroll on
- ns_param serverlog ${logdir}/error.log
- ns_param maxbackup 5
- ns_param pidfile ${piddir}/${servername}.pid
- ns_param maxkeepalive 0
- ns_param debug $debug
-
- # I18N Parameters
- # Automatic adjustment of response content-type header to include charset
- #ns_param HackContentType true
-
- # Default output charset. When none specified, no character encoding of
- # output is performed.
- ns_param OutputCharset iso8859-1
-
- # Default Charset for Url Encode/Decode. When none specified, no character
- # set encoding is performed.
- ns_param URLCharset iso8859-1
-
- # This parameter supports output encoding arbitration.
- #ns_param PreferredCharsets { utf-8 iso8859-1 }
-
-#
-# Thread library (nsthread) parameters
-#
-ns_section "ns/threads"
- # Per-thread stack size.
- ns_param stacksize [expr 512*1024]
- # Measure lock contention
- ns_param mutexmeter false
-
-#
-# 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 .pcd image/x-photo-cd
- ns_param .prc application/x-pilot
- ns_param .xls application/vnd.ms-excel
- ns_param .doc application/vnd.ms-word
-
- # I18N Mime-types; define content-type header values
- # to be mapped from these file-types.
- # Note that you can map file-types of adp files to control
- # the output encoding through mime-type specificaion.
- # Remember to add an adp mapping for that extension.
- ns_param .adp "text/html; charset=iso-8859-1"
- ns_param .u_adp "text/html; charset=UTF-8"
- ns_param .gb_adp "text/html; charset=GB2312"
- ns_param .sjis_html "text/html; charset=shift_jis"
- ns_param .sjis_adp "text/html; charset=shift_jis"
- ns_param .gb_html "text/html; charset=GB2312"
-
-#
-# I18N File-type to Encoding mappings
-#
-ns_section "ns/encodings"
- ns_param .utf_html "utf-8"
- ns_param .sjis_html "shiftjis"
- ns_param .gb_html "gb2312"
- ns_param .big5_html "big5"
- ns_param .euc-cn_html "euc-cn"
- # Note: you will need to include file-type to encoding mappings
- # for ANY source files that are to be used, to allow the
- # server to handle them properly. E.g., the following
- # asserts that the GB-producing .adp files are themselves
- # encoded in GB2312 (this is not simply assumed).
- ns_param .gb_adp "gb2312"
-
-
-
-######################################################################
-#
-# 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 $servername $serverdesc
-
-
-#
-# Server parameters
-#
-ns_section "ns/server/${servername}"
- ns_param directoryfile $directoryfile
- ns_param pageroot $pageroot
- ns_param enabletclpages true ;# Parse *.tcl files in pageroot.
-
- # Server-level I18N Parameters can be specified here, to override
- # the global ones for this server. These are:
- # HackContentType
- # OutputCharset
- # URLCharset
- # See the global parameter I18N section for a description of these.
-
- # Scaling and Tuning Options
- #
- # Note: These values aren't necessarily the defaults.
- #ns_param connsperthread 0 ;# Normally there's one conn per thread
- #ns_param flushcontent false ;# Flush all data before returning
- #ns_param maxconnections 100 ;# Max connections to put on queue
- #ns_param maxdropped 0 ;# Shut down if dropping too many conns
- #ns_param maxthreads 20 ;# Tune this to scale your server
- #ns_param minthreads 0 ;# Tune this to scale your server
- #ns_param threadtimeout 120 ;# Idle threads die at this rate
-
- # Special HTTP pages
- #ns_param NotFoundResponse "/global/file-not-found.html"
- #ns_param ServerBusyResponse "/global/busy.html"
- #ns_param ServerInternalErrorResponse "/global/error.html"
-
-
-# Fast path configuration is used to configure options used for serving
-# static content, and also provides options to automatically display
-# directory listings.
-ns_section "ns/server/${servername}/fastpath"
- # Enable cache for normal URLs.
- #ns_param cache false
- # Size of fast path cache.
- #ns_param cachemaxsize 5120000
- # Largest file size allowed in cache.
- #ns_param cachemaxentry [expr {$cachemaxsize / 10}]
- # Use mmap() for cache.
- #ns_param mmap false
- # Directory listing style. Can be "fancy" or "simple".
- #ns_param directorylisting fancy
- # Directory index/default page to look for.
- #ns_param directoryfile $directoryfile
- # Name of Tcl proc to use to display directory listings.
- #ns_param directoryproc _ns_dirlist
- # Name of ADP page to use to display directory listings.
- #ns_param directoryadp example.adp
-
-#
-# ADP (AOLserver Dynamic Page) configuration
-#
-ns_section "ns/server/${servername}/adp"
- # Extensions to parse as ADP's.
- ns_param map "/*.adp"
- ns_param map "/*.u_adp"
- ns_param map "/*.gb_adp"
- ns_param map "/*.sjis_adp"
- # Any extension can be mapped.
- #ns_param map "/*.html"
-
- # Set "Expires: now" on all ADP's.
- ns_param enableexpire false
- # Allow Tclpro debugging with "?debug".
- ns_param enabledebug false
-
- # ADP special pages
- #ns_param errorpage ${pageroot}/errorpage.adp
-
-#
-# Tcl Configuration
-#
-ns_section "ns/server/${servername}/tcl"
- # Enable server specific tcl libraries
- #ns_param library ${serverroot}/tcl
- #ns_param autoclose on
- #ns_param debug $debug
-
-######################################################################
-#
-# Module specific configuration
-#
-######################################################################
-
-#
-# Socket driver module (HTTP) -- nssock
-#
-ns_section "ns/server/${servername}/module/nssock"
- ns_param port $httpport
- ns_param hostname $hostname
- ns_param address $address
- ns_param timeout 120
-
-#
-# Access log -- nslog
-#
-ns_section "ns/server/${servername}/module/nslog"
- ns_param rolllog true
- # Roll log on SIGHUP.
- ns_param rollonsignal true
- ns_param rollday *
- ns_param rollhour 0
- ns_param rollfmt %Y-%m-%d-%H:%M
- # Max number to keep around when rolling.
- ns_param maxbackup 5
- ns_param file ${logdir}/${servername}.log
- ns_param enablehostnamelookup false
- ns_param logcombined true
- #ns_param logrefer false
- #ns_param loguseragent false
-
-#
-# Socket driver module (HTTPS) -- nsopenssl
-#
-#ns_section "ns/server/${servername}/module/nsopenssl"
-#set ciphersuite "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP"
- # Typically where you store your certificates
- #ns_param ModuleDir ${serverroot}/etc/certs
- #ns_param RandomFile /dev/random
- #ns_param SeedBytes 1024
-
- # NSD-driven connections:
- #ns_param ServerPort $httpsport
- #ns_param ServerHostname $hostname
- #ns_param ServerAddress $address
- #ns_param ServerCertFile certfile.pem
- #ns_param ServerKeyFile keyfile.pem
- #ns_param ServerProtocols "SSLv2, SSLv3, TLSv1"
- #ns_param ServerCipherSuite $ciphersuite
- #ns_param ServerSessionCache false
- #ns_param ServerSessionCacheID 1
- #ns_param ServerSessionCacheSize 512
- #ns_param ServerSessionCacheTimeout 300
- #ns_param ServerPeerVerify true
- #ns_param ServerPeerVerifyDepth 3
- #ns_param ServerCADir ca
- #ns_param ServerCAFile ca.pem
- #ns_param ServerTrace false
-
- # For listening and accepting SSL connections via Tcl/C API:
- #ns_param SockServerCertFile certfile.pem
- #ns_param SockServerKeyFile keyfile.pem
- #ns_param SockServerProtocols "SSLv2, SSLv3, TLSv1"
- #ns_param SockServerCipherSuite $ciphersuite
- #ns_param SockServerSessionCache false
- #ns_param SockServerSessionCacheID 2
- #ns_param SockServerSessionCacheSize 512
- #ns_param SockServerSessionCacheTimeout 300
- #ns_param SockServerPeerVerify true
- #ns_param SockServerPeerVerifyDepth 3
- #ns_param SockServerCADir internal_ca
- #ns_param SockServerCAFile internal_ca.pem
- #ns_param SockServerTrace false
-
- # Outgoing SSL connections
- #ns_param SockClientCertFile certfile.pem
- #ns_param SockClientKeyFile keyfile.pem
- #ns_param SockClientProtocols "SSLv2, SSLv3, TLSv1"
- #ns_param SockClientCipherSuite $ciphersuite
- #ns_param SockClientSessionCache false
- #ns_param SockClientSessionCacheID 3
- #ns_param SockClientSessionCacheSize 512
- #ns_param SockClientSessionCacheTimeout 300
- #ns_param SockClientPeerVerify true
- #ns_param SockServerPeerVerifyDepth 3
- #ns_param SockClientCADir ca
- #ns_param SockClientCAFile ca.pem
- #ns_param SockClientTrace false
-
-
-#
-# Server control port module -- nscp
-#
-#ns_section "ns/server/${servername}/module/nscp"
- #ns_param address 127.0.0.1
- #ns_param port 9999
- #ns_param echopassword 1
- #ns_param cpcmdlogging 1
-
-#ns_section "ns/server/${servername}/module/nscp/users"
- # You can use the ns_crypt Tcl command to generate an encrypted
- # password. The ns_crypt command uses the same algorithm as the
- # Unix crypt(3) command. You could also use passwords from the
- # /etc/passwd file.
- #
- # Users should be listed in the following format:
- # <user>:<encryptedPassword>:
- #
- # The configuration example below adds the user "nsadmin" with a
- # password of "x".
- #ns_param user "nsadmin:t2GqvvaiIUbF2:"
-
-#
-# CGI interface -- nscgi
-#
-# WARNING: These directories must not live under pageroot.
-#
-ns_section "ns/server/${servername}/module/nscgi"
- #ns_param map "GET /cgi ${serverroot}/cgi" ;# CGI script file dir (GET).
- #ns_param map "POST /cgi ${serverroot}/cgi" ;# CGI script file dir (POST).
-
-
-#
-# Example: Host headers based virtual servers.
-#
-# To enable:
-#
-# 1. Load comm driver(s) globally.
-# 2. Configure drivers as in a virtual server.
-# 3. Add a "servers" section to map virtual servers to Host headers.
-#
-#ns_section ns/modules
-#ns_section nssock nssock.so
-#
-#ns_section ns/module/nssock
-#ns_param port $httpport
-#ns_param hostname $hostname
-#ns_param address $address
-#
-#ns_section ns/module/nssock/servers
-#ns_param server1 $hostname:$httpport
-#
-#ns_section /ns/servers/server1
-#ns_param pageroot /var/www/$hostname/aolserver/www
-
-#
-# Example: Multiple connection thread pools.
-#
-# To enable:
-#
-# 1. Define one or more thread pools.
-# 2. Configure pools as with the default server pool.
-# 3. Map method/URL combinations to the pools
-#
-# All unmapped method/URL's will go to the default server pool.
-#
-#ns_section ns/server/server1/pools
-#ns_section slow "Slow requests here."
-#ns_section fast "Fast requests here."
-#
-#ns_section ns/server/server1/pool/slow
-#ns_param map {POST /slowupload.adp}
-#ns_param maxconnections 100 ;# Max connections to put on queue
-#ns_param maxdropped 0 ;# Shut down if dropping too many conns
-#ns_param maxthreads 20 ;# Tune this to scale your server
-#ns_param minthreads 0 ;# Tune this to scale your server
-#ns_param threadtimeout 120 ;# Idle threads die at this rate
-#
-#ns_section ns/server/server1/pool/fast
-#ns_param map {GET /faststuff.adp}
-#ns_param maxthreads 10
-#
-
-#
-# Example: Web based stats interface.
-#
-# To enable:
-#
-# 1. Configure whether or not stats are enabled. (Optional: default = false)
-# 2. Configure URL for statistics. (Optional: default = /_stats)
-#
-# http://<host>:<port>/_stats
-#
-# 3. Configure user. (Optional: default = aolserver)
-# 4. Configure password. (Optional: default = stats)
-#
-# For added security it is recommended that configure your own
-# URL, user, and password instead of using the default values.
-#
-#ns_section ns/server/stats
-# ns_param enabled 1
-# ns_param url /aolserver/stats
-# ns_param user aolserver
-# ns_param password 23dfs!d
-#