Jelajahi Sumber

Upgrade to Shadow-4.1.4.3. Fixes #2832.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9465 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 14 tahun lalu
induk
melakukan
60c6e3b8e3
4 mengubah file dengan 14 tambahan dan 18 penghapusan
  1. 4 0
      chapter01/changelog.xml
  2. 2 2
      chapter01/whatsnew.xml
  3. 5 13
      chapter06/shadow.xml
  4. 3 3
      packages.ent

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
       <para>2011-02-16</para>
       <itemizedlist>
+         <listitem>
+          <para>[matthew] Upgrade to Shadow-4.1.4.3. Fixes
+          <ulink url="&lfs-ticket-root;2832">#2832</ulink>.</para>
+        </listitem>
          <listitem>
           <para>[matthew] Upgrade to Readline-6.2. Fixes
           <ulink url="&lfs-ticket-root;2831">#2831</ulink>.</para>

+ 2 - 2
chapter01/whatsnew.xml

@@ -172,9 +172,9 @@
     <!--<listitem>
       <para>Sed &sed-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Shadow &shadow-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Sysklogd &sysklogd-version;</para>
     </listitem>-->

+ 5 - 13
chapter06/shadow.xml

@@ -49,19 +49,16 @@
       command below.</para>
     </note>
 
-    <!-- <para>Fix a bug in the <command>useradd</command> and
-    <command>usermod</command> programs which prevent them from accepting group
-    names rather than group ID numbers to the <option>-g</option> option:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&shadow-useradd-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="configure">sed -i 's/groups$(EXEEXT) //' src/Makefile.in
+<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
@@ -82,11 +79,6 @@ find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></scr
 
     <para>Prepare Shadow for compilation:</para>
 
-<!-- Keeping this in case we revert to an older version
-<screen><userinput remap="configure">./configure -libdir=/lib -sysconfdir=/etc -enable-shared \
-    -without-selinux</userinput></screen>
--->
-
 <screen><userinput remap="configure">./configure --sysconfdir=/etc</userinput></screen>
 
     <para>Compile the package:</para>

+ 3 - 3
packages.ent

@@ -461,10 +461,10 @@
 <!ENTITY sed-ch6-du "8.3 MB">
 <!ENTITY sed-ch6-sbu "0.2 SBU">
 
-<!ENTITY shadow-version "4.1.4.2">
-<!ENTITY shadow-size "1,748 KB">
+<!ENTITY shadow-version "4.1.4.3">
+<!ENTITY shadow-size "1,762 KB">
 <!ENTITY shadow-url "ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-&shadow-version;.tar.bz2">
-<!ENTITY shadow-md5 "d593a9cab93c48ee0a6ba056db8c1997">
+<!ENTITY shadow-md5 "b8608d8294ac88974f27b20f991c0e79">
 <!ENTITY shadow-home "http://pkg-shadow.alioth.debian.org/">
 <!ENTITY shadow-ch6-du "30 MB">
 <!ENTITY shadow-ch6-sbu "0.3 SBU">