Author: bdubbs Date: 2011-11-18 13:09:42 -0700 (Fri, 18 Nov 2011) New Revision: 8980
Modified: trunk/BOOK/general.ent trunk/BOOK/general/genlib/iso-codes.xml trunk/BOOK/general/genutils/gperf.xml trunk/BOOK/general/prog/guile.xml trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/pst/printing/lprng.xml trunk/bootscripts/blfs/init.d/lprng Log: Update to LPRng-3.8.B Modified: trunk/BOOK/general/genlib/iso-codes.xml =================================================================== --- trunk/BOOK/general/genlib/iso-codes.xml 2011-11-18 06:13:05 UTC (rev 8979) +++ trunk/BOOK/general/genlib/iso-codes.xml 2011-11-18 20:09:42 UTC (rev 8980) @@ -4,7 +4,7 @@ <!ENTITY % general-entities SYSTEM "../../general.ent"> %general-entities; - <!ENTITY iso-codes-download-http "http://pkg-isocodes.alioth.debian.org/downloads/iso-codes-&iso-codes-version;.tar.bz2 "> + <!ENTITY iso-codes-download-http "http://pkg-isocodes.alioth.debian.org/downloads/iso-codes-&iso-codes-version;.tar.bz2"> <!ENTITY iso-codes-download-ftp " "> <!ENTITY iso-codes-md5sum "473407073f64f4a8d5eb22dd6abd98dd"> <!ENTITY iso-codes-size "5.9 MB"> Modified: trunk/BOOK/general/genutils/gperf.xml =================================================================== --- trunk/BOOK/general/genutils/gperf.xml 2011-11-18 06:13:05 UTC (rev 8979) +++ trunk/BOOK/general/genutils/gperf.xml 2011-11-18 20:09:42 UTC (rev 8980) @@ -7,8 +7,8 @@ <!ENTITY gperf-download-http "http://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz"> <!ENTITY gperf-download-ftp "ftp://ftp.gnu.org/gnu/gperf/gperf-&gperf-version;.tar.gz"> <!ENTITY gperf-md5sum "c1f1db32fb6598d6a93e6e88796a8632"> - <!ENTITY gperf-size "961 KB"> - <!ENTITY gperf-buildsize "5 MB"> + <!ENTITY gperf-size "968 KB"> + <!ENTITY gperf-buildsize "6.5 MB"> <!ENTITY gperf-time "less than 0.1 SBU"> ]> @@ -32,7 +32,7 @@ <para><application>Gperf</application> generates a perfect hash function from a key set.</para> - &lfs65_checked; + &lfs70_checked; <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> Modified: trunk/BOOK/general/prog/guile.xml =================================================================== --- trunk/BOOK/general/prog/guile.xml 2011-11-18 06:13:05 UTC (rev 8979) +++ trunk/BOOK/general/prog/guile.xml 2011-11-18 20:09:42 UTC (rev 8980) @@ -4,8 +4,8 @@ <!ENTITY % general-entities SYSTEM "../../general.ent"> %general-entities; - <!ENTITY guile-download-http "http://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.gz"> - <!ENTITY guile-download-ftp "ftp://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.gz"> + <!ENTITY guile-download-http "http://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.xz"> + <!ENTITY guile-download-ftp "ftp://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.xz"> <!ENTITY guile-md5sum "f8b511ad43bbda0a1cbb1c52ceeebdf7"> <!ENTITY guile-size "4 MB"> <!ENTITY guile-buildsize "128 MB"> @@ -68,12 +68,14 @@ <bridgehead renderas="sect3">Guile Dependencies</bridgehead> <bridgehead renderas="sect4">Required</bridgehead> - <para role="required"><xref linkend="gc"/></para> + <para role="required"> + <xref linkend="gc"/> and + <xref linkend="libunistring"/> + </para> <bridgehead renderas="sect4">Optional</bridgehead> <para role="optional"> - <xref linkend="emacs"/> and - <xref linkend="libunistring"/> + <xref linkend="emacs"/> </para> <para condition="html" role="usernotes">User Notes: Modified: trunk/BOOK/general.ent =================================================================== --- trunk/BOOK/general.ent 2011-11-18 06:13:05 UTC (rev 8979) +++ trunk/BOOK/general.ent 2011-11-18 20:09:42 UTC (rev 8980) @@ -3,13 +3,13 @@ $Date$ --> -<!ENTITY day "17"> <!-- Always 2 digits --> +<!ENTITY day "18"> <!-- 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 17th, &year;"> +<!ENTITY releasedate "November 18th, &year;"> <!-- <!ENTITY releasedate "November &day;st, &year;"> --> <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> @@ -56,7 +56,7 @@ <!ENTITY lfs-vim-version "7.3"> <!-- End LFS versions --> -<!ENTITY blfs-bootscripts-version "20111117"> +<!ENTITY blfs-bootscripts-version "20111118"> <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2"> <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki"> @@ -877,7 +877,7 @@ <!-- Part XIII --> <!-- Chapter 42 --> <!ENTITY cups-version "1.5.0"> -<!ENTITY LPRng-version "3.8.28"> +<!ENTITY LPRng-version "3.8.B"> <!ENTITY gs-version "9.00"> <!ENTITY gutenprint-version "5.2.5"> Modified: trunk/BOOK/introduction/welcome/changelog.xml =================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml 2011-11-18 06:13:05 UTC (rev 8979) +++ trunk/BOOK/introduction/welcome/changelog.xml 2011-11-18 20:09:42 UTC (rev 8980) @@ -41,6 +41,15 @@ --> <listitem> + <para>November 18th, 2011</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Update to LPRng-3.8.B.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>November 17th, 2011</para> <itemizedlist> <listitem> Modified: trunk/BOOK/pst/printing/lprng.xml =================================================================== --- trunk/BOOK/pst/printing/lprng.xml 2011-11-18 06:13:05 UTC (rev 8979) +++ trunk/BOOK/pst/printing/lprng.xml 2011-11-18 20:09:42 UTC (rev 8980) @@ -4,15 +4,12 @@ <!ENTITY % general-entities SYSTEM "../../general.ent"> %general-entities; - <!-- <!ENTITY LPRng-download-http "http://www.lprng.com/DISTRIB/LPRng/LPRng-&LPRng-version;.tgz"> - <!ENTITY LPRng-download-ftp "ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-&LPRng-version;.tgz"> --> - <!-- <!ENTITY LPRng-download-http "&sourceforge-repo;/lprng/LPRng-&LPRng-version;.tgz"> --> - <!ENTITY LPRng-download-http "&sources-anduin-http;/l/LPRng-&LPRng-version;.tgz"> - <!ENTITY LPRng-download-ftp "&sources-anduin-ftp;/l/LPRng-&LPRng-version;.tgz"> - <!ENTITY LPRng-md5sum "1b3a0abd291b260eab6087ac0e61ed84"> - <!ENTITY LPRng-size "10.2 MB"> - <!ENTITY LPRng-buildsize "71.8 MB"> - <!ENTITY LPRng-time "0.42 SBU"> + <!ENTITY LPRng-download-http "http://sourceforge.net/projects/lprng/files/lprng/LPRng-&LPRng-version;/LPRng-&LPRng-version;.tar.gz" > + <!ENTITY LPRng-download-ftp " "> + <!ENTITY LPRng-md5sum "74c384b262c490dee31d7e2fa28ecf1d"> + <!ENTITY LPRng-size "848 KB"> + <!ENTITY LPRng-buildsize "12 MB"> + <!ENTITY LPRng-time "0.1 SBU"> ]> <sect1 id="LPRng" xreflabel="LPRng-&LPRng-version;"> @@ -42,6 +39,8 @@ existing BLFS instructions. Note that versions other than the one shown in the download URLs have not been tested in a BLFS environment.</para> + &lfs70_checked; + <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> <listitem> @@ -83,14 +82,9 @@ <para>Install <application>LPRng</application> by running the following commands:</para> -<screen><userinput>sed -i 's@CLEAR,0@CLEAR,CLEAR,NULL@' src/common/lpq.c && -sed -i 's@ fd, l@ fd, (char*) l@' src/common/krb5_auth.c && -sed -i -e 's@\(fi\|done\) \\@\1; \\@' \ - -e 's/^SHELL/#&/' Makefile.in && - -./configure --prefix=/usr \ +<screen><userinput>./configure --prefix=/usr \ --libexecdir=/usr/lib/lprng \ - --sysconfdir=/etc \ + --sysconfdir=/etc \ --enable-shared && make</userinput></screen> @@ -98,27 +92,18 @@ <para>Now, as the <systemitem class="username">root</systemitem> user:</para> -<screen role="root"><userinput>make install && -install -v -m755 -d /usr/share/doc/lprng-&LPRng-version; && -cp -v -R DOCS/* PrintingCookbook \ - /usr/share/doc/lprng-&LPRng-version;</userinput></screen> +<screen role="root"><userinput>make install</userinput></screen> </sect2> - +<!-- <sect2 role="commands"> <title>Command Explanations</title> <para><command>sed -i 's@CLEAR ...'</command>: This fixes a <application>GCC</application>-4 warning, treated as an error.</para> - <para><command>sed -i 's@ fd, l ...'</command>: This fixes a compilation - problem with using versions of <application>GCC</application>-4.</para> - - <para><command>sed -i -e '...' -e '...'</command>: This fixes a couple of - syntax bugs when using newer versions of <command>make</command>.</para> - </sect2> - +--> <sect2 role="configuration"> <title>Configuring LPRng</title> @@ -144,18 +129,15 @@ <para>There is no generic <filename>printcap</filename> for all printers. A sample printcap is loaded into the <filename class="directory">/etc</filename> directory which can be of some help. - Information is also available at <ulink url="http://www.lprng.org"/>, - <ulink url="http://www.linuxprinting.org"/> and the documentation - installed in <filename - class='directory'>/usr/share/doc/lprng-&LPRng-version;</filename>.</para> + Information is also available at <ulink url="http://www.lprng.org"/> + and <ulink url="http://www.linuxprinting.org"/>.</para> </sect3> <sect3 id="lprng-init"> <title>Boot Script</title> - <para>The init script installed by <application>LPRng</application> - is not consistent with other BLFS scripts; therefore, install the + <para>Install the <filename>/etc/rc.d/init.d/lprng</filename> init script included in the <xref linkend="bootscripts"/> package (as the <systemitem class="username">root</systemitem> user):</para> @@ -166,12 +148,6 @@ <screen role="root"><userinput>make install-lprng</userinput></screen> - <note> - <para>You may also want to remove the <command>lpd</command> - script that was installed in - <filename class='directory'>/etc/rc.d/init.d</filename>.</para> - </note> - </sect3> </sect2> Modified: trunk/bootscripts/blfs/init.d/lprng =================================================================== --- trunk/bootscripts/blfs/init.d/lprng 2011-11-18 06:13:05 UTC (rev 8979) +++ trunk/bootscripts/blfs/init.d/lprng 2011-11-18 20:09:42 UTC (rev 8980) @@ -1,29 +1,50 @@ #!/bin/sh -# Begin $rc_base/init.d/lprng +######################################################################## +# Begin lprng +# +# Description : Start lpd daemon +# +# Author : Bruce Dubbs - [email protected] +# +# Version : LFS 7.0 +# +######################################################################## -# Based on sysklogd script from LFS-3.1 and earlier. -# Rewritten by Gerard Beekmans - [email protected] +### BEGIN INIT INFO +# Provides: lpd +# Required-Start: network +# Should-Start: +# Required-Stop: sendsignals +# Should-Stop: +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Starts lpd daemon. +# Description: Starts an implementation of the Berkeley LPR print spooler functionality. +# X-LFS-Provided-By: LFS +### END INIT INFO +. /lib/lsb/init-functions + #$LastChangedBy$ #$Date$ -. /etc/sysconfig/rc -. $rc_functions - case "$1" in start) - boot_mesg "Starting lpd..." - loadproc /usr/sbin/lpd + log_info_msg "Starting lpd..." + start_daemon /usr/sbin/lpd + evaluate_retval ;; stop) - boot_mesg "Stopping lpd..." + log_info_msg "Stopping lpd..." killproc /usr/sbin/lpd + evaluate_retval ;; reload) boot_mesg "Reloading lpd..." - reloadproc /usr/sbin/lpd + killproc /usr/sbin/lpd -HUP + evaluate_retval ;; restart) @@ -42,4 +63,4 @@ ;; esac -# End $rc_base/init.d/lprng +# End /etc/init.d/lprng -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
