Red Hat Bugzilla – Bug 1257288
please build libgit2 against libcurl
Last modified: 2015-09-03 23:22:45 EDT
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
the libgit2 maintainers decided to use libcurl as their advanced transport for http/https based traffic. In order to allow libgit2 to work through http/https proxies it has to be built against libcurl
I believe all that is needed is to have a build requirement for libcurl-devel; the libgit2 cmake file will detect libcurl and automatically build against this.
Steps to Reproduce:
1.build an application against libgit2 (e.g. Subsurface master)
2.try to access an https based git repository while behind a reverse proxy / firewall that blocks direct https access (e.g. try to access Subsurface cloud storage in a typical corporate environment)
access to the remote repository fails even if the correct proxies are set up as libgit2 as currently shipped in Fedora isn't built against libcurl and therefore doesn't support http/https proxies
access to the remote repository should work with correctly configured proxy settings
I am a provenpackager and can take care of rebuilding libgit2 with a new BR on libcurl-devel.
This should impact consumers of libgit2 since we're just rebuilding the package, no change in the version, so it sounds like an easy build :)
Let me know if you want to me to care of it.
Sorry, I'll get this done in a moment.
libgit2-0.23.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14884
libgit2-0.23.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update libgit2'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14884
libgit2-0.23.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.