view tool_dependencies.xml @ 1:1c167e73d30f draft

Add PKG_CONFIG_PATH variable export
author jankanis
date Thu, 22 May 2014 06:26:08 -0400
parents e459a9ce3fce
children 23ebff671a20
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="zlib" version="1.2.8">
      <repository changeset_revision="31f1e69aae89" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="perl" version="5.18.1">
      <repository changeset_revision="34b039b3943b" name="package_perl_5_18" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="openssl" version="1.0.1g">
      <install version="1.0">
          <actions>
              <action type="download_by_url">ftp://ftp.openssl.org/source/openssl-1.0.1g.tar.gz</action>
                <!-- populate the environment variables from the dependend repos -->
                <action type="set_environment_for_install">
                  <repository changeset_revision="31f1e69aae89" name="package_zlib_1_2_8" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
                      <package name="zlib" version="1.2.8" />
                    </repository>
                    <repository changeset_revision="34b039b3943b" name="package_perl_5_18" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
                      <package name="perl" version="5.18.1" />
                    </repository>
                </action>
                <action type="shell_command">./config --prefix=$INSTALL_DIR</action>
                <!-- delete unused man pages, that will result in an error due to an bug in some perl libraries 
                    https://bugs.archlinux.org/task/35868
                -->
                <action type="shell_command">rm ./doc/apps/cms.pod</action>
                <action type="shell_command">rm ./doc/apps/smime.pod</action>
                <action type="shell_command">rm ./doc/crypto/X509_STORE_CTX_get_error.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_accept.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_clear.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_COMP_add_compression_method.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_connect.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_CTX_add_session.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_CTX_load_verify_locations.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_CTX_set_client_CA_list.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_CTX_set_session_id_context.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_CTX_set_ssl_version.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_CTX_use_psk_identity_hint.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_do_handshake.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_read.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_session_reused.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_set_fd.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_set_session.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_shutdown.pod</action>
                <action type="shell_command">rm ./doc/ssl/SSL_write.pod</action>
                <action type="make_install" />
                <action type="set_environment">
                  <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
                    <environment_variable action="set_to" name="OPENSSL_ROOT_DIR">$INSTALL_DIR</environment_variable>
                    <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
                    <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
		    <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
            The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library. 
            The project is managed by a worldwide community of volunteers that use the Internet to communicate, plan, and develop the OpenSSL toolkit and its related documentation. 

            https://www.openssl.org/

	    This Galaxy package is a direct copy of the iuc package_openssl_1_0 package, but wraps openssl 1.0.1g which fixes the heartbleed vulnerability.
        </readme>
    </package>
</tool_dependency>