Changeset 51979fc for BOOK


Ignore:
Timestamp:
Jun 1, 2017, 5:39:42 PM (8 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
master, systemd
Children:
323e87e
Parents:
c7eb7a2
Message:

Update Shadow to 4.5.

Location:
BOOK
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/shadow.xml

    rc7eb7a2 r51979fc  
    3232sed -e 's/groups$(EXEEXT) //' \
    3333    -e 's/= nologin$(EXEEXT)/= /' \
    34     -e 's/\(^suidu*bins = \).*/\1/' \
     34    -e 's/\(^suidu*bins = \).*/\1\\/' \
    3535    src/Makefile.in.orig &gt; src/Makefile.in</userinput></screen>
    3636
     
    4848    --build=${CLFS_HOST} \
    4949    --host=${CLFS_TARGET} \
    50     --cache-file=config.cache \
    51     --enable-subordinate-ids=no</userinput></screen>
    52 
    53     <variablelist os="g">
    54       <title>The meaning of the configure options:</title>
    55 
    56       <varlistentry os="h">
    57         <term><parameter>--enable-subordinate-ids=no</parameter></term>
    58         <listitem>
    59           <para>Disable subordinate ids to allow Shadow to cross-compile
    60           successfully.</para>
    61         </listitem>
    62       </varlistentry>
    63 
    64     </variablelist>
    65 
    66     <para os="i">Append to <filename>config.h</filename> since a test program
    67     will not be ran when cross-compiling:</para>
    68 
    69 <screen os="j"><userinput>echo "#define ENABLE_SUBIDS 1" &gt;&gt; config.h</userinput></screen>
     50    --cache-file=config.cache</userinput></screen>
    7051
    7152    <para os="k">Compile the package:</para>
  • BOOK/final-system/common/shadow.xml

    rc7eb7a2 r51979fc  
    4747  -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /'
    4848find man -name Makefile.in -exec sed -i \
    49   -e 's/man1\/groups\.1 //' -e 's/man8\/nologin\.8 //' '{}' \;</userinput></screen>
     49  -e 's/man1\/groups\.1 //' \
     50  -e 's/man3\/getspnam\.3 //' \
     51  -e 's/man8\/nologin\.8 //' \
     52  -e 's/man5\/passwd\.5 //' '{}' \;</userinput></screen>
    5053
    5154    <para os="d">Prepare Shadow for compilation:</para>
    5255
    5356<screen os="e"><userinput>./configure \
    54     --sysconfdir=/etc</userinput></screen>
     57    --sysconfdir=/etc \
     58    --with-group-max-length=32</userinput></screen>
    5559
    5660  <variablelist os="f">
     
    6266      <filename class="directory">/etc</filename>, rather than
    6367      <filename class="directory">/usr/etc</filename>.</para></listitem>
     68    </varlistentry>
     69
     70    <varlistentry>
     71      <term><parameter>--with-group-max-length=32</parameter></term>
     72      <listitem><para>The maximum user name is 32 characters.
     73      Make the maximum group name the same.</para></listitem>
    6474    </varlistentry>
    6575
  • BOOK/final-system/multilib/shadow.xml

    rc7eb7a2 r51979fc  
    3939
    4040<screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure \
    41     --sysconfdir=/etc</userinput></screen>
     41    --sysconfdir=/etc \
     42    --with-group-name-max-length=32</userinput></screen>
    4243
    4344    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/introduction/common/changelog.xml

    rc7eb7a2 r51979fc  
    3737-->
    3838    <listitem>
     39      <para>01 June 2017</para>
     40      <itemizedlist>
     41        <listitem>
     42          <para>[William Harrington] - Upgrade Shadow to 4.5. Fixes
     43          ticket <ulink url="&clfs-ticket-root;1150">#1150.</ulink></para>
     44        </listitem>
     45      </itemizedlist>
     46    </listitem>
     47
     48    <listitem>
    3949      <para>29 May 2017</para>
    4050      <itemizedlist>
  • BOOK/packages.ent

    rc7eb7a2 r51979fc  
    424424<!ENTITY sed-home "&gnu-software;sed">
    425425
    426 <!ENTITY shadow-version "4.2.1">
    427 <!ENTITY shadow-size "1,595 KB">
    428 <!ENTITY shadow-url "http://pkg-shadow.alioth.debian.org/releases/shadow-&shadow-version;.tar.xz">
    429 <!ENTITY shadow-md5 "2bfafe7d4962682d31b5eba65dba4fc8">
     426<!ENTITY shadow-version "4.5">
     427<!ENTITY shadow-size "1,627 KB">
     428<!ENTITY shadow-url "https://github.com/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
     429<!ENTITY shadow-md5 "c350da50c2120de6bb29177699d89fe3">
    430430<!ENTITY shadow-home "http://pkg-shadow.alioth.debian.org">
    431431
Note: See TracChangeset for help on using the changeset viewer.