[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[5431aad] | 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 |
|
---|
[36a0ff4] | 7 | <!ENTITY libptytty-download-http "http://dist.schmorp.de/libptytty/libptytty-&libptytty-version;.tar.gz">
|
---|
[5431aad] | 8 | <!ENTITY libptytty-download-ftp " ">
|
---|
| 9 | <!ENTITY libptytty-md5sum "2a7f3f3c0d3ef71902da745dc7959529">
|
---|
| 10 | <!ENTITY libptytty-size "48 KB">
|
---|
| 11 | <!ENTITY libptytty-buildsize "1.4 MB">
|
---|
| 12 | <!ENTITY libptytty-time "less than 0.1 SBU">
|
---|
| 13 |
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libptytty" xreflabel="libptytty-&libptytty-version;">
|
---|
| 17 | <?dbhtml filename="libptytty.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>libptytty-&libptytty-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="libptytty">
|
---|
| 23 | <primary sortas="a-libptytty">libptytty</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to libptytty</title>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
[36a0ff4] | 30 | The <application>libptytty</application> package provides a library that
|
---|
| 31 | allows for OS independent and secure pty/tty and utmp/wtmp/lastlog
|
---|
| 32 | handling.
|
---|
[5431aad] | 33 | </para>
|
---|
| 34 |
|
---|
[7426e905] | 35 | &lfs122_checked;
|
---|
[5431aad] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&libptytty-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&libptytty-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: &libptytty-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: &libptytty-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: &libptytty-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: &libptytty-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">libptytty Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 74 | <para role="required">
|
---|
| 75 | <xref linkend="cmake"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of libptytty</title>
|
---|
| 82 |
|
---|
| 83 | <para>
|
---|
| 84 | Install <application>libptytty</application> by running the following
|
---|
| 85 | commands:
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <screen><userinput>mkdir build &&
|
---|
| 89 | cd build &&
|
---|
| 90 |
|
---|
[cbfa153] | 91 | cmake -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 92 | -D CMAKE_BUILD_TYPE=Release \
|
---|
| 93 | -D PT_UTMP_FILE:STRING=/run/utmp \
|
---|
[5431aad] | 94 | .. &&
|
---|
| 95 | make</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | <para>
|
---|
| 98 | This package does not come with a test suite.
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <para>
|
---|
| 102 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="content">
|
---|
| 109 | <title>Contents</title>
|
---|
| 110 |
|
---|
| 111 | <segmentedlist>
|
---|
| 112 | <segtitle>Installed Programs</segtitle>
|
---|
| 113 | <segtitle>Installed Libraries</segtitle>
|
---|
| 114 | <segtitle>Installed Directories</segtitle>
|
---|
| 115 |
|
---|
| 116 | <seglistitem>
|
---|
| 117 | <seg>
|
---|
| 118 | None
|
---|
| 119 | </seg>
|
---|
| 120 | <seg>
|
---|
| 121 | libptytty.so
|
---|
| 122 | </seg>
|
---|
| 123 | <seg>
|
---|
| 124 | None
|
---|
| 125 | </seg>
|
---|
| 126 | </seglistitem>
|
---|
| 127 | </segmentedlist>
|
---|
| 128 |
|
---|
| 129 | <variablelist>
|
---|
| 130 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 131 | <?dbfo list-presentation="list"?>
|
---|
| 132 | <?dbhtml list-presentation="table"?>
|
---|
| 133 |
|
---|
| 134 | <varlistentry id="libptytty-lib">
|
---|
| 135 | <term><filename class="libraryfile">libptytty.so</filename></term>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>
|
---|
| 138 | provides for OS independent and secure pty/tty and utmp/wtmp/lastlog handling
|
---|
| 139 | </para>
|
---|
| 140 | <indexterm zone="libptytty libptytty-lib">
|
---|
| 141 | <primary sortas="c-libptytty">libptytty.so</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 | </variablelist>
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | </sect1>
|
---|