The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Alien::Build::Plugin::Fetch::PromptBeforeDownload - Plugin to prompt a user before making external download

VERSION

version 0.47

SYNOPSIS

 export ALIEN_BUILD_POSTLOAD=Fetch::PromptBeforeDownload

DESCRIPTION

This plugin allows you to force Alien::Build to prompt the user and ask for permission before downloading anything from the internet. It uses the ExtUtils::MakeMaker prompt function, so that it will do the sensible thing, like not infinitely halt install on non-interactive installs. The default response is yes, which is usually reasonable (and the default if you do not use this plugin at all), but you may change this by using the ALIEN_DOWNLOAD environment variable (see below).

ENVIRONMENT

ALIEN_DOWNLOAD

Set this environment variable to the default response. Should be either yes or no.

CAVEATS

This plugin depends on the alienfile using the appropriate channels for downloading external libraries. It is perfectly legal to write a alienfile that downloads using an external program like wget or curl, or not go through the normal fetch plugin. There is also nothing stopping someone from doing something nefarious when installing a cpan module. If you have strict security requirements you really should audit the alienfile and other Perl code that you are using.

AUTHOR

Author: Graham Ollis <plicease@cpan.org>

Contributors:

Diab Jerius (DJERIUS)

Roy Storey

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.