Commit Graph

123 Commits

Author SHA256 Message Date
Ana Guerrero
6df1d6c8cc 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
Martin Pluskal
f1cce1cc96 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
Ana Guerrero
cd91e1e0c6 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
cac8078e15 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
Ana Guerrero
6f7fa4abd0 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
cf1cc63e6c 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
Dominique Leuenberger
d264a814f7 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
481661b7ac 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
Martin Pluskal
c5e3d07b62 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
Dominique Leuenberger
dd6616d8cd 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
7ca12313db 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
Dominique Leuenberger
e9067d4775 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
75edb86779 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
Dominique Leuenberger
e9e425f800 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
e4d46accbe 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
96da60c42f 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
Dominique Leuenberger
5b6831d59b 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
Kristyna Streitova
e05d2e258d 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
Dominique Leuenberger
758e099b00 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
Kristyna Streitova
5f0ff8a23b 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
Martin Pluskal
22ed1491e1 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
Dominique Leuenberger
df51216704 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
Martin Pluskal
6360e4335b 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
Dominique Leuenberger
3c7c52b0ae 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
Martin Pluskal
573699ca2d 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
Dominique Leuenberger
648b863390 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
Martin Pluskal
27f543b8e8 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
Dominique Leuenberger
dfe13e2308 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
ad78084d7d 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
Yuchen Lin
112c43d148 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
Martin Pluskal
1f14ab6199 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
Martin Pluskal
52929427ba 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
Dominique Leuenberger
9db1c8a492 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
Martin Pluskal
41c2809514 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
Martin Pluskal
6c51e5aa2f - 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
Martin Pluskal
e97844868d 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
Martin Pluskal
f077f83258 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
Dominique Leuenberger
1176b99d0e 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
Martin Pluskal
17cb646e1d - 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
Martin Pluskal
cd41245e9a 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
Kristyna Streitova
a5a6e773a3 OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=61 2016-03-03 09:37:11 +00:00
Kristyna Streitova
796aeac07c 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
Dominique Leuenberger
4c6a2a46b7 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
Martin Pluskal
390a0b27a2 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
Dominique Leuenberger
56b2fe7b31 Accepting request 337422 from Archiving
1

OBS-URL: https://build.opensuse.org/request/show/337422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=51
2015-10-14 14:34:57 +00:00
Vítězslav Čížek
d47d4b1312 Accepting request 337401 from home:kstreitova:branches:Archiving
- update to 2.12
  * Improved documentation
  * Manpages are installed by make install
  * New options for copy-out mode: --ignore-devno,
    --renumber-inodes, --device-independent, --reproducible
  * update
    * cpio-use_new_ascii_format.patch
    * cpio-mt.patch
    * cpio-eof_tape_handling.patch
    * cpio-pattern-file-sigsegv.patch
    * cpio-check_for_symlinks.patch
  * remove (no longer needed)
    * cpio-stdio.in.patch
    * 0001-Fix-memory-overrun-on-reading-improperly-created-lin.patch
  * add
    * cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch to add missing
      return to the nonvoid get_inode_and_dev() function
- use spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/337401
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=56
2015-10-09 11:20:18 +00:00
Dominique Leuenberger
94c705c287 Accepting request 291082 from Archiving
1

OBS-URL: https://build.opensuse.org/request/show/291082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=50
2015-03-23 11:11:30 +00:00
Vítězslav Čížek
28621edc45 Accepting request 291076 from home:pluskalm:branches:Archiving
- Add gpg signature
- Correct info scriplet dependencies
- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/291076
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=54
2015-03-16 19:27:04 +00:00
Dominique Leuenberger
2a35090418 Accepting request 267039 from Archiving
1

OBS-URL: https://build.opensuse.org/request/show/267039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=49
2015-01-08 22:00:58 +00:00
Ismail Dönmez
0850b6f7d2 Accepting request 267006 from home:msmeissn:branches:Archiving
- build with PIE

OBS-URL: https://build.opensuse.org/request/show/267006
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=52
2015-01-02 15:18:30 +00:00