Commit Graph

4 Commits

Author SHA1 Message Date
Adolf Belka
f9563f97c6 python3-tomli: Update to version 2.0.1
- Update from 2.0.0 to 2.0.1
- Update of rootfile
- Changelog
     2.0.1
	    Improve
	        Make bundling easier by using relative imports internally and adding
                 license and copyright notice to source files.
	        Make error messages more uniform
	        Raise a friendly TypeError for wrong file mode
	        Allow parse_float to return objects having the append attr
	        Eagerly raise an error if parse_float returns an illegal type
	    Packaging
	        Move from pytest testing framework to unittest and remove python-dateutil
                 test dependency. Tests now only require Python interpreter.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-04-18 21:10:09 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
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>
2022-04-02 14:19:25 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
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>
2022-02-18 23:54:57 +00:00
Adolf Belka
58bc100d9c python3-tomli: Required for build of updated python3-setuptools-scm
- tomli only required for build of python3-setuptools-scm so rootfile has all entries
   commented out.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-11 09:10:25 +00:00