Commit Graph

78 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
a5a6e773a3 OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=61 2016-03-03 09:37:11 +00:00
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
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
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
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
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
Ismail Dönmez
19d62652f7 Accepting request 263624 from home:vitezslav_cizek:branches:Archiving
- fix an OOB write with cpio -i (bnc#907456) (CVE-2014-9112)
  * added 0001-Fix-memory-overrun-on-reading-improperly-created-lin.patch

OBS-URL: https://build.opensuse.org/request/show/263624
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=50
2014-12-03 09:59:19 +00:00
Vítězslav Čížek
091bc4a315 Accepting request 246892 from home:jengelh:branches:Archiving
- Improve on RPM group classification

OBS-URL: https://build.opensuse.org/request/show/246892
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=48
2014-08-30 12:33:47 +00:00
Ismail Dönmez
dfa0e5df25 Accepting request 245576 from home:vitezslav_cizek:branches:Archiving
- drop cpio-dir_perm.patch
  * no longer needed since 2.11
  * it was dropped from Fedora too and only caused problems (bnc#889138)

OBS-URL: https://build.opensuse.org/request/show/245576
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=46
2014-08-21 13:00:11 +00:00
Ismail Dönmez
d69eec703b Accepting request 242845 from home:vitezslav_cizek:branches:Archiving
- fix a truncation check in mt
  * added cpio-fix_truncation_check.patch

- prevent cpio from extracting over a symlink (bnc#658010)
  * added cpio-check_for_symlinks.patch

OBS-URL: https://build.opensuse.org/request/show/242845
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=44
2014-07-29 11:44:14 +00:00
Ismail Dönmez
21da25607d Accepting request 196003 from home:vitezslav_cizek:branches:Archiving
- add a missing fix from SLE for bnc#830779 (original bug bnc#658031)
  added paxutils-rtapelib_mtget.patch

OBS-URL: https://build.opensuse.org/request/show/196003
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=42
2013-08-22 15:40:08 +00:00
24a21f5d5e Accepting request 160431 from home:m_meister:branches:openSUSE:Factory
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/160431
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=40
2013-03-21 12:15:16 +00:00
0e0e26f785 Accepting request 128196 from home:a_jaeger:FactoryFix
Fix build with missing gets declaration (glibc 2.16)

OBS-URL: https://build.opensuse.org/request/show/128196
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=38
2012-07-18 15:55:03 +00:00
Vítězslav Čížek
3e9f9a49ef Accepting request 102480 from home:rjschwei:branches:Archiving
usrMerge project - move files from toplevel to /usr

OBS-URL: https://build.opensuse.org/request/show/102480
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=36
2012-02-06 12:48:20 +00:00
Pascal Bleser
4055d644c1 Accepting request 98550 from home:vitezslav_cizek:branches:Archiving
- added autoconf to BuildRequires

OBS-URL: https://build.opensuse.org/request/show/98550
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=34
2012-01-02 20:28:53 +00:00
Vítězslav Čížek
7c4f025e0a Accepting request 94681 from home:coolo:removeautomake
add automake to buildrequires

OBS-URL: https://build.opensuse.org/request/show/94681
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=33
2011-12-01 11:54:47 +00:00
Stephan Kulow
2f75905070 - fix typos in spec file
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=30
2011-09-18 14:50:19 +00:00
Petr Uzel
169cabd073 disable-silent-rules
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=27
2010-11-09 11:22:13 +00:00
OBS User buildservice-autocommit
d6538a2b51 Updating link to change in openSUSE:Factory/cpio revision 30.0
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=2ec0c49b079de0a983ca894e6ab0c79e
2010-09-03 11:02:57 +00:00
OBS User autobuild
a45b5d37ef Accepting request 46860 from Archiving
checked in (request 46860)

OBS-URL: https://build.opensuse.org/request/show/46860
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=26
2010-09-03 11:02:56 +00:00
Cristian Rodríguez
89073dfdf3 Accepting request 46781 from home:a_jaeger:branches:openSUSE:Factory
Copy from home:a_jaeger:branches:openSUSE:Factory/cpio via accept of submit request 46781 revision 2.
Request was accepted with message:

OBS-URL: https://build.opensuse.org/request/show/46781
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=25
2010-08-31 23:56:35 +00:00
OBS User buildservice-autocommit
0be1ffd783 Updating link to change in openSUSE:Factory/cpio revision 29.0
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=3035b1422cc5e5e59a40a525ce828ee1
2010-08-13 22:00:07 +00:00
OBS User autobuild
23407564b5 Accepting request 45296 from Archiving
checked in (request 45296)

OBS-URL: https://build.opensuse.org/request/show/45296
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=24
2010-08-13 22:00:06 +00:00
Petr Uzel
54e141de26 add cpio-pattern-file-sigsegv.patch (bnc#629860)
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=23
2010-08-10 15:01:05 +00:00
Cristian Rodríguez
ec5c26ebff Accepting request 42390 from home:jengelh:smp
Copy from home:jengelh:smp/cpio via accept of submit request 42390 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/42390
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=21
2010-07-02 16:28:18 +00:00
OBS User buildservice-autocommit
6600438bbd Updating link to change in openSUSE:Factory/cpio revision 25.0
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=ec6713ec3ebe5e0f61b02764b7cf96a9
2010-03-25 23:54:28 +00:00