#!/bin/sh -f # # mcrypt # mkdir -p ./Security mkdir -p mcrypt cd mcrypt wget -N ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/mcrypt-2.6.3.tar.gz wget -N ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.6.tar.gz wget -N http://telia.dl.sourceforge.net/sourceforge/mhash/mhash-0.8.17.tar.gz # # mhash # tar xvfz mhash-0.8.17.tar.gz cd mhash-0.8.17 ./configure --prefix=/usr make mkdir toc-pak cp -p AUTHORS COPYING INSTALL ChangeLog NEWS README TODO doc-pak/ cp -p doc/example.c doc/md5-rfc1321.txt doc/mhash.html doc/skid2-authen echo "mhash is a thread-safe hash library, implemented in C, and provides a uniform interface to a large number of hash algorithms (MD5, SHA-1, HAVAL, RIPEMD128, RIPEMD160, TIGER, GOST). These algorithms can be used to compute checksums, message digests, and other signatures. The HMAC support implements the basics for message authentication, following RFC 2104. 9 http://mhash.sf.net " | checkinstall mv mhash-0.8.17-i386-1.tgz ../../Security/ cd .. # # libmcrypt # tar xvfz mcrypt/libmcrypt-2.5.6.tar.gz cd libmcrypt-2.5.6 ./configure --prefix=/usr make mkdir doc-pak cp AUTHORS ChangeLog KNOWN-BUGS NEWS THANKS README TODO \ doc/README* doc/example.c doc-pak echo "libmcrypt is a data encryption library. The library is thread safe and provides encryption and decryption functions. This version of the library supports many encryption algorithms and encryption modes. Some algorithms which are supported: SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY, TWOFISH, BLOWFISH, ARCFOUR, WAKE and more. 9 http://mcrypt.hellug.gr/mcrypt/index.html " | checkinstall mv libmcrypt-2.5.6-i386-1.tgz ../../Security/ cd .. # # mcrypt # tar xvfz mcrypt-2.6.3.tar.gz cd mcrypt-2.6.3 ./configure --prefix=/usr make mkdir doc-pak cp -p ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL INSTALL.generic NEWS \ README THANKS TODO doc/sample.mcryptrc doc/magic doc/FORMAT doc-pak echo "Mcrypt is a simple crypting program, a replacement for the old unix crypt(1). When encrypting or decrypting a file, a new file is created with the extension .nc and mode 0600. The new file keeps the modification date of the original. The original file may be deleted by specifying the -u parameter. If no files are specified, the standard input is encrypted to the standard output. 9 http://mcrypt.hellug.gr/mcrypt/index.html " | checkinstall mv mcrypt-2.6.3-i386-1.tgz ../../Security/ cd ..