From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-arch/cpio: ChangeLog cpio-2.9-r2.ebuild |
Date: | Sun, 01 Jun 2008 23:04:38 |
Message-Id: | E1K2wbI-0007BA-7h@stork.gentoo.org |
1 | vapier 08/06/01 23:04:32 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cpio-2.9-r2.ebuild |
5 | Log: |
6 | Add fix from upstream for restoring perms/owners properly #218040 by alexsaa. |
7 | (Portage version: 2.2_pre5.spank.spunk) |
8 | |
9 | Revision Changes Path |
10 | 1.90 app-arch/cpio/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/cpio/ChangeLog?rev=1.90&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/cpio/ChangeLog?rev=1.90&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/cpio/ChangeLog?r1=1.89&r2=1.90 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-arch/cpio/ChangeLog,v |
19 | retrieving revision 1.89 |
20 | retrieving revision 1.90 |
21 | diff -u -r1.89 -r1.90 |
22 | --- ChangeLog 18 Nov 2007 02:43:01 -0000 1.89 |
23 | +++ ChangeLog 1 Jun 2008 23:04:31 -0000 1.90 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for app-arch/cpio |
26 | -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-arch/cpio/ChangeLog,v 1.89 2007/11/18 02:43:01 vapier Exp $ |
28 | +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-arch/cpio/ChangeLog,v 1.90 2008/06/01 23:04:31 vapier Exp $ |
30 | + |
31 | +*cpio-2.9-r2 (01 Jun 2008) |
32 | + |
33 | + 01 Jun 2008; Mike Frysinger <vapier@g.o> |
34 | + +files/cpio-2.9-restore-perms-owners.patch, +cpio-2.9-r2.ebuild: |
35 | + Add fix from upstream for restoring perms/owners properly #218040 by alexsaa. |
36 | |
37 | 18 Nov 2007; Mike Frysinger <vapier@g.o> |
38 | +files/cpio-2.9-gnu-inline.patch, cpio-2.9-r1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 app-arch/cpio/cpio-2.9-r2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/cpio/cpio-2.9-r2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/cpio/cpio-2.9-r2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: cpio-2.9-r2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-arch/cpio/cpio-2.9-r2.ebuild,v 1.1 2008/06/01 23:04:31 vapier Exp $ |
52 | |
53 | inherit eutils |
54 | |
55 | DESCRIPTION="A file archival tool which can also read and write tar files" |
56 | HOMEPAGE="http://www.gnu.org/software/cpio/cpio.html" |
57 | SRC_URI="mirror://gnu/cpio/${P}.tar.bz2" |
58 | |
59 | LICENSE="GPL-3" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
62 | IUSE="nls" |
63 | |
64 | DEPEND="" |
65 | |
66 | src_unpack() { |
67 | unpack ${A} |
68 | cd "${S}" |
69 | epatch "${FILESDIR}"/${P}-CVE-2007-4476.patch #196978 |
70 | epatch "${FILESDIR}"/${P}-gnu-inline.patch #198817 |
71 | epatch "${FILESDIR}"/${P}-restore-perms-owners.patch #218040 |
72 | } |
73 | |
74 | src_compile() { |
75 | econf \ |
76 | $(use_enable nls) \ |
77 | --bindir=/bin \ |
78 | --with-rmt=/usr/sbin/rmt \ |
79 | || die |
80 | emake || die |
81 | } |
82 | |
83 | src_install() { |
84 | emake install DESTDIR="${D}" || die |
85 | dodoc ChangeLog NEWS README |
86 | rm -f "${D}"/usr/share/man/man1/mt.1 |
87 | rmdir "${D}"/usr/libexec || die |
88 | } |
89 | |
90 | |
91 | |
92 | -- |
93 | gentoo-commits@l.g.o mailing list |