1 |
commit: 76c1cf9aa7fd7da4311612199fd09ed9caff0290 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 9 16:01:36 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 9 16:01:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76c1cf9a |
7 |
|
8 |
dev-util/global: security cleanup |
9 |
|
10 |
Bug: https://bugs.gentoo.org/646348 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-util/global/Manifest | 2 - |
15 |
dev-util/global/global-6.3.1.ebuild | 81 ------------------------------- |
16 |
dev-util/global/global-6.5.7.ebuild | 96 ------------------------------------- |
17 |
3 files changed, 179 deletions(-) |
18 |
|
19 |
diff --git a/dev-util/global/Manifest b/dev-util/global/Manifest |
20 |
index 902af58d5dc..40b667bfa42 100644 |
21 |
--- a/dev-util/global/Manifest |
22 |
+++ b/dev-util/global/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST global-6.3.1.tar.gz 1369634 BLAKE2B 8d93222ccbb4a45c0b9f114cd84b342b3f6ab99f7e0bbc18bfe00912ecd53f606be9d32fce1570e027009fd1fbe4752f03dd19c183dfda438d67a329808a6b45 SHA512 83becd6cda06f8da17ea0c701bb135523ff48cec73b233d24566387d11a35c0b42f410b62753838e2b364a5a485cac033b4aef1159cc6f4cdeca4a7b6c5bb4d6 |
25 |
-DIST global-6.5.7.tar.gz 2940567 BLAKE2B e0c692e09f9f7ea64ecbe47e18691efd3c641f28826e19751fb812690cd9d64a53af03055de9ec8199637da46dbd6084fec16380d7f295c83ed77553a8e301fd SHA512 0d33f718839e5e00bdd6d042b415a69c5e1f232d843610870505f8f20635b445810149b1b84ea8b77881f5f64814783ebe3cdcab2f84b8a085223b64293a9045 |
26 |
DIST global-6.6.4.tar.gz 2988969 BLAKE2B 784087537094d27c10d1f2bc992e799c35ab6ce3b86e041c31279e6954b203e80676b3158ba95e7957456b75a213d70998aae9047836cd4d388212236f05a081 SHA512 cb4ed451d3aaf47c4c59cdc3f74c97d3171108177d4846b5dac843589710e66d87c9d7bbe080c3770329e8e40105ac52dcafb4609257347593cca4d94711f483 |
27 |
|
28 |
diff --git a/dev-util/global/global-6.3.1.ebuild b/dev-util/global/global-6.3.1.ebuild |
29 |
deleted file mode 100644 |
30 |
index 9d48ee787d8..00000000000 |
31 |
--- a/dev-util/global/global-6.3.1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,81 +0,0 @@ |
34 |
-# Copyright 1999-2020 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI="5" |
38 |
- |
39 |
-inherit autotools elisp-common eutils ltprune |
40 |
- |
41 |
-DESCRIPTION="tag system to find an object location in various sources" |
42 |
-HOMEPAGE="https://www.gnu.org/software/global/global.html" |
43 |
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="GPL-3" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 ppc x86" |
48 |
-IUSE="doc emacs vim" |
49 |
- |
50 |
-RDEPEND="|| ( dev-libs/libltdl:0 sys-devel/libtool:2 ) |
51 |
- sys-libs/ncurses |
52 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
53 |
- vim? ( || ( app-editors/vim app-editors/gvim ) )" |
54 |
-DEPEND="${DEPEND} |
55 |
- doc? ( app-text/texi2html sys-apps/texinfo )" |
56 |
- |
57 |
-SITEFILE="50gtags-gentoo.el" |
58 |
- |
59 |
-src_prepare() { |
60 |
- epatch "${FILESDIR}/${PN}-6.2.9-tinfo.patch" |
61 |
- eautoreconf |
62 |
-} |
63 |
- |
64 |
-src_configure() { |
65 |
- econf "$(use_with emacs lispdir "${SITELISP}/${PN}")" |
66 |
-} |
67 |
- |
68 |
-src_compile() { |
69 |
- if use doc; then |
70 |
- texi2pdf -q -o doc/global.pdf doc/global.texi |
71 |
- texi2html -o doc/global.html doc/global.texi |
72 |
- fi |
73 |
- |
74 |
- if use emacs; then |
75 |
- elisp-compile *.el |
76 |
- fi |
77 |
- |
78 |
- emake |
79 |
-} |
80 |
- |
81 |
-src_install() { |
82 |
- emake DESTDIR="${D}" install |
83 |
- |
84 |
- if use doc; then |
85 |
- dohtml doc/global.html |
86 |
- # doc/global.pdf is generated if tex executable (e.g. /usr/bin/tex) is available. |
87 |
- [[ -f doc/global.pdf ]] && dodoc doc/global.pdf |
88 |
- fi |
89 |
- |
90 |
- dodoc AUTHORS FAQ NEWS README THANKS |
91 |
- |
92 |
- insinto /etc |
93 |
- doins gtags.conf |
94 |
- |
95 |
- if use vim; then |
96 |
- insinto /usr/share/vim/vimfiles/plugin |
97 |
- doins gtags.vim |
98 |
- fi |
99 |
- |
100 |
- if use emacs; then |
101 |
- elisp-install ${PN} *.{el,elc} |
102 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
103 |
- fi |
104 |
- |
105 |
- prune_libtool_files |
106 |
-} |
107 |
- |
108 |
-pkg_postinst() { |
109 |
- use emacs && elisp-site-regen |
110 |
-} |
111 |
- |
112 |
-pkg_postrm() { |
113 |
- use emacs && elisp-site-regen |
114 |
-} |
115 |
|
116 |
diff --git a/dev-util/global/global-6.5.7.ebuild b/dev-util/global/global-6.5.7.ebuild |
117 |
deleted file mode 100644 |
118 |
index 2b19aa0f759..00000000000 |
119 |
--- a/dev-util/global/global-6.5.7.ebuild |
120 |
+++ /dev/null |
121 |
@@ -1,96 +0,0 @@ |
122 |
-# Copyright 1999-2019 Gentoo Authors |
123 |
-# Distributed under the terms of the GNU General Public License v2 |
124 |
- |
125 |
-EAPI=6 |
126 |
- |
127 |
-inherit autotools ltprune elisp-common |
128 |
- |
129 |
-DESCRIPTION="tag system to find an object location in various sources" |
130 |
-HOMEPAGE="https://www.gnu.org/software/global/global.html" |
131 |
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
132 |
- |
133 |
-LICENSE="GPL-3" |
134 |
-SLOT="0" |
135 |
-KEYWORDS="~amd64 ~ppc ~x86" |
136 |
-IUSE="doc emacs vim" |
137 |
- |
138 |
-RDEPEND=" |
139 |
- sys-libs/ncurses |
140 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
141 |
- vim? ( || ( |
142 |
- app-editors/vim |
143 |
- app-editors/gvim |
144 |
- ) |
145 |
- ) |
146 |
- || ( |
147 |
- dev-libs/libltdl:0 |
148 |
- sys-devel/libtool:2 |
149 |
- )" |
150 |
- |
151 |
-DEPEND="${DEPEND} |
152 |
- doc? ( |
153 |
- app-text/texi2html |
154 |
- sys-apps/texinfo |
155 |
- )" |
156 |
- |
157 |
-SITEFILE="50gtags-gentoo.el" |
158 |
- |
159 |
-PATCHES=( "${FILESDIR}/${PN}-6.2.9-tinfo.patch" ) |
160 |
- |
161 |
-DOCS=( AUTHORS FAQ NEWS README THANKS ) |
162 |
- |
163 |
-src_prepare() { |
164 |
- default |
165 |
- eautoreconf |
166 |
-} |
167 |
- |
168 |
-src_configure() { |
169 |
- econf \ |
170 |
- "$(use_with emacs lispdir "${SITELISP}/${PN}")" |
171 |
-} |
172 |
- |
173 |
-src_compile() { |
174 |
- if use doc; then |
175 |
- texi2pdf -q -o doc/global.pdf doc/global.texi |
176 |
- texi2html -o doc/global.html doc/global.texi |
177 |
- fi |
178 |
- |
179 |
- if use emacs; then |
180 |
- elisp-compile *.el |
181 |
- fi |
182 |
- |
183 |
- emake |
184 |
-} |
185 |
- |
186 |
-src_install() { |
187 |
- default |
188 |
- |
189 |
- insinto /etc |
190 |
- doins gtags.conf |
191 |
- |
192 |
- if use vim; then |
193 |
- insinto /usr/share/vim/vimfiles/plugin |
194 |
- doins gtags.vim |
195 |
- fi |
196 |
- |
197 |
- if use emacs; then |
198 |
- elisp-install ${PN} *.{el,elc} |
199 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
200 |
- fi |
201 |
- |
202 |
- if use doc; then |
203 |
- # doc/global.pdf is generated if tex executable (e.g. /usr/bin/tex) is available. |
204 |
- [[ -f doc/global.pdf ]] && DOCS+=( doc/global.pdf ) |
205 |
- fi |
206 |
- |
207 |
- einstalldocs |
208 |
- prune_libtool_files |
209 |
-} |
210 |
- |
211 |
-pkg_postinst() { |
212 |
- use emacs && elisp-site-regen |
213 |
-} |
214 |
- |
215 |
-pkg_postrm() { |
216 |
- use emacs && elisp-site-regen |
217 |
-} |