pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip clean-up: remove aolserver



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Fri Jul 1 18:51:14 2022 +0200
Changeset:	489f1364c07da60c0e93ae6d0828cffd97afac85

Modified Files:
	Makefile
Removed Files:
	aolserver/DESCR
	aolserver/MESSAGE
	aolserver/Makefile
	aolserver/PLIST
	aolserver/TODO
	aolserver/distinfo
	aolserver/files/nsd
	aolserver/files/nsd.tcl
	aolserver/patches/patch-aa
	aolserver/patches/patch-ab
	aolserver/patches/patch-ac

Log Message:
wip clean-up: remove aolserver

Dead since 2009

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=489f1364c07da60c0e93ae6d0828cffd97afac85

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                   |   1 -
 aolserver/DESCR            |   4 -
 aolserver/MESSAGE          |  10 --
 aolserver/Makefile         |  48 ---------
 aolserver/PLIST            |   2 -
 aolserver/TODO             |   6 --
 aolserver/distinfo         |   6 --
 aolserver/files/nsd        |  22 -----
 aolserver/files/nsd.tcl    | 239 ---------------------------------------------
 aolserver/patches/patch-aa |  21 ----
 aolserver/patches/patch-ab |  51 ----------
 aolserver/patches/patch-ac |  22 -----
 12 files changed, 432 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 9cdc2e1927..fbfa975df4 100644
--- a/Makefile
+++ b/Makefile
@@ -162,7 +162,6 @@ SUBDIR+=	aokell
 SUBDIR+=	aols-freetds
 SUBDIR+=	aols-openssl
 SUBDIR+=	aols-postgres
-SUBDIR+=	aolserver
 SUBDIR+=	aolserver4
 SUBDIR+=	ap2-auth-imap
 SUBDIR+=	ap2-auth-pam
diff --git a/aolserver/DESCR b/aolserver/DESCR
deleted file mode 100644
index 726092ea5c..0000000000
--- a/aolserver/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-$ NetBSD $
-AOLserver is America Online's Open-Source web server. AOLserver is the backbone
-of the largest and busiest production environments in the world. AOLserver is a
-multithreaded, Tcl-enabled web server used for large scale, dynamic web sites.
diff --git a/aolserver/MESSAGE b/aolserver/MESSAGE
deleted file mode 100644
index ba8a5ae5df..0000000000
--- a/aolserver/MESSAGE
+++ /dev/null
@@ -1,10 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.4 2005/09/28 14:24:38 rillig Exp $
-
-The startup script is at ${PREFIX}/etc/rc.d/nsd" and the configuration
-file is at ${PREFIX}/etc/nsd.tcl.  The name nsd is from the original
-name of this product, NaviServer.
-
-Documentation is at http://www.aolserver.com.
-
-===========================================================================
diff --git a/aolserver/Makefile b/aolserver/Makefile
deleted file mode 100644
index 947adaa74b..0000000000
--- a/aolserver/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# $NetBSD: Makefile,v 1.12 2012/09/24 16:56:34 asau Exp $
-#
-
-DISTNAME=		aolserver-4.01-src
-PKGNAME=		${DISTNAME:S/-src//}
-CATEGORIES=		www
-MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=aolserver/}
-LICENSE=		mpl-1.1
-
-MAINTAINER=		iharding%destinydata.com@localhost
-HOMEPAGE=		http://www.aolserver.com/
-COMMENT=		America Online's open source web server
-
-
-MAKE_FLAGS+=		NSHOME=${WRKSRC}
-CONFIGURE_ARGS+=	--with-tcl=${PREFIX}/lib
-
-WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
-USE_PKGLOCALEDIR=	yes
-USE_LIBTOOL=		yes
-OWN_DIRS=		?
-GNU_CONFIGURE=		yes
-USE_TOOLS+=		gmake
-
-EGDIR=			${PREFIX}/share/examples/nsd
-PKG_SYSCONFSUBDIR=	nsd
-NSD_LOGDIR=		/var/log/nsd
-NSD_ROOT=		${PREFIX}/share/nsd
-NSD_USER?=		nsadmin
-NSD_GROUP?=		nsadmin
-
-PKG_GROUPS=		${NSD_GROUP}
-PKG_USERS=		${NSD_USER} ${NSD_GROUP}::AOLServer\ User::${SH}
-
-CONF_FILES=		${EGDIR}/nsd.tcl ${PKG_SYSCONFDIR}/nsd.tcl
-RCD_SCRIPTS=		nsd
-
-OWN_DIRS=		${NSD_LOGDIR}
-OWN_DIRS+=		${NSD_ROOT}
-OWN_DIRS+=		${NSD_ROOT}/modules
-OWN_DIRS+=		${NSD_ROOT}/modules/tcl
-OWN_DIRS+=		${NSD_ROOT}/servers
-OWN_DIRS+=		${NSD_ROOT}/servers/server1
-OWN_DIRS+=		${NSD_ROOT}/servers/server1/modules
-OWN_DIRS+=		${NSD_ROOT}/servers/server1/pages
-
-.include "../../lang/tcl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/aolserver/PLIST b/aolserver/PLIST
deleted file mode 100644
index e7a265be5c..0000000000
--- a/aolserver/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2005/05/02 20:33:38 jeremy-c-reed Exp $
-share/examples/rc.d/nsd
diff --git a/aolserver/TODO b/aolserver/TODO
deleted file mode 100644
index 4197d435f2..0000000000
--- a/aolserver/TODO
+++ /dev/null
@@ -1,6 +0,0 @@
-Now that NetBSD has TCL 4 and native threads, AOLServer 4 should build
-without the ugliness of needing to carry its own TCL install with it.
-
-This package does not build since I don't understand dynamic linking 
-very well, and can't figure out libtool.  It fails saying it can't find
-a .so file.
diff --git a/aolserver/distinfo b/aolserver/distinfo
deleted file mode 100644
index 7f3b1eb85e..0000000000
--- a/aolserver/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.3 2006/08/19 15:42:23 kristerw Exp $
-
-RMD160 (aolserver-4.01-src.tar.gz) = 6a12134a25b7544f4d885a6438eb07016866dddd
-SHA512 (aolserver-4.01-src.tar.gz) = a70ce7055b6ead8cac28494222349bb6d29f9fdf776ca50b4d966e9e3419bef3552b5a5eb2632f294cf786fdae2a97a48b99d8dde914fc332e7070cd5020f1ff
-Size (aolserver-4.01-src.tar.gz) = 586019 bytes
-SHA1 (patch-aa) = 9470dfc80c9462adf558c920b2ce0e6cc4c6a5c9
diff --git a/aolserver/files/nsd b/aolserver/files/nsd
deleted file mode 100644
index 4ccfab3077..0000000000
--- a/aolserver/files/nsd
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-#
-# 
-
-. /etc/rc.subr
-
-name="nsd"
-rcvar=${name}
-command="/usr/pkg/bin/${name}"
-nsd_flags="-t /usr/pkg/etc/nsd.tcl -u nobody"
-nsd_user="root"
-
-# set defaults
-if [ -r /etc/rc.conf ]
-then
-        . /etc/rc.conf
-else
-        eval ${rcvar}=YES
-fi
-
-run_rc_command "$1"
-
diff --git a/aolserver/files/nsd.tcl b/aolserver/files/nsd.tcl
deleted file mode 100644
index 65cefb71d0..0000000000
--- a/aolserver/files/nsd.tcl
+++ /dev/null
@@ -1,239 +0,0 @@
-# nsd.tcl --  The AOLserver Startup Script
-#
-#      This is a Tcl script that is sourced when AOLserver starts up.
-#      A detailed reference is in "doc/config.txt".
-#
-
-ns_log notice "config.tcl: starting to read config file..."
-
-
-#
-# Set some Tcl variables that are commonly used throughout this file.
-#
-
-set httpport               80
-set httpsport              443
-
-# The hostname and address should be set to actual values.
-
-set hostname               [ns_info hostname]
-set address                [ns_info address]
-
-set servername             "server1"
-set serverdesc             "Test Server"
-
-set homedir                [file dirname [ns_info nsd]]/..
-set bindir                 ${homedir}/bin
-
-set pageroot               ${homedir}/share/nsd/servers/${servername}/pages
-set directoryfile          index.adp,index.html,index.htm
-
-set ext [info sharedlibextension]
-
-#
-# Global server parameters
-#
-
-ns_section "ns/parameters"
-ns_param  home             $homedir
-ns_param  verbose	   true
-
-#
-# Server logging
-#
-
-ns_param   dev             true      ;# Display logging with "Dev" severity
-ns_param   debug           false     ;# Display logging with "Debug" severity
-ns_param   logexpanded     false     ;# true = double-spaced server.log
-ns_param   logroll         true     ;# Roll server.log every 24 hours.
-ns_param   maxbackup       10        ;# Max number of old server.log files
-ns_param   pidfile         "nspid"   ;# PID of server (named "nspid.PORT")
-ns_param   serverlog       "/var/log/nsd/${servername}.log" ;# Filename of server.log
-
-
-#
-# 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.
-
-#
-# 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"
-
-############################################################
-#
-# 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   globalstats     true      ;# Enable built-in statistics.
-ns_param   urlstats        true      ;# Enable URL statistics.
-ns_param   maxurlstats     1000      ;# Max number of URL's to do stats on.
-ns_param   enabletclpages  false     ;# Parse *.tcl files in pageroot.
-
-# Database Driver Configuration
-# 
-# Sample config for postgres.
-
-#ns_section "ns/db/drivers"
-#ns_param        postgres        nspostgres.so
-
-#ns_section "ns/db/pools"
-#ns_param        pgpool          PGPool
-
-#ns_section "ns/db/pool/pgpool"
-#ns_param driver postgres
-#ns_param connections 5
-#ns_param datasource localhost:5432:webdatabase
-#ns_param logsqlerrors on
-#ns_param verbose on
-#ns_param user "webuser"
-
-#ns_section "ns/server/${servername}/db"
-#ns_param Pools *
-#ns_param DefaultPool pgpool
-
-
-#
-# Scaling and Tuning Options
-#
-#  Note: These values aren't necessarily the defaults.
-#
-
-ns_param   connsperthread  5          ;# 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
-
-
-# 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 simple               ;# Can be simple or fancy.
-
-
-#
-# ADP (AOLserver Dynamic Page) configuration
-#
-ns_section "ns/server/${servername}/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}/test.adp ;# ADP error page.
-
-
-#
-# ADP custom parsers -- see adp.c
-#
-ns_section "ns/server/${servername}/adp/parsers"
-ns_param   adp             ".adp"    ;# adp is the default parser.
-
-#
-# TCL library location -- This is critical for NetBSD since we moved stuff
-#
-
-ns_section "ns/server/${servername}/tcl"
-ns_param        library         ${homedir}/share/nsd/modules/tcl
-
-
-#
-# Socket driver module (HTTP)  -- nssock
-#
-ns_section "ns/server/${servername}/module/nssock"
-ns_param   port            $httpport
-ns_param   hostname        $hostname
-ns_param   address         $address
-
-
-#
-# Control port -- nscp
-#
-#  nscp does not load unless nscp_user is a valid user.
-#
-#ns_section "ns/server/${servername}/module/nscp"
-#ns_param   port            $nscp_port
-#ns_param   address         $nscp_addr
-
-#ns_section "ns/server/${servername}/module/nscp/users"
-#ns_param   user            $nscp_user
-
-
-#
-# Access log -- nslog
-#
-ns_section "ns/server/${servername}/module/nslog"
-ns_param   rolllog         false      ;# 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.
-ns_param   file            "/var/log/nsd/${servername}access.log"
-
-
-#
-# CGI interface -- nscgi
-#
-#  WARNING: These directories must not live under pageroot.
-#
-ns_section "ns/server/${servername}/module/nscgi"
-#ns_param   map "GET  /cgi /usr/local/cgi"     ;# CGI script file dir (GET).
-#ns_param   map "POST /cgi /usr/local/cgi"     ;# CGI script file dir (POST).
-
-
-#
-# Modules to load
-#
-ns_section "ns/server/${servername}/modules"
-ns_param   nssock          ${bindir}/nssock${ext}
-ns_param   nslog           ${bindir}/nslog${ext}
-#ns_param   nscgi           ${bindir}/nscgi${ext}  ;# Map the paths before using.
-#ns_param   nsperm          ${bindir}/nsperm${ext} ;# Edit passwd before using.
-
-#
-# nscp: Only loads if nscp_user is set (see above).
-#
-#if { $nscp_user != "" } {
-
-#    if ![string match "127.0.0.1" $nscp_addr] {
-#	# Anything but 127.0.0.1 is not recommended.
-#	ns_log warning "config.tcl: nscp listening on ${nscp_addr}:${nscp_port}"
-#    }
-#    ns_param nscp ${bindir}/nscp${ext}
-
-#} else {
-#    ns_log warning "config.tcl: nscp not loaded -- user/password is not set."
-#}
-
-ns_log notice "config.tcl: finished reading config file."
diff --git a/aolserver/patches/patch-aa b/aolserver/patches/patch-aa
deleted file mode 100644
index 3cbedc5553..0000000000
--- a/aolserver/patches/patch-aa
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/05/24 18:34:32 ianharding Exp $
-
---- include/Makefile.global.in.orig	2003-06-03 12:08:20.000000000 +0000
-+++ include/Makefile.global.in
-@@ -90,11 +90,11 @@ LIBS		+= @TCL_LIB_SPEC@ @TCL_LIBS@
- CCLIBS		= $(LIBS) @TCL_LD_FLAGS@
- 
- # Install directories
--INSTBIN		= $(AOLSERVER)/bin
--INSTLIB		= $(AOLSERVER)/lib
--INSTMOD		= $(AOLSERVER)/modules
--INSTTCL		= $(AOLSERVER)/modules/tcl
--INSTSRV		= $(AOLSERVER)/servers/server1
-+INSTBIN		= ${PREFIX}/bin
-+INSTLIB		= ${PREFIX}/lib
-+INSTMOD		= ${NSD_ROOT}/modules
-+INSTTCL		= ${NSD_ROOT}/modules/tcl
-+INSTSRV		= ${NSD_ROOT}/servers/server1
- INSTSRVMOD	= $(INSTSRV)/modules
- INSTSRVPAG	= $(INSTSRV)/pages
- 
diff --git a/aolserver/patches/patch-ab b/aolserver/patches/patch-ab
deleted file mode 100644
index 64af67c30b..0000000000
--- a/aolserver/patches/patch-ab
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2003/03/26 00:05:27 ianharding Exp $
-
---- include/Makefile.global.orig	Thu May 17 15:44:03 2001
-+++ include/Makefile.global
-@@ -15,18 +15,17 @@
- #
- # Installation directories.
- #
--PREFIX       =   /usr/local/aolserver
- INST         =   $(PREFIX)
- INSTBIN      =   $(INST)/bin
--INSTLIB      =   $(INST)/lib
--INSTINC      =   $(INST)/include
--INSTLOG      =   $(INST)/log
--INSTMOD      =   $(INST)/modules
-+INSTLIB      =   $(INST)/lib/nsd
-+INSTINC      =   $(INST)/include/nsd
-+INSTLOG      =   /var/log/nsd
-+INSTMOD      =   $(INST)/share/nsd/modules
- INSTTCL      =   $(INSTMOD)/tcl
--INSTSRV      =   $(INST)/servers/server1
-+INSTSRV      =   $(INST)/share/nsd/servers/server1
- INSTSRVMOD   =   $(INSTSRV)/modules
- INSTSRVPAG   =   $(INSTSRV)/pages
--
-+INSTRC	     =   $(INST)/etc/rc.d
- 
- #
- # Common build variables.
-@@ -210,10 +209,19 @@
-     NSDLIBS=-lm
- endif
- 
--
- #
--# SCO Unixware
-+# NetBSD
- #
-+ifneq (,$(findstring NetBSD,$(PLAT)))
-+    PLATFORM=netbsd
-+    CC=ptlgcc
-+    CFLAGS+=$(GGCCOPT)
-+    LDFLAGS+=-Wl,-E
-+    RANLIB=ranlib
-+    CFLAGS+=-D_THREAD_SAFE=1 -DHAVE_CMMSG=1 -DNO_TIMEZONE=1 -DHAVE_TIMEGM=1 -DNEED_HERRNO
-+    NSDLIBS=-lm
-+endif
-+
- ifneq (,$(findstring UnixWare,$(PLAT)))
-     PLATFORM=unixware
-     CC=cc
diff --git a/aolserver/patches/patch-ac b/aolserver/patches/patch-ac
deleted file mode 100644
index 7b222cfa4e..0000000000
--- a/aolserver/patches/patch-ac
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2003/03/26 00:05:27 ianharding Exp $
-
---- thread/reentrant.c.orig	Thu Oct 18 21:43:49 2001
-+++ thread/reentrant.c
-@@ -61,7 +61,7 @@
- 
- static Tls *GetTls(void);
- 
--#ifdef MACOSX
-+#if defined(__NetBSD__) || defined(MACOSX)
- #define NO_REENTRANT	1
- char *strtok_r(char *s, const char *delim, char **last);
- #endif
-@@ -312,7 +312,7 @@
- 
- 
- 
--#ifdef MACOSX
-+#if defined(__NetBSD__) || defined(MACOSX)
- 
- /*
-  * Copyright (c) 1998 Softweyr LLC.  All rights reserved.


Home | Main Index | Thread Index | Old Index