Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
97 lines (84 sloc)
3.15 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## | |
## Author......: See docs/credits.txt | |
## License.....: MIT | |
## | |
## Test suite installation helper script | |
# Sum of all exit codes | |
ERRORS=0 | |
cpan install Authen::Passphrase::LANManager \ | |
Authen::Passphrase::MySQL323 \ | |
Authen::Passphrase::NTHash \ | |
Authen::Passphrase::PHPass \ | |
Bitcoin::Crypto \ | |
Bitcoin::Crypto::Base58 \ | |
Compress::Zlib \ | |
Convert::EBCDIC \ | |
Crypt::AuthEnc::GCM \ | |
Crypt::CBC \ | |
Crypt::DES \ | |
Crypt::DES_EDE3 \ | |
Crypt::Digest::RIPEMD160 \ | |
Crypt::Digest::Whirlpool \ | |
Crypt::ECB \ | |
Crypt::Eksblowfish::Bcrypt \ | |
Crypt::GCrypt \ | |
Crypt::Mode::CBC \ | |
Crypt::Mode::ECB \ | |
Crypt::MySQL \ | |
Crypt::OpenSSH::ChachaPoly \ | |
Crypt::OpenSSL::EC \ | |
Crypt::OpenSSL::Bignum::CTX \ | |
Crypt::PBKDF2 \ | |
Crypt::RC4 \ | |
Crypt::Rijndael \ | |
Crypt::ScryptKDF \ | |
Crypt::Skip32 \ | |
Crypt::Twofish \ | |
Crypt::UnixCrypt_XS \ | |
Data::Types \ | |
Digest::BLAKE2 \ | |
Digest::CMAC \ | |
Digest::CRC \ | |
Digest::GOST \ | |
Digest::HMAC \ | |
Digest::HMAC_MD5 \ | |
Digest::Keccak \ | |
Digest::MD4 \ | |
Digest::MD5 \ | |
Digest::MurmurHash3 \ | |
Digest::Perl::MD5 \ | |
Digest::SHA \ | |
Digest::SHA1 \ | |
Digest::SHA3 \ | |
Digest::SipHash \ | |
Encode \ | |
JSON \ | |
Math::BigInt \ | |
MIME::Base64 \ | |
Net::DNS::RR::NSEC3 \ | |
Net::DNS::SEC \ | |
POSIX \ | |
Text::Iconv \ | |
; | |
ERRORS=$((ERRORS+$?)) | |
pip3 install pygost | |
# pip3 uninstall -y pycryptoplus pycrypto pycryptodome | |
pip3 install pycryptoplus | |
# pip3 uninstall -y pycryptodome # latest versions do not require this work around anymore | |
pip3 install pycrypto | |
ERRORS=$((ERRORS+$?)) | |
php --version > /dev/null 2> /dev/null | |
if [ "$?" -ne 0 ] | |
then | |
echo '[ ERROR ] php must be installed for some unit tests' | |
ERRORS=$((ERRORS+1)) | |
fi | |
echo | |
if [ $ERRORS -eq 0 ]; then | |
echo '[ OK ] All commands were successful' | |
exit 0 | |
else | |
echo '[ FAIL ] Some commands were not successful' | |
exit 1 | |
fi |