129 Commits

Author SHA256 Message Date
fa9bbf805e Accepting request 1287924 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1287924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=71
2025-06-24 18:45:13 +00:00
Danilo Spinella
829a84c992 Accepting request 1287903 from home:favogt:branches:Archiving
- Downgrade cpio-mt and rmt recommends to suggests (boo#1244434)

OBS-URL: https://build.opensuse.org/request/show/1287903
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=104
2025-06-23 12:31:01 +00:00
55272d106a Accepting request 1281149 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1281149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=70
2025-06-01 19:36:03 +00:00
99d66e41d8 Accepting request 1281029 from home:mschreiner:branches:Archiving
- Migrate away from update-alternatives (bsc#1240092).
  cpio-mt now conflicts with other providers of /usr/bin/mt.
- Upon installation of the newer packages, the cpio-mt alternatives
  are purged from the system.

OBS-URL: https://build.opensuse.org/request/show/1281029
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=102
2025-05-29 12:44:39 +00:00
463e38ec08 Accepting request 1256007 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1256007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=69
2025-03-26 20:16:09 +00:00
3fe8004f9a Accepting request 1254981 from home:rguenther:branches:Archiving
- Use -std=gnu11 to avoid extra diagnostics when calling an
  unprototyped function which is no longer possible with C23,
  the new default with GCC 15.

OBS-URL: https://build.opensuse.org/request/show/1254981
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=100
2025-03-25 15:13:57 +00:00
dd46091488 Accepting request 1165686 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1165686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=68
2024-04-07 20:04:31 +00:00
f0b4c76a0b Accepting request 1165651 from home:dspinella:branches:Archiving
- Fix build with gcc14, bsc#1221712
  * fix-gcc14.patch

OBS-URL: https://build.opensuse.org/request/show/1165651
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=98
2024-04-05 15:33:26 +00:00
dd54522bea Accepting request 1151175 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1151175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=67
2024-02-28 18:44:19 +00:00
Danilo Spinella
9afd8e10be Accepting request 1151172 from home:dspinella:branches:Archiving
- Use %autopatch instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1151172
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=96
2024-02-26 11:01:31 +00:00
bae9e57435 Accepting request 1144165 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1144165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=66
2024-02-06 15:33:59 +00:00
Danilo Spinella
1256d8e323 Accepting request 1144160 from home:dspinella:branches:Archiving
- Update to 2.15:
  * Fix the operation of --no-absolute-filenames --make-directories.
  * Restore access and modification times of symlinks in copy-in and
    copy-pass modes.
- Remove fix-operation-no-absolute-filenames.patch

  * Rewrite the fix for CVE-2015-1197
- Fix CVE-2023-7207, path traversal vulnerability, bsc#1218571

OBS-URL: https://build.opensuse.org/request/show/1144160
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=94
2024-02-05 10:02:57 +00:00
b4d20642d4 Accepting request 1097980 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1097980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=65
2023-07-12 15:26:43 +00:00
Danilo Spinella
22c1ae7a7b Accepting request 1097979 from home:dspinella:branches:Archiving
- Backport upstream fix for --no-absolute-filenames --make-directories
  * fix-operation-no-absolute-filenames.patch

OBS-URL: https://build.opensuse.org/request/show/1097979
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=92
2023-07-10 14:58:59 +00:00
da82a597eb Accepting request 1094882 from home:dspinella:branches:Archiving
- Update to 2.14:
  * New option --ignore-dirnlink
    Valid in copy-out mode, it instructs cpio to ignore the actual number of
    links reported for each directory member and always store 2 instead.
  * Changes in --reproducible option
    The --reproducible option implies --ignore-dirlink.  In other words, it is
    equivalent to --ignore-devno --ignore-dirnlink --renumber-inodes.
  * Use GNU ls algorithm for deciding timestamp format in -tv mode
  * Fix cpio header verification.
  * Fix handling of device numbers on copy out.
  * Fix calculation of CRC in copy-out mode.
  * Rewrite the fix for CVE-2015-1197.
  * Fix combination of --create --append --directory.
  * Fix appending to archives bigger than 2G.
- Refresh patches:
  * cpio-open_nonblock.patch
  * cpio-dev_number.patch
  * cpio-default_tape_dev.patch
  * cpio-pattern-file-sigsegv.patch
- Remove patches:
  * cpio-revert-CVE-2015-1197-fix.patch
  * fix-CVE-2021-38185.patch
  * fix-CVE-2021-38185_2.patch
  * fix-CVE-2021-38185_3.patch

OBS-URL: https://build.opensuse.org/request/show/1094882
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=91
2023-06-23 13:45:55 +00:00
2fc06cfd44 Accepting request 1055861 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1055861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=64
2023-01-07 16:15:44 +00:00
Danilo Spinella
37ffde795a Accepting request 1052771 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1052771
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=89
2023-01-04 14:19:35 +00:00
6be5ddc271 Accepting request 927973 from Archiving
OBS-URL: https://build.opensuse.org/request/show/927973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=63
2021-11-05 21:58:18 +00:00
Danilo Spinella
f3cbe4f10b Accepting request 927972 from home:dspinella:branches:Archiving
- Update keyring

OBS-URL: https://build.opensuse.org/request/show/927972
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=88
2021-10-28 13:39:05 +00:00
88bc56b34c Accepting request 912912 from Archiving
OBS-URL: https://build.opensuse.org/request/show/912912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=62
2021-08-25 18:55:55 +00:00
Danilo Spinella
db3de40e79 Accepting request 912911 from home:dspinella:cpio-emu
- Fix regression in last update (bsc#1189465)
  * fix-CVE-2021-38185_2.patch
  * fix-CVE-2021-38185_3.patch

OBS-URL: https://build.opensuse.org/request/show/912911
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=87
2021-08-18 14:09:14 +00:00
Danilo Spinella
0459df15f9 Accepting request 911062 from home:dspinella:branches:Archiving
- Fix CVE-2021-38185 Remote code execution caused by an integer overflow in ds_fgetstr
  (CVE-2021-38185, bsc#1189206)
  * fix-CVE-2021-38185.patch

OBS-URL: https://build.opensuse.org/request/show/911062
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=86
2021-08-13 13:56:46 +00:00
ae6c973324 Accepting request 850283 from Archiving
OBS-URL: https://build.opensuse.org/request/show/850283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=61
2020-11-26 22:09:36 +00:00
609dd9aeb9 Accepting request 849580 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849580
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=84
2020-11-23 17:36:32 +00:00
e19d10af6f Accepting request 833785 from Archiving
OBS-URL: https://build.opensuse.org/request/show/833785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=60
2020-09-18 12:26:24 +00:00
548ed33f96 Accepting request 833764 from home:dirkmueller:branches:Archiving
- add cpio-revert-CVE-2015-1197-fix.patch as recommended by upstream
  to fix https://lists.gnu.org/archive/html/bug-cpio/2019-11/msg00016.html

OBS-URL: https://build.opensuse.org/request/show/833764
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=82
2020-09-11 13:03:41 +00:00
bde7a0b69f Accepting request 826878 from home:dirkmueller:branches:Archiving
- update to 2.13:
  * CVE-2015-1197, CVE-2016-2037, CVE-2019-14866 
- remove patches (upstream):
  cpio-2.12-out_of_bounds_write.patch, cpio-2.12-CVE-2019-14866.patch,
  cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch,
  cpio-check_for_symlinks.patch

OBS-URL: https://build.opensuse.org/request/show/826878
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=81
2020-08-19 10:06:19 +00:00
310be5a530 Accepting request 789865 from Archiving
OBS-URL: https://build.opensuse.org/request/show/789865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=59
2020-04-04 10:04:40 +00:00
dcf07c23ad Accepting request 789575 from home:kstreitova:branches:Archiving
- starting with GCC 10, the default of '-fcommon' option will
  change to '-fno-common'. Because cpio build fails with
  'fno-common', add '-fcommon' option to optflags as a temporary
  workaround for this problem till it's properly fixed [bsc#1160870]

OBS-URL: https://build.opensuse.org/request/show/789575
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=79
2020-03-30 17:42:33 +00:00
9088513441 Accepting request 745326 from Archiving
OBS-URL: https://build.opensuse.org/request/show/745326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=58
2019-11-11 11:56:57 +00:00
8dece58268 Accepting request 745252 from home:kstreitova:branches:Archiving
- add cpio-2.12-CVE-2019-14866.patch to fix a security issue where
  cpio does not properly validate the values written in the header
  of a TAR file through the to_oct() function [bsc#1155199] 
  [CVE-2019-14866]

OBS-URL: https://build.opensuse.org/request/show/745252
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=77
2019-11-05 07:29:44 +00:00
adbbd18f3c Accepting request 731959 from Archiving
OBS-URL: https://build.opensuse.org/request/show/731959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=57
2019-09-30 13:47:50 +00:00
8a04d7f6d8 Accepting request 731933 from home:lnussel:branches:Archiving
- Do not recommend lang package. The lang package already has a
  supplements.

OBS-URL: https://build.opensuse.org/request/show/731933
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=75
2019-09-19 13:25:50 +00:00
565c07a954 Accepting request 638679 from Archiving
OBS-URL: https://build.opensuse.org/request/show/638679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=56
2018-10-02 17:40:14 +00:00
Ismail Dönmez
76575d070b Accepting request 638582 from home:bmwiedemann:branches:Archiving
Use gettextize --no-changelog to drop build date to make package build reproducible (boo#1047218)

OBS-URL: https://build.opensuse.org/request/show/638582
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=73
2018-09-27 07:29:16 +00:00
0062f78943 Accepting request 636113 from Archiving
OBS-URL: https://build.opensuse.org/request/show/636113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=55
2018-09-20 09:38:13 +00:00
c8c9fd1b10 Accepting request 636095 from home:jengelh:branches:Archiving
"its" is something else

OBS-URL: https://build.opensuse.org/request/show/636095
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=71
2018-09-17 08:36:16 +00:00
30a250174f Accepting request 635690 from home:pluskalm:branches:Archiving
- Use url to fetch keyring
- Do not force building with pie, its default now anyways
- Use https for urls
- Install license

OBS-URL: https://build.opensuse.org/request/show/635690
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=70
2018-09-14 11:48:08 +00:00
194c6b362a Accepting request 487331 from Archiving
1

OBS-URL: https://build.opensuse.org/request/show/487331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=54
2017-05-10 18:31:36 +00:00
62d343ae0c Accepting request 487309 from home:kstreitova:branches:Archiving
- modify cpio-2.12-out_of_bounds_write.patch to fix a regression 
  causing cpio to crash for tar and ustar archive types 
  [bsc#1028410]

OBS-URL: https://build.opensuse.org/request/show/487309
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=68
2017-04-11 12:17:29 +00:00
68f409adf9 - Use macro for configure and make install
- Use update-alternatives according to current documentation
- Enable testsuite

OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=67
2017-03-27 11:14:11 +00:00
47fcd7e530 Accepting request 482517 from home:svalx
OBS-URL: https://build.opensuse.org/request/show/482517
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=66
2017-03-24 21:21:45 +00:00
951ac9e341 Accepting request 482457 from home:kstreitova:branches:Archiving
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/482457
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=65
2017-03-24 12:58:27 +00:00
2004958696 Accepting request 366498 from Archiving
- Recommend mt_st as it is not hard dependency

- fix typos in the description
- add 'Require: mt_st' in order not to surprise users by the missing
  'mt' binary

- Disable mt building: this binary from mt_st package offers
  advanced capabilities with the same functionality.
- Enable rmt building: 'dump' package no longer include it, besides 
  cpio code base for rmt is more fresh.
- Reflect those changes in the package description.

OBS-URL: https://build.opensuse.org/request/show/366498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=53
2016-03-14 08:56:30 +00:00
dad254ba8c - Recommend mt_st as it is not hard dependency
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=63
2016-03-05 12:32:17 +00:00
965825193d Accepting request 365204 from home:kstreitova:branches:Archiving
- fix typos in the description
- add 'Require: mt_st' in order not to surprise users by the missing
  'mt' binary

OBS-URL: https://build.opensuse.org/request/show/365204
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=62
2016-03-03 12:34:16 +00:00
396722ee2e OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=61 2016-03-03 09:37:11 +00:00
b66bc0bf96 Accepting request 365132 from home:svalx
OBS-URL: https://build.opensuse.org/request/show/365132
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=60
2016-03-03 09:33:40 +00:00
67d25e85c1 Accepting request 360532 from Archiving
1

OBS-URL: https://build.opensuse.org/request/show/360532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=52
2016-02-24 17:28:55 +00:00
b67c6fd718 Accepting request 360528 from home:kstreitova:branches:Archiving
- add cpio-2.12-out_of_bounds_write.patch to fix an out of bounds
  write in a way cpio parses certain cpio files [bsc#963448],
  [CVE-2016-2037]

OBS-URL: https://build.opensuse.org/request/show/360528
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=58
2016-02-19 16:42:39 +00:00