Changeset 5987bf1


Ignore:
Timestamp:
05/19/2017 01:27:09 AM (5 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/refactor-virt, lazarus, perl-modules, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
c10fe29
Parents:
639e3d1
Message:

Update to shadow-4.5

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18740 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r639e3d1 r5987bf1  
    4343-->
    4444    <listitem>
     45      <para>May 18th, 2017</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[bdubbs] - Update to shadow-4.5. Fixes
     49          <ulink url="&blfs-ticket-root;9257">#9257</ulink>.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
     54    <listitem>
    4555      <para>May 17th, 2017</para>
    4656      <itemizedlist>
  • packages.ent

    r639e3d1 r5987bf1  
    3838<!ENTITY p11-kit-version              "0.23.5">
    3939<!ENTITY polkit-version               "0.113+git_2919920+js38">
    40 <!ENTITY shadow-version               "4.4">
     40<!ENTITY shadow-version               "4.5">
    4141<!ENTITY ssh-askpass-version          "&openssh-version;">
    4242<!ENTITY stunnel-version              "5.41">
  • postlfs/security/shadow.xml

    r639e3d1 r5987bf1  
    77  <!ENTITY shadow-download-http "https://github.com/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
    88  <!ENTITY shadow-download-ftp  " ">
    9   <!ENTITY shadow-md5sum        "c06f8c2571b44899e60662f9ad259dd6">
     9  <!ENTITY shadow-md5sum        "c350da50c2120de6bb29177699d89fe3">
    1010  <!ENTITY shadow-size          "1.6 MB">
    1111  <!ENTITY shadow-buildsize     "31 MB">
     
    4343
    4444    &lfs80_checked;
     45    &gcc7_checked;
    4546
    4647    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    130131
    131132sed -i 's/1000/999/' etc/useradd                           &amp;&amp;
    132 sed -i -e '/snprintf/s@_msg,@_msg, 256,@' src/su.c         &amp;&amp;
    133 sed -i -e '47 d' -e '60,65 d'             libmisc/myname.c &amp;&amp;
    134 
    135 echo '--- src/useradd.c   (old)
    136 +++ src/useradd.c   (new)
    137 @@ -2027,6 +2027,8 @@
    138         is_shadow_grp = sgr_file_present ();
    139  #endif
    140  
    141 +       get_defaults ();
    142 +
    143         process_flags (argc, argv);
    144  
    145  #ifdef ENABLE_SUBIDS
    146 @@ -2036,8 +2038,6 @@
    147             (!user_id || (user_id &lt;= uid_max &amp;&amp; user_id &gt;= uid_min));
    148  #endif                         /* ENABLE_SUBIDS */
    149  
    150 -       get_defaults ();
    151 -
    152  #ifdef ACCT_TOOLS_SETUID
    153  #ifdef USE_PAM
    154         {' | patch -p0 -l &amp;&amp;
    155133
    156134./configure --sysconfdir=/etc --with-group-name-max-length=32 &amp;&amp;
     
    200178      <command>sed -i 's/1000/999/' etc/useradd</command>: Make a minor change
    201179      to make the default useradd consistent with the LFS groups file.
    202     </para>
    203 
    204     <para>
    205       <command>sed -i -e '/snprintf/s@_msg,@_msg, 256,@' src/su.c</command>: Fix
    206       a build error that only occurs if <xref linkend="linux-pam"/> is detected
    207       by <command>configure</command>.
    208     </para>
    209 
    210     <para>
    211       <command>sed -i '47 d' -e '60,65 d' libmisc/myname.c</command>: Apply
    212       a security fix from upstream.
    213     </para>
    214 
    215     <para>
    216       <command>echo '--- ...</command>: This command illustrates another
    217       way to apply patches. Without the patch, <command>useradd</command>
    218       does not use the defaults in <filename>/etc/default/useradd</filename>.
    219180    </para>
    220181
Note: See TracChangeset for help on using the changeset viewer.