hello, everyone:
  I post on this mailling list for the first time.

  The matter is I downloaded all the packages and patches, and then
run md5sum to generate a MD5SUM.txt of the downloaded files, then use
a md5sum.xsl to gernerate another md5sum.txt from the md5 value of the
lfs-book 6.3, I compared them, and found the difference of
udev-config-6.3.tar.bz2:

[EMAIL PROTECTED] ~/sforge/LFS-trunk-BOOK $ diff -u
~/tmp/LFS-BOOK-6.3-XML/md5sum.txt ~/lfs-book/MD5SUM.txt
--- /home/gektop/tmp/LFS-BOOK-6.3-XML/md5sum.txt        2007-08-30
15:42:02.000000000 +0800
+++ /home/gektop/lfs-book/MD5SUM.txt    2007-08-30 16:31:28.000000000 +0800
@@ -51,7 +51,7 @@
 5e1b71eef1f75a294072aa3218f62b66  tcl8.4.15-src.tar.gz
 f4458e4b81e5469fa0815c35654141ab  texinfo-4.9.tar.bz2
 cb9a227206b9d85ae8cfc88fc51c1710  udev-113.tar.bz2
-49c72e712f38c18884bd11a9a3b7e968  udev-config-6.3.tar.bz2
+d12ea80a5068df0e50306d787d197c62  udev-config-6.3.tar.bz2
 af9d9e03038481fbf79ea3ac33f116f9  util-linux-2.12r.tar.bz2
 44c6b4914f38d6f9aa959640b89da329  vim-7.1.tar.bz2
 144aa049ba70621acf4247f0459f3ee7  vim-7.1-lang.tar.gz

I deleted the udev-config file and download again but the diff still
existed, I don't know why.

The attachement is md5sumxsl, and generate with:
xsltproc --xinclude --nonet stylesheets/md5sum.xsl chapter03/chapter03.xml

-- 
Denis Cheng
<?xml version='1.0' encoding='ISO-8859-1'?>

<!-- Create a list of upstream URLs for packages and patches to be used
     with wget. -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    version="1.0">

  <xsl:output method="text"/>

  <xsl:template match="/">
    <xsl:apply-templates select="//listitem"/>
  </xsl:template>

  <xsl:template match="listitem">
    <xsl:value-of select="para[last()]/literal"/>
    <xsl:text>&#x20;</xsl:text>
    <xsl:call-template name="package.name">
      <xsl:with-param name="url" select="para[last()-1]/ulink/@url"/>
    </xsl:call-template>
    <xsl:text>&#x09;</xsl:text>
    <xsl:value-of select="para[last()-1]/ulink/@url"/>
    <xsl:text>&#x0a;</xsl:text>
  </xsl:template>

  <xsl:template name="package.name">
    <xsl:param name="url"/>
    <xsl:choose>
      <xsl:when test="contains($url, '/')">
        <xsl:call-template name="package.name">
          <xsl:with-param name="url" select="substring-after($url, '/')"/>
        </xsl:call-template>
      </xsl:when>
      <xsl:otherwise>
        <xsl:choose>
          <xsl:when test="contains($url, '?')">
            <xsl:value-of select="substring-before($url, '?')"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$url"/>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

</xsl:stylesheet>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to