[539d7c54] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libssh2-download-http "https://www.libssh2.org/download/libssh2-&libssh2-version;.tar.gz">
|
---|
| 8 | <!ENTITY libssh2-download-ftp " ">
|
---|
[80720f4a] | 9 | <!ENTITY libssh2-md5sum "1beefafe8963982adc84b408b2959927">
|
---|
| 10 | <!ENTITY libssh2-size "868 KB">
|
---|
| 11 | <!ENTITY libssh2-buildsize "13 MB (with tests)">
|
---|
[73353e7f] | 12 | <!ENTITY libssh2-time "0.2 SBU (with tests)">
|
---|
[539d7c54] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libssh2" xreflabel="libssh2-&libssh2-version;">
|
---|
| 16 | <?dbhtml filename="libssh2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libssh2-&libssh2-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libssh2">
|
---|
| 26 | <primary sortas="a-libssh2">libssh2</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libssh2</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>Libssh2</application> package is a client-side C library
|
---|
| 34 | implementing the SSH2 protocol.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[11193870] | 37 | &lfs91_checked;
|
---|
[539d7c54] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libssh2-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libssh2-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &libssh2-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &libssh2-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &libssh2-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &libssh2-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">libssh2 Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 76 | <para role="optional">
|
---|
[a4b38ab] | 77 | <xref linkend="gnupg2"/>,
|
---|
| 78 | <xref linkend="libgcrypt"/>, and
|
---|
| 79 | <xref linkend="openssh"/> (all three required for the testsuite)
|
---|
[539d7c54] | 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <para condition="html" role="usernotes">
|
---|
| 83 | User Notes: <ulink url="&blfs-wiki;/libssh2"/>
|
---|
| 84 | </para>
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of libssh2</title>
|
---|
| 89 |
|
---|
| 90 | <para>
|
---|
| 91 | Install <application>libssh2</application> by running the following
|
---|
| 92 | commands:
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | To test the results, issue: <command>make check</command>.
|
---|
[b5de93d] | 100 | One test, using gnupg, may fail for unknown reasons.
|
---|
[539d7c54] | 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="commands">
|
---|
| 111 | <title>Command Explanations</title>
|
---|
| 112 |
|
---|
| 113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 114 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="content">
|
---|
| 119 | <title>Contents</title>
|
---|
| 120 |
|
---|
| 121 | <segmentedlist>
|
---|
| 122 | <segtitle>Installed Programs</segtitle>
|
---|
| 123 | <segtitle>Installed Library</segtitle>
|
---|
| 124 | <segtitle>Installed Directories</segtitle>
|
---|
| 125 |
|
---|
| 126 | <seglistitem>
|
---|
| 127 | <seg>
|
---|
| 128 | None
|
---|
| 129 | </seg>
|
---|
| 130 | <seg>
|
---|
| 131 | libssh2.so
|
---|
| 132 | </seg>
|
---|
| 133 | <seg>
|
---|
| 134 | None
|
---|
| 135 | </seg>
|
---|
| 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="libssh2-lib">
|
---|
| 145 | <term><filename class="libraryfile">libssh2.so</filename></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>
|
---|
| 148 | contains functions to use the SSH2 protocol.
|
---|
| 149 | </para>
|
---|
| 150 | <indexterm zone="libssh2 libssh2-lib">
|
---|
| 151 | <primary sortas="c-libssh2">libssh2.so</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 | </variablelist>
|
---|
| 156 | </sect2>
|
---|
| 157 | </sect1>
|
---|