Subject: pkg/18373: new package: tls-1.4 (SSL channel for TCL)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <anthony.mallet@useless-ficus.net>
List: netbsd-bugs
Date: 09/22/2002 19:10:18
>Number:         18373
>Category:       pkg
>Synopsis:       new package: tls-1.4 (SSL channel for TCL)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 22 10:11:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Mallet
>Release:        NetBSD 1.6E
>Organization:
>Environment:
System: NetBSD ficus 1.6E NetBSD 1.6E (FICUS) #6: Sat Aug 17 16:11:10 CEST 2002 troot@ficus:/home/src/netbsd-current/sys/arch/i386/compile/FICUS i386
Architecture: i386
Machine: i386
>Description:
The tls package implements SSL sockets in the TCL language.
In particular, it can be used with the http package :

	package require http
	package require tls

	http::register https 443 ::tls::socket

	set token [http::geturl https://my.secure.site/]

Package attached below 
>How-To-Repeat:
>Fix:
# 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:
#
#	tls
#	tls/DESCR
#	tls/Makefile
#	tls/PLIST
#	tls/distinfo
#	tls/patches
#	tls/patches/patch-aa
#
echo c - tls
mkdir -p tls > /dev/null 2>&1
echo x - tls/DESCR
sed 's/^X//' >tls/DESCR << 'END-of-tls/DESCR'
XTLS (aka SSL) Channel - can be layered on any bi-directional Tcl_Channel.
X
XBoth client and server-side sockets are possible, and this code should work
Xon any platform as it uses a generic mechanism for layering on SSL and Tcl.
END-of-tls/DESCR
echo x - tls/Makefile
sed 's/^X//' >tls/Makefile << 'END-of-tls/Makefile'
X# $NetBSD: $
X#
X
XDISTNAME=	tls1.4
XPKGNAME=	tls-1.4
XCATEGORIES=	security
XMASTER_SITES=	ftp://tcl.activestate.com/pub/tcl/tls/
X
XMAINTAINER=	packages@netbsd.org
XHOMEPAGE=	http://www.tcl.tk
XCOMMENT=	TLS (aka SSL) Channel for the TCL language
X
XUSE_BUILDLINK2=		yes
XGNU_CONFIGURE=		yes
XCONFIGURE_ARGS+=	--with-ssl-dir=/usr
X
X.include "../../lang/tcl/buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-tls/Makefile
echo x - tls/PLIST
sed 's/^X//' >tls/PLIST << 'END-of-tls/PLIST'
X@comment $NetBSD: PLIST,v 1.3 2002/03/18 09:23:01 wiz Exp $
Xlib/libtls14.so
Xlib/tls1.4/tls.tcl
Xlib/tls1.4/pkgIndex.tcl
X@dirrm lib/tls1.4
END-of-tls/PLIST
echo x - tls/distinfo
sed 's/^X//' >tls/distinfo << 'END-of-tls/distinfo'
X$NetBSD: $
X
XSHA1 (tls1.4.tar.gz) = 8a19c3c2249da635cb9d3c814619d9ddfce24c11
XSize (tls1.4.tar.gz) = 88974 bytes
XSHA1 (patch-aa) = 1ea7030731ee627f8143c20b68d6b4176dc37dff
END-of-tls/distinfo
echo c - tls/patches
mkdir -p tls/patches > /dev/null 2>&1
echo x - tls/patches/patch-aa
sed 's/^X//' >tls/patches/patch-aa << 'END-of-tls/patches/patch-aa'
X$NetBSD: $
X
X+++ configure.in	Sun Sep 22 18:41:00 2002
X@@ -299,6 +299,7 @@
X STLIB_LD=${TCL_STLIB_LD}
X SHLIB_CFLAGS=${TCL_SHLIB_CFLAGS}
X 
X+AC_SUBST(TCL_CC)
X AC_SUBST(CFLAGS_DEBUG)
X AC_SUBST(CFLAGS_OPTIMIZE)
X AC_SUBST(STLIB_LD)
X+++ Makefile.in	Sun Sep 22 18:41:23 2002
X@@ -120,6 +120,7 @@
X PACKAGE = @PACKAGE@
X VERSION = @VERSION@
X CC = @CC@
X+TCL_CC = @TCL_CC@
X CFLAGS_DEBUG = @CFLAGS_DEBUG@
X CFLAGS_DEFAULT = @CFLAGS_DEFAULT@
X CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
X+++ configure.new	Sun Sep 22 18:43:16 2002
X@@ -1649,6 +1649,7 @@
X 
X 
X 
X+
X #--------------------------------------------------------------------
X # Set the default compiler switches based on the --enable-symbols 
X # option.
X@@ -1665,7 +1666,7 @@
X     esac
X 
X     echo $ac_n "checking for build with symbols""... $ac_c" 1>&6
X+echo "configure:1670: checking for build with symbols" >&5
X     # Check whether --enable-symbols or --disable-symbols was given.
X if test "${enable_symbols+set}" = set; then
X   enableval="$enable_symbols"
X@@ -1814,7 +1815,7 @@
X 
X 
X     echo $ac_n "checking for tclsh""... $ac_c" 1>&6
X+echo "configure:1819: checking for tclsh" >&5
X 
X     if eval "test \"`echo '$''{'ac_cv_path_tclsh'+set}'`\" = set"; then
X   echo $ac_n "(cached) $ac_c" 1>&6
X@@ -2035,6 +2036,7 @@
X s%@TCL_PLATFORM_DIR_NATIVE@%$TCL_PLATFORM_DIR_NATIVE%g
X s%@TCL_INCLUDES@%$TCL_INCLUDES%g
X s%@CLEANFILES@%$CLEANFILES%g
X+s%@TCL_CC@%$TCL_CC%g
X s%@CFLAGS_DEBUG@%$CFLAGS_DEBUG%g
X s%@CFLAGS_OPTIMIZE@%$CFLAGS_OPTIMIZE%g
X s%@STLIB_LD@%$STLIB_LD%g
END-of-tls/patches/patch-aa
exit


>Release-Note:
>Audit-Trail:
>Unformatted: