From: | "Robert Buchholz (rbu)" <rbu@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/byacc: ChangeLog byacc-1.9-r2.ebuild |
Date: | Sat, 04 Oct 2008 18:57:34 |
Message-Id: | E1KmCJn-0002SC-Kz@stork.gentoo.org |
1 | rbu 08/10/04 18:57:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: byacc-1.9-r2.ebuild |
5 | Log: |
6 | Fix stack access error (security bug #232005). |
7 | (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r6 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.16 dev-util/byacc/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/byacc/ChangeLog?rev=1.16&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/byacc/ChangeLog?rev=1.16&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/byacc/ChangeLog?r1=1.15&r2=1.16 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-util/byacc/ChangeLog,v |
19 | retrieving revision 1.15 |
20 | retrieving revision 1.16 |
21 | diff -u -r1.15 -r1.16 |
22 | --- ChangeLog 21 Apr 2008 17:18:21 -0000 1.15 |
23 | +++ ChangeLog 4 Oct 2008 18:57:31 -0000 1.16 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-util/byacc |
26 | # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-util/byacc/ChangeLog,v 1.15 2008/04/21 17:18:21 phreak Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-util/byacc/ChangeLog,v 1.16 2008/10/04 18:57:31 rbu Exp $ |
29 | + |
30 | +*byacc-1.9-r2 (04 Oct 2008) |
31 | + |
32 | + 04 Oct 2008; Robert Buchholz <rbu@g.o> |
33 | + +files/byacc-1.9-CVE-2008-3196.patch, +byacc-1.9-r2.ebuild: |
34 | + Fix stack access error (security bug #232005). |
35 | |
36 | 21 Apr 2008; Christian Heim <phreak@g.o> metadata.xml: |
37 | Fix up metadata.xml. If there's no maintainer for the package, the metadata |
38 | |
39 | |
40 | |
41 | 1.1 dev-util/byacc/byacc-1.9-r2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/byacc/byacc-1.9-r2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/byacc/byacc-1.9-r2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: byacc-1.9-r2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-util/byacc/byacc-1.9-r2.ebuild,v 1.1 2008/10/04 18:57:31 rbu Exp $ |
51 | |
52 | inherit eutils |
53 | |
54 | DESCRIPTION="the best variant of the Yacc parser generator" |
55 | HOMEPAGE="http://dickey.his.com/byacc/byacc.html" |
56 | SRC_URI="http://sources.isc.org/devel/tools/${P}.tar.gz" |
57 | |
58 | LICENSE="public-domain" |
59 | SLOT="0" |
60 | KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
61 | IUSE="" |
62 | |
63 | |
64 | src_unpack() { |
65 | unpack ${A} |
66 | cd "${S}" |
67 | |
68 | epatch ${FILESDIR}/mkstemp.patch |
69 | |
70 | # The following patch fixes yacc to run correctly on ia64 (and |
71 | # other 64-bit arches). See bug 46233 |
72 | epatch ${FILESDIR}/byacc-1.9-ia64.patch |
73 | |
74 | # avoid stack access error, bug 232005 |
75 | epatch "${FILESDIR}"/${P}-CVE-2008-3196.patch |
76 | } |
77 | |
78 | src_compile() { |
79 | make PROGRAM=byacc CFLAGS="${CFLAGS}" || die |
80 | } |
81 | |
82 | src_install() { |
83 | dobin byacc |
84 | mv yacc.1 byacc.1 |
85 | doman byacc.1 |
86 | dodoc ACKNOWLEDGEMENTS MANIFEST NEW_FEATURES NOTES README |
87 | } |