Revert Xorg Apps update. Sudo 1.8.5p2 and Mpg123 1.14.3.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10430 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Krejzi 2012-07-20 00:05:51 +00:00
parent cc139201f7
commit bcd292254b
5 changed files with 379 additions and 576 deletions

View File

@ -142,7 +142,7 @@ $Date$
<!ENTITY polkit-version "0.107">
<!ENTITY shadow-version "4.1.5">
<!ENTITY stunnel-version "4.52">
<!ENTITY sudo-version "1.8.4p4">
<!ENTITY sudo-version "1.8.5p2">
<!ENTITY tcpwrappers-version "7.6">
<!ENTITY tripwire-version "2.4.2.2">
@ -1061,7 +1061,7 @@ $Date$
-->
<!-- Chapter 39 -->
<!ENTITY mpg123-version "1.14.1">
<!ENTITY mpg123-version "1.14.3">
<!ENTITY vorbistools-version "1.4.0">
<!ENTITY XMMS-version "1.2.10">
<!ENTITY lame-major-version "3.99">

View File

@ -68,6 +68,9 @@
<listitem>
<para>[krejzi] - ICU 49.1.2.</para>
</listitem>
<listitem>
<para>[krejzi] - Mpg123 1.14.3.</para>
</listitem>
<listitem>
<para>[krejzi] - PCRE 8.31.</para>
</listitem>
@ -77,6 +80,9 @@
<listitem>
<para>[krejzi] - Ruby 1.9.3-p194.</para>
</listitem>
<listitem>
<para>[krejzi] - Sudo 1.8.5p2.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -4,12 +4,11 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY mpg123-download-http
"&sourceforge-repo;/mpg123/mpg123-&mpg123-version;.tar.bz2">
<!ENTITY mpg123-download-http "&sourceforge-repo;/mpg123/mpg123-&mpg123-version;.tar.bz2">
<!ENTITY mpg123-download-ftp " ">
<!ENTITY mpg123-md5sum "f6ade36a7025ec4675144c6d13ddee9b">
<!ENTITY mpg123-size "776 KB">
<!ENTITY mpg123-buildsize "11 MB">
<!ENTITY mpg123-md5sum "443473ffae67b57bbf95c8ed63f0c7c9">
<!ENTITY mpg123-size "780 KB">
<!ENTITY mpg123-buildsize "13 MB">
<!ENTITY mpg123-time "0.2 SBU">
]>
@ -31,7 +30,7 @@
<title>Introduction to Mpg123</title>
<para>
The <application>mpg123</application> package contains a console-based MP3
The <application>Mpg123</application> package contains a console-based MP3
player. It claims to be the fastest MP3 decoder for Unix.
</para>
@ -40,22 +39,34 @@
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&mpg123-download-http;"/></para>
<para>
Download (HTTP): <ulink url="&mpg123-download-http;"/>
</para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&mpg123-download-ftp;"/></para>
<para>
Download (FTP): <ulink url="&mpg123-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>Download MD5 sum: &mpg123-md5sum;</para>
<para>
Download MD5 sum: &mpg123-md5sum;
</para>
</listitem>
<listitem>
<para>Download size: &mpg123-size;</para>
<para>
Download size: &mpg123-size;
</para>
</listitem>
<listitem>
<para>Estimated disk space required: &mpg123-buildsize;</para>
<para>
Estimated disk space required: &mpg123-buildsize;
</para>
</listitem>
<listitem>
<para>Estimated build time: &mpg123-time;</para>
<para>
Estimated build time: &mpg123-time;
</para>
</listitem>
</itemizedlist>
@ -63,38 +74,37 @@
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="alsa-lib"/>
<xref linkend="alsa-lib"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="alsa-lib"/>,
<!-- <xref linkend="arts"/>, -->
<xref linkend="esound"/>,
<xref linkend='pulseaudio'/>,
<ulink url="http://jackaudio.org">JACK</ulink>,
<ulink url="http://www.portaudio.com">PortAudio</ulink>,
<ulink url="http://www.portaudio.com">PortAudio</ulink> and
<xref linkend="sdl"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/mpg123"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Mpg123</title>
<para>
Install <application>mpg123</application> by running the following
Install <application>Mpg123</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
@ -107,17 +117,21 @@ make</userinput></screen>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>mpg123</seg>
<seg>
mpg123
</seg>
<seg>
libmpg123.so and
several output plugins in /usr/lib/mpg123
</seg>
<seg>/usr/lib/mpg123</seg>
<seg>
/usr/lib/mpg123
</seg>
</seglistitem>
</segmentedlist>
@ -129,7 +143,9 @@ make</userinput></screen>
<varlistentry id="mpg123-prog">
<term><command>mpg123</command></term>
<listitem>
<para>is used for playing MP3 files via the console.</para>
<para>
is used for playing MP3 files via the console.
</para>
<indexterm zone="mpg123 mpg123-prog">
<primary sortas="b-mpg123">mpg123</primary>
</indexterm>
@ -140,13 +156,16 @@ make</userinput></screen>
<term><filename class="libraryfile">libmpg123.so</filename></term>
<listitem>
<para>
contains the mpg123 API functions.
contains the <application>Mpg123</application> API functions.
</para>
<indexterm zone="mpg123 libmpg123">
<primary sortas="c-libmpg123">libmpg123.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -6,13 +6,13 @@
<!ENTITY sudo-download-http "http://www.sudo.ws/sudo/dist/sudo-&sudo-version;.tar.gz">
<!ENTITY sudo-download-ftp "ftp://ftp.twaren.net/Unix/Security/Sudo/sudo-&sudo-version;.tar.gz">
<!ENTITY sudo-md5sum "b9be6df7ecefedff2263052ed9fc5e93">
<!ENTITY sudo-size "1.5 MB">
<!ENTITY sudo-buildsize "16 MB">
<!ENTITY sudo-md5sum "dc42ed9f0946d92273762d0ae7314d59">
<!ENTITY sudo-size "1.7 MB">
<!ENTITY sudo-buildsize "18 MB">
<!ENTITY sudo-time "0.3 SBU">
]>
<sect1 id="sudo" xreflabel="sudo-&sudo-version;">
<sect1 id="sudo" xreflabel="Sudo-&sudo-version;">
<?dbhtml filename="sudo.html"?>
<sect1info>
@ -23,65 +23,83 @@
<title>Sudo-&sudo-version;</title>
<indexterm zone="sudo">
<primary sortas="a-sudo">sudo</primary>
<primary sortas="a-Sudo">Sudo</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Sudo</title>
<para>The <application>sudo</application> package allows a system
administrator to give certain users (or groups of users) the ability to run
some (or all) commands as
<systemitem class="username">root</systemitem> or another user while
logging the commands and arguments.</para>
<para>
The <application>Sudo</application> package allows a system administrator
to give certain users (or groups of users) the ability to run
some (or all) commands as
<systemitem class="username">root</systemitem> or another user while
logging the commands and arguments.
</para>
&lfs71_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&sudo-download-http;"/></para>
<para>
Download (HTTP): <ulink url="&sudo-download-http;"/>
</para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&sudo-download-ftp;"/></para>
<para>
Download (FTP): <ulink url="&sudo-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>Download MD5 sum: &sudo-md5sum;</para>
<para>
Download MD5 sum: &sudo-md5sum;
</para>
</listitem>
<listitem>
<para>Download size: &sudo-size;</para>
<para>
Download size: &sudo-size;
</para>
</listitem>
<listitem>
<para>Estimated disk space required: &sudo-buildsize;</para>
<para>
Estimated disk space required: &sudo-buildsize;
</para>
</listitem>
<listitem>
<para>Estimated build time: &sudo-time;</para>
<para>
Estimated build time: &sudo-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Sudo Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><ulink url="http://www.openafs.org/">AFS</ulink>,
<xref linkend="linux-pam"/>,
<ulink url="http://www.fwtk.org/">FWTK</ulink>,
<xref linkend="mitkrb"/>,
an <xref linkend="server-mail"/> (that provides a
<command>sendmail</command> command),
<xref linkend="openldap"/>,
<ulink url="ftp://ftp.nrl.navy.mil/pub/security/opie">Opie</ulink> and
<ulink url="http://www.rsa.com/node.aspx?id=1156">SecurID</ulink></para>
<para role="optional">
<ulink url="http://www.openafs.org/">AFS</ulink>,
<ulink url="http://www.fwtk.org/">FWTK</ulink>,
<xref linkend="linux-pam"/>,
<xref linkend="mitkrb"/>,
an <xref linkend="server-mail"/> (that provides a
<command>sendmail</command> command),
<xref linkend="openldap"/>,
<ulink url="ftp://ftp.nrl.navy.mil/pub/security/opie">Opie</ulink> and
<ulink url="http://www.rsa.com/node.aspx?id=1156">SecurID</ulink>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/sudo"/></para>
<ulink url="&blfs-wiki;/sudo"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Sudo</title>
<para>Install <application>sudo</application> by running
the following commands:</para>
<para>
Install <application>Sudo</application> by running
the following commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--libexecdir=/usr/lib/sudo \
@ -92,9 +110,13 @@
--without-sendmail &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>
This package does not come with a test suite.
</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
@ -103,23 +125,33 @@ make</userinput></screen>
<sect2 role="commands">
<title>Command Explanations</title>
<para><option>--with-all-insults</option>: This switch includes all the
<application>sudo</application> insult sets.</para>
<para>
<option>--with-all-insults</option>: This switch includes all the
<application>sudo</application> insult sets.
</para>
<para><option>--with-env-editor</option>: This switch enables use of the
environment variable EDITOR for <command>visudo</command>.</para>
<para>
<option>--with-env-editor</option>: This switch enables use of the
environment variable EDITOR for <command>visudo</command>.
</para>
<para><option>--without-pam</option>: This switch disables the use of
<application>PAM</application> authentication. Omit if you have
<application>Linux PAM</application> installed.</para>
<para>
<option>--without-pam</option>: This switch disables the use of
<application>PAM</application> authentication. Omit if you have
<application>Linux PAM</application> installed.
</para>
<para><option>--without-sendmail</option>: This switch disables the use of
sendmail. Remove if you have a sendmail compatible MTA.</para>
<para>
<option>--without-sendmail</option>: This switch disables the use of
sendmail. Remove if you have a sendmail compatible MTA.
</para>
<note>
<para>There are many options to <application>sudo</application>'s
<command>configure</command> command. Check the
<command>configure --help</command> output for a complete list.</para>
<para>
There are many options to <application>sudo</application>'s
<command>configure</command> command. Check the
<command>configure --help</command> output for a complete list.
</para>
</note>
</sect2>
@ -141,15 +173,19 @@ make</userinput></screen>
<sect3>
<title>Configuration Information</title>
<para>The <filename>sudoers</filename> file can be quite complicated. It
is composed of two types of entries: aliases (basically variables) and
user specifications (which specify who may run what). The installation
installs a default configuration that has no privileges installed for any
user.</para>
<para>
The <filename>sudoers</filename> file can be quite complicated. It
is composed of two types of entries: aliases (basically variables) and
user specifications (which specify who may run what). The installation
installs a default configuration that has no privileges installed for any
user.
</para>
<para>One example usage is to allow the system administrator to execute
any program without typing a password each time root privileges are
needed. This can be configured as:</para>
<para>
One example usage is to allow the system administrator to execute
any program without typing a password each time root privileges are
needed. This can be configured as:
</para>
<screen># User alias specification
User_Alias ADMIN = YourLoginId
@ -157,20 +193,26 @@ User_Alias ADMIN = YourLoginId
# Allow people in group ADMIN to run all commands without a password
ADMIN ALL = NOPASSWD: ALL</screen>
<para>For details, see <command>man sudoers</command>.</para>
<para>
For details, see <command>man sudoers</command>.
</para>
<note>
<para>The <application>Sudo</application> developers highly recommend
using the <command>visudo</command> program to edit the
<filename>sudoers</filename> file. This will provide basic sanity
checking like syntax parsing and file permission to avoid some possible
mistakes that could lead to a vulnerable configuration.</para>
<para>
The <application>Sudo</application> developers highly recommend
using the <command>visudo</command> program to edit the
<filename>sudoers</filename> file. This will provide basic sanity
checking like syntax parsing and file permission to avoid some possible
mistakes that could lead to a vulnerable configuration.
</para>
</note>
<para>If you've built <application>Sudo</application> with
<application>PAM</application> support, issue the following
command as the <systemitem class="username">root</systemitem> user
to create the <application>PAM</application> configuration file:</para>
<para>
If you've built <application>Sudo</application> with
<application>PAM</application> support, issue the following
command as the <systemitem class="username">root</systemitem> user
to create the <application>PAM</application> configuration file:
</para>
<screen role="root"><userinput>cat &gt; /etc/pam.d/sudo &lt;&lt; "EOF" &amp;&amp;
# Begin /etc/pam.d/sudo
@ -204,9 +246,16 @@ chmod 644 /etc/pam.d/sudo</userinput></screen>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>sudo, sudoedit, sudoreplay and visudo</seg>
<seg>sudoers.so and sudo_noexec.so</seg>
<seg>None</seg>
<seg>
sudo, sudoedit, sudoreplay and visudo
</seg>
<seg>
sudoers.so and sudo_noexec.so
</seg>
<seg>
/usr/lib/sudo and
/usr/share/doc/sudo-&sudo-version;
</seg>
</seglistitem>
</segmentedlist>
@ -218,8 +267,9 @@ chmod 644 /etc/pam.d/sudo</userinput></screen>
<varlistentry id="sudo_prog">
<term><command>sudo</command></term>
<listitem>
<para>executes a command as another user as permitted by
the <filename>/etc/sudoers</filename> configuration file.
<para>
executes a command as another user as permitted by
the <filename>/etc/sudoers</filename> configuration file.
</para>
<indexterm zone="sudo sudo">
<primary sortas="b-sudo">sudo</primary>
@ -230,9 +280,10 @@ chmod 644 /etc/pam.d/sudo</userinput></screen>
<varlistentry id="sudoedit">
<term><command>sudoedit</command></term>
<listitem>
<para>is a hard link to <command>sudo</command> that implies
the <option>-e</option> option to invoke an editor as another
user.</para>
<para>
is a hard link to <command>sudo</command> that implies the
<option>-e</option> option to invoke an editor as another user.
</para>
<indexterm zone="sudo sudoedit">
<primary sortas="b-sudoedit">sudoedit</primary>
</indexterm>
@ -242,8 +293,10 @@ chmod 644 /etc/pam.d/sudo</userinput></screen>
<varlistentry id="visudo">
<term><command>visudo</command></term>
<listitem>
<para>allows for safer editing of the <filename>sudoers</filename>
file.</para>
<para>
allows for safer editing of the <filename>sudoers</filename>
file.
</para>
<indexterm zone="sudo visudo">
<primary sortas="b-visudo">visudo</primary>
</indexterm>
@ -253,8 +306,10 @@ chmod 644 /etc/pam.d/sudo</userinput></screen>
<varlistentry id="sudoreplay">
<term><command>sudoreplay</command></term>
<listitem>
<para>is used to play back or list the output
logs created by <command>sudo</command>.</para>
<para>
is used to play back or list the output
logs created by <command>sudo</command>.
</para>
<indexterm zone="sudo sudoreplay">
<primary sortas="b-sudoreplay">sudoreplay</primary>
</indexterm>
@ -264,7 +319,9 @@ chmod 644 /etc/pam.d/sudo</userinput></screen>
<varlistentry id="sudoers">
<term><filename class='libraryfile'>sudoers.so</filename></term>
<listitem>
<para>is default sudo security policy module.</para>
<para>
is default sudo security policy module.
</para>
<indexterm zone="sudo sudoers">
<primary sortas="c-sudoers">sudoers.so</primary>
</indexterm>
@ -274,9 +331,11 @@ chmod 644 /etc/pam.d/sudo</userinput></screen>
<varlistentry id="sudo_noexec">
<term><filename class='libraryfile'>sudo_noexec.so</filename></term>
<listitem>
<para>enables support for the "noexec" functionality which prevents
a dynamically-linked program being run by sudo from executing
another program (think shell escapes).</para>
<para>
enables support for the "noexec" functionality which prevents
a dynamically-linked program being run by sudo from executing
another program (think shell escapes).
</para>
<indexterm zone="sudo sudo_noexec">
<primary sortas="c-sudo_noexec">sudo_noexec.so</primary>
</indexterm>

File diff suppressed because it is too large Load Diff