GNU bug report logs -
#54920
[PATCH] gnu: tcl: Add tcl-tls to packages.
Previous Next
Reported by: Daniel Lowe <dlowe <at> dlowe.net>
Date: Wed, 13 Apr 2022 20:52:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54920 in the body.
You can then email your comments to 54920 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#54920
; Package
guix-patches
.
(Wed, 13 Apr 2022 20:52:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Daniel Lowe <dlowe <at> dlowe.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 13 Apr 2022 20:52:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54920
; Package
guix-patches
.
(Fri, 06 May 2022 13:24:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 54920 <at> debbugs.gnu.org (full text, mbox):
Hi,
Daniel Lowe <dlowe <at> dlowe.net> 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 ‘tcl’ itself:
https://guix.gnu.org/manual/devel/en/html_node/Search-Paths.html
Most Tcl libraries that we have have that ‘search-paths’ declaration
though, and they would need to be fixed.
One problem is that they augment TCLLIBPATH not with a generic “lib/tcl”
(say) collection of directories, but instead with a package-specific
directory, like “lib/tcltls1.3”.
The solution would be to ensure that, instead, all these libraries
install their Tcl code in “lib/tcl” rather than “lib/PACKAGE”.
Since you’re into Tcl, would you like to give it a try? :-)
TIA,
Ludo’.
bug closed, send any further explanations to
54920 <at> debbugs.gnu.org and Daniel Lowe <dlowe <at> dlowe.net>
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 06 May 2022 13:24:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 04 Jun 2022 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.