shaka-packager/packager/third_party/curl
Joey Parrish e2d66b33fa fix: Fix crash in static-linked linux builds
The official, static-linked linux builds were crashing in their use of
getaddrinfo, which libcurl was configured to use.  Both getaddrinfo
and all of its alternatives available in glibc fail with static
linking.

We can fix this by configuring libcurl to use libc-ares on Linux
instead.  This allows us to keep the benefits of a statically-linked
Linux binary.

Closes #996

Change-Id: Ib4a9eb939813fd165727788726459ef4adf3fc4d
2021-10-14 10:35:49 -07:00
..
config Update mac curl ca bundle: add /etc/ssl/cert.pem 2018-04-10 17:30:49 +00:00
README.packager Roll curl to 7.56.1 2017-12-04 19:28:27 +00:00
curl.gyp fix: Fix crash in static-linked linux builds 2021-10-14 10:35:49 -07:00

README.packager

Name: curl
URL: http://curl.haxx.se/dev/
License: MIT/X
License File: source/COPYING
Local Modifications: None

Description:
libcurl is a free and easy-to-use client-side URL transfer library. libcurl
supports SSL certificates, HTTP GET, HTTP POST, HTTP PUT, and various other
transfer protocols.

**************************************************************************
Description of source tree.

1) config/
    Directory containing configuration files, which are required to build
    libcurl and curl correctly. On linux platform, an *auto-generated*
    configuration file "config/linux/curl_config.h" is used; the library uses
    the configuration files coming with libcurl distribution
    "source/lib/config-*.h" on other platforms.

    config/curl/curlbuild.h
        Curl build file renamed from source/include/curl/curlbuild.h.dist

    config/dummy_tool_hugehelp.c
        A dummy manual required to build curl command line tool.

    config/linux/curl_config.h
        An *auto-generated* configuration file by running bash commands:

          cd source
          ./buildconf
          cd ..
          source/configure --with-ssl --without-ca-bundle --without-ca-path \
          --without-zlib --without-libidn --without-librtmp
          cp lib/curl_config.h config/linux/curl_config.h

        on linux platform, with a few features disabled to build correctly on a
        fresh linux box.

    config/mac/curl_config.h
        Similar as above, but run in Mac instead.

    config/linux/find_curl_ca_bundle.sh
        A script used to find the path to curl_ca_bundle in the target system.

2) curl.gyp
    A gyp build file for the library. Manually maintained.

3) source/
    Directory containing curl source codes from github without modification.