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