[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, sysvinit, updated. clfs-3.0.0-sysvinit-362-ga7e4965

git git at clfs.org
Thu Jun 1 17:40:01 PDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, sysvinit has been updated
       via  a7e4965cebaa4b07593d2381670e9c890b993d31 (commit)
       via  00f08afa919d58e8232372b22ad18325a71cef43 (commit)
      from  110500e0300afee6634e089f8ac945f31cb31101 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a7e4965cebaa4b07593d2381670e9c890b993d31
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Thu Jun 1 19:39:42 2017 -0500

    Update Shadow to 4.5.

diff --git a/BOOK/boot/common/shadow.xml b/BOOK/boot/common/shadow.xml
index ffe5c18..3d55fe3 100644
--- a/BOOK/boot/common/shadow.xml
+++ b/BOOK/boot/common/shadow.xml
@@ -31,7 +31,7 @@
 <screen os="b"><userinput>cp -v src/Makefile.in{,.orig}
 sed -e 's/groups$(EXEEXT) //' \
     -e 's/= nologin$(EXEEXT)/= /' \
-    -e 's/\(^suidu*bins = \).*/\1/' \
+    -e 's/\(^suidu*bins = \).*/\1\\/' \
     src/Makefile.in.orig > src/Makefile.in</userinput></screen>
 
     <para os="c">Tell Shadow to use <command>passwd</command> in
@@ -47,26 +47,7 @@ EOF</userinput></screen>
     --prefix=/tools \
     --build=${CLFS_HOST} \
     --host=${CLFS_TARGET} \
-    --cache-file=config.cache \
-    --enable-subordinate-ids=no</userinput></screen>
-
-    <variablelist os="g">
-      <title>The meaning of the configure options:</title>
-
-      <varlistentry os="h">
-        <term><parameter>--enable-subordinate-ids=no</parameter></term>
-        <listitem>
-          <para>Disable subordinate ids to allow Shadow to cross-compile
-          successfully.</para>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-    <para os="i">Append to <filename>config.h</filename> since a test program
-    will not be ran when cross-compiling:</para>
-
-<screen os="j"><userinput>echo "#define ENABLE_SUBIDS 1" >> config.h</userinput></screen>
+    --cache-file=config.cache</userinput></screen>
 
     <para os="k">Compile the package:</para>
 
diff --git a/BOOK/final-system/common/shadow.xml b/BOOK/final-system/common/shadow.xml
index fb9b363..70c6af5 100644
--- a/BOOK/final-system/common/shadow.xml
+++ b/BOOK/final-system/common/shadow.xml
@@ -46,12 +46,16 @@
 <screen os="c"><userinput>sed -i src/Makefile.in \
   -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /'
 find man -name Makefile.in -exec sed -i \
-  -e 's/man1\/groups\.1 //' -e 's/man8\/nologin\.8 //' '{}' \;</userinput></screen>
+  -e 's/man1\/groups\.1 //' \
+  -e 's/man3\/getspnam\.3 //' \
+  -e 's/man8\/nologin\.8 //' \
+  -e 's/man5\/passwd\.5 //' '{}' \;</userinput></screen>
 
     <para os="d">Prepare Shadow for compilation:</para>
 
 <screen os="e"><userinput>./configure \
-    --sysconfdir=/etc</userinput></screen>
+    --sysconfdir=/etc \
+    --with-group-max-length=32</userinput></screen>
 
   <variablelist os="f">
     <title>The meaning of the new configure option:</title>
@@ -63,6 +67,12 @@ find man -name Makefile.in -exec sed -i \
       <filename class="directory">/usr/etc</filename>.</para></listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term><parameter>--with-group-max-length=32</parameter></term>
+      <listitem><para>The maximum user name is 32 characters.
+      Make the maximum group name the same.</para></listitem>
+    </varlistentry>
+
   </variablelist>
 
     <para os="g">Compile the package:</para>
diff --git a/BOOK/final-system/multilib/shadow.xml b/BOOK/final-system/multilib/shadow.xml
index 8e6bc27..ffb4d13 100644
--- a/BOOK/final-system/multilib/shadow.xml
+++ b/BOOK/final-system/multilib/shadow.xml
@@ -38,7 +38,8 @@
     xpointer="xpointer(//*[@os='d'])"/>
 
 <screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure \
-    --sysconfdir=/etc</userinput></screen>
+    --sysconfdir=/etc \
+    --with-group-name-max-length=32</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="../common/shadow.xml"
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index f60c9f2..3e6aa30 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -36,6 +36,16 @@
     </listitem>
 -->
     <listitem>
+      <para>01 June 2017</para>
+      <itemizedlist>
+        <listitem>
+          <para>[William Harrington] - Upgrade Shadow to 4.5. Fixes
+          ticket <ulink url="&clfs-ticket-root;1150">#1150.</ulink></para> 
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>29 May 2017</para>
       <itemizedlist>
         <listitem>
diff --git a/BOOK/packages.ent b/BOOK/packages.ent
index 7d674b6..62fda0f 100644
--- a/BOOK/packages.ent
+++ b/BOOK/packages.ent
@@ -408,10 +408,10 @@
 <!ENTITY sed-md5 "7ffe1c7cdc3233e1e0c4b502df253974">
 <!ENTITY sed-home "&gnu-software;sed">
 
-<!ENTITY shadow-version "4.2.1">
-<!ENTITY shadow-size "1,595 KB">
-<!ENTITY shadow-url "http://pkg-shadow.alioth.debian.org/releases/shadow-&shadow-version;.tar.xz">
-<!ENTITY shadow-md5 "2bfafe7d4962682d31b5eba65dba4fc8">
+<!ENTITY shadow-version "4.5">
+<!ENTITY shadow-size "1,627 KB">
+<!ENTITY shadow-url "https://github.com/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
+<!ENTITY shadow-md5 "c350da50c2120de6bb29177699d89fe3">
 <!ENTITY shadow-home "http://pkg-shadow.alioth.debian.org">
 
 <!ENTITY silo-version "1.4.14">

commit 00f08afa919d58e8232372b22ad18325a71cef43
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Thu Jun 1 19:39:22 2017 -0500

    Update book version for June 01, 2017 updates.

diff --git a/BOOK/general.ent b/BOOK/general.ent
index 706a203..5e1c9fa 100644
--- a/BOOK/general.ent
+++ b/BOOK/general.ent
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<!ENTITY month "05"> <!-- Use two digits -->
-<!ENTITY month_name "May">
-<!ENTITY day "29"> <!-- Use two digits -->
+<!ENTITY month "06"> <!-- Use two digits -->
+<!ENTITY month_name "June">
+<!ENTITY day "01"> <!-- Use two digits -->
 <!ENTITY year "2017"> <!-- Use four digits -->
 
 <!ENTITY releasedate "&month_name; &day;, &year;">

-----------------------------------------------------------------------

Summary of changes:
 BOOK/boot/common/shadow.xml            |   23 ++---------------------
 BOOK/final-system/common/shadow.xml    |   14 ++++++++++++--
 BOOK/final-system/multilib/shadow.xml  |    3 ++-
 BOOK/general.ent                       |    6 +++---
 BOOK/introduction/common/changelog.xml |   10 ++++++++++
 BOOK/packages.ent                      |    8 ++++----
 6 files changed, 33 insertions(+), 31 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list