Merge remote-tracking branch 'origin/trunk' into xry111/arm64

This commit is contained in:
Xi Ruoyao 2023-07-15 19:46:07 +08:00
commit 9a5dab17c6
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
7 changed files with 74 additions and 33 deletions

View File

@ -1892,7 +1892,7 @@
<segtitle>&dependencies;</segtitle> <segtitle>&dependencies;</segtitle>
<seglistitem> <seglistitem>
<seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
Make, and Sed</seg> Make, Perl, and Sed</seg>
</seglistitem> </seglistitem>
</segmentedlist> </segmentedlist>

View File

@ -40,6 +40,32 @@
appropriate for the entry or if needed the entire day's listitem. appropriate for the entry or if needed the entire day's listitem.
--> -->
<listitem>
<para>2023-07-15</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Update to iana-etc-20230629. Addresses
<ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to linux-6.4.3. Fixes
<ulink url='&lfs-ticket-root;5284'>#5284</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to libxcrypt-4.4.36. Fixes
<ulink url='&lfs-ticket-root;5283'>#5283</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to groff-1.23.0. Fixes
<ulink url='&lfs-ticket-root;5282'>#5282</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to perl-5.38.0. Fixes
<ulink url='&lfs-ticket-root;5281'>#5281</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>2023-07-02</para> <para>2023-07-02</para>
<itemizedlist> <itemizedlist>

View File

@ -136,9 +136,9 @@
<listitem> <listitem>
<para>Grep-&grep-version;</para> <para>Grep-&grep-version;</para>
</listitem> </listitem>
<!--<listitem> <listitem>
<para>Groff-&groff-version;</para> <para>Groff-&groff-version;</para>
</listitem>--> </listitem>
<!--<listitem> <!--<listitem>
<para>GRUB-&grub-version;</para> <para>GRUB-&grub-version;</para>
</listitem>--> </listitem>-->

View File

@ -57,7 +57,9 @@
<screen><userinput remap="make">make</userinput></screen> <screen><userinput remap="make">make</userinput></screen>
<para>This package does not come with a test suite.</para> <para>To test the results, issue:</para>
<screen><userinput remap="test">make check</userinput></screen>
<para>Install the package:</para> <para>Install the package:</para>

View File

@ -60,11 +60,10 @@ find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></screen> find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></screen>
<para id="shadow-login_defs">Instead of using the default <para id="shadow-login_defs">Instead of using the default
<emphasis>crypt</emphasis> method, use the more secure <emphasis>crypt</emphasis> method, use the much more secure
<emphasis>SHA-512</emphasis> method of password encryption, which also <emphasis>YESCRYPT</emphasis> method of password encryption, which also
allows passwords longer than 8 characters. In addition, set the number of allows passwords longer than 8 characters.
rounds to 500,000 instead of the default 5000, which is much too low to It is also necessary to change
prevent brute force password attacks. It is also necessary to change
the obsolete <filename class="directory">/var/spool/mail</filename> location the obsolete <filename class="directory">/var/spool/mail</filename> location
for user mailboxes that Shadow uses by default to the <filename for user mailboxes that Shadow uses by default to the <filename
class="directory">/var/mail</filename> location used currently. And, class="directory">/var/mail</filename> location used currently. And,
@ -81,8 +80,7 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
built.</para> built.</para>
</note> </note>
<screen><userinput remap="pre">sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \ <screen><userinput remap="pre">sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' \
-e 's@#\(SHA_CRYPT_..._ROUNDS 5000\)@\100@' \
-e 's:/var/spool/mail:/var/mail:' \ -e 's:/var/spool/mail:/var/mail:' \
-e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \ -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \
-i etc/login.defs</userinput></screen> -i etc/login.defs</userinput></screen>
@ -108,6 +106,7 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
<screen><userinput remap="configure">touch /usr/bin/passwd <screen><userinput remap="configure">touch /usr/bin/passwd
./configure --sysconfdir=/etc \ ./configure --sysconfdir=/etc \
--disable-static \ --disable-static \
--with-{b,yes}crypt \
--with-group-name-max-length=32</userinput></screen> --with-group-name-max-length=32</userinput></screen>
<variablelist> <variablelist>
@ -122,6 +121,21 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
create it in the wrong place.</para> create it in the wrong place.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><parameter>--with-{b,yes}crypt</parameter></term>
<listitem>
<para>The shell expands this to two switches,
<parameter>--with-bcrypt</parameter> and
<parameter>--with-yescrypt</parameter>. They allow shadow to use
the Bcrypt and Yescrypt algorithms implemented by
<application>Libxcrypt</application> for hashing passwords.
These algorithms are more secure (in particular, much more
resistant to GPU-based attacks) than the traditional SHA
algorithms.</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><parameter>--with-group-name-max-length=32</parameter></term> <term><parameter>--with-group-name-max-length=32</parameter></term>
<listitem> <listitem>

View File

@ -166,7 +166,6 @@ General setup ---&gt;
&lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] &lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
[*] Control Group support [CONFIG_CGROUPS] ---&gt; [*] Control Group support [CONFIG_CGROUPS] ---&gt;
[*] Memory controller [CONFIG_MEMCG] [*] Memory controller [CONFIG_MEMCG]
[ ] Enable deprecated sysfs features to support old userspace tools [CONFIG_SYSFS_DEPRECATED]
[ ] Configure standard kernel features (expert users) [CONFIG_EXPERT] [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
General architecture-dependent options ---&gt; General architecture-dependent options ---&gt;
[*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP] [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP]

View File

@ -299,10 +299,10 @@
<!ENTITY grep-fin-du "37 MB"> <!ENTITY grep-fin-du "37 MB">
<!ENTITY grep-fin-sbu "0.4 SBU"> <!ENTITY grep-fin-sbu "0.4 SBU">
<!ENTITY groff-version "1.22.4"> <!ENTITY groff-version "1.23.0">
<!ENTITY groff-size "4,044 KB"> <!ENTITY groff-size "7,259 KB">
<!ENTITY groff-url "&gnu;groff/groff-&groff-version;.tar.gz"> <!ENTITY groff-url "&gnu;groff/groff-&groff-version;.tar.gz">
<!ENTITY groff-md5 "08fb04335e2f5e73f23ea4c3adbf0c5f"> <!ENTITY groff-md5 "5e4f40315a22bb8a158748e7d5094c7d">
<!ENTITY groff-home "&gnu-software;groff/"> <!ENTITY groff-home "&gnu-software;groff/">
<!ENTITY groff-fin-du "89 MB"> <!ENTITY groff-fin-du "89 MB">
<!ENTITY groff-fin-sbu "0.2 SBU"> <!ENTITY groff-fin-sbu "0.2 SBU">
@ -325,10 +325,10 @@
<!ENTITY gzip-fin-du "21 MB"> <!ENTITY gzip-fin-du "21 MB">
<!ENTITY gzip-fin-sbu "0.3 SBU"> <!ENTITY gzip-fin-sbu "0.3 SBU">
<!ENTITY iana-etc-version "20230615"> <!ENTITY iana-etc-version "20230629">
<!ENTITY iana-etc-size "587 KB"> <!ENTITY iana-etc-size "588 KB">
<!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz"> <!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz">
<!ENTITY iana-etc-md5 "ac85479065338ce53fbf0e7184e64b87"> <!ENTITY iana-etc-md5 "8c2e8385391306edbf4ca26ed4930a71">
<!ENTITY iana-etc-home "https://www.iana.org/protocols"> <!ENTITY iana-etc-home "https://www.iana.org/protocols">
<!ENTITY iana-etc-fin-du "4.8 MB"> <!ENTITY iana-etc-fin-du "4.8 MB">
<!ENTITY iana-etc-fin-sbu "less than 0.1 SBU"> <!ENTITY iana-etc-fin-sbu "less than 0.1 SBU">
@ -430,22 +430,22 @@
<!ENTITY libtool-fin-du "44 MB"> <!ENTITY libtool-fin-du "44 MB">
<!ENTITY libtool-fin-sbu "1.4 SBU"> <!ENTITY libtool-fin-sbu "1.4 SBU">
<!ENTITY libxcrypt-version "4.4.35"> <!ENTITY libxcrypt-version "4.4.36">
<!ENTITY libxcrypt-size "612 KB"> <!ENTITY libxcrypt-size "610 KB">
<!ENTITY libxcrypt-url "&github;/besser82/libxcrypt/releases/download/&libxcrypt-version;/libxcrypt-&libxcrypt-version;.tar.xz"> <!ENTITY libxcrypt-url "&github;/besser82/libxcrypt/releases/download/v&libxcrypt-version;/libxcrypt-&libxcrypt-version;.tar.xz">
<!ENTITY libxcrypt-md5 "1d8487dfc43ee8e31a858456b868f836"> <!ENTITY libxcrypt-md5 "b84cd4104e08c975063ec6c4d0372446">
<!ENTITY libxcrypt-home "&github;/besser82/libxcrypt/"> <!ENTITY libxcrypt-home "&github;/besser82/libxcrypt/">
<!ENTITY libxcrypt-fin-du "16 MB"> <!ENTITY libxcrypt-fin-du "16 MB">
<!ENTITY libxcrypt-fin-sbu "0.1 SBU"> <!ENTITY libxcrypt-fin-sbu "0.1 SBU">
<!ENTITY linux-major-version "6"> <!ENTITY linux-major-version "6">
<!ENTITY linux-minor-version "4"> <!ENTITY linux-minor-version "4">
<!ENTITY linux-patch-version "1"> <!ENTITY linux-patch-version "3">
<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
<!ENTITY linux-size "134,584 KB"> <!ENTITY linux-size "134,557 KB">
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
<!ENTITY linux-md5 "ab345e1ea1c103c311248f078d92a160"> <!ENTITY linux-md5 "c83363136e61977c63d655733424d37a">
<!ENTITY linux-home "https://www.kernel.org/"> <!ENTITY linux-home "https://www.kernel.org/">
<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
allnoconfig rounded down to allow for ongoing cleanups, allnoconfig rounded down to allow for ongoing cleanups,
@ -561,13 +561,13 @@
<!ENTITY patch-fin-sbu "0.1 SBU"> <!ENTITY patch-fin-sbu "0.1 SBU">
<!ENTITY perl-version-major "5"> <!ENTITY perl-version-major "5">
<!ENTITY perl-version-minor "36"> <!ENTITY perl-version-minor "38">
<!ENTITY perl-version-patch "1"> <!ENTITY perl-version-patch "0">
<!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;"> <!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;">
<!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;"> <!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;">
<!ENTITY perl-size "12,748 KB"> <!ENTITY perl-size "13,248 KB">
<!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz"> <!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz">
<!ENTITY perl-md5 "825f6b1d7e03b22522e0bdb992fbb728"> <!ENTITY perl-md5 "e1c8aaec897dd386c741f97eef9f2e87">
<!ENTITY perl-home "https://www.perl.org/"> <!ENTITY perl-home "https://www.perl.org/">
<!ENTITY perl-tmp-du "281 MB"> <!ENTITY perl-tmp-du "281 MB">
<!ENTITY perl-tmp-sbu "0.6 SBU"> <!ENTITY perl-tmp-sbu "0.6 SBU">