[35865a73] | 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">
|
---|
[8dfc5c3] | 5 |
|
---|
| 6 | <!ENTITY lsb-release-download-http "&sourceforge-dl;/lsb/lsb-release-&lsb-release-version;.tar.gz">
|
---|
[35865a73] | 7 | <!ENTITY lsb-release-download-ftp " ">
|
---|
| 8 | <!ENTITY lsb-release-md5sum "30537ef5a01e0ca94b7b8eb6a36bb1e4">
|
---|
| 9 | <!ENTITY lsb-release-size "12 KB">
|
---|
| 10 | <!ENTITY lsb-release-buildsize "80 KB">
|
---|
| 11 | <!ENTITY lsb-release-time "less than 0.1 SBU">
|
---|
| 12 |
|
---|
| 13 | %general-entities;
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="lsb-release" xreflabel="lsb_release-&lsb-release-version;">
|
---|
| 17 | <?dbhtml filename="lsb-release.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>lsb_release-&lsb-release-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="lsb-release">
|
---|
[07bc7db] | 27 | <primary sortas="a-lsb-release">lsb_release</primary>
|
---|
[35865a73] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to lsb_release</title>
|
---|
| 32 |
|
---|
[0d7900a] | 33 | <para>The <application>lsb_release</application> script gives information
|
---|
[35865a73] | 34 | about the Linux Standards Base (LSB) status of the distribution.</para>
|
---|
| 35 |
|
---|
[4bf60a36] | 36 | &lfs81_checked;
|
---|
[35865a73] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&lsb-release-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&lsb-release-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &lsb-release-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &lsb-release-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &lsb-release-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &lsb-release-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
[0d7900a] | 59 |
|
---|
[35865a73] | 60 | <para condition="html" role="usernotes">User Notes:
|
---|
| 61 | <ulink url="&blfs-wiki;/lsb_release"/></para>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2 role="installation">
|
---|
| 66 | <title>Installation of lsb_release</title>
|
---|
| 67 |
|
---|
[9cbbf24b] | 68 | <para>First fix a minor display problem:</para>
|
---|
| 69 |
|
---|
| 70 | <screen><userinput>sed -i "s|n/a|unavailable|" lsb_release</userinput></screen>
|
---|
| 71 |
|
---|
[35865a73] | 72 | <para>Install <application>lsb_release</application> by running the following
|
---|
| 73 | commands:</para>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput>./help2man -N --include ./lsb_release.examples \
|
---|
| 76 | --alt_version_key=program_version ./lsb_release > lsb_release.1</userinput></screen>
|
---|
| 77 |
|
---|
| 78 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 79 |
|
---|
[e4c7cf8e] | 80 | <screen role="root"><userinput>install -v -m 644 lsb_release.1 /usr/share/man/man1 &&
|
---|
| 81 | install -v -m 755 lsb_release /usr/bin &&
|
---|
[024b208] | 82 | install -v -m 755 help2man /usr/bin</userinput></screen>
|
---|
[35865a73] | 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
[9cbbf24b] | 86 | <sect2>
|
---|
| 87 | <title>Configuration Information</title>
|
---|
| 88 |
|
---|
| 89 | <para>
|
---|
[f3429309] | 90 | The configuration for this package was done in
|
---|
| 91 | <ulink url="&lfs-website;/lfs/view/stable/chapter09/theend.html">LFS</ulink>.
|
---|
[9cbbf24b] | 92 | The file <filename>/etc/lsb-release</filename> should already exist.
|
---|
| 93 | Be sure that the DISTRIB_CODENAME entry has been set properly.
|
---|
| 94 | </para>
|
---|
[39dcb8be] | 95 | <!--
|
---|
[13e5884] | 96 | <para>
|
---|
| 97 | Add the current package version to <filename>/etc/lsb-release</filename>.
|
---|
| 98 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <screen><userinput>echo 'LSB_VERSION="&lsb-release-version;"' >> /etc/lsb-release</userinput></screen>
|
---|
[39dcb8be] | 102 | -->
|
---|
[9cbbf24b] | 103 | </sect2>
|
---|
| 104 |
|
---|
[35865a73] | 105 | <sect2 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed Programs</segtitle>
|
---|
| 110 | <segtitle>Installed Library</segtitle>
|
---|
| 111 | <segtitle>Installed Directories</segtitle>
|
---|
| 112 |
|
---|
| 113 | <seglistitem>
|
---|
[e4c7cf8e] | 114 | <seg>
|
---|
| 115 | lsb_release and
|
---|
| 116 | help2man
|
---|
| 117 | </seg>
|
---|
[35865a73] | 118 | <seg>None</seg>
|
---|
| 119 | <seg>None</seg>
|
---|
| 120 | </seglistitem>
|
---|
| 121 | </segmentedlist>
|
---|
| 122 |
|
---|
| 123 | <variablelist>
|
---|
| 124 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 125 | <?dbfo list-presentation="list"?>
|
---|
| 126 | <?dbhtml list-presentation="table"?>
|
---|
| 127 |
|
---|
| 128 | <varlistentry id="lsb_release-prog">
|
---|
| 129 | <term><command>lsb_release</command></term>
|
---|
| 130 | <listitem>
|
---|
| 131 | <para>is a script to give LSB data.</para>
|
---|
[07bc7db] | 132 | <indexterm zone="lsb-release lsb_release-prog">
|
---|
[35865a73] | 133 | <primary sortas="b-lsb-release">lsb_release</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 | </listitem>
|
---|
| 136 | </varlistentry>
|
---|
[e4c7cf8e] | 137 |
|
---|
| 138 | <varlistentry id="help2man">
|
---|
| 139 | <term><command>help2man</command></term>
|
---|
| 140 | <listitem>
|
---|
| 141 | <para>is a perl script to generate a man page from '--help'
|
---|
| 142 | and '--version' output.</para>
|
---|
| 143 | <indexterm zone="lsb-release help2man">
|
---|
| 144 | <primary sortas="b-help2man">help2man</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
[35865a73] | 148 | </variablelist>
|
---|
| 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | </sect1>
|
---|