Przeglądaj źródła

Added Archaic's sed to remove installation of the groups binary from shadow - see LFS-Dev for more info.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4472 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 20 lat temu
rodzic
commit
98fcc378d5
2 zmienionych plików z 8 dodań i 4 usunięć
  1. 3 0
      chapter01/changelog.xml
  2. 5 4
      chapter06/shadow.xml

+ 3 - 0
chapter01/changelog.xml

@@ -49,6 +49,9 @@ of the LFS Book.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>December 30th, 2004 [jeremy]: Added Archaic's sed to stop
+installation of shadow's groups binary, as well as it's man page.</para></listitem>
+
 <listitem><para>December 30th, 2004 [jeremy]: Added Vim security vulnerability patch - Thanks Matt</para></listitem>
 
 <listitem><para>December 30th, 2004 [jeremy]: Added Linux kernel security vulnerability fix into chapter 8</para></listitem>

+ 5 - 4
chapter06/shadow.xml

@@ -26,6 +26,11 @@
 
 <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
 
+<para>Remove the installation of the groups program, and it's man page:</para>
+
+<screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
+sed -i '/groups/d' man/Makefile</userinput></screen>
+
 <para>Compile the package:</para>
 
 <screen><userinput>make</userinput></screen>
@@ -61,10 +66,6 @@ ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
 
 <screen><userinput>mkdir /etc/default</userinput></screen>
 
-<para>Remove a program:</para>
-
-<screen><userinput>rm /bin/groups</userinput></screen>
-
 </sect2>