1 |
ulm 12/01/09 11:09:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cedet-1.0-r1.ebuild |
5 |
Log: |
6 |
Fix security flaw in EDE, bug 398227. Update ebuild to EAPI 4. |
7 |
|
8 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.64 app-emacs/cedet/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/ChangeLog?rev=1.64&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/ChangeLog?rev=1.64&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/ChangeLog?r1=1.63&r2=1.64 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v |
20 |
retrieving revision 1.63 |
21 |
retrieving revision 1.64 |
22 |
diff -u -r1.63 -r1.64 |
23 |
--- ChangeLog 25 Jan 2011 18:02:00 -0000 1.63 |
24 |
+++ ChangeLog 9 Jan 2012 11:09:29 -0000 1.64 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-emacs/cedet |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v 1.63 2011/01/25 18:02:00 ulm Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v 1.64 2012/01/09 11:09:29 ulm Exp $ |
31 |
+ |
32 |
+*cedet-1.0-r1 (09 Jan 2012) |
33 |
+ |
34 |
+ 09 Jan 2012; Ulrich Müller <ulm@g.o> +cedet-1.0-r1.ebuild, |
35 |
+ +files/cedet-1.0-ede_security_fix.patch: |
36 |
+ Fix security flaw in EDE, bug 398227. Update ebuild to EAPI 4. |
37 |
|
38 |
25 Jan 2011; Ulrich Mueller <ulm@g.o> cedet-1.0.ebuild: |
39 |
Supply subdirectories of S in load-path, bug 349790. |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-emacs/cedet/cedet-1.0-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/cedet-1.0-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/cedet-1.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cedet-1.0-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/cedet-1.0-r1.ebuild,v 1.1 2012/01/09 11:09:29 ulm Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
NEED_EMACS=22 |
56 |
|
57 |
inherit elisp |
58 |
|
59 |
MY_P=${P/_} |
60 |
DESCRIPTION="CEDET: Collection of Emacs Development Environment Tools" |
61 |
HOMEPAGE="http://cedet.sourceforge.net/" |
62 |
SRC_URI="mirror://sourceforge/cedet/${MY_P}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2 FDL-1.2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris" |
67 |
IUSE="" |
68 |
|
69 |
S="${WORKDIR}/${MY_P}" |
70 |
ELISP_PATCHES="${P}-ede_security_fix.patch" |
71 |
SITEFILE="50${PN}-gentoo.el" |
72 |
EMACSFLAGS="${EMACSFLAGS} -L ${S}/eieio -L ${S}/semantic -L ${S}/srecode \ |
73 |
-L ${S}/ede -L ${S}/speedbar -L ${S}/cogre" |
74 |
|
75 |
src_compile() { |
76 |
emake -j1 \ |
77 |
EMACS="${EMACS}" \ |
78 |
EMACSFLAGS="${EMACSFLAGS}" |
79 |
} |
80 |
|
81 |
src_test() { |
82 |
emake -j1 \ |
83 |
EMACS="${EMACS}" \ |
84 |
EMACSFLAGS="${EMACSFLAGS}" \ |
85 |
utest |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
local target file dir |
90 |
find . -type d -name tests -prune -o -type f -print | while read target |
91 |
do |
92 |
file=${target##*/} |
93 |
dir=${target%/*}; dir=${dir#./} |
94 |
case "${file}" in |
95 |
*~ | Makefile | *.texi | *-script | PRERELEASE_CHECKLIST \ |
96 |
| Project.ede | USING_CEDET_FROM_CVS | grammar-fw-ov.txt) |
97 |
;; |
98 |
ChangeLog | README | AUTHORS | *NEWS | INSTALL \ |
99 |
| renamelist.txt | semanticdb.sh) |
100 |
docinto "${dir}" |
101 |
dodoc "${target}" ;; |
102 |
*.el | *.by | *.wy) |
103 |
# install grammar sources along with the elisp files, since |
104 |
# the location where semantic expects them is not configurable |
105 |
insinto "${SITELISP}/${PN}/${dir}" |
106 |
doins "${target}" ;; |
107 |
*.elc) |
108 |
# we are in a subshell, so collecting in a variable won't work |
109 |
echo "${target}" >>"${T}/elc-list.txt" ;; |
110 |
*.srt | *.xpm) |
111 |
insinto "${SITEETC}/${PN}/${dir}" |
112 |
doins "${target}" ;; |
113 |
*.info* | grammar-fw-ov.png) |
114 |
doinfo "${target}" ;; |
115 |
*) |
116 |
die "Unrecognised file ${target}" ;; |
117 |
esac |
118 |
done |
119 |
|
120 |
# make sure that the compiled elisp files have a later time stamp than |
121 |
# the corresponding sources, in order to suppress warnings at run time |
122 |
while read target; do |
123 |
dir=${target%/*}; dir=${dir#./} |
124 |
insinto "${SITELISP}/${PN}/${dir}" |
125 |
doins "${target}" |
126 |
done <"${T}/elc-list.txt" |
127 |
|
128 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die |
129 |
} |