logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Alien::Build::Plugin::Fetch::CurlCommand - Plugin for fetching files using curl

Author

       Author: Graham Ollis <plicease@cpan.org>

       Contributors:

       Diab Jerius (DJERIUS)

       Roy Storey (KIWIROY)

       Ilya Pavlov

       David Mertens (run4flat)

       Mark Nunberg (mordy, mnunberg)

       Christian Walde (Mithaldu)

       Brian Wightman (MidLifeXis)

       Zaki Mughal (zmughal)

       mohawk (mohawk2, ETJ)

       Vikas N Kumar (vikasnkumar)

       Flavio Poletti (polettix)

       Salvador Fandiño (salva)

       Gianni Ceccarelli (dakkar)

       Pavel Shaydo (zwon, trinitum)

       Kang-min Liu (劉康民, gugod)

       Nicholas Shipp (nshp)

       Juan Julián Merelo Guervós (JJ)

       Joel Berger (JBERGER)

       Petr Písař (ppisar)

       Lance Wicks (LANCEW)

       Ahmad Fatoum (a3f, ATHREEF)

       José Joaquín Atria (JJATRIA)

       Duke Leto (LETO)

       Shoichi Kaji (SKAJI)

       Shawn Laffan (SLAFFAN)

       Paul Evans (leonerd, PEVANS)

       Håkon Hægland (hakonhagland, HAKONH)

       nick nauwelaerts (INPHOBIA)

       Florian Weimer

Description

       This plugin provides a fetch based on the "curl" command.  It works with other fetch plugins (that is,
       the first one which succeeds will be used).  Most of the time the best plugin to use will be
       Alien::Build::Plugin::Download::Negotiate, but for some SSL bootstrapping it may be desirable to try
       "curl" first.

       Protocols supported: "http", "https"

       "https" support requires that curl was built with SSL support.

Methods

protocol_ok
        my $bool = $plugin->protocol_ok($protocol);
        my $bool = Alien::Build::Plugin::Fetch::CurlCommand->protocol_ok($protocol);

Name

       Alien::Build::Plugin::Fetch::CurlCommand - Plugin for fetching files using curl

Properties

curl_command
       The full path to the "curl" command.  The default is usually correct.

   ssl
       Ignored by this plugin.  Provided for compatibility with some other fetch plugins.

See Also

       alienfile
       Alien::Build

Synopsis

        use alienfile;

        share {
          start_url 'https://www.openssl.org/source/';
          plugin 'Fetch::CurlCommand';
        };

Version

       version 2.84

See Also