Net-FullAuto
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
&fa_install_module('Test::SubCalls','install','Makefile');
&fa_install_module('Class::Inspector','install','Makefile');
&fa_install_module('Safe::Isa','install','Makefile');
&fa_install_module('YAML::PP','install','Makefile');
&fa_install_module('PPI','install','Makefile');
&fa_install_module('Tie::Cache','install','Makefile');
&fa_install_module('String::Random','install','Build');
&fa_install_module('Net::Telnet','install','Makefile');
&fa_install_module('Sort::Versions','install','Makefile');
&fa_install_module('IO::Capture','install','Makefile');
&fa_install_module('Pod::Man','install','Makefile');
&fa_install_module('Sub::Exporter::Progressive','install','Makefile');
&fa_install_module('MRO::Compat','install','Makefile');
&fa_install_module('Sub::Install','install','Makefile');
&fa_install_module('Data::OptList','install','Makefile');
&fa_install_module('B::Hooks::OP::Check','install','Makefile');
&fa_install_module('Lexical::SealRequireHints','install','Build');
&fa_install_module('multidimensional','install','Makefile');
&fa_install_module('bareword::filehandles','install','Makefile');
&fa_install_module('indirect','install','Makefile');
&fa_install_module('strictures','install','Makefile');
&fa_install_module('Role::Tiny','install','Makefile');
&fa_install_module('Devel::GlobalDestruction','install','Makefile');
&fa_install_module('Module::Runtime','install','Makefile');
&fa_install_module('Import::Into','install','Makefile');
&fa_install_module('Sub::Exporter','install','Makefile');
&fa_install_module('Sub::Exporter::Util','install','Makefile');
&fa_install_module('Sub::Quote','install','Makefile');
&fa_install_module('Moo','install','Makefile');
&fa_install_module('MooX::Types::MooseLike','install','Makefile');
&fa_install_module('MooX::Types::MooseLike::Base','install','Makefile');
&fa_install_module('Devel::StackTrace','install','Makefile');
&fa_install_module('Throwable','install','Makefile');
&fa_install_module('Time::Local','install','Makefile');
&fa_install_module('Email::Date::Format','install','Makefile');
&fa_install_module('Net::SMTP','install','Makefile','','','','PERL_CORE=1');
&fa_install_module('Email::Simple','install','Makefile');
&fa_install_module('Email::Address','install','Makefile');
&fa_install_module('Email::Address::XS','install','Makefile');
&fa_install_module('Module::Pluggable','install','Makefile');
&fa_install_module('Email::Abstract','install','Makefile');
&fa_install_module('Email::Sender','install','Makefile');
&fa_install_module('URI::Escape::XS','install','Makefile');
&fa_install_module('Proc::ProcessTable','install','Makefile');
&fa_install_module('Data::Password::Check','install','Makefile');
&fa_install_module('Crypt::Cipher::AES','install','Makefile','0.087');
&fa_install_module('Digest::HMAC','install','Makefile');
&fa_install_module('Digest::SHA3','install','Makefile');
&fa_install_module('Type::Tiny','install','Makefile');
&fa_install_module('Types::Standard','install','Makefile');
&fa_install_module('Module::Implementation','install','Makefile');
&fa_install_module('Variable::Magic','install','Makefile');
&fa_install_module('B::Hooks::EndOfScope','install','Makefile');
&fa_install_module('Package::Stash','install','Makefile');
&fa_install_module('namespace::clean','install','Makefile');
&fa_install_module('namespace::autoclean','install','Makefile');
&fa_install_module('Digest::SHA3','install','Makefile');
&fa_install_module('Crypt::PBKDF2','install','Makefile');
&fa_install_module('Crypt::URandom','install','Makefile');
&fa_install_module('Crypt::CBC','install','Makefile');
&fa_install_module('Crypt::DES','install','Makefile');
&fa_install_module('Crypt::GeneratePassword','install','Makefile');
&fa_install_module('Archive::Zip','install','Makefile');
&fa_install_module('CPAN::DistnameInfo','install','Makefile');
#&fa_install_module('Excel::Writer::XLSX','install','Makefile');
#&fa_install_module('Spreadsheet::Read','install','Makefile');
}
my %cygsrvs=();
my @output=();
my $hostname=`hostname`;
chomp($hostname);
sub ws_info {
my $selection='';
if ($_[0]) {
print "\nRunning command: net user /domain ->".
" This may take a couple of minutes\n\n";
}
# Do we have Cygwin?
my $cygwin_loc=get_cygwin_location();
my $clo=$cygwin_loc;
$clo=~s/\\/\\\\/g;
my %userlist=();my %passlins=();
my @newpassw=();my $modflag=0;
if (-e $cygwin_loc."/bin") {
my $pasen='SET CYGWIN=nodosfilewarning & '.
"cmd /c $cygwin_loc\\bin\\bash -lc ".
'"cat /etc/passwd"';
my $passe=`$pasen`;my $cnt=0;my %passlins=();
foreach my $en (split "\n",$passe) {
chomp($en);
push @{$passlins{$en}},$cnt++;
push @newpassw,$en;
}
foreach my $lin (keys %passlins) {
my $linn=$lin;
my @pl=@{$passlins{$linn}};
if (0<$#pl) {
my %asklin=(
Label => 'asklin',
Item_1 => {
Text => "]C[",
Convey => sub {
my @ret=();
foreach my $p (@pl) {
push @ret, "\n $linn\n".
"\n Line: $p\n\n";
}
return @ret;
},
},
Item_2 => {
Text => "Skip this operation",
},
Banner => " Duplicate Lines in /etc/passwd found!\n\n".
" The following lines are all duplicates, ".
"the only one being utilized is\n the first ".
Makefile.PL view on Meta::CPAN
if (exists $ENV{PAR_TEMP}) {
system("$ENV{PAR_TEMP}\\inc\\tools\\less.exe ".
"$ENV{PAR_TEMP}\\inc\\LICENSE");
} else {
system('less LICENSE');
} return '<'
},
},
Item_4 => {
Text => "Return to previous screen",
Result => sub { return '{license_agree}<' },
},
Scroll => 1,
Banner => sub {
my $linenumber="]P[";
$linenumber||=1;
$linenumber=~s/["]//g;
my $dir='';
$dir="$ENV{PAR_TEMP}/inc/" if exists $ENV{PAR_TEMP};
open (FH,"<${dir}LICENSE")
or die "Cannot open ${dir}LICENSE: $!\n";
my @content=<FH>;
close FH;
my $co=$#content+1;
my $endcount=(13<$co)?13:$co;
if (-1==index $linenumber,'Review') {
if ($linenumber=~/Next|Previous/) {
$linenumber=~s/^(?:Next|Previous) Page\s*//;
}
($linenumber,$endcount)=split '-', $linenumber;
my $tl=$#content+1;
my $lt=$linenumber+13;
$endcount=($lt<$tl)?$lt:$tl;
} elsif (-1<index $linenumber,'WARRANTY') {
$linenumber=588;
$endcount=597;
} else { $linenumber=1 }
$linenumber=0 if $linenumber==1;
--$endcount;
my $banner=join "", @content[$linenumber..$endcount];
$banner=~s/^/ /mg;
return $banner;
}
);
my $cryptography_banner=<<'END';
__ __ _ _
\ \ / /_ _ _ _ _ _ (_)_ _ __ _| |
\ \/\/ / _` | '_| ' \| | ' \/ _` |_|
\_/\_/\__,_|_| |_||_|_|_||_\__, (_)
|___/
Exporting, importing and/or using cryptography software, or even
communicating technical details about cryptography software, is illegal
in some parts of the world. You are strongly advised to investigate and
adhere to any export/import and use laws which apply to you when you
import a release of Net::FullAuto including cryptography modules like
Crypt::CBC, Crypt::DES and Crypt::Rijndael to your country or
re-distribute source code from them in any way.
END
my $cryptography=sub {
my %cryptography=(
Name => 'cryptography',
Result => sub { return '{license_agree}<' },
Banner => $cryptography_banner,
);
return \%cryptography
};
my $license_banner=<<END;
*THANK YOU* For Trying FullAuto! Net::FullAuto INSTALLATION PROGRAM
Copyright (C) 2000-2024 Brian M. Kelly Brian.Kelly\@FullAuto.com
This program comes with ABSOLUTELY NO WARRANTY; for details select 2.
This is free software, and you are welcome to redistribute it under certain
conditions. Select 2 for full license. FullAuto uses Crypt::DES which is
software developed by Systemics Ltd (http://www.systemics.com/). FullAuto
uses the Net::SSLeay module which is software developed by the OpenSSL
Project for use in the OpenSSL Toolkit. (http://www.openssl.org/) and
includes cryptographic software written by Eric Young (eay\@cryptsoft.com)
and Tim Hudson (tjh\@cryptsoft.com)
END
my %license_agree=(
Name => 'license_agree',
Item_1 => {
Text => "I agree to the license provisions\n\n",
},
Item_2 => {
Text => "Review GNU Affero Public License WARRANTY DISCLAIMER\n",
Result => \%read_license,
},
Item_3 => {
Text => "*IMPORTANT* STRONG CRYPTOGRAPHY WARNING!",
Result => $cryptography,
},
Item_4 => {
Text => "I DO NOT AGREE to the license provisions\n".
" ( FullAuto Install will EXIT )",
},
Scroll => 1,
Banner => $license_banner,
);
my $lic_sel='';
if (!(exists $ENV{PERL5_CPAN_IS_RUNNING}
&& $ENV{PERL5_CPAN_IS_RUNNING}) ||
exists $ENV{PAR_TEMP}) {
$lic_sel=Menu(\%license_agree);
chomp($lic_sel);
exit if $lic_sel eq ']quit[';
if (-1<index $lic_sel, 'NOT') {
my $exitmsg=<<END;
You have elected *NOT* to install FullAuto.
Please report any bugs and send any
questions, thoughts or feedback to:
Brian.Kelly\@FullAuto.com.
END
print $exitmsg;
if (exists $ENV{PAR_TEMP}) {
print " Press ANY key to exit.\n\n";<STDIN>;
}
exit;
}
}
( run in 2.169 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )