Commit Graph

92 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
d8018f71b3 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
f231c29c9f 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
5e20fdd77c 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
7d385ee2be 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
bb30562f7a 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
1442c057a3 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
2e036aa0fa 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
885805a010 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
ecfd71c5af 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
ef38e164b1 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
d8ff2b6777 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
4239dfae33 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
aef845700e 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
692a3f57dc 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
5ef3dd305d 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
01941e6770 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
41019740c7 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
5f0ee07258 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
adc784ced5 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
4dd080afd0 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
f79e2e82eb Accepting request 204762 from home:AndreasStieger:branches:Base:System
update to 1.27

OBS-URL: https://build.opensuse.org/request/show/204762
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=47
2013-10-25 14:06:49 +00:00
2614f734dc Accepting request 196361 from home:vitezslav_cizek:branches:Base:System
- added fix for paxutils rtapelib which is bundled with tar.
  the very same fix was added to cpio too (bnc#658031)
  * paxutils-rtapelib_mtget.patch

OBS-URL: https://build.opensuse.org/request/show/196361
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=45
2013-08-26 15:13:32 +00:00
fb746d6d26 Accepting request 162764 from home:namtrac:bugfix
- Add Source URL, see https://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/162764
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=43
2013-04-05 11:18:38 +00:00
48e3af5ca4 - Update config.guess/sub for aarch64
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=40
2013-02-03 13:44:11 +00:00
17f4d259c8 Accepting request 128098 from home:a_jaeger:FactoryFix
Fix build failure with glibc 2.16

OBS-URL: https://build.opensuse.org/request/show/128098
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=38
2012-07-17 09:35:28 +00:00
Richard Biener
d7a604e870 Accepting request 122909 from home:rudi_m:branches:Base:System
- avoid automake dependency

OBS-URL: https://build.opensuse.org/request/show/122909
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=37
2012-05-30 14:18:12 +00:00
Petr Uzel
e8b8a4f1c8 Accepting request 114887 from home:elvigia:branches:Base:System
- disable 'runtime checks' in m4/*.m4 that override
  system calls with custom implementations to workaround
  very old kernel/libc bugs (dating 2003-2009)
  we do not ship those buggy components nowdays.

- Switch to default archive type to POSIX.1-2001, which is ten years
  old and has no limits on filesize,filename length etc.

OBS-URL: https://build.opensuse.org/request/show/114887
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=35
2012-04-22 12:42:40 +00:00
9ec2572c38 - tar-1.26-remove_O_NONBLOCK.patch:
don't use O_NONBLOCK as a flag for read,
  when file is offline, read with O_NONBLOCK returns EAGAIN,
  but tar doesn't handle it 
  (bnc#737331)

OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=32
2011-12-27 12:28:15 +00:00
OBS User buildservice-autocommit
75ded69b33 Updating link to change in openSUSE:Factory/tar revision 37.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=cc71d561fb6f0cdadb33f6e5727bd208
2011-12-06 18:07:22 +00:00