From unknown Wed Jun 18 23:17:17 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#54920 <54920@debbugs.gnu.org> To: bug#54920 <54920@debbugs.gnu.org> Subject: Status: [PATCH] gnu: tcl: Add tcl-tls to packages. Reply-To: bug#54920 <54920@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:17:17 +0000 retitle 54920 [PATCH] gnu: tcl: Add tcl-tls to packages. reassign 54920 guix-patches submitter 54920 Daniel Lowe severity 54920 normal tag 54920 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 13 16:51:31 2022 Received: (at submit) by debbugs.gnu.org; 13 Apr 2022 20:51:32 +0000 Received: from localhost ([127.0.0.1]:54141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nejxM-0006zm-ST for submit@debbugs.gnu.org; Wed, 13 Apr 2022 16:51:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:49504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nejqV-0006lQ-CH for submit@debbugs.gnu.org; Wed, 13 Apr 2022 16:44:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nejqV-00072c-5P for guix-patches@gnu.org; Wed, 13 Apr 2022 16:44:11 -0400 Received: from digital.sanctuary.org ([96.126.108.175]:39024) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nejqT-0000oV-3B for guix-patches@gnu.org; Wed, 13 Apr 2022 16:44:10 -0400 X-Virus-Scanned: Debian amavisd-new at sanctuary.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dlowe.net; s=mail; t=1649882647; bh=EhXNhh97pshrELZTeq3PalOg1F0triltEb+9+bD0TkQ=; h=From:To:Cc:Subject:Date:From; b=MTusIPpxXIp2mJHtHX9gCs505GyL0kHxMb38i6BquIocVbZ4D2/IyqXg/3G6YsqB4 RBpwy3S8kGpKJ9S8BNW2p0epq6xgi6xU/xKcWsFd7O/SuR5fhhUEzTi4QTuADjOIna nXSarORFq5H7JXtFwO2QyQY1eH2OQFNyVP3crybI= Received: from clarity.lan (pool-98-118-37-115.bstnma.fios.verizon.net [98.118.37.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by digital.sanctuary.org (Postfix) with ESMTPSA id B398B94A05; Wed, 13 Apr 2022 20:44:06 +0000 (UTC) From: Daniel Lowe To: guix-patches@gnu.org Subject: [PATCH] gnu: tcl: Add tcl-tls to packages. Date: Wed, 13 Apr 2022 16:44:05 -0400 Message-Id: <20220413204405.28483-1-dlowe@dlowe.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=96.126.108.175; envelope-from=dlowe@dlowe.net; helo=digital.sanctuary.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 13 Apr 2022 16:51:15 -0400 Cc: Daniel Lowe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/tcl.scm (tcl-tls): Added 1.7.22 --- gnu/packages/tcl.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm index 810095282e..3497851f18 100644 --- a/gnu/packages/tcl.scm +++ b/gnu/packages/tcl.scm @@ -432,6 +432,50 @@ (define-public tclx debugging tools.") (license license:tcl/tk))) +(define-public tcl-tls + (package + (name "tcl-tls") + (version "1.7.22") + (source + (origin + (method url-fetch) + (uri (string-append "https://core.tcl-lang.org/tcltls/uv/tcltls-" + version ".tar.gz")) + (sha256 + (base32 + "1d639gzngxp7zwwpb4ayh663br6vhsbiy6wxm952rj2y4xx2nkp8")))) + (build-system gnu-build-system) + (inputs + (list tcl)) + (propagated-inputs + (list openssl)) + (arguments + '(#:configure-flags + (let ((out (assoc-ref %outputs "out")) + (tcl (assoc-ref %build-inputs "tcl")) + (ssllib (assoc-ref %build-inputs "openssl"))) + (list "--with-ssl=libressl" + (string-append "-with-ssl-dir=" ssllib) + (string-append "--with-tcl=" tcl "/lib") + (string-append "--with-tclinclude=" tcl "/include") + (string-append "--exec-prefix=" out) + (string-append "--mandir=" out "/share/man"))) + + #:test-target "test")) + (search-paths + (list (search-path-specification + (variable "TCLLIBPATH") + (separator " ") + (files (list (string-append "lib/tcltls" version)))))) + (home-page "https://core.tcl-lang.org/tcltls/index") + (synopsis "TCL binding to OpenSSL toolkit") + (description + "This 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.") + (license license:public-domain))) + (define-public go-github.com-nsf-gothic (let ((commit "97dfcc195b9de36c911a69a6ec2b5b2659c05652") (revision "0")) -- 2.35.1 From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 09:23:06 2022 Received: (at 54920) by debbugs.gnu.org; 6 May 2022 13:23:06 +0000 Received: from localhost ([127.0.0.1]:47492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmxv6-0004pu-7l for submit@debbugs.gnu.org; Fri, 06 May 2022 09:23:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmxv3-0004pZ-QS for 54920@debbugs.gnu.org; Fri, 06 May 2022 09:22:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmxuy-0000yy-5h; Fri, 06 May 2022 09:22:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=3XGG9PPFso/thyUysdZ4RV7NaVGm8OOadxohu4NycZU=; b=gNvXBtpHl767bRPArItc n54nnvLTEy8spKVZvOdLV9V4fgAa+OZVCYpAdknv8B3LBFikz+TCLzNZrChOg05NYbJY3KCHieOai JQAJ7OW03/jxIYtbxMTU6TrJaERFFrpf6e6Kuo431wyZnLjNMUbHN2S5eY7dLAfOuXpQc30V5hSfp SZkBNeErEzzTLhHUxjyuIulRqTXBnxPgsiXZXs8IJQ7GFjzZCmP8joks6xD1yCRjLkA+2OUoJH9U6 d44clA2ei4wM2mkefgx6/CiMufaYk8JMo4tAbTdimRcoHl/eEDUoSrKYkOLwGYZYrui6QmZnjjb0u 8YiX0u0Le/itkw==; Received: from [193.50.110.244] (port=52666 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmxux-0005tJ-Oz; Fri, 06 May 2022 09:22:47 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Daniel Lowe Subject: Re: bug#54920: [PATCH] gnu: tcl: Add tcl-tls to packages. References: <20220413204405.28483-1-dlowe@dlowe.net> Date: Fri, 06 May 2022 15:22:45 +0200 In-Reply-To: <20220413204405.28483-1-dlowe@dlowe.net> (Daniel Lowe's message of "Wed, 13 Apr 2022 16:44:05 -0400") Message-ID: <874k224wyi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54920 Cc: 54920@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Daniel Lowe skribis: > * gnu/packages/tcl.scm (tcl-tls): Added 1.7.22 Applied. I followed up with cosmetic changes. One question though: > + (search-paths > + (list (search-path-specification > + (variable "TCLLIBPATH") > + (separator " ") > + (files (list (string-append "lib/tcltls" version)))))) This declaration most likely belongs in =E2=80=98tcl=E2=80=99 itself: https://guix.gnu.org/manual/devel/en/html_node/Search-Paths.html Most Tcl libraries that we have have that =E2=80=98search-paths=E2=80=99 de= claration though, and they would need to be fixed. One problem is that they augment TCLLIBPATH not with a generic =E2=80=9Clib= /tcl=E2=80=9D (say) collection of directories, but instead with a package-specific directory, like =E2=80=9Clib/tcltls1.3=E2=80=9D. The solution would be to ensure that, instead, all these libraries install their Tcl code in =E2=80=9Clib/tcl=E2=80=9D rather than =E2=80=9Cli= b/PACKAGE=E2=80=9D. Since you=E2=80=99re into Tcl, would you like to give it a try? :-) TIA, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 09:23:06 2022 Received: (at control) by debbugs.gnu.org; 6 May 2022 13:23:07 +0000 Received: from localhost ([127.0.0.1]:47496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmxvG-0004qp-Mi for submit@debbugs.gnu.org; Fri, 06 May 2022 09:23:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmxvC-0004q0-HZ for control@debbugs.gnu.org; Fri, 06 May 2022 09:23:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmxv7-0000zZ-AV for control@debbugs.gnu.org; Fri, 06 May 2022 09:22:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=uW3+paT69GQYEBSQ/ZLro//NBO+pmJA/jezfr999HLY=; b=FDtx1s9vleufnA fOd/cbngmmC7Ujmo54fn78KhFJFiggmpxp64j1rO8xs4OQdisV4n5bQbq6CtbbWXPJj2l2S5Ipp3d TKpgAkta4EwDiMbS2vt53CvCv4FsqzJuWyav9W567cWPFxBTvya5U4UZggoxNR14R/gHy0YEkXY1S tmVTlhMZEfnMKyG3coJbiB03c1nEEKb4vtAUfOFYQxHcJcbi6PFi8MPi49He2jWr6lRoClm+hFsG8 BmJSW2xDDslF8z+np9soDvoGhRYRBQJe6+706y8VrQ9V+txA3YIw5QbaNK0KCM8Aqtor78JZw8DNb RFk0kII0T2OrMr0JjXKA==; Received: from [193.50.110.244] (port=52668 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmxv6-0005ts-ST for control@debbugs.gnu.org; Fri, 06 May 2022 09:22:57 -0400 Date: Fri, 06 May 2022 15:22:55 +0200 Message-Id: <8735hm4wy8.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #54920 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 54920 quit From unknown Wed Jun 18 23:17:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 04 Jun 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator