Commit Graph

20 Commits

Author SHA1 Message Date
Adolf Belka
b9626030fe tar: Update to version 1.35
- Update from version 1.34 to 1.35
- Update of rootfile not required
- Changelog
    1.35 - Sergey Poznyakoff, 2023-07-18
	* Fail when building GNU tar, if the platform supports 64-bit time_t
	  but the build uses only 32-bit time_t.
	* Leave the devmajor and devminor fields empty (rather than zero) for
	  non-special files, as this is more compatible with traditional tar.
	* Bug fixes
		** Fix interaction of --update with --wildcards.
		** When extracting archives into an empty directory, do not create
		   hard links to files outside that directory.
		** Handle partial reads from regular files.
		** Warn "file changed as we read it" less often.
		   Formerly, tar warned if the file's size or ctime changed.
		   However, this generated a false positive if tar read a file
		   while another process hard-linked to it, changing its ctime.
		   Now, tar warns if the file's size, mtime, user ID, group ID,
		   or mode changes.  Although neither heuristic is perfect,
		   the new one should work better in practice.
		** Fix --ignore-failed-read to ignore file-changed read errors
		   as far as exit status is concerned.  You can now suppress file-changed
		   issues entirely with --ignore-failed-read --warning=no-file-changed.
		** Fix --remove-files to not remove a file that changed while we read it.
		** Fix --atime-preserve=replace to not fail if there was no need to replace,
		   either because we did not read the file, or the atime did not change.
		** Fix race when creating a parent directory while another process is
		   also doing so.
		** Fix handling of prefix keywords not followed by "." in pax headers.
		** Fix handling of out-of-range sparse entries in pax headers.
		** Fix handling of --transform='s/s/@/2'.
		** Fix treatment of options ending in / in files-from list.
		** Fix crash on 'tar --checkpoint-action exec=\"'.
		** Fix low-memory crash when reading incremental dumps.
		** Fix --exclude-vcs-ignores memory allocation misuse.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-08-07 09:17:38 +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
Matthias Fischer
86c8299cd4 tar: Update to 1.34
For details see:
https://lists.gnu.org/archive/html/info-gnu/2021-02/msg00006.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-22 11:27:22 +00:00
Matthias Fischer
6ca3265c41 tar: Update to 1.32
For details see:
http://git.savannah.gnu.org/cgit/tar.git/log/

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-03-02 14:10:39 +00:00
Matthias Fischer
042a5fe60a tar: Update to 1.31, including fix for bug #11958
For details see:

http://savannah.gnu.org/forum/forum.php?forum_id=9344

"- Fix heap-buffer-overrun with --one-top-level.
- Support for zstd compression.
- The -K option interacts properly with member names given in the command line.
- Fix CVE-2018-20482"

This patch was reverted because 'tar 1.31' crashed when installing PakFire packages
with the option '--no-overwrite-dir'.
See: https://bugzilla.ipfire.org/show_bug.cgi?id=11958

Included is now a patch from https://savannah.gnu.org/bugs/?55413, which seems to fix this issue.
The test cases given in https://savannah.gnu.org/bugs/?55413#comment1 ran without problems.

As always, please check and confirm.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-01-07 01:31:43 +00:00
Michael Tremer
d09cb651b5 Revert "tar: Update to 1.31"
This reverts commit bb473fd1d6.

tar crashes when used with --no-overwrite-dir. See #11958.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-01-05 21:11:44 +00:00
Matthias Fischer
bb473fd1d6 tar: Update to 1.31
For details see:
http://savannah.gnu.org/forum/forum.php?forum_id=9344

"- Fix heap-buffer-overrun with --one-top-level.
- Support for zstd compression.
- The -K option interacts properly with member names given in the command line.
- Fix CVE-2018-20482"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-01-04 02:42:40 +00: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
c22976907e tar: Update to 1.30 (V3)
For details see:
https://www.gnu.org/software/tar/

Since new 'tar' has changes in commandline option parsing,
it was necessary to adjust 'lfs/Config, 'lfs/cdrom' and
'lfs/core-updates' (thanks to Marcel for diffs and Michael for
corrections).

I have tried to make only the most necessary changes.

As always, please check.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-06-06 14:03:07 +01:00
Arne Fitzenreiter
5e1f3a9cbc Revert "tar: Update to 1.30"
new tar has changes in commandline option parsing,
this break cdrom build

This reverts commit e77b4e79a9.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-27 19:48:00 +02:00
Matthias Fischer
e77b4e79a9 tar: Update to 1.30
For details see:
https://www.gnu.org/software/tar/

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-27 14:10:35 +01:00
Michael Tremer
2dd9f3b379 Cleanup toolchain scripts
No functional changes, just some tidy up

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-12 12:44:37 +00:00
Michael Tremer
6c4cc7ea1b Move toolchain from /tools to /tools_${arch}
This will allow us to run multiple builds on the same
system at the same time (or at least have them on disk).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-23 15:57:28 +00:00
Arne Fitzenreiter
6949953b7f tar: fix toolchain build 2015-03-29 13:35:16 +02:00
Matthias Fischer
8c80423c12 tar: Update to 1.28 2014-11-22 23:43:46 +01:00
Stefan Schantl
5b92634cdb Updated tar to Version 1.22 2009-03-31 23:01:16 +02: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
90d372c4b4 Naechster Schritt im LFS.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@300 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-01 15:04:23 +00:00
ms
dd714b8aad Habe IPFire auf LFS 6.2 gebracht.
Das hier ist der erste Teil.
Nur Toolchain bisher.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@297 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-09-30 16:33:03 +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