Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-dicts/wordnet: wordnet-3.0.ebuild ChangeLog wordnet-3.0-r2.ebuild wordnet-3.0-r1.ebuild
Date: Fri, 12 Sep 2008 19:36:34
Message-Id: E1KeERS-0003sT-SL@stork.gentoo.org
1 pva 08/09/12 19:36:30
2
3 Modified: wordnet-3.0.ebuild ChangeLog
4 Added: wordnet-3.0-r2.ebuild
5 Removed: wordnet-3.0-r1.ebuild
6 Log:
7 Applying fix for CVE-2008-2149, again bug #211491, thank you Robert Buchholz.
8 (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686)
9
10 Revision Changes Path
11 1.3 app-dicts/wordnet/wordnet-3.0.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/wordnet/wordnet-3.0.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/wordnet/wordnet-3.0.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/wordnet/wordnet-3.0.ebuild?r1=1.2&r2=1.3
16
17 Index: wordnet-3.0.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-dicts/wordnet/wordnet-3.0.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- wordnet-3.0.ebuild 22 Oct 2007 16:42:18 -0000 1.2
24 +++ wordnet-3.0.ebuild 12 Sep 2008 19:36:30 -0000 1.3
25 @@ -1,6 +1,6 @@
26 -# Copyright 1999-2007 Gentoo Foundation
27 +# Copyright 1999-2008 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/wordnet-3.0.ebuild,v 1.2 2007/10/22 16:42:18 cla Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/wordnet-3.0.ebuild,v 1.3 2008/09/12 19:36:30 pva Exp $
31
32 inherit flag-o-matic autotools
33
34 @@ -48,13 +48,11 @@
35 WN_MANDIR="${T}/usr/share/man" \
36 WN_DOCDIR="${T}/usr/share/doc/wordnet-${PV}" \
37 WNHOME="/usr/share/wordnet" \
38 - econf || die "econf failed"
39 + econf
40 emake || die "emake Failed"
41 }
42
43 src_install() {
44 emake install DESTDIR="${D}" || die "install failed"
45 -
46 - # We don't install COPYING because it's identical to LICENSE
47 - dodoc AUTHORS ChangeLog INSTALL LICENSE README || die "dodoc failed"
48 + dodoc AUTHORS ChangeLog INSTALL README || die "dodoc failed"
49 }
50
51
52
53 1.16 app-dicts/wordnet/ChangeLog
54
55 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/wordnet/ChangeLog?rev=1.16&view=markup
56 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/wordnet/ChangeLog?rev=1.16&content-type=text/plain
57 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/wordnet/ChangeLog?r1=1.15&r2=1.16
58
59 Index: ChangeLog
60 ===================================================================
61 RCS file: /var/cvsroot/gentoo-x86/app-dicts/wordnet/ChangeLog,v
62 retrieving revision 1.15
63 retrieving revision 1.16
64 diff -u -r1.15 -r1.16
65 --- ChangeLog 10 Sep 2008 06:57:39 -0000 1.15
66 +++ ChangeLog 12 Sep 2008 19:36:30 -0000 1.16
67 @@ -1,6 +1,14 @@
68 # ChangeLog for app-dicts/wordnet
69 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
70 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/ChangeLog,v 1.15 2008/09/10 06:57:39 pva Exp $
71 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/ChangeLog,v 1.16 2008/09/12 19:36:30 pva Exp $
72 +
73 +*wordnet-3.0-r2 (12 Sep 2008)
74 +
75 + 12 Sep 2008; Peter Volkov <pva@g.o>
76 + -files/wordnet-3.0-CVE-2008-3908.patch, wordnet-3.0.ebuild,
77 + -wordnet-3.0-r1.ebuild, +wordnet-3.0-r2.ebuild:
78 + Applying fix for CVE-2008-2149, again bug #211491, thank you Robert
79 + Buchholz.
80
81 *wordnet-3.0-r1 (10 Sep 2008)
82
83
84
85
86 1.1 app-dicts/wordnet/wordnet-3.0-r2.ebuild
87
88 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/wordnet/wordnet-3.0-r2.ebuild?rev=1.1&view=markup
89 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/wordnet/wordnet-3.0-r2.ebuild?rev=1.1&content-type=text/plain
90
91 Index: wordnet-3.0-r2.ebuild
92 ===================================================================
93 # Copyright 1999-2008 Gentoo Foundation
94 # Distributed under the terms of the GNU General Public License v2
95 # $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/wordnet-3.0-r2.ebuild,v 1.1 2008/09/12 19:36:30 pva Exp $
96
97 inherit flag-o-matic autotools
98
99 DESCRIPTION="A lexical database for the English language"
100 HOMEPAGE="http://wordnet.princeton.edu/"
101 SRC_URI="ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PV}/WordNet-${PV}.tar.gz
102 mirrors://gentoo/${P}-patchset-1.tar.bz2"
103 LICENSE="Princeton"
104
105 SLOT="0"
106 KEYWORDS="~amd64 ~ppc ~x86"
107 IUSE="doc"
108
109 # In contrast to what the configure script seems to imply, Tcl/Tk is NOT optional.
110 # cf. bug 163478 for details. (Yes, it's about 2.1 but it's still the same here.)
111 DEPEND="dev-lang/tcl
112 dev-lang/tk"
113 RDEPEND="${DEPEND}"
114
115 S=${WORKDIR}/WordNet-${PV}
116
117 src_unpack() {
118 unpack ${A}
119 cd "${S}"
120 # Don't install into PREFIX/dict but PREFIX/share/wordnet/dict
121 epatch "${WORKDIR}/${P}-dict-location.patch"
122 # Fixes bug 130024, make an additional shared lib
123 epatch "${WORKDIR}/${P}-shared-lib.patch"
124 # Don't install the docs directly into PREFIX/doc but PREFIX/doc/PN
125 epatch "${WORKDIR}/${P}-docs-path.patch"
126 epatch "${WORKDIR}"/${P}-CVE-2008-3908.patch #211491
127 epatch "${WORKDIR}"/${P}-CVE-2008-2149.patch #211491
128
129 # Don't install all the extra docs (html, pdf, ps) without doc USE flag.
130 use doc || sed -i -e "s:SUBDIRS =.*:SUBDIRS = man:" doc/Makefile.am
131
132 rm -f configure
133 eautoreconf
134 }
135
136 src_compile() {
137 append-flags -DUNIX -I${T}/usr/include
138
139 MAKEOPTS="-e"
140 PLATFORM=linux WN_ROOT="${T}/usr" \
141 WN_DICTDIR="${T}/usr/share/wordnet/dict" \
142 WN_MANDIR="${T}/usr/share/man" \
143 WN_DOCDIR="${T}/usr/share/doc/wordnet-${PV}" \
144 WNHOME="/usr/share/wordnet" \
145 econf
146 emake || die "emake Failed"
147 }
148
149 src_install() {
150 emake install DESTDIR="${D}" || die "install failed"
151 dodoc AUTHORS ChangeLog INSTALL README || die "dodoc failed"
152 }