Author: bdubbs Date: Thu Dec 12 22:55:02 2013 New Revision: 10390 Log: Update to procps-ng-3.3.9 Install non-essential programs from the xz package in /usr/bin.
Modified: trunk/BOOK/chapter01/changelog.xml trunk/BOOK/chapter03/patches.xml trunk/BOOK/chapter06/kmod.xml trunk/BOOK/chapter06/procps.xml trunk/BOOK/chapter06/sysvinit.xml trunk/BOOK/chapter06/xz.xml trunk/BOOK/general.ent trunk/BOOK/packages.ent trunk/BOOK/patches.ent Modified: trunk/BOOK/chapter01/changelog.xml ============================================================================== --- trunk/BOOK/chapter01/changelog.xml Tue Dec 10 15:37:38 2013 (r10389) +++ trunk/BOOK/chapter01/changelog.xml Thu Dec 12 22:55:02 2013 (r10390) @@ -36,6 +36,21 @@ </listitem> --> <listitem> + <para>2013-12-13</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Update to procps-ng-3.3.9. Fixes + <ulink url="&lfs-ticket-root;3439">#3439</ulink>.</para> + </listitem> + <listitem> + <para>[bdubbs] - Install non-essential programs from + the xz package in /usr/bin. Fixes + <ulink url="&lfs-ticket-root;3445">#3445</ulink>.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2013-12-07</para> <itemizedlist> <listitem> Modified: trunk/BOOK/chapter03/patches.xml ============================================================================== --- trunk/BOOK/chapter03/patches.xml Tue Dec 10 15:37:38 2013 (r10389) +++ trunk/BOOK/chapter03/patches.xml Thu Dec 12 22:55:02 2013 (r10390) @@ -67,20 +67,29 @@ </varlistentry> <varlistentry> - <term>Tar Manpage Patch - <token>&tar-manpage-patch-size;</token>:</term> + <term>Readline Upstream Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term> <listitem> - <para>Download: <ulink url="&patches-root;&tar-manpage-patch;"/></para> - <para>MD5 sum: <literal>&tar-manpage-patch-md5;</literal></para> + <para>Download: <ulink url="&patches-root;&readline-fixes-patch;"/></para> + <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para> </listitem> </varlistentry> <varlistentry> - <term>Readline Upstream Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term> + <term>Sysvinit Consolidated Patch - <token>&sysvinit-consolidated-patch-size;</token>:</term> <listitem> - <para>Download: <ulink url="&patches-root;&readline-fixes-patch;"/></para> - <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para> + <para>Download: <ulink url="&patches-root;&sysvinit-consolidated-patch;"/></para> + <para>MD5 sum: <literal>&sysvinit-consolidated-patch-md5;</literal></para> </listitem> </varlistentry> + + <varlistentry> + <term>Tar Manpage Patch - <token>&tar-manpage-patch-size;</token>:</term> + <listitem> + <para>Download: <ulink url="&patches-root;&tar-manpage-patch;"/></para> + <para>MD5 sum: <literal>&tar-manpage-patch-md5;</literal></para> + </listitem> + </varlistentry> + <!-- <varlistentry> <term>Texinfo Test Patch - <token>&texinfo-test-patch-size;</token>:</term> Modified: trunk/BOOK/chapter06/kmod.xml ============================================================================== --- trunk/BOOK/chapter06/kmod.xml Tue Dec 10 15:37:38 2013 (r10389) +++ trunk/BOOK/chapter06/kmod.xml Thu Dec 12 22:55:02 2013 (r10390) @@ -95,7 +95,7 @@ <para> Make sure that all libraries are in the correct directory: </para> <screen><userinput remap="install">mv -v /usr/lib/libkmod.so.* /lib -ln -svf ../../lib/libkmod.so.2.2.4 /usr/lib/libkmod.so</userinput></screen> +ln -svf ../../lib/libkmod.so.2.2.5 /usr/lib/libkmod.so</userinput></screen> <!-- Note to editors: When upgrading kmod, make sure the library version specified above has not changed --> Modified: trunk/BOOK/chapter06/procps.xml ============================================================================== --- trunk/BOOK/chapter06/procps.xml Tue Dec 10 15:37:38 2013 (r10389) +++ trunk/BOOK/chapter06/procps.xml Thu Dec 12 22:55:02 2013 (r10390) @@ -47,20 +47,12 @@ --libdir=/usr/lib \ --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \ --disable-static \ - --disable-skill \ --disable-kill</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> <varlistentry> - <term><parameter>--disable-skill</parameter></term> - <listitem> - <para>This switch disables the obsolete and unportable - skill and snice commands.</para> - </listitem> - </varlistentry> - <varlistentry> <term><parameter>--disable-kill</parameter></term> <listitem> <para>This switch disables building the kill command that @@ -85,11 +77,14 @@ <screen><userinput remap="install">make install</userinput></screen> -<para>Finally, move the library to a location that can be found if +<para>Finally, move essential files to a location that can be found if <filename class="directory">/usr</filename> is not mounted.</para> -<screen><userinput remap="install">mv -v /usr/lib/libprocps.so.* /lib -ln -sfv ../../lib/libprocps.so.1.1.2 /usr/lib/libprocps.so</userinput></screen> +<screen><userinput remap="install">mv -v /usr/bin/pidof /bin +mv -v /usr/lib/libprocps.so.* /lib +ln -sfv ../../lib/libprocps.so.3.0.0 /usr/lib/libprocps.so</userinput></screen> + +<!-- Note to devs: check the library version for new releases --> </sect2> @@ -101,7 +96,7 @@ <segtitle>Installed library</segtitle> <seglistitem> - <seg>free, pgrep, pkill, pmap, ps, pwdx, slabtop, + <seg>free, pgrep, pidof, pkill, pmap, ps, pwdx, slabtop, sysctl, tload, top, uptime, vmstat, w, and, watch</seg> <seg>libprocps.so</seg> </seglistitem> @@ -133,6 +128,16 @@ </listitem> </varlistentry> + <varlistentry id="pidof"> + <term><command>pidof</command></term> + <listitem> + <para>Looks up processes based on their name and other attributes</para> + <indexterm zone="ch-system-procps pidof"> + <primary sortas="b-pidof">pidof</primary> + </indexterm> + </listitem> + </varlistentry> + <varlistentry id="pkill"> <term><command>pkill</command></term> <listitem> @@ -261,7 +266,7 @@ </varlistentry> <varlistentry id="libprocps"> - <term><filename class="libraryfile">libproc</filename></term> + <term><filename class="libraryfile">libprocps</filename></term> <listitem> <para>Contains the functions used by most programs in this package</para> Modified: trunk/BOOK/chapter06/sysvinit.xml ============================================================================== --- trunk/BOOK/chapter06/sysvinit.xml Tue Dec 10 15:37:38 2013 (r10389) +++ trunk/BOOK/chapter06/sysvinit.xml Thu Dec 12 22:55:02 2013 (r10390) @@ -41,6 +41,7 @@ <sect2 role="installation"> <title>Installation of Sysvinit</title> +<!-- <para>When run-levels are changed (for example, when halting the system), <command>init</command> sends termination signals to those processes that <command>init</command> itself started and that should @@ -65,6 +66,11 @@ -e '/mountpoint/d' \ -e '/mesg/d' \ -e 's/= sulogin(\.8)?/=/' src/Makefile</userinput></screen> +--> + <para>First, apply a patch that removes several programs installed by other + packages, clarifies a message, and fixes a compiler warning:</para> + +<screen><userinput remap="pre">patch -Np1 -i ../&sysvinit-consolidated-patch;</userinput></screen> <para>Compile the package:</para> @@ -85,8 +91,8 @@ <segtitle>Installed programs</segtitle> <seglistitem> - <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to - killall5), poweroff (link to halt), reboot (link to halt), runlevel, + <seg>bootlogd, fstab-decode, halt, init, killall5, + poweroff (link to halt), reboot (link to halt), runlevel, shutdown, and telinit (link to init)</seg> </seglistitem> </segmentedlist> @@ -153,16 +159,6 @@ </indexterm> </listitem> </varlistentry> - - <varlistentry id="pidof"> - <term><command>pidof</command></term> - <listitem> - <para>Reports the PIDs of the given programs</para> - <indexterm zone="ch-system-sysvinit pidof"> - <primary sortas="b-pidof">pidof</primary> - </indexterm> - </listitem> - </varlistentry> <varlistentry id="poweroff"> <term><command>poweroff</command></term> Modified: trunk/BOOK/chapter06/xz.xml ============================================================================== --- trunk/BOOK/chapter06/xz.xml Tue Dec 10 15:37:38 2013 (r10389) +++ trunk/BOOK/chapter06/xz.xml Thu Dec 12 22:55:02 2013 (r10390) @@ -47,7 +47,6 @@ <para>Prepare Xz for compilation with:</para> <screen><userinput remap="configure">./configure --prefix=/usr \ - --bindir=/bin \ --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen> <para>Compile the package:</para> @@ -58,10 +57,11 @@ <screen><userinput remap="test">make check</userinput></screen> - <para>Install the package and make sure that all libraries are in the + <para>Install the package and make sure that all essential files are in the correct directory:</para> <screen><userinput remap="install">make install +mv -v /usr/bin/{unlzma,unxz,xzcat,lzma,xz} /bin mv -v /usr/lib/liblzma.so.* /lib ln -svf ../../lib/liblzma.so.&xz-version; /usr/lib/liblzma.so</userinput></screen> Modified: trunk/BOOK/general.ent ============================================================================== --- trunk/BOOK/general.ent Tue Dec 10 15:37:38 2013 (r10389) +++ trunk/BOOK/general.ent Thu Dec 12 22:55:02 2013 (r10390) @@ -1,5 +1,5 @@ -<!ENTITY version "SVN-20131207"> -<!ENTITY releasedate "December 7, 2013"> +<!ENTITY version "SVN-20131213"> +<!ENTITY releasedate "December 13, 2013"> <!ENTITY copyrightdate "1999-2013"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "7.5"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> Modified: trunk/BOOK/packages.ent ============================================================================== --- trunk/BOOK/packages.ent Tue Dec 10 15:37:38 2013 (r10389) +++ trunk/BOOK/packages.ent Thu Dec 12 22:55:02 2013 (r10390) @@ -451,10 +451,10 @@ <!ENTITY pkgconfig-ch6-du "31 MB"> <!ENTITY pkgconfig-ch6-sbu "0.4 SBU"> -<!ENTITY procps-ng-version "3.3.8"> -<!ENTITY procps-ng-size "544 KB"> +<!ENTITY procps-ng-version "3.3.9"> +<!ENTITY procps-ng-size "548 KB"> <!ENTITY procps-ng-url "http://sourceforge.net/projects/procps-ng/files/Production/procps-ng-&procps-ng-version;.tar.xz"> -<!ENTITY procps-ng-md5 "aecbeeda2ab308f8d09dddcb4cb9a572"> +<!ENTITY procps-ng-md5 "0980646fa25e0be58f7afb6b98f79d74"> <!ENTITY procps-ng-home "http://sourceforge.net/projects/procps-ng"> <!ENTITY procps-ng-ch6-du "13 MB"> <!ENTITY procps-ng-ch6-sbu "0.2 SBU"> Modified: trunk/BOOK/patches.ent ============================================================================== --- trunk/BOOK/patches.ent Tue Dec 10 15:37:38 2013 (r10389) +++ trunk/BOOK/patches.ent Thu Dec 12 22:55:02 2013 (r10390) @@ -30,6 +30,10 @@ <!ENTITY readline-fixes-patch-md5 "3c185f7b76001d3d0af614f6f2cd5dfa"> <!ENTITY readline-fixes-patch-size "1.3 KB"> +<!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch"> +<!ENTITY sysvinit-consolidated-patch-md5 "0b7b5ea568a878fdcc4057b2bf36e5cb"> +<!ENTITY sysvinit-consolidated-patch-size "3.9 KB"> + <!ENTITY tar-manpage-patch "tar-&tar-version;-manpage-1.patch"> <!ENTITY tar-manpage-patch-md5 "321f85ec32733b1a9399e788714a5156"> <!ENTITY tar-manpage-patch-size "7.8 KB"> -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page