Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/lyx2html: lyx2html-0.2-r1.ebuild ChangeLog lyx2html-0.2.ebuild
Date: Thu, 06 Aug 2009 11:58:15
Message-Id: E1MZ1bp-0001Tc-O7@stork.gentoo.org
1 aballier 09/08/06 11:58:13
2
3 Modified: ChangeLog
4 Added: lyx2html-0.2-r1.ebuild
5 Removed: lyx2html-0.2.ebuild
6 Log:
7 Fix buffer overflows causing segfaults due to badly allocated pointers... spotted by Diego E. 'Flameeyes' Pettenò <flameeyes@g.o>, bug #278136. Also honour LDFLAGS
8 (Portage version: 2.2_rc36/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 app-text/lyx2html/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lyx2html/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lyx2html/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lyx2html/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/lyx2html/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 12 Mar 2007 23:53:59 -0000 1.5
24 +++ ChangeLog 6 Aug 2009 11:58:13 -0000 1.6
25 @@ -1,6 +1,15 @@
26 # ChangeLog for app-text/lyx2html
27 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/lyx2html/ChangeLog,v 1.5 2007/03/12 23:53:59 nattfodd Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/lyx2html/ChangeLog,v 1.6 2009/08/06 11:58:13 aballier Exp $
31 +
32 +*lyx2html-0.2-r1 (06 Aug 2009)
33 +
34 + 06 Aug 2009; Alexis Ballier <aballier@g.o> -lyx2html-0.2.ebuild,
35 + +lyx2html-0.2-r1.ebuild, +files/lyx2html-0.2-alloc.patch,
36 + +files/lyx2html-0.2-ldflags.patch:
37 + Fix buffer overflows causing segfaults due to badly allocated pointers...
38 + spotted by Diego E. 'Flameeyes' Pettenò <flameeyes@g.o>, bug
39 + #278136. Also honour LDFLAGS
40
41 12 Mar 2007; Alexandre Buisse <nattfodd@g.o> metadata.xml:
42 Replaced text-markup by tex as maintaining herd (text-markup split).
43
44
45
46 1.1 app-text/lyx2html/lyx2html-0.2-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lyx2html/lyx2html-0.2-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lyx2html/lyx2html-0.2-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: lyx2html-0.2-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/app-text/lyx2html/lyx2html-0.2-r1.ebuild,v 1.1 2009/08/06 11:58:13 aballier Exp $
56
57 inherit toolchain-funcs eutils
58
59 DESCRIPTION="A very simple Lyx to HTML command line converter"
60 SRC_URI="http://www.netmeister.org/apps/${P}.tar.gz"
61 HOMEPAGE="http://www.netmeister.org/apps/lyx2html/"
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE=""
66 DEPEND=""
67 RDEPEND=""
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${FILESDIR}/${P}-alloc.patch"
73 epatch "${FILESDIR}/${P}-ldflags.patch"
74 }
75
76 src_compile() {
77 emake CC=$(tc-getCC) COPTS="${CFLAGS}" || die
78 }
79
80 src_test() {
81 cd test
82 ../lyx2html README.lyx || die
83 }
84 src_install() {
85 dobin lyx2html || die "Installation failed"
86 dodoc CHANGES README
87 doman lyx2html.1
88 }