|
@@ -23,10 +23,13 @@
|
|
|
<sect2 role="package">
|
|
|
<title/>
|
|
|
|
|
|
- <para>The OpenSSL package contains management tools and libraries relating
|
|
|
+ <!--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>
|
|
|
+ (for accessing HTTPS sites). </para-->
|
|
|
+ <para>OpenSSL 软件包包含密码学相关的管理工具和库。
|
|
|
+ 它们被用于向其他软件包提供密码学功能,例如 OpenSSH,
|
|
|
+ 电子邮件程序和 Web 浏览器(访问 HTTPS 站点)。</para>
|
|
|
|
|
|
<segmentedlist>
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
@@ -41,7 +44,7 @@
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
- <title>安装OpenSSL</title>
|
|
|
+ <title>安装 OpenSSL</title>
|
|
|
|
|
|
<para>准备安装 OpenSSL:</para>
|
|
|
|
|
@@ -59,15 +62,15 @@
|
|
|
|
|
|
<screen><userinput remap="test">make test</userinput></screen>
|
|
|
|
|
|
- <para>One subtest in the test 40-test_rehash.t fails in the lfs chroot
|
|
|
- environment, but passes when run as a regular user.</para>
|
|
|
+ <para>测试 40-test_rehash.t 的一个子测试在 LFS chroot 环境中失败,
|
|
|
+ 但如果用普通用户运行就能通过。</para>
|
|
|
|
|
|
<para>安装该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="install">sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
|
|
|
make MANSUFFIX=ssl install</userinput></screen>
|
|
|
|
|
|
- <para>If desired, install the documentation:</para>
|
|
|
+ <para>如果需要的话,安装文档:</para>
|
|
|
|
|
|
<screen><userinput remap="install">mv -v /usr/share/doc/openssl /usr/share/doc/openssl-&openssl-version;
|
|
|
cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
|
|
@@ -84,15 +87,15 @@ cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
|
|
|
|
|
|
<seglistitem>
|
|
|
<seg>
|
|
|
- c_rehash and openssl
|
|
|
+ c_rehash 和 openssl
|
|
|
</seg>
|
|
|
<seg>
|
|
|
- libcrypto.{so,a} and libssl.{so,a}
|
|
|
+ libcrypto.{so,a} 和 libssl.{so,a}
|
|
|
</seg>
|
|
|
<seg>
|
|
|
/etc/ssl,
|
|
|
/usr/include/openssl,
|
|
|
- /usr/lib/engines and
|
|
|
+ /usr/lib/engines 以及
|
|
|
/usr/share/doc/openssl-&openssl-version;
|
|
|
</seg>
|
|
|
</seglistitem>
|
|
@@ -107,8 +110,9 @@ cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
|
|
|
<term><command>c_rehash</command></term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- is a <application>Perl</application> script that scans all files in
|
|
|
- a directory and adds symbolic links to their hash values.
|
|
|
+ 一个 <application>Perl</application> 脚本,
|
|
|
+ 扫描一个目录中的所有文件,并添加它们的符号链接,
|
|
|
+ 符号链接名为对应文件的散列值
|
|
|
</para>
|
|
|
<indexterm zone="ch-system-openssl c_rehash">
|
|
|
<primary sortas="b-c_rehash">c_rehash</primary>
|
|
@@ -120,11 +124,11 @@ cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
|
|
|
<term><command>openssl</command></term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- is a command-line tool for using the various cryptography functions
|
|
|
- of <application>OpenSSL</application>'s crypto library from the
|
|
|
- shell. It can be used for various functions which are documented in
|
|
|
- <command>man 1 openssl</command>.
|
|
|
- </para>
|
|
|
+ 一个命令行工具,用于从 shell 使用
|
|
|
+ <application>OpenSSL</application> 密码学库的一些密码学函数。
|
|
|
+ 它可以被用于 <command>man 1 openssl</command>
|
|
|
+ 描述的许多功能。
|
|
|
+ </para>
|
|
|
<indexterm zone="ch-system-openssl openssl-prog">
|
|
|
<primary sortas="b-openssl">openssl</primary>
|
|
|
</indexterm>
|
|
@@ -135,14 +139,11 @@ cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
|
|
|
<term><filename class="libraryfile">libcrypto.so</filename></term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- implements a wide range of cryptographic algorithms used in various
|
|
|
- Internet standards. The services provided by this library are used
|
|
|
- by the <application>OpenSSL</application> implementations of SSL,
|
|
|
- TLS and S/MIME, and they have also been used to implement
|
|
|
- <application>OpenSSH</application>,
|
|
|
- <application>OpenPGP</application>, and other cryptographic
|
|
|
- standards.
|
|
|
- </para>
|
|
|
+ 实现不同 Internet 标准使用的许多密码学算法。
|
|
|
+ 该库提供的服务被 <application>OpenSSL</application> 的
|
|
|
+ SSL TLS 和 S/MIME 实现使用,也被用于实现
|
|
|
+ <application>OpenSSH</application>、
|
|
|
+ <application>OpenPGP</application> 和其他密码学标准。</para>
|
|
|
<indexterm zone="ch-system-openssl libcrypto">
|
|
|
<primary sortas="c-libcrypto">libcrypto.so</primary>
|
|
|
</indexterm>
|
|
@@ -152,11 +153,14 @@ cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
|
|
|
<varlistentry id="libssl">
|
|
|
<term><filename class="libraryfile">libssl.so</filename></term>
|
|
|
<listitem>
|
|
|
- <para>
|
|
|
+ <!--para>
|
|
|
implements the Transport Layer Security (TLS v1) protocol.
|
|
|
It provides a rich API, documentation
|
|
|
on which can be found by running <command>man 3 ssl</command>.
|
|
|
- </para>
|
|
|
+ </para-->
|
|
|
+ <para>实现传输层安全 (TLS v1) 协议。
|
|
|
+ 它提供了丰富的 API,这些 API 的文档可以通过执行
|
|
|
+ <command>man 3 ssl</command> 查阅。</para>
|
|
|
<indexterm zone="ch-system-openssl libssl">
|
|
|
<primary sortas="c-libssl">libssl.so</primary>
|
|
|
</indexterm>
|