Sfoglia il codice sorgente

Fix a wrong hardcoded path in some shadow programs. ticket #4632

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11811 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Pierre Labastie 5 anni fa
parent
commit
0827a1ae41
3 ha cambiato i file con 24 aggiunte e 4 eliminazioni
  1. 11 0
      chapter01/changelog.xml
  2. 10 1
      chapter06/shadow.xml
  3. 3 3
      general.ent

+ 11 - 0
chapter01/changelog.xml

@@ -42,6 +42,17 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
     -->
+    <listitem>
+      <para>2020-04-19</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - Fix a wrong hardcoded path in some programs
+          from the shadow package. Fixes
+          <ulink url="&lfs-ticket-root;4632">#4632</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2020-04-15</para>
       <itemizedlist>

+ 10 - 1
chapter06/shadow.xml

@@ -83,11 +83,20 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /'   {} \;</userinput></s
 
     <para>Prepare Shadow for compilation:</para>
 
-<screen><userinput remap="configure">./configure --sysconfdir=/etc --with-group-name-max-length=32</userinput></screen>
+<screen><userinput remap="configure">touch /usr/bin/passwd
+./configure --sysconfdir=/etc --with-group-name-max-length=32</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure option:</title>
 
+      <varlistentry>
+        <term><command>touch /usr/bin/passwd</command></term>
+        <listitem>
+          <para>The file <filename>/usr/bin/passwd</filename> needs
+          to exist because its location is harcoded in some programs, and
+          the default location if it does not exist is not right.</para>
+        </listitem>
+      </varlistentry>
       <varlistentry>
         <term><parameter>--with-group-name-max-length=32</parameter></term>
         <listitem>

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20200415">
+<!ENTITY version         "SVN-20200419">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20200415-systemd">
+<!ENTITY versiond        "20200419-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "April 15th, 2020">
+<!ENTITY releasedate     "April 19th, 2020">
 
 <!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->