bump(app-arch/cpio): sync with upstream

This commit is contained in:
David Michael 2018-01-04 14:58:33 -05:00
parent b034ca268b
commit 36be5f18a8
14 changed files with 5 additions and 1185 deletions

View File

@ -1,160 +0,0 @@
# ChangeLog for app-arch/cpio
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
# (auto-generated from git log)
*cpio-2.11-r3 (09 Aug 2015)
*cpio-2.11-r1 (09 Aug 2015)
*cpio-2.11 (09 Aug 2015)
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org> +cpio-2.11.ebuild,
+cpio-2.11-r1.ebuild, +cpio-2.11-r3.ebuild, +files/cpio-2.11-no-gets.patch,
+files/cpio-2.11-non-gnu-compilers.patch, +files/cpio-2.11-security.patch,
+files/cpio-2.11-stat.patch, +metadata.xml:
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
the bikeshed
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Use https by default
Convert all URLs for sites supporting encrypted connections from http to
https
Signed-off-by: Justin Lecher <jlec@gentoo.org>
24 Aug 2015; Justin Lecher <jlec@gentoo.org> cpio-2.11.ebuild,
cpio-2.11-r1.ebuild, cpio-2.11-r3.ebuild:
Use https for most gnu.org URLs
Signed-off-by: Justin Lecher <jlec@gentoo.org>
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
Revert DOCTYPE SYSTEM https changes in metadata.xml
repoman does not yet accept the https version.
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
Bug: https://bugs.gentoo.org/552720
11 Sep 2015; Mike Frysinger <vapier@gentoo.org> cpio-2.11-r3.ebuild,
+files/cpio-2.11-symlink-bad-length-test.patch:
add upstream fix for symlink-bad-length test failure #554760
11 Sep 2015; Mike Frysinger <vapier@gentoo.org> cpio-2.11-r3.ebuild:
mark 2.11-r3 arm64/m68k/sh stable
11 Sep 2015; Mike Frysinger <vapier@gentoo.org> -cpio-2.11.ebuild,
-cpio-2.11-r1.ebuild:
drop old
*cpio-2.12 (12 Sep 2015)
12 Sep 2015; Lars Wendler <polynomial-c@gentoo.org> +cpio-2.12.ebuild,
+files/cpio-2.12-non-gnu-compilers.patch:
Bump to version 2.12
Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Replace all herds with appropriate projects (GLEP 67)
Replace all uses of herd with appropriate project maintainers, or no
maintainers in case of herds requested to be disbanded.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Set appropriate maintainer types in metadata.xml (GLEP 67)
14 Feb 2016; Mike Frysinger <vapier@gentoo.org> cpio-2.12.ebuild:
drop autotools usage
Looks like a copy & paste holdover from the previous ebuild.
*cpio-2.12-r1 (14 Feb 2016)
14 Feb 2016; Mike Frysinger <vapier@gentoo.org> +cpio-2.12-r1.ebuild,
+files/cpio-2.12-name-overflow.patch:
fix small buffer overflow #572428
17 Feb 2016; Jeroen Roovers <jer@gentoo.org> cpio-2.12-r1.ebuild:
Stable for HPPA PPC64 (bug #572428).
Package-Manager: portage-2.2.27
RepoMan-Options: --ignore-arches
20 Feb 2016; Richard Freeman <rich0@gentoo.org> cpio-2.12-r1.ebuild:
amd64 stable
Bug: 572428
Package-Manager: portage-2.2.26
20 Feb 2016; Markus Meier <maekke@gentoo.org> cpio-2.12-r1.ebuild:
arm stable, bug #572428
Package-Manager: portage-2.2.27
RepoMan-Options: --include-arches="arm"
14 Mar 2016; Tobias Klausmann <klausman@gentoo.org> cpio-2.12-r1.ebuild:
add alpha keyword
Gentoo-Bug: 572428
Package-Manager: portage-2.2.28
15 Mar 2016; Agostino Sarubbo <ago@gentoo.org> cpio-2.12-r1.ebuild:
x86 stable wrt bug #572428
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
16 Mar 2016; Agostino Sarubbo <ago@gentoo.org> cpio-2.12-r1.ebuild:
ppc stable wrt bug #572428
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
19 Mar 2016; Agostino Sarubbo <ago@gentoo.org> cpio-2.12-r1.ebuild:
sparc stable wrt bug #572428
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
20 Mar 2016; Agostino Sarubbo <ago@gentoo.org> cpio-2.12-r1.ebuild:
ia64 stable wrt bug #572428
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>

View File

@ -1,546 +0,0 @@
# ChangeLog for app-arch/cpio
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/cpio/ChangeLog,v 1.139 2015/01/16 08:08:14 ago Exp $
16 Jan 2015; Agostino Sarubbo <ago@gentoo.org> cpio-2.11-r3.ebuild:
Stable for ia64, wrt bug #530512
14 Jan 2015; Sergey Popov <pinkbyte@gentoo.org> cpio-2.11-r3.ebuild:
Stable on ppc/ppc64/s390, wrt bug #530512
13 Jan 2015; Agostino Sarubbo <ago@gentoo.org> cpio-2.11-r3.ebuild:
Stable for sparc, wrt bug #530512
12 Jan 2015; Agostino Sarubbo <ago@gentoo.org> cpio-2.11-r3.ebuild:
Stable for amd64, wrt bug #530512
11 Jan 2015; Markus Meier <maekke@gentoo.org> cpio-2.11-r3.ebuild:
arm stable, bug #530512
09 Jan 2015; Jeroen Roovers <jer@gentoo.org> cpio-2.11-r3.ebuild:
Stable for HPPA (bug #530512).
*cpio-2.11-r3 (09 Jan 2015)
09 Jan 2015; Tony Vroon <chainsaw@gentoo.org> -cpio-2.11-r2.ebuild,
+cpio-2.11-r3.ebuild:
Run eautoreconf at the appropriate moment, as per Jeroen Roovers in bug
#536112. Stable keywords transferred for alpha & x86.
09 Jan 2015; Tobias Klausmann <klausman@gentoo.org> cpio-2.11-r2.ebuild:
Stable on alpha, bug 530512
09 Jan 2015; Andreas Schuerch <nativemad@gentoo.org> cpio-2.11-r2.ebuild:
x86 stable, see bug 530512
*cpio-2.11-r2 (09 Jan 2015)
09 Jan 2015; Tony Vroon <chainsaw@gentoo.org> +cpio-2.11-r2.ebuild,
+files/cpio-2.11-security.patch:
Scavenge upstream bug fixes for heap-based buffer overflow and directory
traversal through symlinks. For security bugs #530512 and #536010.
12 Aug 2014; Mike Frysinger <vapier@gentoo.org> cpio-2.11-r1.ebuild:
Mark arm64/m68k/s390/sh stable.
19 Mar 2014; Agostino Sarubbo <ago@gentoo.org> cpio-2.11-r1.ebuild:
Stable for alpha, wrt bug #471402
14 Mar 2014; Agostino Sarubbo <ago@gentoo.org> cpio-2.11-r1.ebuild:
Stable for ppc64, wrt bug #471402
12 Mar 2014; Agostino Sarubbo <ago@gentoo.org> cpio-2.11-r1.ebuild:
Stable for sparc, wrt bug #471402
23 Feb 2014; Agostino Sarubbo <ago@gentoo.org> cpio-2.11-r1.ebuild:
Stable for ppc, wrt bug #471402
22 Feb 2014; Agostino Sarubbo <ago@gentoo.org> cpio-2.11-r1.ebuild:
Stable for x86, wrt bug #471402
14 Feb 2014; Markus Meier <maekke@gentoo.org> cpio-2.11-r1.ebuild:
arm stable, bug #471402
11 Feb 2014; Akinori Hattori <hattya@gentoo.org> cpio-2.11-r1.ebuild:
ia64 stable wrt bug #471402
09 Feb 2014; Chema Alonso <nimiux@gentoo.org> cpio-2.11-r1.ebuild:
Stable for amd64 wrt bug #471402
08 Feb 2014; Jeroen Roovers <jer@gentoo.org> cpio-2.11-r1.ebuild:
Stable for HPPA (bug #471402).
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> cpio-2.11-r1.ebuild,
cpio-2.11.ebuild:
Add arm64 love.
17 Feb 2013; Zac Medico <zmedico@gentoo.org> cpio-2.11-r1.ebuild:
Add ~arm-linux keyword.
*cpio-2.11-r1 (16 Dec 2012)
16 Dec 2012; Christoph Junghans <ottxor@gentoo.org> +cpio-2.11-r1.ebuild,
+files/cpio-2.11-non-gnu-compilers.patch:
added prefix support (bug #443860)
06 Jul 2012; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.11-no-gets.patch, cpio-2.11.ebuild:
Fix building with glibc-2.16 #424974 by Stevan Bajić.
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> cpio-2.11.ebuild:
keyword ~amd64-fbsd
10 Oct 2010; Mike Frysinger <vapier@gentoo.org> cpio-2.11.ebuild,
+files/cpio-2.11-stat.patch:
Add fix from upstream for cross-compiling #328531 by Jacob Godserv.
18 Jul 2010; Joseph Jezak <josejx@gentoo.org> cpio-2.11.ebuild:
Marked ppc stable for bug #314663.
12 Jul 2010; Markos Chandras <hwoarang@gentoo.org> cpio-2.11.ebuild:
Stable on amd64 wrt bug #314663
08 Jul 2010; Raúl Porcel <armin76@gentoo.org> cpio-2.11.ebuild:
alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #314663
05 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> cpio-2.11.ebuild:
ppc64 stable wrt #314663
05 Jul 2010; Jeroen Roovers <jer@gentoo.org> cpio-2.11.ebuild:
Stable for HPPA (bug #314663).
03 Jul 2010; Christian Faulhammer <fauli@gentoo.org> cpio-2.11.ebuild:
stable x86, security bug 314663
21 May 2010; Markos Chandras <hwoarang@gentoo.org> cpio-2.10-r1.ebuild:
Stable on amd64 wrt bug #308827
31 Mar 2010; Raúl Porcel <armin76@gentoo.org> cpio-2.10-r1.ebuild:
alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #308827
15 Mar 2010; nixnut <nixnut@gentoo.org> cpio-2.10-r1.ebuild:
ppc stable #308827
*cpio-2.11 (15 Mar 2010)
15 Mar 2010; Mike Frysinger <vapier@gentoo.org> +cpio-2.11.ebuild:
Version bump.
13 Mar 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> cpio-2.10-r1.ebuild:
x86 stable wrt bug #308827
12 Mar 2010; Brent Baude <ranger@gentoo.org> cpio-2.10-r1.ebuild:
Marking cpio-2.10-r1 ppc64 for bug 308827
12 Mar 2010; Jeroen Roovers <jer@gentoo.org> cpio-2.10-r1.ebuild:
Stable for HPPA (bug #308827).
*cpio-2.10-r1 (20 Jan 2010)
20 Jan 2010; Robin H. Johnson <robbat2@gentoo.org>
+files/cpio-2.9-64-bit-wide-inode-fixup.patch, +cpio-2.10-r1.ebuild:
Cpio on XFS fails to deal with hardlinks properly, apply fix from upstream
mailing list.
*cpio-2.10 (20 Jun 2009)
20 Jun 2009; Mike Frysinger <vapier@gentoo.org> +cpio-2.10.ebuild:
Version bump.
31 Jan 2009; Jeroen Roovers <jer@gentoo.org> cpio-2.9-r2.ebuild:
Stable for HPPA (bug #255288).
25 Jan 2009; Raúl Porcel <armin76@gentoo.org> cpio-2.9-r2.ebuild:
ia64 stable wrt #255288
23 Jan 2009; Brent Baude <ranger@gentoo.org> cpio-2.9-r2.ebuild:
stable ppc64, bug 255288
19 Jan 2009; Tiago Cunha <tcunha@gentoo.org> cpio-2.9-r2.ebuild:
stable sparc, bug 255288
18 Jan 2009; Markus Meier <maekke@gentoo.org> cpio-2.9-r2.ebuild:
amd64/x86 stable, bug #255288
18 Jan 2009; Tobias Klausmann <klausman@gentoo.org> cpio-2.9-r2.ebuild:
Stable on alpha, bug #255280
18 Jan 2009; Tobias Scherbaum <dertobi123@gentoo.org> cpio-2.9-r2.ebuild:
ppc stable, bug #255288
*cpio-2.9-r3 (17 Jan 2009)
17 Jan 2009; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.9-packed.patch, +cpio-2.9-r3.ebuild:
Add fix from Debian for struct packing (i.e. arm) #255096 by Raúl Porcel.
*cpio-2.9-r2 (01 Jun 2008)
01 Jun 2008; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.9-restore-perms-owners.patch, +cpio-2.9-r2.ebuild:
Add fix from upstream for restoring perms/owners properly #218040 by alexsaa.
18 Nov 2007; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.9-gnu-inline.patch, cpio-2.9-r1.ebuild:
Fixes from upstream for changes in "extern inline" #198817 by Ryan Hill.
06 Nov 2007; Samuli Suominen <drac@gentoo.org> cpio-2.9-r1.ebuild:
amd64 stable wrt #196978
30 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org> cpio-2.9-r1.ebuild:
ppc stable, bug #196978
30 Oct 2007; Markus Rothe <corsair@gentoo.org> cpio-2.9-r1.ebuild:
Stable on ppc64; bug #196978
30 Oct 2007; Jeroen Roovers <jer@gentoo.org> cpio-2.9-r1.ebuild:
Stable for HPPA (bug #196978).
29 Oct 2007; Raúl Porcel <armin76@gentoo.org> cpio-2.9-r1.ebuild:
alpha/ia64/sparc/x86 stable wrt security #196978
29 Oct 2007; Saleem Abdulrasool <compnerd@gentoo.org> cpio-2.9-r1.ebuild:
inherit eutils for epatch
*cpio-2.9-r1 (28 Oct 2007)
28 Oct 2007; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.9-CVE-2007-4476.patch, +cpio-2.9-r1.ebuild:
Add fix for CVE-2007-4476 #196978.
02 Oct 2007; Tom Gall <tgall@gentoo.org> cpio-2.9.ebuild:
stable on ppc64
28 Sep 2007; Joshua Kinard <kumba@gentoo.org> cpio-2.9.ebuild:
Stable on mips.
18 Sep 2007; Jeroen Roovers <jer@gentoo.org> cpio-2.9.ebuild:
Stable for HPPA too.
01 Sep 2007; Christoph Mende <angelos@gentoo.org> cpio-2.9.ebuild:
Stable on amd64
09 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> cpio-2.9.ebuild:
Stable on ppc.
02 Aug 2007; Christian Birchinger <joker@gentoo.org> cpio-2.9.ebuild:
Added sparc stable keyword
01 Aug 2007; Raúl Porcel <armin76@gentoo.org> cpio-2.9.ebuild:
alpha/ia64/x86 stable
10 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> cpio-2.8.ebuild:
Stable on sparc wrt #184454
09 Jul 2007; Jeroen Roovers <jer@gentoo.org> cpio-2.8.ebuild:
Stable for HPPA (bug #184454).
08 Jul 2007; Christoph Mende <angelos@gentoo.org> cpio-2.8.ebuild:
Stable on amd64 wrt bug #184454
07 Jul 2007; Lars Weiler <pylon@gentoo.org> cpio-2.8.ebuild:
Stable on ppc; bug #184454.
07 Jul 2007; Raúl Porcel <armin76@gentoo.org> cpio-2.8.ebuild:
alpha/ia64/x86 stable wrt #184454
07 Jul 2007; Markus Rothe <corsair@gentoo.org> cpio-2.8.ebuild:
Stable on ppc64; bug #184454
07 Jul 2007; Joshua Kinard <kumba@gentoo.org> cpio-2.8.ebuild:
Stable on mips, per #184454.
*cpio-2.9 (29 Jun 2007)
29 Jun 2007; Mike Frysinger <vapier@gentoo.org> +cpio-2.9.ebuild:
Version bump.
13 Jun 2007; Christoph Mende <angelos@gentoo.org> cpio-2.7-r2.ebuild:
Stable on amd64 wrt bug 181621
11 Jun 2007; Markus Rothe <corsair@gentoo.org> cpio-2.7-r2.ebuild:
Stable on ppc64; bug #181621
11 Jun 2007; Raúl Porcel <armin76@gentoo.org> cpio-2.7-r2.ebuild:
alpha/x86 stable wrt #181621
11 Jun 2007; nixnut <nixnut@gentoo.org> cpio-2.7-r2.ebuild:
Stable on ppc wrt bug 181621
11 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> cpio-2.7-r2.ebuild:
Stable on sparc wrt #181621
11 Jun 2007; Jeroen Roovers <jer@gentoo.org> cpio-2.7-r2.ebuild:
Stable for HPPA (bug #181621).
11 Jun 2007; Joshua Kinard <kumba@gentoo.org> cpio-2.7-r2.ebuild:
Stable on mips, per #181621.
*cpio-2.8 (11 Jun 2007)
11 Jun 2007; Mike Frysinger <vapier@gentoo.org> +cpio-2.8.ebuild:
Version bump #181516 by teidakankan.
11 May 2007; Joshua Kinard <kumba@gentoo.org> cpio-2.7-r1.ebuild:
Stable on mips.
*cpio-2.7-r2 (18 Apr 2007)
18 Apr 2007; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.7-copypass.patch, +cpio-2.7-r2.ebuild:
Fix from upstream for permission breakage in copy pass through mode #174921
by Karl Hakimian.
15 Apr 2007; Markus Rothe <corsair@gentoo.org> cpio-2.7-r1.ebuild:
Stable on ppc64
11 Apr 2007; Jeroen Roovers <jer@gentoo.org> cpio-2.7-r1.ebuild:
Stable for HPPA too.
01 Apr 2007; Michael Hanselmann <hansmi@gentoo.org> cpio-2.7-r1.ebuild:
Stable on ppc.
30 Mar 2007; Steve Dibb <beandog@gentoo.org> cpio-2.7-r1.ebuild:
amd64 stable
20 Mar 2007; Raúl Porcel <armin76@gentoo.org> cpio-2.7-r1.ebuild:
x86 stable
*cpio-2.7-r1 (11 Nov 2006)
11 Nov 2006; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.7-link-terminate.patch, +cpio-2.7-r1.ebuild:
Grab fix from upstream for #153782 by Brian S. Stephan.
*cpio-2.7 (21 Oct 2006)
21 Oct 2006; Mike Frysinger <vapier@gentoo.org> +cpio-2.7.ebuild:
Version bump.
17 Oct 2006; Roy Marples <uberlord@gentoo.org> cpio-2.6-r5.ebuild:
Added ~sparc-fbsd keyword.
30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> cpio-2.6-r5.ebuild:
Add ~x86-fbsd keyword.
18 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.6-stpcpy-hack.patch, cpio-2.6-r5.ebuild:
Fix by Benigno B. Junior for building on *BSD systems #123237.
25 Dec 2005; Joshua Kinard <kumba@gentoo.org> cpio-2.6-r5.ebuild:
Marked stable on mips.
04 Dec 2005; Michael Hanselmann <hansmi@gentoo.org> cpio-2.6-r5.ebuild:
Stable on ppc.
03 Dec 2005; Simon Stelling <blubb@gentoo.org> cpio-2.6-r5.ebuild:
stable on amd64 wrt bug 112140
02 Dec 2005; Fernando J. Pereda <ferdy@gentoo.org> cpio-2.6-r5.ebuild:
stable on alpha wrt bug #112140
02 Dec 2005; Andrej Kacian <ticho@gentoo.org> cpio-2.6-r5.ebuild:
Stable on x86, security bug #112140.
02 Dec 2005; Fabian Groffen <grobian@gentoo.org> cpio-2.6-r5.ebuild:
Marked ppc-macos (bug #112140)
02 Dec 2005; Markus Rothe <corsair@gentoo.org> cpio-2.6-r5.ebuild:
Stable on ppc64; bug #112140
01 Dec 2005; Gustavo Zacarias <gustavoz@gentoo.org> cpio-2.6-r5.ebuild:
Stable on sparc wrt #112140
*cpio-2.6-r5 (01 Dec 2005)
01 Dec 2005; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.6-checksum.patch, +files/cpio-2.6-warnings.patch,
+files/cpio-2.6-writeOutHeaderBufferOverflow.patch, +cpio-2.6-r5.ebuild:
Grab fixes from Fedora to resolve buffer overflow #112140.
28 Jun 2005; Joshua Kinard <kumba@gentoo.org> cpio-2.6-r4.ebuild:
Marked stable on mips.
19 Jun 2005; Bryan Østergaard <kloeri@gentoo.org> cpio-2.6-r4.ebuild:
Stable on ia64, bug 90619.
17 Jun 2005; Fernando J. Pereda <ferdy@gentoo.org> cpio-2.6-r4.ebuild:
Stable on alpha wrt bug #90619
17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> cpio-2.6-r4.ebuild:
Stable on ppc.
17 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org> cpio-2.6-r4.ebuild:
Stable on amd64 wrt #90619.
17 Jun 2005; Rene Nussbaumer <killerfox@gentoo.org> cpio-2.6-r4.ebuild:
Stable on hppa. bug #90619
17 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org> cpio-2.6-r4.ebuild:
Stable on sparc wrt #90619
17 Jun 2005; Markus Rothe <corsair@gentoo.org> cpio-2.6-r4.ebuild:
Stable on ppc64; bug #90619
*cpio-2.6-r4 (17 Jun 2005)
17 Jun 2005; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.6-dirTraversal.patch, +cpio-2.6-r4.ebuild:
Add patch from Fedora to address directory traversal issues #90619.
04 May 2005; Bryan Østergaard <kloeri@gentoo.org> cpio-2.6-r3.ebuild:
Stable on alpha + ia64, bug 90619.
03 May 2005; <gongloo@gentoo.org> cpio-2.6-r3.ebuild:
Stable on ppc-macos.
03 May 2005; Michael Hanselmann <hansmi@gentoo.org> cpio-2.6-r3.ebuild:
Stable on ppc and hppa.
03 May 2005; Olivier Crête <tester@gentoo.org> cpio-2.6-r3.ebuild:
Stable on x86 per security bug #90619
03 May 2005; Omkhar Arasaratnam <omkhar@gentoo.org> cpio-2.6-r3.ebuild:
Stable on ppc64 wrt #90619
03 May 2005; Gustavo Zacarias <gustavoz@gentoo.org> cpio-2.6-r3.ebuild:
Stable on sparc wrt #90619
03 May 2005; Jan Brinkmann <luckyduck@gentoo.org> cpio-2.6-r3.ebuild:
stable on amd64 wrt #90619
*cpio-2.6-r3 (02 May 2005)
02 May 2005; Mike Frysinger <vapier@gentoo.org>
+files/cpio-2.6-chmodRaceC.patch, +cpio-2.6-r3.ebuild:
Add fix from redhat #90619.
30 Mar 2005; Chris Gianelloni <wolf31o2@gentoo.org> cpio-2.6-r2.ebuild:
Marking stable for genkernel.
*cpio-2.6-r2 (09 Feb 2005)
09 Feb 2005; Mike Frysinger <vapier@gentoo.org> +files/2.6-lstat.patch,
+cpio-2.6-r2.ebuild:
Add patch by Peter Beutner to fix handling of symlinks #80246 by Yuri Karaban.
06 Feb 2005; Joshua Kinard <kumba@gentoo.org> cpio-2.6-r1.ebuild:
Marked stable on mips.
06 Feb 2005; Bryan Østergaard <kloeri@gentoo.org> cpio-2.6-r1.ebuild:
Stable on alpha.
29 Jan 2005; Jason Wever <weeve@gentoo.org> cpio-2.6-r1.ebuild:
Stable on sparc wrt security bug #79844.
29 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> cpio-2.6-r1.ebuild:
stable on amd64. see #79844
29 Jan 2005; Michael Hanselmann <hansmi@gentoo.org> cpio-2.6-r1.ebuild:
Stable on ppc.
29 Jan 2005; Markus Rothe <corsair@gentoo.org> cpio-2.6-r1.ebuild:
Stable on ppc64; bug #79844
*cpio-2.6-r1 (28 Jan 2005)
28 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+files/2.6-umask.patch, +cpio-2.6-r1.ebuild:
Add a patch from FreeBSD to fix permission issues #79844.
19 Jan 2005; <gongloo@gentoo.org> +files/2.6-isnumber.patch,
cpio-2.6.ebuild:
Added doman ${D}/usr/share/man/man1/cpio.1 to properly handle manpage
gzipping. Added isnumber patch, replacing isnumber by cpio_isnumber (for
compatibility reasons). Closes bug 74929.
19 Jan 2005; <gongloo@gentoo.org> cpio-2.5.ebuild:
Stable on ppc-macos.
*cpio-2.6 (03 Jan 2005)
03 Jan 2005; Mike Frysinger <vapier@gentoo.org>
-files/2.5.90-gnulib.patch, -files/2.5.90-makepath.patch,
-files/2.5.90-rili-big-files.patch, +files/2.6-rili-big-files.patch,
-cpio-2.5.90.ebuild, +cpio-2.6.ebuild:
Version bump. Magically fixes #74841 by lison.
*cpio-2.5.90 (17 Dec 2004)
17 Dec 2004; Mike Frysinger <vapier@gentoo.org>
+files/2.5.90-gnulib.patch, +files/2.5.90-makepath.patch,
+files/2.5.90-rili-big-files.patch, +cpio-2.5.90.ebuild:
Version bump. Also include large file support #68520.
17 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> cpio-2.5.ebuild:
Added to ~ppc-macos.
27 Sep 2004; Mike Frysinger <vapier@gentoo.org> cpio-2.4.2-r4.ebuild,
cpio-2.5.ebuild:
FHS says to install into /bin #65534 by will@johnstonclan.net.
21 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> cpio-2.4.2-r4.ebuild,
cpio-2.5.ebuild:
header fix; tidy; arm needs deps first
*cpio-2.5 (14 Nov 2003)
14 Nov 2003; Seemant Kulleen <seemant@gentoo.org> cpio-2.4.2-r4.ebuild,
cpio-2.5.ebuild:
moved to app-arch from sys-apps
19 Oct 2003; Martin Holzer <mholzer@gentoo.org> cpio-2.4.2-r4.ebuild,
cpio-2.5.ebuild:
adding DEPEND="virtual/glibc" Closes #31474.
23 Jun 2003; Aron Griffis <agriffis@gentoo.org> cpio-2.5.ebuild:
Mark stable on alpha
20 Feb 2003; Zach Welch <zwelch@gentoo.org> :
Added arm to keywords
15 Feb 2003; Jan Seidel <tuxus@gentoo.org> :
Added mips to keywords
09 Feb 2003; Guy Martin <gmsoft@gentoo.org> :
Added hppa to keywords.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*cpio-2.5 (19 Nov 2002)
28 Mar 2003; Christian Birchinger <joker@gentoo.org> cpio-2.5.ebuild:
Added stable sparc keyword
02 Mar 2003; Guy Martin <gmsoft@gentoo.org> cpio-2.5.ebuild :
Changed ~hppa in hppa.
01 Mar 2003; Martin Holzer <mholzer@gentoo.org> cpio-2.5.ebuild :
Removed doinfo cause there's no more cpio.info
01 Mar 2003; Brandon Low <lostlogic@gentoo.org> cpio-2.5.ebuild:
Move to stable on x86 (bug 16360), works here, among other places.
24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> cpio-2.5.ebuild :
Marked as stable for mips.
19 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
Version bump.
09 Dec 2002; Jon Portnoy <avenj@gentoo.org> :
Updated to use icc if USE=icc.
19 Dec 2002; Jon Portnoy <avenj@gentoo.org> :
Pulled out ICC support for now (see bug #12357)
*cpio-2.4.2-r4 (1 Feb 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> cpio-2.4.2-r4.ebuild :
Added KEYWORDS, SLOT.
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@ -1,15 +1 @@
AUX cpio-2.11-no-gets.patch 811 SHA256 4d5a8cfcc43167ef9ee4b3d463a9c7aedcbd7f89e7bd54d821f8c6c577e6ad6c SHA512 686f25306369017508dba1442c8d4fa671df5f68252861790ec8be68d2c91dce786c5b7069efb07c9bd5dd4d863d3c53d61b3b919f5b7d95f77c90efc9b6532e WHIRLPOOL a5b4f932d83f6e2e92c238995e62e3ac728d34a7a0ff665824d3de47664616cff1833a19ded7032c12ad18992a4217898305f3fc3f76ffd17b7de389dbaf413d
AUX cpio-2.11-non-gnu-compilers.patch 415 SHA256 f05e154c11fb13932daae25e323f538ae1cee38bf0e7b7a5f3aabc38abc63d46 SHA512 0071b89aca67a65b5675e23b9fe9c8198db5b84634d3437cae752d4b07371b2c0a14bfcf5fa093af478a23c0679bf44f0571fdd1391c13fd6cd457b8ada19029 WHIRLPOOL 3f9656d4227fd0ce4dceac585004a0dfe679f7d52e395b377215d54707825a3a48fe97324b74f12093c9d27e2a89b8c7895c8d718976e19334040f64d9e02c6f
AUX cpio-2.11-security.patch 9090 SHA256 972c1a804adffe053f2a640b6fd9f2fa6b48c4e41eb60483734065a2261bff9b SHA512 060696d4bc55ec560e8ca53332677f51f1c3a5b99bb61c3a8a2e9d9754e09134b87c1852a02a9611961fd1f9eb5760787c3b30e06ee2e42da9733e0fa252a565 WHIRLPOOL 78da44864536f5a87701eedd9f18485afb03a2e0b2b379d32afed79d631924f0d53669e7c825f9eab1ebf91ae1866dd442fc3a25086875b8d14673df936642f2
AUX cpio-2.11-stat.patch 575 SHA256 b3d317e3c5705d7f9e503f56540baf3cb6dd1d0e9be0261151a5b08378c2d98c SHA512 87fd17c24e53d2286147239a1f588face81290ab6d93c68f8a7e704394c454880972d03a9b24f2d6898bfc9805945566be71b693254863e95469f836d224bba5 WHIRLPOOL 35bac9ac5fb84bb9586357bd74b695f2648e2e00faf6cce6f1f9a086b80ddcdfcabdd1fabda1c03397345f9705d41c0407b77604896250a03e317d0432166e09
AUX cpio-2.11-symlink-bad-length-test.patch 1210 SHA256 82ec95d09e2c35074d1b76ae64c60590e505f1d29b1ca4248f776a2583078a07 SHA512 5f7c711f5af0d14ecc3cf6c3fae0c3f8dea0b107222dae0614dffb679ef0995198ca3ac5be75b6ba1c348bfc2b70c5d77c4394a22535a63ca5fcf20224406c6a WHIRLPOOL a5b7107a3b133583bc24c98ac6279bf4394ec48044d3172faa46505babfe6fc62e61d58ea44272bf4410abc1e6fac391f6f57c09893e6865e58dc7a2422356bc
AUX cpio-2.12-name-overflow.patch 404 SHA256 2340e462aa5b2e36cbfb37a4230280cd632a392f2b3b7af2f938039cd2f11678 SHA512 725468331dbb24e37333f9f56d8f295a7e521dd855f97993a2f62bf6b3a8f44d924b868ad5315dd90706ac28fcbb0b7da4c30e77ad5f401e7c5543410cc42f7a WHIRLPOOL 7ef5ec91d2c53c24c627e3dcf71676165ccfb30b4d847abd43eccff1da040ba7b4d1d2832f0b8008fefc2bca14a7860ca744c51f2e5eed5e1b0417a67979478f
AUX cpio-2.12-non-gnu-compilers.patch 223 SHA256 d208a7921cdcb07bfd5bd95378b4bcec323bea780a8456b71f366872fdc0456b SHA512 369efc3393affdb91191ab7a55a6dd3a1157ddfa294bd9a4763cc63e6df72af3a7ab614234d69e327edf14a97e4fb800aee32a379ade73c0f80b0dd8ecf33f03 WHIRLPOOL 041a0920b26e1c69d9efcc4594af2801c68aa8e0b8d67c214867770a1e4fcd172d5e725d8bc0e9c117594420ccd86e0b30746b2e34510b26ec873838299a16e1
DIST cpio-2.11.tar.bz2 1018483 SHA256 bb820bfd96e74fc6ce43104f06fe733178517e7f5d1cdee553773e8eff7d5bbd SHA512 b6ccb3e121ea29780219d21c9cd6267c2f7b7ae72fb899bb80e1c54cc33e9eac5363443d93dbfbe37e8e8d295dad2724ac607f0543cc62797919605f68c396aa WHIRLPOOL 3e19212f8d5c16de0d531d189fa9fc288ff90d6299c1f3f98f61e182bb0ec278705ae5021c85c7aaeab869ad36b2b3bcd11327a746cde0bf5a596049d711d9cd
DIST cpio-2.12.tar.bz2 1258605 SHA256 70998c5816ace8407c8b101c9ba1ffd3ebbecba1f5031046893307580ec1296e SHA512 0cd4da5f2fbca179ab4e666a5f878414c086a5f98bce4c76273f21d9b2a6fe422d901b5d453826c5f81bbe363aa015047a1e99779ad1a451c8feca6205c63120 WHIRLPOOL 2990d54b0832e36239737fbd71f197b28703ec22de8dbbab57c7b97dab88a6107cf5464e4dd0bbf208f2c3d49839c7c2abe8ef68c1f2318ff7018d0b07f179fc
EBUILD cpio-2.11-r3.ebuild 1195 SHA256 4c4b6eefe4af7eddd54903b2bc784edd2fd57202fbc9120b75e2a35ba26fc838 SHA512 ebdea76139be6d4865fd2b94b0e1741763fbb827ce162b29786db4e66e4ae907a13df1558fa95946c6196c71d2cf00bcb1f841bb6b607fc618133986740b4bd9 WHIRLPOOL 6e1c589d0e36e5b36eef546af496641571451bea0eb367c741d42c508379093f212bb691918c726b26ead1ee6561fc7dfd41462e46f1a7ebe0660738ac1daceb
EBUILD cpio-2.12-r1.ebuild 954 SHA256 81919893501007c90ee85a435f9288716a2cbba0dfd2eaffa7bfdbb08ccc7671 SHA512 b8a9639dff181e45beb510a92dffe5a042561624e363d66cc5694c62730def949e68df680937c7c1f1aff2b4eaa6761159efe754eafab030b6152b5a638b4247 WHIRLPOOL 0307bcfd8d9b823e4fc0619db8408423286c7524ed3af13e4e5b3da7f314d8e924fce4fccdacb1173fab52615bd10a29c29154b398c3b41c9aad3e9b54a5db76
EBUILD cpio-2.12.ebuild 902 SHA256 0da8705841bb8db4d6e11aef413db705d46343c24bc74bd299da21133c1b0270 SHA512 2a986938a7770ca01926f7eb18c5aa123d10903d584d9321218d5927319b77c8cfd9dbb0d774f32346b81b5d9d3602ef32f49bd441dd394ca4c89ca376ca689a WHIRLPOOL 22bbacda6e861ae08e63938e95cbce0a3de283b5b4391c96d22384cca26ce080c664d8bf9766a5be54db64e40ad5a6db4b5a33a749f9dc7ef2852b8b06deda32
MISC ChangeLog 5401 SHA256 0395d03ccad716e0bc71f202be7c08beeaa5c50123f9fdb0d69d5fa5ad658b90 SHA512 db59cbcf6343795d2e7e7d8424cf0ba880497c3cc787007f562ecc326e24367d7ec3bb370c7d9d15a6edc2c22885e45f0109ed4126e701cdfbbe9edb4c9d799f WHIRLPOOL 98bda3640410ff62ac8562773f626258bd98fc4d15e763d3fa48aec5ace19c1cd965e6e190c62137cef0e455f4ccafbf30b0bdfb94509557377c8f8d89c0794c
MISC ChangeLog-2015 18440 SHA256 94ebd0f69a0d63e636064bfc7a20915f3f13aa6a5c74cb0ef308f1ae1d83893e SHA512 5d05ce3971c456b975bf1fb0ed70cdf1049d90138c46e3980f6365500190428c7a94850999862684a1e4b6498a5302717e9f36cc7dbaf82b4a09682a663e1c12 WHIRLPOOL 1e3d90d55fdbb354b2ed1f7da2690befaafe779945484e0e9861533630589f5be550409dcbaae15c0de47a7da4de9cf3fb0a608401d3694189b5c6080541857a
MISC metadata.xml 253 SHA256 d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 WHIRLPOOL e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8
DIST cpio-2.12.tar.bz2 1258605 BLAKE2B 4b6d42a1d8aaeaa980cab5894b2e264451e96a108f2c3aa89d3e6fde0bff338e026ee233ebd7c8cf41f3c926d42d38b866778244db774055736ca8792889e160 SHA512 0cd4da5f2fbca179ab4e666a5f878414c086a5f98bce4c76273f21d9b2a6fe422d901b5d453826c5f81bbe363aa015047a1e99779ad1a451c8feca6205c63120

View File

@ -1,37 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit autotools eutils
DESCRIPTION="A file archival tool which can also read and write tar files"
HOMEPAGE="https://www.gnu.org/software/cpio/cpio.html"
SRC_URI="mirror://gnu/cpio/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls"
src_prepare() {
epatch "${FILESDIR}"/${P}-stat.patch #328531
epatch "${FILESDIR}"/${P}-no-gets.patch #424974
epatch "${FILESDIR}"/${P}-non-gnu-compilers.patch #275295
epatch "${FILESDIR}"/${P}-security.patch #530512 #536010
epatch "${FILESDIR}"/${P}-symlink-bad-length-test.patch #554760
eautoreconf
}
src_configure() {
econf \
$(use_enable nls) \
--bindir="${EPREFIX}"/bin \
--with-rmt="${EPREFIX}"/usr/sbin/rmt
}
src_install() {
default
rm "${ED}"/usr/share/man/man1/mt.1 || die
}

View File

@ -1,6 +1,5 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
@ -12,7 +11,7 @@ SRC_URI="mirror://gnu/cpio/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls"
src_prepare() {

View File

@ -1,27 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils
DESCRIPTION="A file archival tool which can also read and write tar files"
HOMEPAGE="https://www.gnu.org/software/cpio/cpio.html"
SRC_URI="mirror://gnu/cpio/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls"
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.12-non-gnu-compilers.patch #275295
}
src_configure() {
econf \
$(use_enable nls) \
--bindir="${EPREFIX}"/bin \
--with-rmt="${EPREFIX}"/usr/sbin/rmt
}

View File

@ -1,24 +0,0 @@
https://bugs.gentoo.org/424974
hack until gzip pulls a newer gnulib version
From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001
From: Eric Blake <eblake@redhat.com>
Date: Thu, 29 Mar 2012 13:30:41 -0600
Subject: [PATCH] stdio: don't assume gets any more
Gnulib intentionally does not have a gets module, and now that C11
and glibc have dropped it, we should be more proactive about warning
any user on a platform that still has a declaration of this dangerous
interface.
--- a/gnu/stdio.in.h
+++ b/gnu/stdio.in.h
@@ -125,7 +125,6 @@
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
#undef gets
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#if @GNULIB_FOPEN@
# if @REPLACE_FOPEN@

View File

@ -1,18 +0,0 @@
srcshelton@gmail.com: Patch for IRIX
http://bugs.gentoo.org/show_bug.cgi?id=275295
Sent upstream:
https://savannah.gnu.org/patch/?7838
--- src/cpiohdr.h.dist 2009-06-24 15:41:26.983725240 +0100
+++ src/cpiohdr.h 2009-06-24 15:41:59.753567720 +0100
@@ -24,6 +24,8 @@
#ifdef HAVE_ATTRIB_PACKED
#define ATTRIB_PACKED __attribute__((packed))
+#else
+#define ATTRIB_PACKED
#endif
#ifdef HAVE_PRAGMA_PACK

View File

@ -1,266 +0,0 @@
diff -uNr cpio-2.11.ORIG/src/copyin.c cpio-2.11/src/copyin.c
--- cpio-2.11.ORIG/src/copyin.c 2015-01-09 11:31:49.017090090 +0000
+++ cpio-2.11/src/copyin.c 2015-01-09 11:35:37.723092293 +0000
@@ -124,10 +124,30 @@
if (pad != 0)
tape_toss_input (in_file_des, pad);
}
-
+
+static char *
+get_link_name (struct cpio_file_stat *file_hdr, int in_file_des)
+{
+ char *link_name;
+
+ if (file_hdr->c_filesize < 0 || file_hdr->c_filesize > SIZE_MAX-1)
+ {
+ error (0, 0, _("%s: stored filename length is out of range"),
+ file_hdr->c_name);
+ link_name = NULL;
+ }
+ else
+ {
+ link_name = xmalloc (file_hdr->c_filesize + 1);
+ tape_buffered_read (link_name, in_file_des, file_hdr->c_filesize);
+ link_name[file_hdr->c_filesize] = '\0';
+ tape_skip_padding (in_file_des, file_hdr->c_filesize);
+ }
+ return link_name;
+}
static void
-list_file(struct cpio_file_stat* file_hdr, int in_file_des)
+list_file (struct cpio_file_stat* file_hdr, int in_file_des)
{
if (verbose_flag)
{
@@ -136,21 +156,16 @@
{
if (archive_format != arf_tar && archive_format != arf_ustar)
{
- char *link_name = NULL; /* Name of hard and symbolic links. */
-
- link_name = (char *) xmalloc ((unsigned int) file_hdr->c_filesize + 1);
- link_name[file_hdr->c_filesize] = '\0';
- tape_buffered_read (link_name, in_file_des, file_hdr->c_filesize);
- long_format (file_hdr, link_name);
- free (link_name);
- tape_skip_padding (in_file_des, file_hdr->c_filesize);
- return;
+ char *link_name = get_link_name (file_hdr, in_file_des);
+ if (link_name)
+ {
+ long_format (file_hdr, link_name);
+ free (link_name);
+ }
}
else
- {
- long_format (file_hdr, file_hdr->c_tar_linkname);
- return;
- }
+ long_format (file_hdr, file_hdr->c_tar_linkname);
+ return;
}
else
#endif
@@ -640,7 +655,7 @@
}
static void
-copyin_link(struct cpio_file_stat *file_hdr, int in_file_des)
+copyin_link (struct cpio_file_stat *file_hdr, int in_file_des)
{
char *link_name = NULL; /* Name of hard and symbolic links. */
int res; /* Result of various function calls. */
@@ -650,10 +665,9 @@
if (archive_format != arf_tar && archive_format != arf_ustar)
{
- link_name = (char *) xmalloc ((unsigned int) file_hdr->c_filesize + 1);
- link_name[file_hdr->c_filesize] = '\0';
- tape_buffered_read (link_name, in_file_des, file_hdr->c_filesize);
- tape_skip_padding (in_file_des, file_hdr->c_filesize);
+ link_name = get_link_name (file_hdr, in_file_des);
+ if (!link_name)
+ return;
}
else
{
@@ -1005,7 +1019,7 @@
file_hdr->c_tar_linkname = NULL;
- tape_buffered_read (magic.str, in_des, 6L);
+ tape_buffered_read (magic.str, in_des, sizeof (magic.str));
while (1)
{
if (append_flag)
@@ -1050,8 +1064,8 @@
break;
}
bytes_skipped++;
- memmove (magic.str, magic.str + 1, 5);
- tape_buffered_read (magic.str, in_des, 1L);
+ memmove (magic.str, magic.str + 1, sizeof (magic.str) - 1);
+ tape_buffered_read (magic.str + sizeof (magic.str) - 1, in_des, 1L);
}
}
diff -uNr cpio-2.11.ORIG/src/util.c cpio-2.11/src/util.c
--- cpio-2.11.ORIG/src/util.c 2015-01-09 11:31:49.018090090 +0000
+++ cpio-2.11/src/util.c 2015-01-09 11:36:55.794093045 +0000
@@ -206,10 +206,7 @@
if (input_size < 0)
error (1, errno, _("read error"));
if (input_size == 0)
- {
- error (0, 0, _("premature end of file"));
- exit (1);
- }
+ error (PAXEXIT_FAILURE, 0, _("premature end of file"));
input_bytes += input_size;
}
diff -uNr cpio-2.11.ORIG/tests/Makefile.am cpio-2.11/tests/Makefile.am
--- cpio-2.11.ORIG/tests/Makefile.am 2015-01-09 11:31:49.020090090 +0000
+++ cpio-2.11/tests/Makefile.am 2015-01-09 11:34:05.121091401 +0000
@@ -52,6 +52,8 @@
setstat04.at\
setstat05.at\
symlink.at\
+ symlink-bad-length.at\
+ symlink-long.at\
version.at
TESTSUITE = $(srcdir)/testsuite
diff -uNr cpio-2.11.ORIG/tests/symlink-bad-length.at cpio-2.11/tests/symlink-bad-length.at
--- cpio-2.11.ORIG/tests/symlink-bad-length.at 1970-01-01 01:00:00.000000000 +0100
+++ cpio-2.11/tests/symlink-bad-length.at 2015-01-09 11:35:52.124092432 +0000
@@ -0,0 +1,64 @@
+# Process this file with autom4te to create testsuite. -*- Autotest -*-
+# Copyright (C) 2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301 USA.
+
+# Cpio v2.11 did segfault with badly set symlink length.
+# References:
+# http://lists.gnu.org/archive/html/bug-cpio/2014-11/msg00007.html
+
+AT_SETUP([symlink-bad-length])
+AT_KEYWORDS([symlink-long copyout])
+
+AT_DATA([ARCHIVE.base64],
+[x3EjAIBAtIEtJy8nAQAAAHRUYW0FAAAADQBGSUxFAABzb21lIGNvbnRlbnQKAMdxIwBgQ/+hLScv
+JwEAAAB0VEhuBQD/////TElOSwAARklMRcdxAAAAAAAAAAAAAAEAAAAAAAAACwAAAAAAVFJBSUxF
+UiEhIQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+])
+
+# The exact error message and exit status depend on the host architecture,
+# therefore strderr is filtered out and error code is not checked.
+
+# So far the only case when cpio would exit with code 0 is when it skips
+# several bytes and encounters a valid record header. Perhaps it should
+# exit with code 2 (non-critical error), if at least one byte was skipped,
+# but that could hurt backward compatibility.
+
+AT_CHECK([
+base64 -d ARCHIVE.base64 > ARCHIVE || AT_SKIP_TEST
+TZ=UTC cpio -ntv < ARCHIVE 2>stderr
+cat stderr | grep -v \
+ -e 'stored filename length is out of range' \
+ -e 'premature end of file' \
+ -e 'archive header has reverse byte-order' \
+ -e 'memory exhausted' \
+ -e 'skipped [[0-9][0-9]*] bytes of junk' \
+ -e '[[0-9][0-9]*] block' \
+ >&2
+echo >&2 STDERR
+],
+[0],
+[-rw-rw-r-- 1 10029 10031 13 Nov 25 11:52 FILE
+],[STDERR
+])
+
+AT_CLEANUP
diff -uNr cpio-2.11.ORIG/tests/symlink-long.at cpio-2.11/tests/symlink-long.at
--- cpio-2.11.ORIG/tests/symlink-long.at 1970-01-01 01:00:00.000000000 +0100
+++ cpio-2.11/tests/symlink-long.at 2015-01-09 11:32:53.908090715 +0000
@@ -0,0 +1,46 @@
+# Process this file with autom4te to create testsuite. -*- Autotest -*-
+# Copyright (C) 2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301 USA.
+
+# Cpio v2.11.90 changed the way symlink name is read from archive.
+# References:
+# http://lists.gnu.org/archive/html/bug-cpio/2014-11/msg00007.html
+
+AT_SETUP([symlink-long])
+AT_KEYWORDS([symlink-long copyout])
+
+AT_CHECK([
+
+# len(dirname) > READBUFSIZE
+dirname=
+for i in {1..52}; do
+ dirname="xxxxxxxxx/$dirname"
+ mkdir "$dirname"
+done
+ln -s "$dirname" x || AT_SKIP_TEST
+
+echo x | cpio -o > ar
+list=`cpio -tv < ar | sed 's|.*-> ||'`
+test "$list" = "$dirname" && echo success || echo fail
+],
+[0],
+[success
+],[2 blocks
+2 blocks
+])
+
+AT_CLEANUP
diff -uNr cpio-2.11.ORIG/tests/testsuite.at cpio-2.11/tests/testsuite.at
--- cpio-2.11.ORIG/tests/testsuite.at 2015-01-09 11:31:49.020090090 +0000
+++ cpio-2.11/tests/testsuite.at 2015-01-09 11:34:34.386091683 +0000
@@ -31,6 +31,8 @@
m4_include([inout.at])
m4_include([symlink.at])
+m4_include([symlink-bad-length.at])
+m4_include([symlink-long.at])
m4_include([interdir.at])
m4_include([setstat01.at])

View File

@ -1,25 +0,0 @@
http://bugs.gentoo.org/328531
From 3a7a1820d4cecbd77c7b74c785af5942510bf080 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <gray@gnu.org.ua>
Date: Thu, 22 Jul 2010 13:13:34 +0300
Subject: [PATCH] Minor fix.
* src/filetypes.h: Remove declarations of stat and lstat.
---
src/filetypes.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/filetypes.h b/src/filetypes.h
index f80faab..81f0c32 100644
--- a/src/filetypes.h
+++ b/src/filetypes.h
@@ -81,5 +81,3 @@
#ifndef S_ISLNK
#define lstat stat
#endif
-int lstat ();
-int stat ();
--
1.7.3

View File

@ -1,39 +0,0 @@
https://lists.gnu.org/archive/html/bug-cpio/2015-06/msg00001.html
https://bugs.gentoo.org/554760
this fix is squashed into 0396591026410f91f7a81b4b150bc7285d9f2278
(as upstream doesn't seem to understand git)
>From bebf9662c406d1d137a66c567d8748b489d352e7 Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <address@hidden>
Date: Thu, 4 Jun 2015 13:27:42 +0200
Subject: [PATCH] tests: fix expected output for old file
Thanks Victor Rodriguez. Upstream thread:
http://lists.gnu.org/archive/html/bug-cpio/2015-06/msg00000.html
* tests/symlink-bad-length.at (STDOUT): Expect the year string
'2014' is printed and not time because the file in archive is
older than 6 months.
* Thanks: Mention Victor.
---
THANKS | 1 +
tests/symlink-bad-length.at | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/symlink-bad-length.at b/tests/symlink-bad-length.at
index e1a7093..2cdc692 100644
--- a/tests/symlink-bad-length.at
+++ b/tests/symlink-bad-length.at
@@ -57,7 +57,7 @@ cat stderr | grep -v \
echo >&2 STDERR
],
[0],
-[-rw-rw-r-- 1 10029 10031 13 Nov 25 11:52 FILE
+[-rw-rw-r-- 1 10029 10031 13 Nov 25 2014 FILE
],[STDERR
])
--
2.1.0

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=configure install prepare
DEPEND=>=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=A file archival tool which can also read and write tar files
EAPI=5
HOMEPAGE=https://www.gnu.org/software/cpio/cpio.html
IUSE=nls
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-3
SLOT=0
SRC_URI=mirror://gnu/cpio/cpio-2.11.tar.bz2
_eclasses_=autotools dc412f38566b91012efd58b9c203e6c3 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 libtool 0081a71a261724730ec4c248494f044d ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
_md5_=6ca3c2c44e7f53957995a9dc28963f15

View File

@ -1,11 +0,0 @@
DEFINED_PHASES=configure prepare
DESCRIPTION=A file archival tool which can also read and write tar files
EAPI=5
HOMEPAGE=https://www.gnu.org/software/cpio/cpio.html
IUSE=nls
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-3
SLOT=0
SRC_URI=mirror://gnu/cpio/cpio-2.12.tar.bz2
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
_md5_=868a7c33d6599a73e3efd1707735fac1

View File

@ -3,9 +3,9 @@ DESCRIPTION=A file archival tool which can also read and write tar files
EAPI=5
HOMEPAGE=https://www.gnu.org/software/cpio/cpio.html
IUSE=nls
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-3
SLOT=0
SRC_URI=mirror://gnu/cpio/cpio-2.12.tar.bz2
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
_md5_=5511060e0fbab39dbe3fb5cbfbb0677e
_md5_=2b5834d5cb7b89dc29120b0c49e7d1c5