Please see the discussions about this patch series here:
https://lists.ipfire.org/pipermail/development/2022-November/014714.html
and here:
https://lists.ipfire.org/pipermail/development/2022-November/014887.html
During building 'rust 1.65', I always got:
...
error: invalid inclusion of reserved file name Cargo.toml.orig in
package source
...
[Build stops]
After a rather frustrating while, I decided to delete this file during building the particular crate file.
Fun! Building completed without errors.
For now, I added an appropriate if-statement in each crate file which contains 'Cargo.toml.orig'.
If 'Cargo-toml.orig' is present: delete it. Just throw it away.
It might be that there is a more elegant way to do this - if 'someone' has a better solution, please
submit an easier patch.
I searched a few days, but didn't find ANY clue what is going on here.
All I can say: building runs. No more errors or breaks. Nothing.
Please test and confirm.
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.
While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.
Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.
In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.
Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.
There is no need in shipping all these files en bloc, as their
functionality won't change.
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>