Commit Graph

8900 Commits

Author SHA1 Message Date
Bruce Dubbs
25b3c0f720 Package updates and one fix.
Disable building nscd in glibc.
Update to iana-etc-20230929.
Update to vim-9.0.1968.
Update to openssl-3.1.3.
Update to meson-1.2.2.
Update to man-db-2.12.0.
Update to linux-6.5.5.
Update to kmod-31.
Update to kbd-2.6.3.
Update to gettext-0.22.2.
Update to bc-6.7.0.
2023-10-01 13:37:57 -05:00
Xi Ruoyao
c7cd2c71e7
shadow: Remove lastlog from contents
It's deprecated because of Y2038 issue and no longer being built by
default.
2023-09-30 16:14:17 +08:00
Xi Ruoyao
6e11fe2728
createfiles: Add Y2038 info about the traditional {b,u,w}tmp and lastlog files
And utmp does not exist on systemd-based LFS.
2023-09-30 16:12:56 +08:00
Thomas Trepl
3cd2eae9eb Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-09-25 14:47:48 +02:00
Thomas Trepl
96f7f5ed58 Remove textual description of an arg no loger in instructions 2023-09-25 14:46:25 +02:00
Xi Ruoyao
c873f0a1b3
changelog: Fix a date 2023-09-25 14:12:54 +08:00
Xi Ruoyao
cb89eec135
glibc: Update upstream fixes patch to plug a memory leak
The CVE-2023-4806 fix unintentionally caused a memory leak, now update
the patch to include the fix for the leak.
2023-09-25 14:10:12 +08:00
Xi Ruoyao
d48812dca9
afterlfs: "Work remotely via SSH" does not strictly need wget 2023-09-24 20:07:32 +08:00
Xi Ruoyao
f510f26b2d
/etc/os-release: Add HOME_URL field
It's used by AppStream in BLFS for calculating the ID of the operating
system.
2023-09-19 03:56:33 +08:00
Bruce Dubbs
01332d3b2a Use GB for kernel build size 2023-09-18 10:58:00 -05:00
Xi Ruoyao
67ad464981
Update Linux kernel SBU and DU
The old values were measured with -j1, it's out of sync with our
conventions now.
2023-09-18 20:39:03 +08:00
Xi Ruoyao
490a50a520
Package updates
- Update to linux-6.5.3 (#5343)
- Update to iana-etc-20230912 (#5006)
- Update to iproute2-6.5.0 (#5342)
2023-09-17 23:45:09 +08:00
Xi Ruoyao
808bc9406b
hostreqs: Raise GCC minimal version to 5.2
Pass 1 GCC FTBFS with system GCC 5.1.

Link: https://gcc.gnu.org/PR65801
Link: https://lists.linuxfromscratch.org/sympa/arc/lfs-support/2023-09/msg00005.html
2023-09-17 19:54:22 +08:00
Xi Ruoyao
d269e20dcb
chapter05/libstdc++: Remove one more .la file 2023-09-15 19:27:41 +08:00
Xi Ruoyao
ba40e32566
systemd: Use NSS modules provided by systemd in nsswitch.conf
It allows a simplification to /etc/hosts.  Also correct some info about
FQDN in both sysv and systemd.
2023-09-14 16:50:37 +08:00
Xi Ruoyao
efd11134bb
Glibc: Fix CVE-2023-4806 2023-09-14 14:32:37 +08:00
Xi Ruoyao
b91b12adf3
git-version: Always skip creating version.ent if LFS-RELEASE exists 2023-09-13 16:08:06 +08:00
Xi Ruoyao
80da60f0c0
stripping: Compress the kept debug info with Zlib 2023-09-13 15:39:25 +08:00
Xi Ruoyao
48d8f5a51d
glibc: Fix CVE-2023-4527 2023-09-13 14:32:19 +08:00
Xi Ruoyao
c858ba4e17
build: Add "make dist"
For creating a tarball without .git directory easier.  The tarball will
include version.ent and LFS-RELEASE files so the book rendered from it
won't show "unknown" for all dates.
2023-09-13 14:10:38 +08:00
Xi Ruoyao
a9dc9724ae
git-version: Make shebang #!/bin/bash
There is some bash-ism in the script.
2023-09-13 14:02:32 +08:00
Pierre Labastie
e0a942748e Make /dev/shm mount and umount verbose
Almost all commands in lfs are verbose. Don't know why these ones
were not.
2023-09-12 19:02:18 +02:00
Thomas Trepl
c5fe6ee346 Do not retrieve yr from sysdate 2023-09-11 13:18:30 +02:00
Thomas Trepl
0627fc2281 Fix hardcoded copyright year 2023-09-11 11:26:10 +02:00
Xi Ruoyao
cb6fcea9bf
binutils-pass2: Minor reword 2023-09-10 15:25:04 +08:00
Xi Ruoyao
ab31b973c8
chapter08: Make Installed "program(s)/library(ies)/directory(ies)" consistently lowercase 2023-09-09 14:51:24 +08:00
Xi Ruoyao
6c51e5ce7b
perl: Move some explanations from Chapter 8 to Chapter 7
Explain switches once they show up first time.
2023-09-09 14:46:02 +08:00
Douglas R. Reno
1f20176cfb util-linux: minor grammar reword 2023-09-09 01:08:20 -05:00
Xi Ruoyao
c7df34cbc5
mpfr: 4.2.1 has 198 tests 2023-09-09 03:15:32 +08:00
Xi Ruoyao
9f9a9b4950
binutils-pass2: Reword the paragraph about libtool workaround
Well, I was blaming libtool too much.  If the entire Binutils tree uses
libtool this won't happen.  The problem is Binutils building system is
using libtool-style idiom on non-libtool components.

And this issue is not related to cross compiling, at all.  A native
build can exploit the issue as well (see the updated comment).

Maybe I'll submit a patch to GCC (yes, not a typo, GCC is the upstream
of Binutils building system) to fix the issue when I have the mood...
2023-09-08 21:49:06 +08:00
Xi Ruoyao
aa5fa04a5a
coreutils: Drop gl_cv_macro_MB_CUR_MAX_good override
It's not needed anymore with 9.4.
2023-09-08 17:10:14 +08:00
Xi Ruoyao
ae802cf97d
whatsnew: Align package names with <title>s in package pages
It makes the package names more consistent, and it reduces the number of
different msgid's for translators.

By the way, move Udev to keep alphabetic order.
2023-09-08 16:13:37 +08:00
Xi Ruoyao
93f077212e
packages: Add kmod home page 2023-09-08 15:52:08 +08:00
Xi Ruoyao
6ad40199fc
Add some missed whatsnew and changelog entries 2023-09-07 20:01:00 +08:00
Xi Ruoyao
7de7690181
pkgconf: Hotfix for a regression breaking BLFS packages
Link: https://github.com/pkgconf/pkgconf/issues/317
2023-09-07 19:57:19 +08:00
Xi Ruoyao
26d11785ec
changelog: Fix typo 2023-09-06 15:55:07 +08:00
Xi Ruoyao
313a035b10
dependencies: Zstd should be in binutils-rundeps too 2023-09-06 12:05:04 +08:00
Xi Ruoyao
e8f0a1b1da
util-linux: Use 2^128 instead of "340 trillion trillion trillion" 2023-09-05 18:52:14 +08:00
Xi Ruoyao
5f36bceaa9
Package updates
- Update to linux-6.5.1 (#5332)
- Update to pkgconf-2.0.3 (#5339)
- Update to dbus-1.14.10 (#5337)
2023-09-05 18:20:24 +08:00
Xi Ruoyao
b1b9182671
chapter08: Move pkgconf before binutils
It allows binutils to link to zstd, so binutils will have
zstd-compressed debug section support (the compression is not enabled
by default but can be enabled via LDFLAGS etc. if wanted).

We also need to add libzstd.so.&zstd-version; into online_usrlib to
prevent a crash in stripping.
2023-09-05 18:19:55 +08:00
Bruce Dubbs
1ec60f1daf Move a caution to a better page.
Move caution regarding building by mixing
different versions of LFS to General Compilation Instructions.
2023-09-04 15:08:43 -05:00
Xi Ruoyao
26c031abf9
dependencies: Add patchutils as check optional dependency
The configure script says:

    configure: WARNING: filterdiff not installed; build will not be
    reproducible.

The filterdiff program is a part of patchutils.
2023-09-04 17:49:55 +08:00
Xi Ruoyao
ffecb9ef81
systemd: Slightly adjust the desc for -Dnobody-group 2023-09-03 03:40:13 +08:00
Xi Ruoyao
62a4fea4be
currency: Remove stale lfs-latest.php and symlink lfs-latest-git.php to it
It just does not make sense to keep a completely useless script here...
2023-09-03 03:30:43 +08:00
Xi Ruoyao
815b4a786d
zlib: Switch to https://zlib.net/fossils
See added comment for rationale.

I've "diff -Naur"ed extracted zlib-1.3.tar.xz and zlib-1.3.tar.gz and
there is no difference.
2023-09-03 03:25:07 +08:00
Pierre Labastie
1a77fa6edd Fix zlib download url
We may want to use either archive or github. But right now, use
directly zlib.net...
2023-09-02 19:33:50 +02:00
Xi Ruoyao
eae99efe05
changelog: Fix vim version string 2023-09-03 00:49:07 +08:00
Xi Ruoyao
1b807632f6
Add --no-cache-dir into pip3 wheel commands for Python modules 2023-09-03 00:48:20 +08:00
Bruce Dubbs
3864d235cf Package updates and misc upates/typos.
Update to vim-1837.$
Update to zlib-1.3.$
Update to wheel-0.41.2 (Python Module).$
Update to util-linux-2.39.2.$
Update to sysvinit-3.08.$
Update to shadow-4.14.0.$
Update to Python-3.11.5.$
Update to procps-ng-4.0.4.$
Update to pkgconf-2.0.2.$
Update to mpfr-4.2.1.$
Update to kbd-2.6.2.$
Update to gzip-1.13.$
Update to coreutils-9.4.$
Specify the 'nobody-group' for systemd.$
Remove unused usb group.$
2023-09-02 08:54:55 -05:00
Xi Ruoyao
fd409751bf
Revert "openssl: Add a warning about minor version bump and OpenSSH"
This reverts commit ad09ba40a1.
This reverts commit bbaf00d415.

No longer needed with OpenSSH-9.4 or later.
2023-09-02 17:23:57 +08:00