summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorpeter <peter@pkgsrc.org>2005-01-22 19:45:23 +0000
committerpeter <peter@pkgsrc.org>2005-01-22 19:45:23 +0000
commit431dac437d49bf924a93a14be6008c9cfc5dc59d (patch)
tree310ffc27d0fc0aeecd6d4b7b6535029c342ac2c8 /security
parent3f4b9942e2bbe781cb88f7bb70432f79c7d5240f (diff)
downloadpkgsrc-431dac437d49bf924a93a14be6008c9cfc5dc59d.tar.gz
Reimport as security/tcl-tls, suggested by Christoph Badura.
TLS (aka SSL) Channel - can be layered on any bi-directional Tcl_Channel. Both client and server-side sockets are possible, and this code should work on any platform as it uses a generic mechanism for layering on SSL and Tcl.
Diffstat (limited to 'security')
-rw-r--r--security/tcl-tls/DESCR4
-rw-r--r--security/tcl-tls/Makefile22
-rw-r--r--security/tcl-tls/PLIST6
-rw-r--r--security/tcl-tls/buildlink3.mk18
-rw-r--r--security/tcl-tls/distinfo7
-rw-r--r--security/tcl-tls/patches/patch-aa12
-rw-r--r--security/tcl-tls/patches/patch-ab12
-rw-r--r--security/tcl-tls/patches/patch-ac12
8 files changed, 93 insertions, 0 deletions
diff --git a/security/tcl-tls/DESCR b/security/tcl-tls/DESCR
new file mode 100644
index 00000000000..e5334f0036a
--- /dev/null
+++ b/security/tcl-tls/DESCR
@@ -0,0 +1,4 @@
+TLS (aka SSL) Channel - can be layered on any bi-directional Tcl_Channel.
+
+Both client and server-side sockets are possible, and this code should work
+on any platform as it uses a generic mechanism for layering on SSL and Tcl.
diff --git a/security/tcl-tls/Makefile b/security/tcl-tls/Makefile
new file mode 100644
index 00000000000..4e63b53e6aa
--- /dev/null
+++ b/security/tcl-tls/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/22 19:45:23 peter Exp $
+#
+
+DISTNAME= tls1.5.0-src
+PKGNAME= tcl-tls-1.5.0
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tls/}
+
+MAINTAINER= peter@pointless.nl
+HOMEPAGE= http://www.tcl.tk/
+COMMENT= TLS (aka SSL) Channel for the Tcl language
+
+WRKSRC= ${WRKDIR}/tls1.5
+
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-ssl-dir=${BUILDLINK_PREFIX.openssl}
+CONFIGURE_ENV+= LOCALBASE=${LOCALBASE:Q}
+
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/tcl-tls/PLIST b/security/tcl-tls/PLIST
new file mode 100644
index 00000000000..563283c53ac
--- /dev/null
+++ b/security/tcl-tls/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/22 19:45:23 peter Exp $
+include/tls.h
+lib/libtls150.so
+lib/tls1.50/pkgIndex.tcl
+lib/tls1.50/tls.tcl
+@dirrm lib/tls1.50
diff --git a/security/tcl-tls/buildlink3.mk b/security/tcl-tls/buildlink3.mk
new file mode 100644
index 00000000000..db79717630c
--- /dev/null
+++ b/security/tcl-tls/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/01/22 19:45:23 peter Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+TCL_TLS_BUILDLINK3_MK:= ${TCL_TLS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= tcl-tls
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-tls}
+BUILDLINK_PACKAGES+= tcl-tls
+
+.if !empty(TCL_TLS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.tcl-tls+= tcl-tls>=1.5.0
+BUILDLINK_PKGSRCDIR.tcl-tls?= ../../security/tcl-tls
+.endif # TCL_TLS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/security/tcl-tls/distinfo b/security/tcl-tls/distinfo
new file mode 100644
index 00000000000..237b74cc67c
--- /dev/null
+++ b/security/tcl-tls/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/22 19:45:23 peter Exp $
+
+SHA1 (tls1.5.0-src.tar.gz) = 66611f384f4b1c5e126ac8fc1cd03040bbe8ac16
+Size (tls1.5.0-src.tar.gz) = 113600 bytes
+SHA1 (patch-aa) = 0d2637038ce203dabdc4c4e9ea36d09a99978d15
+SHA1 (patch-ab) = 36b1d12c31b1b05268bff378795a51c0750c61bd
+SHA1 (patch-ac) = 350f1b3fc999c27522b2e17e6ba65072095e9b45
diff --git a/security/tcl-tls/patches/patch-aa b/security/tcl-tls/patches/patch-aa
new file mode 100644
index 00000000000..a58d7827869
--- /dev/null
+++ b/security/tcl-tls/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/01/22 19:45:23 peter Exp $
+
+--- configure.in.orig 2000-08-18 21:09:22.000000000 +0200
++++ configure.in
+@@ -299,6 +299,7 @@ SHLIB_LD=${TCL_SHLIB_LD}
+ STLIB_LD=${TCL_STLIB_LD}
+ SHLIB_CFLAGS=${TCL_SHLIB_CFLAGS}
+
++AC_SUBST(TCL_CC)
+ AC_SUBST(CFLAGS_DEBUG)
+ AC_SUBST(CFLAGS_OPTIMIZE)
+ AC_SUBST(STLIB_LD)
diff --git a/security/tcl-tls/patches/patch-ab b/security/tcl-tls/patches/patch-ab
new file mode 100644
index 00000000000..dd3da3c8154
--- /dev/null
+++ b/security/tcl-tls/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/01/22 19:45:23 peter Exp $
+
+--- Makefile.in.orig 2000-08-23 19:35:24.000000000 +0200
++++ Makefile.in
+@@ -120,6 +120,7 @@ POST_UNINSTALL = :
+ PACKAGE = @PACKAGE@
+ VERSION = @VERSION@
+ CC = @CC@
++TCL_CC = @TCL_CC@
+ CFLAGS_DEBUG = @CFLAGS_DEBUG@
+ CFLAGS_DEFAULT = @CFLAGS_DEFAULT@
+ CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
diff --git a/security/tcl-tls/patches/patch-ac b/security/tcl-tls/patches/patch-ac
new file mode 100644
index 00000000000..739b01e2ba3
--- /dev/null
+++ b/security/tcl-tls/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/01/22 19:45:23 peter Exp $
+
+--- configure.orig 2002-02-04 23:46:09.000000000 +0100
++++ configure 2005-01-20 20:26:28.000000000 +0100
+@@ -2053,6 +2053,7 @@
+ s%@TCL_BUILD_STUB_LIB_SPEC@%$TCL_BUILD_STUB_LIB_SPEC%g
+ s%@TCL_INCLUDES@%$TCL_INCLUDES%g
+ s%@CLEANFILES@%$CLEANFILES%g
++s%@TCL_CC@%$TCL_CC%g
+ s%@CFLAGS_DEBUG@%$CFLAGS_DEBUG%g
+ s%@CFLAGS_OPTIMIZE@%$CFLAGS_OPTIMIZE%g
+ s%@STLIB_LD@%$STLIB_LD%g