Commit Graph

23 Commits

Author SHA1 Message Date
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
Adolf Belka
388408cfe4 e2fsprogs: Update to version 1.46.5
- Update from 1.46.3 to 1.46.5
- Update of rootfile not required
- Changelog
  1.46.5 (December 30, 2021)
    Updates/Fixes since v1.46.4:
    UI and Features
     When resizing a file system and the inode count exceeds the 2**32
      maximum, if resize2fs can successfully perform the resize by dropping
      the last block group, resize2fs will do that in order to allow the file
      system grow operation to succeed.  For example, using the default inode
      ratio size of 16k, this will allow a successful resize to 64TB - 128MB
      when the storage device is 64TB.
    Fixes
     Avoid a potential infinite loop in resize2fs -P when the file system is
      corrupted (introduced in e2fsprogs 1.45.5).  (Addresses github issue
      https://github.com/tytso/e2fsprogs/issues/94)
     E2fsck now updates the bg_checksum after fixing problems in the block
      group descriptor, which eliminates some unnecessary messages printed or
      asked of the system administrator.
     Fixed some potential deadlock problems in the unix_io handler in the case
      of I/O errors.  The fix should also improve the performance of parallel
      bitmap loading.
     Fixed e2fsck's fast commit handling which could result it in crashing
      when trying to merge extents when there were none available to be
      merged.
     Fix e2fsck's support of quota limit data, which could sometimes get
      dropped when the quota data needs to be regenerated, or when processing
      the orphan list.
     Fix tune2fs to correctly transfer the quota limits when converting quota
      files to the internal quota inodes.  Also add support for tune2fs to
      properly handle the older version 0 quota files.
     Fix debugfs's get_quota and list_quota commands so that the header of
      the report printed by these commands correctly reflect that the units of
      used space is in bytes instead of blocks.
    Performance, Internal Implementation, Development Support etc.
     Add some additional packages to the setup-schroot script to account for
      the fact that the script can be run on older Debian distributions and so
      the build dependencies might omit some packages needed to build
      e2fsprogs on unstable version of Debian.
     Reduce resize2fs's CPU overhead when counting the number of blocks in
      use which can reduce the wall clock time for very large file systems
      by substantial amount.
     Teach libuuid to use getrandom() or getentropy() if available in favor
      of reading from /dev/[u]random.
     Teach libss to use libreadline.so.8 if it is available.
     Update some test expect files to fix some regression tests that were
      broken in e2fsprogs 1.46.4.
     If the PRINT_FAILED environment variable is set, failed tests will
      display the diff output to make it easier to debug test failures on
      autobuilders.
     Fix various compiler warnings.
     Update tst_getsize to use ext2fs_get_size2() to support testing devices
      which are larger than 2**32 sectors.
     Fixed spelling mistakes in the mke2fs.conf man page.
     Update Chinese, Malay, Serbian, Spanish, Swedish, and Ukrainian
      translations.
  1.46.4 (August 18, 2021)
    Updates/Fixes since v1.46.3:
    UI and Features
     The defaults for mke2fs now call for 256 byte inodes for all file
      systems (with the exception of file systems for the GNU Hurd, which only
      supports 128 byte inodes).  Creating non-Hurd file systems with 128 byte
      inodes will trigger a warning message to make sure users are aware of
      the potential problems of using small/legacy inode sizes.
     The bigalloc feature is now considered supported if the cluster size no
      more than 16 times the block size.  So the mke2fs program has been
      changes to only warn if the cluster size is larger than that.
    Fixes
     E2fsck now checks to make sure directory entries do not reference
      internal quota inodes.
     E2image now includes the quota inodes when creating file system image,
      since they are part of the file system metadata.
     E2fsck now properly accounts the quota usage of the project quota file.
     Fix a regression introduced in 1.64.3 where attempting to create a file
      system image using mke2fs into a non-existent file would fail.
      (Addresses Debian Bug: #992094)
     Fix mke2fs to correctly create Posix ACL's on big-endian systems when
      copying files from a directory hierarchy.
     Updated and clarified the resize2fs man page.  (Addresses Debian Bug:
      #979411)
    Performance, Internal Implementation, Development Support etc.
     Improve various regression tests to be more portable and to reflect the
      new default inode size of 256 byte inodes, even for small file systems.
     Fixed a GNU Hurd portability problem which was causing tests to fail.
     Fixed a test failure in f_baddotdir on big-endian systems.  This wasn't
      necessarily a bug per se in e2fsck, but rather e2fsck having different
      behaviour on big-endian systems.  (Addresses Debian Bug: #991922)
     Use WantedBy=multi-user.target in e2scrub_reap.service.  (Addresses
      Debian Bug: #991349)
     Synchronize e2fsck/recovery.c with the kernel's fs/jbd2/recovery.c
     Fix various Coverity and compiler warnings.
     Fix various error pathes to make sure we don't leak resources or
      potentially use or try to free uninitialized pointers.
     Added a setup-schroot command for use on Debian porter boxes.
     Updated config.guess and config.sub with newer versions from the FSF.
     Update Czech, Dutch, French, Polish, Portuguese, and Swedish translations.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-01-04 18:11:25 +01:00
Adolf Belka
9566f57327 e2fsprogs: Update to version 1.46.3
- Update from 1.44.4 to 1.46.3
- Update of rootfile
- Changelog from 1.44.4 to 1.46.3 is too long to display.
   Full details can be found at http://e2fsprogs.sourceforge.net/e2fsprogs-release.html
   Most of the 14 version updates have bug fixes in them.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 17:48:28 +00:00
Michael Tremer
69b3d63b82 e2fsprogs: Disable libraries provided by util-linux
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-02 17:40:34 +00:00
Michael Tremer
f21313ccb5 e2fsprogs: Update to 1.44.4
Fixes build with glibc >= 2.28

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-10-19 09:07:56 +01:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Matthias Fischer
8f6e4eaff7 Update for numerous lfs-files: removed deprecated configure options
Also includes some reformatting, but no changes to configuration.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-05 17:02:24 +00:00
Michael Tremer
84fce430a3 e2fsprogs: Fix indentation of makefile
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-03-22 22:21:25 +00:00
Michael Tremer
677fa734b8 e2fsprogs: Only build in own directory
This makes it easier to clean up after the build

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-03-22 22:19:25 +00:00
Marcel Lorenz
bda83227aa e2fsprogs: update to 1.42.13
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-03-22 22:15:30 +00:00
Arne Fitzenreiter
2c9a70d158 e2fsprogs: update to 1.42.6. 2012-10-30 14:57:24 +01:00
Arne Fitzenreiter
67bf5c3a97 Updated e2fsprogs (1.41.11). 2010-04-05 15:59:07 +02:00
ms
f81407fddb A big collection of build errors...
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1035 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-30 19:18:49 +00:00
maniacikarus
34273fd05a Forgot to change the md5
update l7protocols


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1031 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-29 20:20:29 +00:00
maniacikarus
c268e9f208 Updated e2fsprogs postfix dhcpd dhcp fetchmail httpd cpio lame
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1029 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-29 19:57:41 +00:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
c284c7522c Wir nehmen mal die Tools aus der Busybox zum formatieren des ext3.
TESTING.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@673 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-11 13:50:35 +00:00
ms
76ed51e8f6 OpenSwan RC nach den Vorgaben von "affect" installiert.
Zurueck zu ReiserFS, da wir mit Reiser4 noch ein paar Probleme haben und wir die Prioritaeten noch auf andere Sachen legen muessen. :'(


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@445 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-03-11 20:09:05 +00:00
ms
6d9d8b63e8 Eine Menge Buildfixes...
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@348 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-11-21 21:24:16 +00:00
ms
d50b88e8bb Busybox war gegen falsche Libc gelinkt.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@340 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-11-06 18:03:48 +00:00
ms
c66941dd94 Zwischencommit Installer.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@332 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-27 22:01:34 +00:00
ms
9b0ff0a0b6 Zwischencommit beim Umzug auf LFS 6.2.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@299 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-01 10:51:18 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00