Browse Source

Upgrade to Shadow-4.1.5. Fixes #3019.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9745 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 13 years ago
parent
commit
ed21235c01
7 changed files with 29 additions and 18 deletions
  1. 1 1
      appendices/dependencies.xml
  2. 4 0
      chapter01/changelog.xml
  3. 6 2
      chapter01/whatsnew.xml
  4. 5 5
      chapter03/patches.xml
  5. 6 4
      chapter06/shadow.xml
  6. 3 3
      packages.ent
  7. 4 3
      patches.ent

+ 1 - 1
appendices/dependencies.xml

@@ -1723,7 +1723,7 @@
         <segtitle>&external;</segtitle>
 
         <seglistitem>
-          <seg>None</seg>
+          <seg>Acl, Attr, Cracklib, PAM</seg>
         </seglistitem>
       </segmentedlist>
 

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <para>2012-02-14</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Upgrade to Shadow-4.1.5. Fixes
+          <ulink url="&lfs-ticket-root;3019">#3019</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgrade to Linux-3.2.6. Fixes
           <ulink url="&lfs-ticket-root;3018">#3018</ulink>.</para>

+ 6 - 2
chapter01/whatsnew.xml

@@ -169,9 +169,9 @@
     <!--<listitem>
       <para>Sed &sed-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Shadow &shadow-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Sysklogd &sysklogd-version;</para>
     </listitem>-->
@@ -227,6 +227,10 @@
       <para>&mpfr-fixes-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&shadow-nscd-patch;</para>
+    </listitem>
+
   </itemizedlist>
 
   <itemizedlist>

+ 5 - 5
chapter03/patches.xml

@@ -180,13 +180,13 @@
       </listitem>
     </varlistentry>
 
-    <!-- <varlistentry>
-      <term>Shadow Useradd Patch - <token>&shadow-useradd-patch-size;</token>:</term>
+    <varlistentry>
+      <term>Shadow nscd Patch - <token>&shadow-nscd-patch-size;</token>:</term>
       <listitem>
-        <para>Download: <ulink url="&patches-root;&shadow-useradd-patch;"/></para>
-        <para>MD5 sum: <literal>&shadow-useradd-patch-md5;</literal></para>
+        <para>Download: <ulink url="&patches-root;&shadow-nscd-patch;"/></para>
+        <para>MD5 sum: <literal>&shadow-nscd-patch-md5;</literal></para>
       </listitem>
-    </varlistentry> -->
+    </varlistentry>
 
     <!--<varlistentry>
       <term>Zlib fPIC Patch - <token>&zlib-fpic-patch-size;</token>:</term>

+ 6 - 4
chapter06/shadow.xml

@@ -49,16 +49,18 @@
       command below.</para>
     </note>
 
+    <para>Apply a patch to fix an issue when running various programs from this
+    package when they are used when the <command>nscd</command> daemon is not
+    running:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&shadow-nscd-patch;</userinput></screen>
+
     <para>Disable the installation of the <command>groups</command> program
     and its man pages, as Coreutils provides a better version:</para>
 
 <screen><userinput remap="pre">sed -i 's/groups$(EXEEXT) //' src/Makefile.in
 find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></screen>
 
-    <para>Fix an issue with the installation of Russian man pages:</para>
-
-<screen><userinput remap="pre">sed -i 's/man_MANS = $(man_nopam) /man_MANS = /' man/ru/Makefile.in</userinput></screen>
-
     <para id="shadow-login_defs">Instead of using the default
     <emphasis>crypt</emphasis> method, use the more secure
     <emphasis>SHA-512</emphasis> method of password encryption, which also

+ 3 - 3
packages.ent

@@ -466,10 +466,10 @@
 <!ENTITY sed-ch6-du "8.3 MB">
 <!ENTITY sed-ch6-sbu "0.2 SBU">
 
-<!ENTITY shadow-version "4.1.4.3">
-<!ENTITY shadow-size "1,762 KB">
+<!ENTITY shadow-version "4.1.5">
+<!ENTITY shadow-size "2,105 KB">
 <!ENTITY shadow-url "http://pkg-shadow.alioth.debian.org/releases/shadow-&shadow-version;.tar.bz2">
-<!ENTITY shadow-md5 "b8608d8294ac88974f27b20f991c0e79">
+<!ENTITY shadow-md5 "d5f7a588fadb79faeb4b08b1eee82e9a">
 <!ENTITY shadow-home "http://pkg-shadow.alioth.debian.org/">
 <!ENTITY shadow-ch6-du "30 MB">
 <!ENTITY shadow-ch6-sbu "0.3 SBU">

+ 4 - 3
patches.ent

@@ -99,9 +99,10 @@
 <!ENTITY readline-fixes-patch-size "1.3 KB">
 
 
-<!-- <!ENTITY shadow-useradd-patch "shadow-&shadow-version;-useradd_fix-2.patch">
-<!ENTITY shadow-useradd-patch-md5 "5f35528f38d5432d5fa2dd79d04bdfdd">
-<!ENTITY shadow-useradd-patch-size "6.1 KB"> -->
+<!ENTITY shadow-nscd-patch "shadow-&shadow-version;-nscd-1.patch">
+<!ENTITY shadow-nscd-patch-md5 "6fd6a209c1aa623bad913fcff20b7d8e">
+<!ENTITY shadow-nscd-patch-size "1.1 KB">
+
 
 <!ENTITY tar-overflow-patch "tar-&tar-version;-overflow_fix-1.patch">
 <!ENTITY tar-overflow-patch-md5 "1912ec36d2a0e2b96678651cf583ce6f">