99 Commits

Author SHA256 Message Date
aa55ce093e Accepting request 1281220 from home:mschreiner:branches:Base:System
- Migrate away from update-alternatives (bsc#1240101).
  tar-rmt now conflicts with other providers of /usr/bin/rmt.
- Upon installation of the newer packages, the tar-rmt alternatives
  are purged from the system.

OBS-URL: https://build.opensuse.org/request/show/1281220
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=135
2025-05-29 20:48:16 +00:00
db0c4bffb8 Accepting request 1186696 from home:ateixeira:branches:Base:System
- Updated tar-fix-extract-unlink.patch
  * Replace patch with an equivalent upstreamed commit
  * Fixes bsc#1225407

OBS-URL: https://build.opensuse.org/request/show/1186696
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=133
2024-07-15 19:01:42 +00:00
Danilo Spinella
7b696d6930 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
2639a2e5a7 - 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
82dbea1f71 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
26c7714761 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
dc9325fbe9 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
3af20a7e22 * 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
b250a381d4 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
0583ca8f78 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
Danilo Spinella
5a912581f0 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
Danilo Spinella
9448ade4d7 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
51bc3094a7 - 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
7c7e34ab8f - 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
58262308bd - 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
34623f2bdc 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
Danilo Spinella
8a1c5963a1 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
Danilo Spinella
56814cdb7b 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
Danilo Spinella
7b7cd18553 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
045478078f 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
ce9ae86797 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
5746041da1 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
db3e8e6976 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
fac539e62d 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
68a1746609 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
cb6607e378 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
2cd6720792 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
8950f509b9 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
f9207c689a 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
6b8480daf0 Accepting request 593416 from home:kukuk:branches:Base:System
- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/593416
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=85
2018-04-09 09:41:22 +00:00
fca8b7d2b6 Accepting request 561814 from home:kstreitova:branches:Base:System
- add tar-1.30-tests-difflink.patch to fix difflink.at test
  (https://www.mail-archive.com/bug-tar@gnu.org/msg05440.html)

OBS-URL: https://build.opensuse.org/request/show/561814
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=84
2018-01-05 09:58:45 +00:00
4f7a57484a Accepting request 560965 from home:avindra
- GNU tar 1.30:
  * Member names containing '..' components are now skipped when
    extracting.
  * Report erroneous use of position-sensitive options.
  * --numeric-owner now affects private headers too.
  * Fixed the --delay-directory-restore option
  * The --warnings=failed-read option
  * The --warnings=none option now suppresses all warnings
  * Fix reporting of hardlink mismatches during compare
- cleanup with spec-cleaner
- switch all urls to https
- drop upstreamed patches
  * add-return-values-to-backup-scripts.patch
  * tar-1.29-extract_pathname_bypass.patch
- rebase add_readme-tests.patch

OBS-URL: https://build.opensuse.org/request/show/560965
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=83
2018-01-04 13:04:08 +00:00
7a72b379b7 Accepting request 489621 from home:kstreitova:branches:Base:System
- remove tar-1.26-remove_O_NONBLOCK.patch as this issue was fixed
  in tar 1.27 (commit 03858cf583ce299b836d8a848967ce290a6bf303)

OBS-URL: https://build.opensuse.org/request/show/489621
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=80
2017-04-20 14:01:51 +00:00
a0b55f88cb Accepting request 484838 from home:svalx
- Use update-alternatives according to current documentation

- Disable tar-1.26-remove_O_NONBLOCK.patch - this issue has been
  fixed in tar-1.27
- backup-scripts subpackage change to noarch
- Change rpm group of tar-tests to Development/Tools/Other 
- Enable rmt building, change package description
- Switch rmt to alternatives system
- Separate rmt subpackage - it can be used by different archiving
  tools as a dedicated program
- Change rmt path to /usr/bin folder - it can be used by non privileged
  users for backup purposes. Security is controlled by access rights to
  the targets and remote shell.
- Separate doc subpackage
- Remove conditions for old SUSE builds and lang subpackage
- Rename restore script to restore.sh for avoiding file conflicts
  with dump/restore

OBS-URL: https://build.opensuse.org/request/show/484838
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=79
2017-04-20 12:46:48 +00:00
8a3734461c Accepting request 482270 from home:kstreitova:branches:Base:System
- move binaries from /bin to /usr/bin [bsc#1029977]
  * refresh tar-backup-spec-fix-paths.patch to change path of the
    tar binary from TAR=/bin/tar to TAR=/usr/bin/tar
- use spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/482270
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=77
2017-03-27 14:10:00 +00:00
9ea6640708 Accepting request 446474 from home:vitezslav_cizek:branches:Base:System
- update tar-1.29-extract_pathname_bypass.patch to the upstream
  one that fixes POINTYFEATHER issue but it doesn't limit append or
  create operations as the initial patch did [bsc#1012633]
  [CVE-2016-6321]

OBS-URL: https://build.opensuse.org/request/show/446474
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=75
2016-12-16 07:58:32 +00:00
1a0c65fe56 Accepting request 439571 from home:kstreitova:branches:Base:System
- add tar-1.29-extract_pathname_bypass.patch to fix POINTYFEATHER
  vulnerability - GNU tar archiver can be tricked into extracting 
  files and directories in the given destination, regardless of the 
  path name(s) specified on the command line [bsc#1007188] 
  [CVE-2016-6321]

OBS-URL: https://build.opensuse.org/request/show/439571
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=73
2016-11-10 22:20:00 +00:00
9004847232 Accepting request 398627 from home:AndreasStieger:branches:Base:System
GNU tar 1.29

OBS-URL: https://build.opensuse.org/request/show/398627
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=71
2016-06-02 14:36:50 +00:00
319ec5fd64 Accepting request 378522 from home:svalx
OBS-URL: https://build.opensuse.org/request/show/378522
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=69
2016-03-29 19:54:20 +00:00
Stephan Kulow
eadaf8d557 Accepting request 295672 from home:vitezslav_cizek
- Revert tar-recursive--files-from.patch because it causes regression
  (bnc#918487, bnc#919233)

OBS-URL: https://build.opensuse.org/request/show/295672
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=67
2015-04-13 19:14:23 +00:00
504ef3b208 Accepting request 284874 from home:vitezslav_cizek:branches:Base:System
- extract files recursively with --files-from (bnc#913058)
  * added tar-recursive--files-from.patch
- call autoreconf in %prep

OBS-URL: https://build.opensuse.org/request/show/284874
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=65
2015-02-11 13:04:27 +00:00
2fe1989868 Accepting request 266046 from home:msmeissn:branches:Base:System
- build with PIE

OBS-URL: https://build.opensuse.org/request/show/266046
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=63
2014-12-21 16:04:45 +00:00
Vítězslav Čížek
a980c851ee Accepting request 262524 from home:AndreasStieger:branches:Base:System
- compile in ACLs, Xattr and selinux support [boo#906413]

OBS-URL: https://build.opensuse.org/request/show/262524
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=61
2014-11-21 11:49:21 +00:00
Vítězslav Čížek
8769c6ab38 Accepting request 246894 from home:jengelh:branches:Base:System
- Improve on RPM group classification

OBS-URL: https://build.opensuse.org/request/show/246894
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=59
2014-08-30 12:34:29 +00:00
Vítězslav Čížek
361c65675d Accepting request 243496 from home:AndreasStieger:branches:Base:System
GNU tar 1.28

OBS-URL: https://build.opensuse.org/request/show/243496
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=57
2014-08-03 09:54:51 +00:00
Stephan Kulow
47f682c984 Accepting request 242864 from home:vitezslav_cizek:branches:Base:System
- don't print lone zero blocks warning (bnc#881863)
  * there are many tar implementations around that create invalid
    archives with a zero block in the middle
  * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=235820
  * added tar-ignore_lone_zero_blocks.patch from Fedora

OBS-URL: https://build.opensuse.org/request/show/242864
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=55
2014-07-29 19:30:27 +00:00
d592667d90 Accepting request 227619 from home:vitezslav_cizek:branches:Base:System
- fix an infinite loop in handle_option (bnc#867919 and bnc#870422)
  * added tar-fix_eternal_loop_in_handle_option.patch

OBS-URL: https://build.opensuse.org/request/show/227619
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=53
2014-03-28 10:52:45 +00:00
Vítězslav Čížek
77515809e3 Accepting request 213373 from home:llipavsky:branches:Base:System
Add patch name into changes file to comply with the requirements

OBS-URL: https://build.opensuse.org/request/show/213373
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=51
2014-01-09 20:36:31 +00:00
Vítězslav Čížek
b2e513f21b Accepting request 213314 from home:llipavsky:branches:Base:System
add tests subpackage.
* It is the same testsuite that is run during make check.
* It is now possible to run it in real system to verify that
  nothing is broken by incompatible libraries, etc.

This change allows QA to run the testsuite.

OBS-URL: https://build.opensuse.org/request/show/213314
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=50
2014-01-09 15:04:50 +00:00
44a501a90b Accepting request 207707 from home:AndreasStieger:branches:Base:System
update to 1.27.1

OBS-URL: https://build.opensuse.org/request/show/207707
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=49
2013-11-20 08:49:43 +00:00