git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3 v2] The "curl" executable is no longer required

From
Johan Herland <johan@herland.net>
Date
Jun 15, 2008, 11:40 UTC
Message-ID
<200806151340.50694.johan@herland.net>
In-Reply-To
<vpqmylnkkm4.fsf@bauges.imag.fr>

git-clone.sh was the last user of the "curl" executable. Relevant git commands now use libcurl instead. This should be reflected in the install requirements.

Signed-off-by: Johan Herland <johan@herland.net>
---
On Sunday 15 June 2008, Matthieu Moy wrote:
Show 5 quoted lines
> I don't understand how that answers the question. Unless curl is
> statically linked, you need the library both at build time and at run
> time. For example, zlib-devel is needed here at build time, and zlib
> (without devel) is still in "Requires:". So, what's the difference
> between zlib and libcurl here?
You're probably right. What about this?
 INSTALL     |    8 ++++----
 git.spec.in |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/INSTALL b/INSTALL
index 9888f25..4a4e13f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -67,10 +67,10 @@ Issues of note:
 	  that come with git (git includes the one from Mozilla, and has
 	  its own PowerPC and ARM optimized ones too - see the Makefile).
 
-	- "libcurl" and "curl" executable.  git-http-fetch and
-	  git-fetch use them.  If you do not use http
-	  transfer, you are probably OK if you do not have
-	  them.
+	- libcurl library; git-http-fetch and git-fetch use them.  You
+	  might also want the "curl" executable for debugging purposes.
+	  If you do not use http transfer, you are probably OK if you
+	  do not have them.
 
 	- expat library; git-http-push uses it for remote lock
 	  management over DAV.  Similar to "curl" above, this is optional.
diff --git a/git.spec.in b/git.spec.in
index 97a26be..fb8da85 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -12,7 +12,7 @@ BuildRequires:	zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel, gettex
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:	perl-Git = %{version}-%{release}
-Requires:	zlib >= 1.2, rsync, curl, less, openssh-clients, expat
+Requires:	zlib >= 1.2, rsync, libcurl, less, openssh-clients, expat
 Provides:	git-core = %{version}-%{release}
 Obsoletes:	git-core <= 1.5.4.2
 Obsoletes:	git-p4
-- 
1.5.6.rc2.128.gf64ae
Previous: Matthieu MoyNext: Jakub Narebski
Message 9 of 14 in “Cleaning up INSTALL before 1.5.6”
  1. Johan HerlandJun 12, 2008
  2. 1/3 cpio is no longer used by git-cloneJohan Herland, Jun 15, 2008
  3. 2/3 Consistency: Use "libcurl" instead of "cURL library" and "curl"Johan Herland, Jun 15, 2008
  4. 3/3 The "curl" executable is no longer requiredJohan Herland, Jun 15, 2008
  5. David SymondsJun 15, 2008
  6. Johan HerlandJun 15, 2008
  7. David SymondsJun 15, 2008
  8. Matthieu MoyJun 15, 2008
  9. 3/3 The "curl" executable is no longer requiredJohan Herland, Jun 15, 2008
  10. Jakub NarebskiJun 15, 2008
  11. Johan HerlandJun 15, 2008
  12. Matthieu MoyJun 15, 2008
  13. Jakub NarebskiJun 15, 2008
  14. Johan HerlandJun 15, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.