|Title:||package provide statement in tls.tcl|
|Last Modified:||2020-06-29 13:27:49|
|Version Found In:||1.7.19|
anonymous added on 2019-09-27 08:07:24:
A line of the format package provide Tls 1.7.19 is desirable somewhere in tls.tcl, such that package requests with package require Tls from another program get a positive response that the package is present.
rkeene added on 2019-11-14 01:01:46:
The Tcl API call Tcl_PkgProvide() is called from Tls_Init() as part of loading the TLS extension. There wouldn't be any advantage to adding it to tls.tcl. What are you trying to accomplish ?
anonymous added on 2020-06-29 13:27:49: (text/x-fossil-plain)
The "package provide" is a standard feature of RPM build systems; it does not mean that at the time of calling "package provide" some Tls_init() has already happened or is available. We wish to cover situations inside a RPM build to *request* installation of that Tcl package, before running anything *after* the package might have been installed.