%general-entities; ]> openssl &openssl-version;
&openssl-url;
OpenSSL-&openssl-version; OpenSSL <para>The OpenSSL package contains management tools and libraries relating to cryptography. These are useful for providing cryptographic functions to other packages, such as OpenSSH, email applications, and web browsers (for accessing HTTPS sites). </para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&openssl-fin-sbu;</seg> <seg>&openssl-fin-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of OpenSSL Prepare OpenSSL for compilation: ./config --prefix=/usr \ --openssldir=/etc/ssl \ --libdir=lib \ shared \ zlib-dynamic Compile the package: make To test the results, issue: make test One test 30-test_afalg.t is known to fail on some kernel configurations (it apparently assumes certain unspecified crypto options have been selected). Install the package: sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile make MANSUFFIX=ssl install Add the version to the documentation directory name, to be consistent with other packages: mv -v /usr/share/doc/openssl /usr/share/doc/openssl-&openssl-version; If desired, install some additional documentation: cp -vfr doc/* /usr/share/doc/openssl-&openssl-version; Installation of OpenSSL - 32bit Clean previous build: make distclean Prepare OpenSSL for compilation: MACHINE="i686" \ CC="gcc -m32 -march=i686" \ CXX="g++ -m32 -march=i686" \ ./config \ --prefix=/usr \ --libdir=/usr/lib32 \ --openssldir=/etc/ssl \ --libdir=lib32 \ shared \ zlib-dynamic Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR Installation of OpenSSL - x32bit Clean previous build: make distclean Prepare OpenSSL for compilation: MACHINE="x86_64" \ CC="gcc -mx32" \ CXX="g++ -mx32" \ ./config \ --prefix=/usr \ --libdir=/usr/libx32 \ --openssldir=/etc/ssl \ --libdir=libx32 \ shared \ zlib-dynamic Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/libx32/* /usr/libx32 rm -rf DESTDIR Contents of OpenSSL Installed programs Installed libraries Installed directories c_rehash and openssl libcrypto.so and libssl.so /etc/ssl, /usr/include/openssl, /usr/lib/engines and /usr/share/doc/openssl-&openssl-version; Short Descriptions c_rehash is a Perl script that scans all files in a directory and adds symbolic links to their hash values c_rehash openssl is a command-line tool for using the various cryptography functions of OpenSSL's crypto library from the shell. It can be used for various functions which are documented in man 1 openssl openssl libcrypto.so implements a wide range of cryptographic algorithms used in various Internet standards. The services provided by this library are used by the OpenSSL implementations of SSL, TLS and S/MIME, and they have also been used to implement OpenSSH, OpenPGP, and other cryptographic standards libcrypto.so libssl.so implements the Transport Layer Security (TLS v1) protocol. It provides a rich API, documentation on which can be found by running man 3 ssl libssl.so