head	1.2;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1;
locks; strict;
comment	@# @;


1.2
date	2001.02.07.22.36.12;	author mi;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.20.11.55.54;	author nbm;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Bring to the latest version. Link all of the little external libraries
needed by the tclhttpd into one file. I submitted this back in December,
but nobody cared since. Now I can commit this myself :)

PR:		ports/23310
Submitted by:	mi
@
text
@--- bin/httpd.tcl	Wed Jun 14 13:25:50 2000
+++ bin/httpd.tcl	Wed Jun 21 15:59:34 2000
@@@@ -130,3 +130,3 @@@@
 } else {
-    set Config(config) [file join $Config(home) tclhttpd.rc]
+    set Config(config) [file join $Config(home) ../etc/tclhttpd.rc]
 }
@


1.1
log
@Add tclhttpd, a pure-Tcl implementation of a HTTP server.

PR:		ports/19870
Submitted by:	Mikhail Teterin <mi@@privatelabs.com>
@
text
@a2 25
@@@@ -82,21 +82,9 @@@@
 
 # Search around for the Standard Tcl Library
 
-if {![catch {package require base64 2.0}]} {
-    # Already available in environment
-} elseif {[file exist [file join $home ../tcllib]]} {
-    lappend auto_path [file join $home ../tcllib]
-} else {
-    # Look for the CVS development sources
-    set cvs [lindex [lsort -decreasing \
-	[glob -nocomplain [file join $home ../../tcllib*]]] 0]
-    if {[file exist [file join $cvs modules]]} {
-	lappend auto_path [file join $cvs modules]
-    } elseif {[file exist [file join $cvs pkgIndex.tcl]]} {
-	lappend auto_path $cvs
-    } else {
-	error "Cannot find Standard Tcl Library in auto_path:\n[join $auto_path \n]"
-    }
+if {[catch {package require tcllib} e]} {
+	error "Cannot find Standard Tcl Library in auto_path:\n\
+		[join $auto_path \n($e)\n]"
 }
 
 set Config(home) $home
@

