Commit c10d8c80 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add our own curl and use it in git.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40801 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 82454bbc
# libcurl - the multiprotocol file transfer library
[buildout]
extends =
../software-profiles/openssl.cfg
../software-profiles/zlib.cfg
parts =
curl
[curl]
recipe = hexagonit.recipe.cmmi
url = http://curl.haxx.se/download/curl-7.21.2.tar.bz2
md5sum = ca96df88e044c7c25d19692ec8b250b2
configure-options =
--disable-ldap
--disable-ldaps
--disable-rtsp
--disable-proxy
--disable-dict
--disable-telnet
--disable-tftp
--disable-pop3
--disable-imap
--disable-smtp
--disable-gopher
--enable-ipv6
--disable-sspi
--with-ssl=${openssl:location}
--with-zlib=${zlib:location}
--without-nss
--without-libssh2
--without-libidn
environment =
LDFLAGS=-L${openssl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib
[buildout]
extends =
../software-profiles/curl.cfg
../software-profiles/libexpat.cfg
../software-profiles/openssl.cfg
../software-profiles/zlib.cfg
parts =
......@@ -10,7 +12,10 @@ recipe = hexagonit.recipe.cmmi
url = http://kernel.org/pub/software/scm/git/git-1.7.3.2.tar.bz2
md5sum = 902f7f07a789fedc0d2ac03656b85969
configure-options =
--with-curl=${curl:location}
--with-openssl=${openssl:location}
--with-zlib=${zlib:location}
--with-expat=${libexpat:location}
--without-tcltk
environment =
......
......@@ -2096,6 +2096,54 @@ class AssertLibuuid(AssertSoftwareMixin):
],
[])
class AssertCurl(AssertSoftwareMixin):
def test_ld_curl(self):
self.assertLibraryList('parts/curl/bin/curl', [
'libc',
'libcurl',
'librt',
'libz',
], [
'curl',
'openssl',
'zlib',
])
def test_ld_libcurl(self):
self.assertLibraryList('parts/curl/lib/libcurl.so', [
'libc',
'libcrypto',
'libdl',
'librt',
'libssl',
'libz',
], [
'openssl',
'zlib',
])
class AssertGit(AssertSoftwareMixin):
def test_ld_git(self):
self.assertLibraryList('parts/git/bin/git', [
'libc',
'libcrypto',
'libpthread',
'libz',
], [
'openssl',
'zlib',
])
def test_ld_git_http_fetch(self):
self.assertLibraryList('parts/git/libexec/git-core/git-http-fetch', [
'libc',
'libcrypto',
'libcurl',
'libpthread',
'libz',
], [
'curl',
'openssl',
'zlib',
])
class AssertElfLinkedInternally(AssertSoftwareMixin):
def test(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment