commit tls for openSUSE:Factory
Hello community, here is the log from the commit of package tls for openSUSE:Factory checked in at 2018-02-01 21:31:25 Comparing /work/SRC/openSUSE:Factory/tls (Old) and /work/SRC/openSUSE:Factory/.tls.new (New) Package is "tls" Thu Feb 1 21:31:25 2018 rev:21 rq:571800 version:1.7.14 Changes: --- /work/SRC/openSUSE:Factory/tls/tls.changes 2015-10-12 10:02:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.tls.new/tls.changes 2018-02-01 21:31:54.346007980 +0100 @@ -1,0 +2,13 @@ +Thu Feb 1 17:56:43 UTC 2018 - m...@suse.com + +- Fix the logic to fail on unexpected testsuite failures. + +--- +Fri Dec 29 10:15:09 UTC 2017 - m...@suse.com + +- Update to version 1.7.14 for compatibility with OpenSSL 1.1. +- Add tls-fix-channel-state.patch to prevent implicit changes of + encoding, translation and blocking mode when importing a socket. + https://core.tcl.tk/tcltls/info/f798e2ea12 + +--- Old: tls1.6.7-src.tar.gz New: tcltls-1.7.14.tar.gz tls-fix-channel-state.patch Other differences: -- ++ tls.spec ++ --- /var/tmp/diff_new_pack.hJNtH9/_old 2018-02-01 21:31:54.909981596 +0100 +++ /var/tmp/diff_new_pack.hJNtH9/_new 2018-02-01 21:31:54.909981596 +0100 @@ -1,7 +1,7 @@ # # spec file for package tls # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,52 +17,42 @@ Name: tls -BuildRequires: openssl-devel -BuildRequires: tcl-devel Summary:Tcl Binding for the OpenSSL Library License:BSD-3-Clause Group: Development/Libraries/Tcl -Version:1.6.7 +Version:1.7.14 Release:0 Url:http://tls.sourceforge.net -Source0:%name%version-src.tar.gz +Source0:tcl%name-%version.tar.gz +Patch0: tls-fix-channel-state.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(tcl) %description -This extension provides a generic binding for Tcl to OpenSSL, utilizing -the new Tcl_StackChannel API for Tcl 8.2 and higher. The sockets behave +This Tcl extension provides a generic binding to OpenSSL, utilizing +the Tcl_StackChannel API for Tcl 8.2 and higher. The sockets behave exactly the same as channels created using Tcl's built-in socket command with additional options for controlling the SSL session. - - -Authors: - -Matt Newman -Jeff Hobbs - %prep -%setup -q -n %name%version +%setup -q -n tcl%name-%version +%patch0 %build -CFLAGS="$RPM_OPT_FLAGS" \ -./configure \ - --libdir=%_libdir \ - --prefix=/usr \ - --with-ssl-dir=/usr \ - --with-tcl=%_libdir -make +%configure \ + --enable-deterministic \ + --enable-ssl-fastpath +make %{?_smp_mflags} %check -# Disable for now, because changed defaults in openssl make it fail -#exit 0 cat > known-failures <&1 | tee testresults -grep FAILED testresults | grep -Fqvf known-failures && exit 1 +grep FAILED testresults | grep -Fqvf known-failures && exit 1 ||: %install make install \ @@ -70,9 +60,6 @@ PKG_HEADERS= \ libdir=%_libdir/tcl -%clean -rm -rf %buildroot - %files %defattr(-,root,root,-) %doc ChangeLog README.txt license.terms tls.htm ++ tls-fix-channel-state.patch ++ --- tls.c.orig +++ tls.c @@ -880,14 +880,6 @@ ImportObjCmd(clientData, interp, objc, o statePtr->ctx = ctx; -/* - * We need to make sure that the channel works in binary (for the - * encryption not to get goofed up). - * We only want to adjust the buffering in pre-v2 channels, where - * each channel in the stack maintained its own buffers. - */ -Tcl_SetChannelOption(interp, chan, "-translation", "binary"); -Tcl_SetChannelOption(interp, chan, "-blocking", "true"); dprintf("Consuming Tcl channel %s", Tcl_GetChannelName(chan)); statePtr->self = Tcl_StackChannel(interp, Tls_ChannelType(), (ClientData) statePtr, (TCL_READABLE | TCL_WRITABLE), chan); dprintf("Created channel named %s", Tcl_GetChannelName(statePtr->self));
commit tls for openSUSE:Factory
Hello community, here is the log from the commit of package tls for openSUSE:Factory checked in at 2015-10-12 10:02:26 Comparing /work/SRC/openSUSE:Factory/tls (Old) and /work/SRC/openSUSE:Factory/.tls.new (New) Package is "tls" Changes: --- /work/SRC/openSUSE:Factory/tls/tls.changes 2015-01-20 19:04:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.tls.new/tls.changes 2015-10-12 10:02:34.0 +0200 @@ -1,0 +2,6 @@ +Thu Oct 8 15:27:17 UTC 2015 - m...@suse.com + +- Update to version 1.6.7 to incorporate the latest upstream fixes. + This obsoletes tls-ciphers.patch and tls-enable-tls1.patch. + +--- Old: tls-ciphers.patch tls-enable-tls1.patch tls1.6.3-src.tar.bz2 New: tls1.6.7-src.tar.gz Other differences: -- ++ tls.spec ++ --- /var/tmp/diff_new_pack.w5ou77/_old 2015-10-12 10:02:34.0 +0200 +++ /var/tmp/diff_new_pack.w5ou77/_new 2015-10-12 10:02:34.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package tls # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,15 @@ Name: tls -BuildRequires: openssl BuildRequires: openssl-devel BuildRequires: tcl-devel Summary:Tcl Binding for the OpenSSL Library License:BSD-3-Clause Group: Development/Libraries/Tcl -Version:1.6.3 +Version:1.6.7 Release:0 Url:http://tls.sourceforge.net -Source0:%name%version-src.tar.bz2 -Patch1: tls-ciphers.patch -Patch2: tls-enable-tls1.patch +Source0:%name%version-src.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -46,8 +43,6 @@ %prep %setup -q -n %name%version -%patch1 -%patch2 %build CFLAGS="$RPM_OPT_FLAGS" \ @@ -59,9 +54,12 @@ make %check +# Disable for now, because changed defaults in openssl make it fail +#exit 0 cat > known-failures <&1 | tee testresults grep FAILED testresults | grep -Fqvf known-failures && exit 1
commit tls for openSUSE:Factory
Hello community, here is the log from the commit of package tls for openSUSE:Factory checked in at 2015-01-20 19:04:04 Comparing /work/SRC/openSUSE:Factory/tls (Old) and /work/SRC/openSUSE:Factory/.tls.new (New) Package is "tls" Changes: --- /work/SRC/openSUSE:Factory/tls/tls.changes 2014-11-26 10:33:53.0 +0100 +++ /work/SRC/openSUSE:Factory/.tls.new/tls.changes 2015-01-20 19:04:05.0 +0100 @@ -1,0 +2,17 @@ +Wed Nov 26 15:27:21 UTC 2014 - g...@opensuse.org + +- update to version 1.6.3 (from CVS): + * tls.c (MiscObjCmd): Fixed non-static string array used in call +of Tcl_GetIndexFromObj(). Memory smash waiting to happen. +Thanks to Brian Griffin for alerting us all to the problem. + * tls.c: Applied Jeff's patch from +http://www.mail-archive.com/aolserver@listserv.aol.com/msg12356.html + * tls.c (StatusObjCmd): memleak: free peer if loaded. +[Bug 3041925] + * tls.tcl (tls::socket): some socket implementations have a -type +support (e.g. for inet6). +- rebased tls-fix-ciphers.patch +- modified tls-enable-tls1.patch to only enable tls1 by default + and to update the documentation + +--- Old: tls1.6-src.tar.bz2 New: tls1.6.3-src.tar.bz2 Other differences: -- ++ tls.spec ++ --- /var/tmp/diff_new_pack.nhPX1w/_old 2015-01-20 19:04:06.0 +0100 +++ /var/tmp/diff_new_pack.nhPX1w/_new 2015-01-20 19:04:06.0 +0100 @@ -23,7 +23,7 @@ Summary:Tcl Binding for the OpenSSL Library License:BSD-3-Clause Group: Development/Libraries/Tcl -Version:1.6 +Version:1.6.3 Release:0 Url:http://tls.sourceforge.net Source0:%name%version-src.tar.bz2 ++ tls-ciphers.patch ++ --- /var/tmp/diff_new_pack.nhPX1w/_old 2015-01-20 19:04:06.0 +0100 +++ /var/tmp/diff_new_pack.nhPX1w/_new 2015-01-20 19:04:06.0 +0100 @@ -1,56 +1,21 @@ tests/ciphers.test +Index: tests/ciphers.test +=== +--- tests/ciphers.test.orig +++ tests/ciphers.test -@@ -48,36 +48,6 @@ - EXP-RC4-MD5 - } - --set ::EXPECTEDCIPHERS(openssl) { --AES128-SHA --AES256-SHA --DES-CBC-SHA --DES-CBC3-SHA --DHE-DSS-AES128-SHA --DHE-DSS-AES256-SHA --DHE-DSS-RC4-SHA --DHE-RSA-AES128-SHA --DHE-RSA-AES256-SHA --EDH-DSS-DES-CBC-SHA --EDH-DSS-DES-CBC3-SHA --EDH-RSA-DES-CBC-SHA --EDH-RSA-DES-CBC3-SHA --EXP-DES-CBC-SHA --EXP-EDH-DSS-DES-CBC-SHA --EXP-EDH-RSA-DES-CBC-SHA --EXP-RC2-CBC-MD5 --EXP-RC4-MD5 --EXP1024-DES-CBC-SHA --EXP1024-DHE-DSS-DES-CBC-SHA --EXP1024-DHE-DSS-RC4-SHA --EXP1024-RC2-CBC-MD5 --EXP1024-RC4-MD5 --EXP1024-RC4-SHA --IDEA-CBC-SHA --RC4-MD5 --RC4-SHA --} -- - proc listcompare {wants haves} { - array set want {} - array set have {} -@@ -109,7 +79,7 @@ +@@ -140,7 +140,7 @@ test ciphers-1.3 {Tls::ciphers for ssl3} # This will fail if you compiled against RSA bsafe or with a # different set of defines than the default. # Change the constraint setting above. --listcompare $::EXPECTEDCIPHERS(openssl) [tls::ciphers ssl3] +-listcompare $::EXPECTEDCIPHERS(openssl$version) [tls::ciphers ssl3] +listcompare [split [exec openssl ciphers -ssl3] :] [tls::ciphers ssl3] } {} # This version of the test is correct for OpenSSL only. -@@ -119,7 +89,7 @@ +@@ -150,7 +150,7 @@ test ciphers-1.4 {Tls::ciphers for tls1} # This will fail if you compiled against RSA bsafe or with a # different set of defines than the default. # Change the constraint setting in all.tcl --listcompare $::EXPECTEDCIPHERS(openssl) [tls::ciphers tls1] +-listcompare $::EXPECTEDCIPHERS(openssl$version) [tls::ciphers tls1] +listcompare [split [exec openssl ciphers -tls1] :] [tls::ciphers tls1] } {} ++ tls-enable-tls1.patch ++ --- /var/tmp/diff_new_pack.nhPX1w/_old 2015-01-20 19:04:06.0 +0100 +++ /var/tmp/diff_new_pack.nhPX1w/_new 2015-01-20 19:04:06.0 +0100 @@ -1,18 +1,46 @@ Index: tls.c === tls.c 2008-03-19 23:06:13.0 +0100 -+++ tls.c 2014-06-25 18:38:15.981235622 +0200 -@@ -683,10 +683,10 @@ - #else - int ssl3 = 1; - #endif +--- tls.c.orig tls.c +@@ -716,21 +716,9 @@ ImportObjCmd(clientData, interp, objc, o + char *CAfile = NULL; + char *CAdir = NULL; + char *model = NULL; +-#if defined(NO_SSL2) + int ssl2 = 0; +-#else +-int ssl2 = 1; +-#endif +-#if defined(NO_SSL3) + int ssl3 = 0; +-#else +-i
commit tls for openSUSE:Factory
Hello community, here is the log from the commit of package tls for openSUSE:Factory checked in at 2014-11-26 10:33:49 Comparing /work/SRC/openSUSE:Factory/tls (Old) and /work/SRC/openSUSE:Factory/.tls.new (New) Package is "tls" Changes: --- /work/SRC/openSUSE:Factory/tls/tls.changes 2011-09-23 12:48:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.tls.new/tls.changes 2014-11-26 10:33:53.0 +0100 @@ -1,0 +2,13 @@ +Wed Nov 19 12:56:09 UTC 2014 - g...@opensuse.org + +- disable test tlsIO-2.10, reading from a closed socket raises an + exception with tcl >= 8.6.2 resulting in a timeout and failed + test + +--- +Wed Jun 25 18:51:04 UTC 2014 - m...@suse.com + +- Enable TLS1 by default to avoid problems with servers that + reject anything else (tls-enable-tls1.patch). + +--- New: tls-enable-tls1.patch Other differences: -- ++ tls.spec ++ --- /var/tmp/diff_new_pack.nsPgxF/_old 2014-11-26 10:33:55.0 +0100 +++ /var/tmp/diff_new_pack.nsPgxF/_new 2014-11-26 10:33:55.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package tls (Version 1.6) +# spec file for package tls # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,19 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: tls -BuildRequires: openssl openssl-devel tcl-devel +BuildRequires: openssl +BuildRequires: openssl-devel +BuildRequires: tcl-devel Summary:Tcl Binding for the OpenSSL Library -Version:1.6 -Release:43 License:BSD-3-Clause Group: Development/Libraries/Tcl +Version:1.6 +Release:0 Url:http://tls.sourceforge.net Source0:%name%version-src.tar.bz2 Patch1: tls-ciphers.patch +Patch2: tls-enable-tls1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -46,6 +47,7 @@ %prep %setup -q -n %name%version %patch1 +%patch2 %build CFLAGS="$RPM_OPT_FLAGS" \ @@ -58,6 +60,7 @@ %check cat > known-failures <&1 | tee testresults ++ tls-enable-tls1.patch ++ Index: tls.c === --- tls.c 2008-03-19 23:06:13.0 +0100 +++ tls.c 2014-06-25 18:38:15.981235622 +0200 @@ -683,10 +683,10 @@ #else int ssl3 = 1; #endif -#if defined(NO_SSL2) && defined(NO_SSL3) -int tls1 = 1; -#else +#if defined(NO_TLS1) int tls1 = 0; +#else +int tls1 = 1; #endif int proto = 0; int verify = 0, require = 0, request = 1; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tls for openSUSE:Factory
Hello community, here is the log from the commit of package tls for openSUSE:Factory checked in at 2011-12-06 19:08:57 Comparing /work/SRC/openSUSE:Factory/tls (Old) and /work/SRC/openSUSE:Factory/.tls.new (New) Package is "tls", Maintainer is "m...@suse.com" Changes: Other differences: -- ++ tls.spec ++ --- /var/tmp/diff_new_pack.42QR1P/_old 2011-12-06 19:43:01.0 +0100 +++ /var/tmp/diff_new_pack.42QR1P/_new 2011-12-06 19:43:01.0 +0100 @@ -23,7 +23,7 @@ Summary:Tcl Binding for the OpenSSL Library Version:1.6 Release:43 -License:BSD 3-clause (or similar) +License:BSD-3-Clause Group: Development/Libraries/Tcl Url:http://tls.sourceforge.net Source0:%name%version-src.tar.bz2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org