diff options
author | peter <peter@pkgsrc.org> | 2005-01-22 13:21:43 +0000 |
---|---|---|
committer | peter <peter@pkgsrc.org> | 2005-01-22 13:21:43 +0000 |
commit | 02b0c1902fdbabb0f3f4549912ffb25b847f1bcc (patch) | |
tree | 017ce06553d34e6149a4969d6c2ecae0d302866c | |
parent | 355b847d04406b42296df6e6c33d174311615568 (diff) | |
download | pkgsrc-02b0c1902fdbabb0f3f4549912ffb25b847f1bcc.tar.gz |
Initial import of tls-1.5.0 into the NetBSD Packages Collection.
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.
-rw-r--r-- | security/tls/DESCR | 4 | ||||
-rw-r--r-- | security/tls/Makefile | 22 | ||||
-rw-r--r-- | security/tls/PLIST | 6 | ||||
-rw-r--r-- | security/tls/buildlink3.mk | 18 | ||||
-rw-r--r-- | security/tls/distinfo | 7 | ||||
-rw-r--r-- | security/tls/patches/patch-aa | 12 | ||||
-rw-r--r-- | security/tls/patches/patch-ab | 12 | ||||
-rw-r--r-- | security/tls/patches/patch-ac | 12 |
8 files changed, 93 insertions, 0 deletions
diff --git a/security/tls/DESCR b/security/tls/DESCR new file mode 100644 index 00000000000..e5334f0036a --- /dev/null +++ b/security/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/tls/Makefile b/security/tls/Makefile new file mode 100644 index 00000000000..4d98ca9ea7f --- /dev/null +++ b/security/tls/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/01/22 13:21:43 peter Exp $ +# + +DISTNAME= tls1.5.0-src +PKGNAME= 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/tls/PLIST b/security/tls/PLIST new file mode 100644 index 00000000000..d8254e215d4 --- /dev/null +++ b/security/tls/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/22 13:21:43 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/tls/buildlink3.mk b/security/tls/buildlink3.mk new file mode 100644 index 00000000000..17a71e3f26d --- /dev/null +++ b/security/tls/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/01/22 13:21:43 peter Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +TLS_BUILDLINK3_MK:= ${TLS_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= tls +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntls} +BUILDLINK_PACKAGES+= tls + +.if !empty(TLS_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.tls+= tls>=1.5.0 +BUILDLINK_PKGSRCDIR.tls?= ../../security/tls +.endif # TLS_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/security/tls/distinfo b/security/tls/distinfo new file mode 100644 index 00000000000..34a627c768a --- /dev/null +++ b/security/tls/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/01/22 13:21:43 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/tls/patches/patch-aa b/security/tls/patches/patch-aa new file mode 100644 index 00000000000..fdceaf1daa0 --- /dev/null +++ b/security/tls/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/01/22 13:21:43 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/tls/patches/patch-ab b/security/tls/patches/patch-ab new file mode 100644 index 00000000000..c591f26e577 --- /dev/null +++ b/security/tls/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/01/22 13:21:43 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/tls/patches/patch-ac b/security/tls/patches/patch-ac new file mode 100644 index 00000000000..a93b006bb0d --- /dev/null +++ b/security/tls/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/01/22 13:21:43 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 |