Commit Graph

9008 Commits

Author SHA1 Message Date
Xi Ruoyao
75d26160ce
pkgconf: Update the fix for modversion regression (#5414) 2024-01-22 03:21:08 +08:00
Xi Ruoyao
3baf03a954
Package updates:
- Update to jinja2-3.1.3 (#5411)
- Update to bc-6.7.5 (#5408)
- Update to attr-2.5.2 (#5412)
- Update to ncurses-6.4-20230520 (#5416)
- Update to markupsafe-2.1.4 (#5418)
- Update to linux-6.7.1 (#5406)
- Update to iproute2-6.7.0 (#5410)
- Update to vim-9.1.0041 (#4500)
- Update to iana-etc-20240117 (#5006)
- Update to shadow-4.14.3 (#5413)
2024-01-22 03:21:05 +08:00
Xi Ruoyao
0253841d0f
coreutils: Fix CVE-2024-0684 (#5417) 2024-01-22 00:47:22 +08:00
Xi Ruoyao
943f22504e
ncurses: Use symlinks instead of linker scripts
The effect will not change, but with symlinks ld can save some time
invoking open(), read(), etc. syscalls and parsing the linker scripts.

Note that I've also removed "libcursesw" symlink because this library
has never existed.  Instead libcurses.so is created as a symlink
direct to libncursesw.so.
2024-01-22 00:27:45 +08:00
Xi Ruoyao
d282f88dea
ncurses: Modify the header to always use the ABI of ncursesw
instead of the 8-bit ncurses.

We don't provide the 8-bit ncurses library and we are "faking" it using
ncursesw.  Thus innocent package may be compiled with the 8-bit ABI
(because it does not know what we are doing and so it does not use
the "expected" preprocessor definitions to enable the wide ABI) but
linked against ncursesw, causing a potential ABI mismatch.
2024-01-22 00:27:45 +08:00
Xi Ruoyao
619e4d956f
dependencies: Perl does not need groff for build
Some scripts in Perl mentions groff but they are not used building Perl.
And in the book groff is built after Perl anyway.
2024-01-20 03:05:14 +08:00
Xi Ruoyao
d11a0816d4
Some missed ISO-8859-1 -> UTF-8 changes 2024-01-20 02:07:45 +08:00
Xi Ruoyao
fd02389a51
git-version: Use "-wip" as the version suffix instead of "+" for changes not committed yet
It's not allowed to use "+" in id attributes etc.
2024-01-19 12:23:30 +08:00
Pierre Labastie
8f7d945a66 git-version.sh: revert inadvertent commit 2024-01-18 21:38:50 +01:00
Pierre Labastie
5e423c8031 Change all input encodings to UTF-8 2024-01-18 21:09:26 +01:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Pierre Labastie
2a26a4f5df Remove all &#xxx; occurences
- replace some characters by their utf-8 encoded equivalent (and change
  encoding in the <?xml?> line
- replace &#xa; with a true newline char. This is somewhat more readable
  anyway.
2024-01-18 20:42:26 +01:00
Xi Ruoyao
9512d6c7ba
dejagnu: Move test before install
There seems no reason to test after install...  So just do it like other
packages.
2024-01-19 01:58:28 +08:00
Pierre Labastie
d6cbb12c4c stylesheets: rm code for xlink:href attr in xref elemts
We don't use it and it uses &#40; for opening parenthesis.
I am not sure whether this has some reason or not, but
we want to get reed of &#xx; chars in our change to utf-8,
so easier to remove than to find out why...
2024-01-18 13:11:58 +01:00
Xi Ruoyao
0cbc2c0a04
dependencies: Patch (optionally) uses attr
In chapter 6, patch configure outputs:

    libattr development library was not found or not usable.
    GNU patch will be built without xattr support.

While this is normal in chapter 6 (building a temporary patch), we
should mention this dependency in the dependencies page.
2024-01-18 18:28:27 +08:00
Pierre Labastie
9bbd87ae00 Add a doctype decl to lfs-l10n.xml, for validation
This allows using xmllint --valid on it.
2024-01-18 10:32:31 +01:00
Xi Ruoyao
3626aa3048
Use UTF-8 characters instead of &#...;
This is done via:

    find -name \*.xml -or -name \*.xsl | xargs python3 utf8ize.py

with https://linuxfromscratch.org/~xry111/utf8ize.py.
2024-01-18 15:03:54 +08:00
Pierre Labastie
270b1732aa Reference the docbook-xsl bug at the place we fix it 2024-01-17 14:52:54 +01:00
Pierre Labastie
91f4b2df57 SImplify Makefile now that we have fixed DB-xsl bug 2024-01-17 14:49:48 +01:00
Pierre Labastie
d5fda0bce5 Style sheets: fix docbook-xsl bug in autoidx
The template named generate-basic-index in
{docbook-xsl}/xhtml/autoidx.xsl has a bug that generates a div element
with a wrong xmlns:xlink attribute. See
https://github.com/docbook/xslt10-stylesheets/issues/239.
Rather than fixing docbook-xsl, which would work only in LFS (but we
want to be able to render on other distros), copy the faulty template
to our customization files (lfs-index.xsl), so that this one is used.
We can also simplify it a lot since we don't need all the cases
covered in general docbook-xsl.
2024-01-17 14:41:09 +01:00
Xi Ruoyao
8ba840f34a
Makefile: Unify two sed for removing bogus xmlns:xlink, and link to upstream bug report
Nasty bug :(.
2024-01-15 21:47:38 +08:00
Xi Ruoyao
56eed6c5da
systemd: Update the explanation to match the actual command 2024-01-15 12:36:47 +08:00
Xi Ruoyao
7f6519aad7
udev: Realign the export udev_helpers=... command 2024-01-15 12:30:03 +08:00
Pierre Labastie
b8194e059c make default BASEDIR in public_html
that is:
- ~/public_html/lfs-book for sysv
- ~/public_html/lfs-systemd for systemd
2024-01-14 22:44:14 +01:00
Pierre Labastie
0432a3a1a8 Generate utf-8 for lfs-nochunks too
This involves:
- removing the <xsl:output ...> element from nochunks.xsl
- adding a sed for rmoving the invalid xmlns:xlink attribute
- removing the sed for "&copy;"
2024-01-14 22:36:12 +01:00
Pierre Labastie
855d0c9574 Remove an invalid attribute in longindex.html
For some reason, the stylesheets generate a
<div xmlns:xlink="http://www.w3.org/1999/xlink" ...> element in
longindex.html, but this is not valid in xhtml (the attribute
xmlns=xlink is not defined in the DTD). The problem is that tidy then
thinks it is not a true xhtml and removes the doctype declaration.
But when a browser receives a file without doctype declaration, it
thinks it uses an old standard, and switches to "quirks mode"
(for firefox, this can be seen by typing ctrl-I on the page).
2024-01-14 22:27:37 +01:00
Pierre Labastie
ec18a3872a Makefile: Set tabs to 3 spaces when editing with vi
This allows all editors to have the same settings...
2024-01-14 22:25:07 +01:00
Xi Ruoyao
ce07f91d5e
udev: Drop duplicated udevadm in the ninja command 2024-01-14 17:39:22 +08:00
Pierre Labastie
811d59db8b Nitpick on format
- according to our typography, referring to a manual page should be
  <filename>page(x)</filename>
- don't enclose punctuation into quotes
- use <option> for option
2024-01-11 13:52:28 +01:00
Pierre Labastie
f1370e2fb9 Change C.UTF-8 localedef everywhere 2024-01-11 13:51:15 +01:00
Douglas R. Reno
fecc287280 Fix the definition of the C.UTF-8 locale.
This fixes a test failure in Epiphany.
2024-01-09 11:16:26 -06:00
Thomas Trepl
06e65e8e59 remap=make moves unset command to wrong pos 2024-01-07 11:15:05 +01:00
Xi Ruoyao
33c9cb06d7
systemd: Fix another deprecation warning
Not sure why I didn't catch it...
2024-01-06 11:26:22 +08:00
Xi Ruoyao
164e0ddbce
udev: Unset udev_helpers after installation
Now this variable is exported, thus it might potentially cause unwanted
side effects building other packages.  So unset it after installation.
2024-01-05 03:05:01 +08:00
Pierre Labastie
53ed17c752 export the udev_helpers variable
Since it is needed for both building and installing, exporting it
allows to have it defined even if building as a regular user (so that
sudo is run for installing) or using a package manager (which usually
runs in a new shell and forgets unexported variables)
2024-01-04 19:22:44 +01:00
Bruce Dubbs
acde0a383a Typo 2024-01-04 09:44:21 -06:00
Xi Ruoyao
6fec3f51e7
binutils: Add --enable-default-hash-style=gnu for configure (#5401) 2023-12-31 02:37:07 +08:00
Xi Ruoyao
8b4fb1245d
systemd: Fix CVE-2023-7008 (#5405) 2023-12-31 02:35:25 +08:00
Xi Ruoyao
d4ce302c0e
Package updates
- Update to meson-1.3.1 (#5402)
- Update to vim-9.0.2189 (#4500)
- Update to inetutils-2.5 (#5404)
- Update to xml-parser-2.47 (#5403)
- Update to linux-6.6.8 (#5397)
- Update to tzdata-2023d (#5399)
- Update to setuptools-69.0.3 (#5400)
- Update to iana-etc-20231205 (#5006)
- Update to autoconf-2.72 (#5398)
- Update to grub-2.12 (#5396)
2023-12-31 02:00:59 +08:00
Xi Ruoyao
462ef6dfa4
gen-changelog: Handles holding tickets 2023-12-31 01:09:57 +08:00
Xi Ruoyao
95fc77277a
Remove stray references to TESTSUITEFLAGS
Now TESTSUITEFLAGS is set globally in Chapter 7.4, so there is no need
to mention it again and again in individual packages.
2023-12-23 21:18:07 +08:00
Xi Ruoyao
eea548fb62
symlinks: Fix grammar 2023-12-22 18:22:56 +08:00
Xi Ruoyao
3608380f22
symlinks: Mention how to disable NIC alternative names assignment
Fixes #5394.
2023-12-19 19:50:34 +08:00
Xi Ruoyao
7380559028
systemd: Disable systemd-sysupdate with a better way 2023-12-18 16:38:21 +08:00
Xi Ruoyao
9afac649f2
Update to systemd-255 2023-12-18 16:31:18 +08:00
Bruce Dubbs
81d572d25f Remove invalid revision attribute 2023-12-14 18:49:05 -06:00
Bruce Dubbs
04a7336f88 Package updates.
Update to util-linux v2.39.3.
Update to python3-3.12.1.
Update to linux-6.6.7.
Update to kbd-2.6.4.
Update to bc-6.7.4.
2023-12-14 16:47:50 -06:00
Bruce Dubbs
03682b250c Reformat util-linux configure parameters. 2023-12-14 14:16:13 -06:00
Xi Ruoyao
7cce808a46
kernel-config: The hot key for choices is just the first character
Stupid inconsistency...
2023-12-06 17:26:10 +08:00
Xi Ruoyao
31a9142d10
kernel-config: Sync fixes from BLFS 2023-12-06 01:32:48 +08:00