Author: bdubbs Date: 2011-11-19 23:37:03 -0700 (Sat, 19 Nov 2011) New Revision: 8989
Modified: trunk/BOOK/general.ent trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/networking/netlibs/libtirpc.xml trunk/BOOK/networking/netlibs/netlibs.xml trunk/BOOK/networking/netprogs/netprogs.xml trunk/BOOK/networking/netprogs/portmap.xml trunk/bootscripts/blfs/init.d/portmap Log: Added libtirpc-0.2.2. Restored portmap-6.0. Modified: trunk/BOOK/general.ent =================================================================== --- trunk/BOOK/general.ent 2011-11-20 00:42:35 UTC (rev 8988) +++ trunk/BOOK/general.ent 2011-11-20 06:37:03 UTC (rev 8989) @@ -3,13 +3,13 @@ $Date$ --> -<!ENTITY day "19"> <!-- Always 2 digits --> +<!ENTITY day "20"> <!-- Always 2 digits --> <!ENTITY month "11"> <!-- Always 2 digits --> <!ENTITY year "2011"> <!ENTITY copyrightdate "2001-&year;"> <!ENTITY copyholder "The BLFS Development Team"> <!ENTITY version "&year;-&month;-&day;"> -<!ENTITY releasedate "November 18th, &year;"> +<!ENTITY releasedate "November 20th, &year;"> <!-- <!ENTITY releasedate "November &day;st, &year;"> --> <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> @@ -25,7 +25,7 @@ <!ENTITY downloads-project "http://downloads.&lfs-domainname;"> <!ENTITY sources-anduin-http "http://anduin.&lfs-domainname;/sources/BLFS/svn"> <!ENTITY sources-anduin-ftp "ftp://anduin.&lfs-domainname;/BLFS/svn"> -<!ENTITY sources-anduin-other "ftp://anduin.&lfs-domainname;/BLFS"> +<!ENTITY sources-anduin-other "ftp://anduin.&lfs-domainname;/other"> <!ENTITY files-anduin "http://anduin.&lfs-domainname;/files/BLFS/svn"> <!ENTITY hints-root "http://www.&lfs-domainname;/hints"> <!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/svn"> @@ -56,7 +56,7 @@ <!ENTITY lfs-vim-version "7.3"> <!-- End LFS versions --> -<!ENTITY blfs-bootscripts-version "20111118"> +<!ENTITY blfs-bootscripts-version "20111119"> <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2"> <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki"> Modified: trunk/BOOK/introduction/welcome/changelog.xml =================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml 2011-11-20 00:42:35 UTC (rev 8988) +++ trunk/BOOK/introduction/welcome/changelog.xml 2011-11-20 06:37:03 UTC (rev 8989) @@ -42,6 +42,18 @@ --> <listitem> + <para>November 20th, 2011</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Restored portmap-6.0.</para> + </listitem> + <listitem> + <para>[bdubbs] - Added libtirpc-0.2.2.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>November 19th, 2011</para> <itemizedlist> <listitem> Modified: trunk/BOOK/networking/netlibs/libtirpc.xml =================================================================== --- trunk/BOOK/networking/netlibs/libtirpc.xml 2011-11-20 00:42:35 UTC (rev 8988) +++ trunk/BOOK/networking/netlibs/libtirpc.xml 2011-11-20 06:37:03 UTC (rev 8989) @@ -31,7 +31,8 @@ <para>The <application>libtirpc</application> package contains libraries that support programs that use the Remote Procedure Call (RPC) - API.</para> + API. It replaces the RPC, but not the NIS library entries that + used to be in glibc.</para> &lfs70_checked; @@ -60,9 +61,14 @@ <bridgehead renderas="sect3">Additional Downloads</bridgehead> <itemizedlist spacing='compact'> <listitem> + <para>Required header tar file (Add rpc/nis headers): + <ulink + url="&sources-anduin-other;/rpcnis-headers.tar.bz2"/></para> + </listitem> + <listitem> <para>Required Patch (Remove nis dependencies): <ulink - url="&patch-root;/libtirpc-&libtirpc-version;-remove-nis-1.patch"/></para> + url="&patch-root;/libtirpc-&libtirpc-version;-remove-nis-2.patch"/></para> </listitem> </itemizedlist> @@ -84,7 +90,8 @@ <para>Install <application>libtirpc</application> by running the following commands:</para> -<screen><userinput>patch -Np1 -i ../libtirpc-&libtirpc-version;-remove-nis-1.patch && +<screen><userinput>tar -xvf ../rpcnis-headers.tar.bz2 -C /usr/include && +patch -Np1 -i ../libtirpc-&libtirpc-version;-remove-nis-2.patch && autoreconf && ./configure --prefix=/usr && make</userinput></screen> @@ -97,6 +104,22 @@ </sect2> + <sect2 role="commands"> + <title>Command Explanations</title> + + <para><userinput>tar -xvf ../rpcnis-headers.tar.bz2 -C + /usr/include</userinput>: This command replaces the rpc and nis header + files no longer installed by <application>glibc</application>. If the + headers have already been added by other means, this will only overwrite + them and not do any harm.</para> + + <para><userinput>patch -Np1 -i + ../libtirpc-&libtirpc-version;-remove-nis-2.patch</userinput>: This patch + removes references to nis functions no longer in + <application>glibc</application>.</para> + + </sect2> + <sect2 role="content"> <title>Contents</title> Modified: trunk/BOOK/networking/netlibs/netlibs.xml =================================================================== --- trunk/BOOK/networking/netlibs/netlibs.xml 2011-11-20 00:42:35 UTC (rev 8988) +++ trunk/BOOK/networking/netlibs/netlibs.xml 2011-11-20 06:37:03 UTC (rev 8989) @@ -26,6 +26,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpcap.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libproxy.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsoup.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtirpc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="neon.xml"/> <!-- Obsolete Modified: trunk/BOOK/networking/netprogs/netprogs.xml =================================================================== --- trunk/BOOK/networking/netprogs/netprogs.xml 2011-11-20 00:42:35 UTC (rev 8988) +++ trunk/BOOK/networking/netprogs/netprogs.xml 2011-11-20 06:37:03 UTC (rev 8989) @@ -30,7 +30,7 @@ <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nfs-utils-client.xml"/> --> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="netfs.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ntp.xml"/> -<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="portmap.xml"/> --> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="portmap.xml"/> <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rsync-client.xml"/> --> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rsync.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="samba3.xml"/> Modified: trunk/BOOK/networking/netprogs/portmap.xml =================================================================== --- trunk/BOOK/networking/netprogs/portmap.xml 2011-11-20 00:42:35 UTC (rev 8988) +++ trunk/BOOK/networking/netprogs/portmap.xml 2011-11-20 06:37:03 UTC (rev 8989) @@ -46,6 +46,8 @@ <application>Portmap</application> is used to forward RPC requests to RPC daemons such as NFS and NIS.</para> + &lfs70_checked; + <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> <listitem> @@ -71,8 +73,15 @@ <bridgehead renderas="sect3">Portmap Dependencies</bridgehead> <bridgehead renderas="sect4">Required</bridgehead> - <para role="required"><xref linkend="tcpwrappers"/></para> + <para role="required"> + <xref linkend="libtirpc"/> + </para> + <bridgehead renderas="sect4">Optional</bridgehead> + <para role="optional"> + <xref linkend="tcpwrappers"/> + </para> + <para condition="html" role="usernotes">User Notes: <ulink url="&blfs-wiki;/portmap"/></para> @@ -91,12 +100,22 @@ <para>Install <application>portmap</application> with the following commands:</para> -<screen><userinput>make</userinput></screen> +<screen><userinput>LDLIBS=-ltirpc make</userinput></screen> + <para>Note that the LDLIBS environment variable must be before the + <command>make</command> command.</para> + <para>If you want the portmap daemon to use a uid/gid other than the defaults, pass DAEMON_UID=x and DAEMON_GID=y as shown below:</para> - <para><command>make DAEMON_UID=x DAEMON_GID=y</command></para> + <para><command>LDLIBS=-ltirpc make DAEMON_UID=x DAEMON_GID=y</command></para> + + <para>If you want to build the portmap daemon without + <application>tcpwrappers</application>, add + <userinput>NO_TCP_WRAPPER=true</userinput> to the make line as shown below:</para> + + <para><command>LDLIBS=-ltirpc make NO_TCP_WRAPPER=true</command></para> + <para>Now, as the <systemitem class="username">root</systemitem> user:</para> <screen role='root'><userinput>make install</userinput></screen> Modified: trunk/bootscripts/blfs/init.d/portmap =================================================================== --- trunk/bootscripts/blfs/init.d/portmap 2011-11-20 00:42:35 UTC (rev 8988) +++ trunk/bootscripts/blfs/init.d/portmap 2011-11-20 06:37:03 UTC (rev 8989) @@ -1,21 +1,47 @@ #!/bin/sh +######################################################################## +# Begin portmap +# +# Description : Start portmap daemon +# +# Author : Bruce Dubbs - [email protected] +# +# Version : LFS 7.0 +# +######################################################################## + +### BEGIN INIT INFO +# Provides: portmap +# Required-Start: network +# Should-Start: +# Required-Stop: sendsignals +# Should-Stop: +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Starts the portmap daemon. +# Description: Starts the portmap daemon to convert RPC program numbers +# into DARPA protocol port numbers. It must be running in +# order to make RPC# calls. +# X-LFS-Provided-By: LFS +### END INIT INFO + +. /lib/lsb/init-functions # Begin $rc_base/init.d/portmap #$LastChangedBy$ #$Date$ -. /etc/sysconfig/rc -. $rc_functions - case "$1" in start) - boot_mesg "Starting RPC Portmap" - loadproc /sbin/portmap + log_info_msg "Starting RPC Portmap" + start_daemon /sbin/portmap + evaluate_retval ;; stop) - boot_mesg "Stopping Portmap" + log_info_msg "Stopping Portmap" killproc /sbin/portmap + evaluate_retval ;; restart) @@ -35,4 +61,5 @@ esac -# End $rc_base/init.d/portmap +# End /etc/init.d/portmap + -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
