aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2003-09-01 19:29:40 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2003-09-01 19:29:40 +0000
commit0c84f8a8a9005537fc7a8373e450fa0186b7fadc (patch)
tree60b861127a40b6b62376c6c9fad49742ac1fbd8b
parent2b9f7514dab741b774a1bb3c5099c72e1c833efe (diff)
Added Shadow newgrp fix from Greg
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2714 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter04/chapter04.xml3
-rw-r--r--chapter06/shadowpwd-inst.xml7
-rw-r--r--entities/shadow.ent2
4 files changed, 15 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index f361d222c..ab4cc04ac 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -82,6 +82,9 @@
</itemizedlist>
</para></listitem>
+<listitem><para>September 1, 2003 [jeremy] - Added in shadow
+newgrp patch from Greg Schafer</para></listitem>
+
<listitem><para>August 31, 2003 [jeremy] - Chapter 6 -
Inetutils - added the --disable-whois and --disable-servers
flags</para></listitem>
diff --git a/chapter04/chapter04.xml b/chapter04/chapter04.xml
index 17c7537e5..a5b2728b2 100644
--- a/chapter04/chapter04.xml
+++ b/chapter04/chapter04.xml
@@ -273,6 +273,9 @@ Perl Libc Patch (&perl-libc-patch-version;) - &perl-libc-patch-size;:
Procps Patch (&procps-patch-version;) - &procps-patch-size;:
<ulink url="&http;/procps-&procps-patch-version;.patch"/>
+Shadow Patch (&shadow-patch-version;) - &shadow-patch-size;:
+<ulink url="&http;/shadow-&shadow-patch-version;.patch"/>
+
Zlib Patch (&zlib-patch-version;) - &zlib-patch-size;:
<ulink url="&http;/zlib-&zlib-patch-version;.patch"/>
</literallayout>
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index c840033dc..010f0b3de 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -41,6 +41,13 @@ so that it gets hard-wired properly:</para>
<para><screen><userinput>touch /usr/bin/passwd</userinput></screen></para>
+<para>The current shadow suite has a problem in the newgrp command which causes
+it to fail. The following patch (also appearing in Shadow's CVS code) fixes
+this problem.</para>
+
+<para><screen><userinput>patch -Np1 -i ../shadow-&shadow-patch-version;.patch
+</userinput></screen></para>
+
<para>Now prepare Shadow for compilation:</para>
<para><screen><userinput>./configure --prefix=/usr --libdir=/usr/lib --enable-shared</userinput></screen></para>
diff --git a/entities/shadow.ent b/entities/shadow.ent
index 10cacc4ce..1f631544e 100644
--- a/entities/shadow.ent
+++ b/entities/shadow.ent
@@ -14,6 +14,8 @@
<!ENTITY shadow-depversion "20001016">
<!ENTITY shadow-contversion "4.0.3">
<!ENTITY shadow-size "1030 KB">
+<!ENTITY shadow-patch-version "4.0.3-newgrp-fix">
+<!ENTITY shadow-patch-size "836 Bytes">
<!ENTITY shadow-dir "shadow-&shadow-version;">
<!ENTITY shadow-package "shadow-&shadow-version;.tar.bz2">