SHA256
3
0
forked from pool/tar
Commit Graph

162 Commits

Author SHA256 Message Date
Ana Guerrero
34456a2a40 Accepting request 1154619 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1154619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=84
2024-03-05 17:46:49 +00:00
Danilo Spinella
c02ef8a0de Accepting request 1150739 from home:dspinella:branches:Base:System
- Fix CVE-2023-39804, Incorrectly handled extension attributes in PAX
  archives can lead to a crash, bsc#1217969

OBS-URL: https://build.opensuse.org/request/show/1150739
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=131
2024-02-26 10:43:08 +00:00
Ana Guerrero
5c3c9fcbbb Accepting request 1131652 from Base:System
- GNU tar 1.34:
  * Fail when building GNU tar if the platform supports 64-bit
    time_t but the build only uses 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.
  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

OBS-URL: https://build.opensuse.org/request/show/1131652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=83
2023-12-10 18:39:30 +00:00
bb08b02535 - Added patch:
* add_forgotten-tests.patch: added 2 tests that upstream forgot in the release.

OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=129
2023-12-07 16:19:16 +00:00
d8cbce283c Accepting request 1131478 from home:smolsheep:upgrades
- GNU tar 1.34:
  * Fail when building GNU tar if the platform supports 64-bit
    time_t but the build only uses 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.
  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 slash 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.
- Update patch:
  * tar-backup-spec-fix-paths.patch: upstream fixed 2/3rd of paths
  * tar-fix-extract-unlink.patch
    some of this is overwritten by bsc1202436-1 and some was fixed
    upstream
  * add_readme-tests.patch as Makefile.in no longer exists
- Removed:
  * tar-fix-race-condition.patch
  * tar-avoid-overflow-in-symlinks-tests.patch
  * bsc1200657.patch
  * bsc1202436-2.patch
  * bsc1202436-1.patch

OBS-URL: https://build.opensuse.org/request/show/1131478
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=128
2023-12-07 15:47:00 +00:00
Dominique Leuenberger
0a024dcd77 Accepting request 1101756 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1101756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=82
2023-08-04 13:02:29 +00:00
44e994cecb Accepting request 1100663 from home:Andreas_Schwab:Factory
- Run testsuite also on qemu build

OBS-URL: https://build.opensuse.org/request/show/1100663
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=126
2023-07-29 08:30:57 +00:00
Ana Guerrero
fb13379ae7 Accepting request 1099736 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1099736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=81
2023-07-24 16:11:38 +00:00
8426ec0588 Accepting request 1099706 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Update tests-skip-time01-on-32bit-time_t.patch to not run test
  on armv6 either

OBS-URL: https://build.opensuse.org/request/show/1099706
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=124
2023-07-20 12:08:32 +00:00
Dominique Leuenberger
f31747da20 Accepting request 1068196 from Base:System
- Fix CVE-2022-48303, tar has a one-byte out-of-bounds read that
  results in use of uninitialized memory for a conditional jump
  (CVE-2022-48303, bsc#1207753)
  * fix-CVE-2022-48303.patch
- Fix hang when unpacking test tarball, bsc#1202436
  * bsc1202436.patch
  * bsc1202436-1.patch
  * bsc1202436-2.patch
  * go-testsuite-test-hang.patch

OBS-URL: https://build.opensuse.org/request/show/1068196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=80
2023-03-02 22:01:48 +00:00
65fd109a09 * bsc1202436.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=122
2023-02-28 14:23:31 +00:00
3a08e2884b Accepting request 1067037 from home:dspinella:branches:Base:System
* bsc1202436-2.patch
  * go-testsuite-test-hang.patch

OBS-URL: https://build.opensuse.org/request/show/1067037
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=121
2023-02-23 14:09:58 +00:00
87aff9e33b Accepting request 1065759 from home:dspinella:branches:Base:System
- Fix CVE-2022-48303, tar has a one-byte out-of-bounds read that
  results in use of uninitialized memory for a conditional jump
  (CVE-2022-48303, bsc#1207753)
  * fix-CVE-2022-48303.patch
- Fix hang when unpacking test tarball, bsc#1202436
  * remove bsc1202436.patch
  * bsc1202436-1.patch
  * bsc1202436-1.patch

OBS-URL: https://build.opensuse.org/request/show/1065759
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=120
2023-02-18 16:33:21 +00:00
Dominique Leuenberger
aebbcd9b87 Accepting request 1055858 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1055858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=79
2023-01-07 16:15:42 +00:00
Danilo Spinella
f78b56f65a Accepting request 1055744 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1055744
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=118
2023-01-04 14:19:00 +00:00
Dominique Leuenberger
04be33ef31 Accepting request 1032467 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1032467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=78
2022-11-02 11:46:18 +00:00
Danilo Spinella
1a8b3bd277 Accepting request 1031561 from home:dspinella:branches:Base:System
- Fix unexpected inconsistency when making directory, bsc#1203600
  * tar-avoid-overflow-in-symlinks-tests.patch
  * tar-fix-extract-unlink.patch
- Update race condition fix, bsc#1200657
  * tar-fix-race-condition.patch
- Refresh bsc1200657.patch

OBS-URL: https://build.opensuse.org/request/show/1031561
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=116
2022-10-31 11:54:41 +00:00
Dominique Leuenberger
a367be0b87 Accepting request 998566 from Base:System
- drop tar-recursive--files-from.patch (causes bsc#918487) 

- bsc1200657.patch was previously incomplete leading to deadlocks
  * bsc#1202436
  * bsc1200657.patch updated

- Fix race condition while creating intermediate subdirectories,
  bsc#1200657
  * bsc1200657.patch

OBS-URL: https://build.opensuse.org/request/show/998566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=77
2022-08-25 13:08:47 +00:00
7496b23bf2 OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=114 2022-08-22 06:39:15 +00:00
846ce4e4b1 - drop tar-recursive--files-from.patch (causes bsc#918487)
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=113
2022-08-20 06:23:57 +00:00
26760bfd9e - drop tar-recursive--files-from.patch (causes regression)
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=112
2022-08-20 06:23:33 +00:00
1335d7f7b4 - bsc1200657.patch was previously incomplete leading to deadlocks
* bsc#1202436
  * bsc1200657.patch updated

- Fix race condition while creating intermediate subdirectories,
  bsc#1200657
  * bsc1200657.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=111
2022-08-20 06:22:41 +00:00
Dominique Leuenberger
c66637209e Accepting request 970779 from Base:System
OBS-URL: https://build.opensuse.org/request/show/970779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=76
2022-04-23 17:44:52 +00:00
362547bf6b Accepting request 969614 from home:firstyear:branches:Base:System
- Add recommends to zstd, a modern fast compression type.

OBS-URL: https://build.opensuse.org/request/show/969614
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=109
2022-04-19 12:12:02 +00:00
Dominique Leuenberger
d16a88e75b Accepting request 930831 from Base:System
OBS-URL: https://build.opensuse.org/request/show/930831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=75
2021-11-11 20:36:20 +00:00
Danilo Spinella
4b242e5455 Accepting request 930816 from home:dspinella:branches:Base:System
- Add missing CVE in the changes

OBS-URL: https://build.opensuse.org/request/show/930816
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=108
2021-11-11 10:17:15 +00:00
Dominique Leuenberger
88bab893d9 Accepting request 925262 from Base:System
OBS-URL: https://build.opensuse.org/request/show/925262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=74
2021-11-05 21:58:17 +00:00
Danilo Spinella
b0ec1ff6ec Accepting request 925252 from home:berny:branches:Base:System
- tests-skip-time01-on-32bit-time_t.patch: Add patch to skip test
  'tests/time01.at' on platforms with 32-bit time_t for now.
- tar.spec: Reference it.
  (%check): Output the testsuite.log in case the testsuite failed.

OBS-URL: https://build.opensuse.org/request/show/925252
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=107
2021-10-14 13:01:22 +00:00
Richard Brown
51d676210f Accepting request 924177 from Base:System
OBS-URL: https://build.opensuse.org/request/show/924177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=73
2021-10-08 20:04:36 +00:00
Danilo Spinella
674513b05a Accepting request 924176 from home:dspinella:branches:Base:System
- The following issues have already been fixed in this package but
  weren't previously mentioned in the changes file:
  * bsc#1181131
  * bsc#1120610

OBS-URL: https://build.opensuse.org/request/show/924176
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=106
2021-10-08 10:12:05 +00:00
Dominique Leuenberger
e48c97940d Accepting request 899901 from Base:System
OBS-URL: https://build.opensuse.org/request/show/899901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=72
2021-06-20 17:37:45 +00:00
3deee6047a Accepting request 898795 from home:wfrisch:branches:Base:System
Link /var/lib/tests/tar/bin/genfile as Position-Independent Executable
  (bsc#1184124).
  + tar-PIE.patch

OBS-URL: https://build.opensuse.org/request/show/898795
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=104
2021-06-14 08:38:12 +00:00
Richard Brown
3f10ae9b7f Accepting request 872658 from Base:System
OBS-URL: https://build.opensuse.org/request/show/872658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=71
2021-02-22 13:22:07 +00:00
9f0ea28535 Accepting request 872183 from home:AndreasStieger:branches:Base:System
GNU tar 1.34

OBS-URL: https://build.opensuse.org/request/show/872183
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=102
2021-02-15 21:59:12 +00:00
Dominique Leuenberger
67762d7d94 Accepting request 862147 from Base:System
OBS-URL: https://build.opensuse.org/request/show/862147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=70
2021-01-22 20:48:56 +00:00
72b014a062 Accepting request 861872 from home:AndreasStieger:branches:Base:System
GNU tar 1.33

OBS-URL: https://build.opensuse.org/request/show/861872
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=100
2021-01-10 19:47:31 +00:00
Dominique Leuenberger
3331317289 Accepting request 850276 from Base:System
OBS-URL: https://build.opensuse.org/request/show/850276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=69
2020-11-26 22:09:31 +00:00
77ca2c61db Accepting request 849684 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849684
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=98
2020-11-23 17:32:25 +00:00
Dominique Leuenberger
a72e00036e Accepting request 794656 from Base:System
OBS-URL: https://build.opensuse.org/request/show/794656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=68
2020-04-23 16:24:58 +00:00
91a4ef9324 Accepting request 791113 from home:dimstar:Factory
- Drop Requires(pre) info in the preamble: the main package does
  not contain any info files, and has not even a pre script. The
  -doc subpackage already has the correct deps.

OBS-URL: https://build.opensuse.org/request/show/791113
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=96
2020-04-16 20:04:57 +00:00
Dominique Leuenberger
8f05081195 Accepting request 769386 from Base:System
OBS-URL: https://build.opensuse.org/request/show/769386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=67
2020-02-09 20:01:23 +00:00
f5573584b9 Accepting request 769163 from home:iznogood:branches:Base:System
- No longer recommend -lang: supplements are in use.

OBS-URL: https://build.opensuse.org/request/show/769163
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=94
2020-02-02 19:29:42 +00:00
Dominique Leuenberger
7a7338000d Accepting request 705919 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/705919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=66
2019-06-12 10:59:05 +00:00
8cdc013b08 OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=92 2019-03-29 10:45:26 +00:00
1bd812a9d0 Accepting request 688646 from home:kstreitova:branches:Base:System
- update to version 1.32
  * Fix the use of --checkpoint without explicit --checkpoint-action
  * Fix extraction with the -U option
  * Fix iconv usage on BSD-based systems
  * Fix possible NULL dereference (savannah bug #55369)
    [bsc#1130496] [CVE-2019-9923]
  * Improve the testsuite
- remove tar-1.31-tests_dirrem.patch and 
  tar-1.31-racy_compress_tests.patch that are no longer needed
  (applied usptream)

OBS-URL: https://build.opensuse.org/request/show/688646
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=91
2019-03-29 10:38:10 +00:00
Dominique Leuenberger
228c9b1c2b Accepting request 688152 from Base:System
OBS-URL: https://build.opensuse.org/request/show/688152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=65
2019-03-27 15:13:23 +00:00
0f2c43429d Accepting request 685375 from home:elvigia:branches:Base:System
- Remove libattr-devel from buildrequires, tar no longer uses 
  it but finds xattr functions in libc.

OBS-URL: https://build.opensuse.org/request/show/685375
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=89
2019-03-25 09:36:40 +00:00
f96982bade Accepting request 676145 from home:kstreitova:branches:Base:System
- update to version 1.31
  * Fix heap-buffer-overrun with --one-top-level, bug introduced
    with the addition of that option in 1.28
  * Support for zstd compression
  * New option '--zstd' instructs tar to use zstd as compression
    program. When listing, extractng and comparing, zstd compressed
    archives are recognized automatically. When '-a' option is in
    effect, zstd compression is selected if the destination archive
    name ends in '.zst' or '.tzst'.
  * The -K option interacts properly with member names given in the
    command line. Names of members to extract can be specified along
    with the "-K NAME" option. In this case, tar will extract NAME
    and those of named members that appear in the archive after it,
    which is consistent with the semantics of the option. Previous
    versions of tar extracted NAME, those of named members that
    appeared before it, and everything after it.
  * Fix CVE-2018-20482 - When creating archives with the --sparse
    option, previous versions of tar would loop endlessly if a
    sparse file had been truncated while being archived.
- remove the following patches (upstreamed)
  * tar-1.30-tests-difflink.patch
  * tar-1.30-tests_dirrem_race.patch
- refresh add_readme-tests.patch 
- add tar-1.31-tests_dirrem.patch to fix expected output in dirrem
  tests
- add tar-1.31-racy_compress_tests.patch to fix compression tests

OBS-URL: https://build.opensuse.org/request/show/676145
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=88
2019-02-20 13:12:44 +00:00
Dominique Leuenberger
ffd7b651c3 Accepting request 606478 from Base:System
OBS-URL: https://build.opensuse.org/request/show/606478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=64
2018-05-16 09:21:15 +00:00
c43661598f Accepting request 606438 from home:kstreitova:branches:Base:System
- add tar-1.30-tests_dirrem_race.patch to fix race in dirrem01 and
  dirrem02 tests that were passing/failing randomly because of that
- run spec-cleaner
- renumber patches

OBS-URL: https://build.opensuse.org/request/show/606438
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=86
2018-05-11 15:18:25 +00:00