[Pkg-julia-devel] Bug#832798: src:libgit2: Please support https:// protocol by linking to OpenSSL

Peter Colberg peter at colberg.org
Thu Jul 28 22:30:56 UTC 2016


Package: src:libgit2
Version: 0.24.1-3
Severity: important

Dear Maintainer,

The 0.5.0 release of julia will use libgit2 to retrieve Julia package
repositories via https://. I have prepared a preliminary package [1],
which fails to clone a git repository [2]:

julia> Pkg.init()
INFO: Initializing package repository /home/peter/.julia/v0.5
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ERROR, Class:Net, Failed to resolve address for https: Name or service not known)
 in init() at ./pkg/pkg.jl:70


julia upstream says [3] that libgit2 must be linked directly to a TLS
library in order to clone via https://, and that libcurl-gnutls is
used only for proxy support. I have rebuilt libgit2 with libssl-dev
using the attached patch, which enables julia to clone via https://.

Could you please provide a variant of libgit2 that is linked to
OpenSSL? To avoid multiple TLS libraries in the same program,
that variant should probably also link with libcurl4-openssl-dev.

(I marked this bug important since TLS is essential nowadays.)

Regards,
Peter

[1] https://anonscm.debian.org/git/pkg-julia/julia.git?h=debian%2Fexperimental
[2] https://github.com/JuliaLang/julia/issues/17661
[3] https://github.com/JuliaLang/julia/issues/17661#issuecomment-235961453
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgit2-support-https.patch
Type: text/x-diff
Size: 1305 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-julia-devel/attachments/20160728/07f6db47/attachment.patch>


More information about the Pkg-julia-devel mailing list