1 |
commit: 18c165581b6191f01f52b9ded8ab7bf27c73b98f |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 23 07:21:31 2016 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 23 07:21:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c16558 |
7 |
|
8 |
dev-libs/gnulib: cleanup and remove vulnerable versions, bug #600526 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-libs/gnulib/Manifest | 2 - |
13 |
.../files/gnulib-2008.07.23-rpl_getopt.patch | 12 -- |
14 |
.../files/gnulib-2009.03.03.14.07.45-scandir.patch | 15 --- |
15 |
.../gnulib/gnulib-2009.03.03.14.07.45-r1.ebuild | 134 --------------------- |
16 |
dev-libs/gnulib/gnulib-2013.10.28.22.33.52.ebuild | 46 ------- |
17 |
dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild | 4 +- |
18 |
dev-libs/gnulib/gnulib-9999-r1.ebuild | 6 +- |
19 |
7 files changed, 4 insertions(+), 215 deletions(-) |
20 |
|
21 |
diff --git a/dev-libs/gnulib/Manifest b/dev-libs/gnulib/Manifest |
22 |
index f0e41ce..d534c7f 100644 |
23 |
--- a/dev-libs/gnulib/Manifest |
24 |
+++ b/dev-libs/gnulib/Manifest |
25 |
@@ -1,3 +1 @@ |
26 |
-DIST gnulib-0.1.tar.gz 5374195 SHA256 ce686e0d2b94fed7b8d37853ab56c9b8feebb29317948f3b87b2b454af2a52d5 SHA512 020e1288dbc4daa839368edce4e3ac2f3b3e9d06d414179ee12abfe1603107f03319601c5d81eb089599b519130942d055d65f5dc7059bbe9be563ceac92e0e3 WHIRLPOOL fb61579df2797d751c107991a8697627d3759544b1951e710b84a06e4ee1a5f732f8ffa7683a3f2490cba93c589a1954a0625be3ab8aae6ff865d2e511ad0eaa |
27 |
DIST gnulib-3a0b7b74982f44c735f4cfc2dccf538c3c4ef9e2.tar.gz 6192393 SHA256 1ce07693189d8692a5c8f3e3e9cec23cf51f52f38ac2308a82b2f8011b27937f SHA512 9076d0476aef4a7425fb6db038c2a4657ae1a5619a0ddce07a68a97883924f07635edc59818b532564128fbe23b06b39c98b4c544d4fc670dfc4ebd34e2e52c5 WHIRLPOOL e4bce24d233a0eb0d18c502992c5dc453cfafc9b51553dbc32d0e72cfb9d575b19191f2aa2a7cc2fb906e2111a286bd12a830421b2a4ad2b7cf3a0a94027b4fa |
28 |
-DIST gnulib-8d2524ce78ca107074727cbd8780c26a203a107c.tar.gz 3687831 SHA256 a220080dda77159b2d30bbed93437b97efeef20c417e255296924d580ce6d309 SHA512 3fd621c487f2089c425ee1d7b36947c91ebd96fe88d5426ada9e908e583bc8bf38c98850b1db7157f4d04def5fb2bec664f0d67d86ee612d4448158b2ad84a6a WHIRLPOOL b332579c148accd9c8da7f8bedd65a7aa0d36b0c4aa89797d170fd1b47cf7d2b069ee3c797bb4fd18935affab34536b2b56ae94a1707db3e98133de2d384f2bc |
29 |
|
30 |
diff --git a/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch b/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch |
31 |
deleted file mode 100644 |
32 |
index 2ef427a..00000000 |
33 |
--- a/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch |
34 |
+++ /dev/null |
35 |
@@ -1,12 +0,0 @@ |
36 |
---- lib/getopt.in.h.orig 2008-07-25 13:40:38 +0200 |
37 |
-+++ lib/getopt.in.h 2008-07-25 13:41:25 +0200 |
38 |
-@@ -20,6 +20,9 @@ |
39 |
- |
40 |
- #ifndef __need_getopt |
41 |
- # define _GETOPT_H 1 |
42 |
-+# ifndef __GETOPT_PREFIX |
43 |
-+# define __GETOPT_PREFIX rpl_ |
44 |
-+# endif |
45 |
- #endif |
46 |
- |
47 |
- /* Standalone applications should #define __GETOPT_PREFIX to an |
48 |
|
49 |
diff --git a/dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch b/dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch |
50 |
deleted file mode 100644 |
51 |
index 67b1274..00000000 |
52 |
--- a/dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch |
53 |
+++ /dev/null |
54 |
@@ -1,15 +0,0 @@ |
55 |
---- a/lib/scandir.c |
56 |
-+++ b/lib/scandir.c |
57 |
-@@ -18,6 +18,12 @@ |
58 |
- #include <config.h> |
59 |
- |
60 |
- #include <dirent.h> |
61 |
-+#ifndef _D_EXACT_NAMLEN |
62 |
-+# define _D_EXACT_NAMLEN(d) strlen ((d)->d_name) |
63 |
-+#endif |
64 |
-+#ifndef _D_ALLOC_NAMLEN |
65 |
-+# define _D_ALLOC_NAMLEN(d) (_D_EXACT_NAMLEN (d) + 1) |
66 |
-+#endif |
67 |
- |
68 |
- #include <stdlib.h> |
69 |
- #include <string.h> |
70 |
|
71 |
diff --git a/dev-libs/gnulib/gnulib-2009.03.03.14.07.45-r1.ebuild b/dev-libs/gnulib/gnulib-2009.03.03.14.07.45-r1.ebuild |
72 |
deleted file mode 100644 |
73 |
index 0ac165d..00000000 |
74 |
--- a/dev-libs/gnulib/gnulib-2009.03.03.14.07.45-r1.ebuild |
75 |
+++ /dev/null |
76 |
@@ -1,134 +0,0 @@ |
77 |
-# Copyright 1999-2014 Gentoo Foundation |
78 |
-# Distributed under the terms of the GNU General Public License v2 |
79 |
-# $Id$ |
80 |
- |
81 |
-EAPI=3 |
82 |
- |
83 |
-inherit eutils autotools |
84 |
- |
85 |
-DESCRIPTION="Gnulib is a library of common routines intended to be shared at the source level" |
86 |
-HOMEPAGE="https://www.gnu.org/software/gnulib" |
87 |
- |
88 |
-# This tar.gz is created on-the-fly when downloaded from |
89 |
-# http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=snapshot;h=${GNULIB_COMMIT_GITID};sf=tgz |
90 |
-# So to have persistent checksums, we need to download once and cache it. |
91 |
-# |
92 |
-# To get a new version, download a "snapshot" from |
93 |
-# http://git.savannah.gnu.org/gitweb/?p=gnulib.git |
94 |
-# take the commit-id as GNULIB_COMMIT_GITID |
95 |
-# and the committer's timestamp (not the author's one), year to second, UTC |
96 |
-# as the ebuild version. |
97 |
-# |
98 |
-# To see what the last commit message for the current version was, use |
99 |
-# http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=${GNULIB_COMMIT_GITID} |
100 |
-# |
101 |
-GNULIB_COMMIT_GITID=8d2524ce78ca107074727cbd8780c26a203a107c |
102 |
-SRC_URI="https://dev.gentoo.org/~drizzt/distfiles/${PN}-${GNULIB_COMMIT_GITID}.tar.gz" |
103 |
- |
104 |
-LICENSE="GPL-2" |
105 |
-SLOT="0" |
106 |
-KEYWORDS="~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
107 |
-IUSE="doc" |
108 |
- |
109 |
-DEPEND="" |
110 |
-RDEPEND="" |
111 |
- |
112 |
-S="${WORKDIR}"/${PN} |
113 |
-MY_S="${WORKDIR}"/${P} |
114 |
- |
115 |
-src_prepare() { |
116 |
- local requested_gnulib_modules |
117 |
- |
118 |
- case ${CHOST} in |
119 |
- *-freebsd*) |
120 |
- requested_gnulib_modules="mathl strndup" |
121 |
- ;; |
122 |
- *-solaris2.8|*-solaris2.9) |
123 |
- # Don't remove dirfd! |
124 |
- requested_gnulib_modules="alphasort dirfd getopt scandir setenv strcasestr stdint strndup xvasprintf" |
125 |
- ;; |
126 |
- *-solaris2.10|*-solaris2.11) |
127 |
- requested_gnulib_modules="dirfd getopt strcasestr strndup xvasprintf" |
128 |
- ;; |
129 |
- *-aix*) |
130 |
- requested_gnulib_modules="alphasort dirfd getopt scandir strcasestr strndup xvasprintf" |
131 |
- ;; |
132 |
- *-hpux*) |
133 |
- requested_gnulib_modules="atoll dirfd getopt setenv strcasestr strndup xvasprintf" |
134 |
- ;; |
135 |
- *-interix*) |
136 |
- requested_gnulib_modules="atoll getopt scandir setenv strcasestr strndup xvasprintf" |
137 |
- ;; |
138 |
- *-irix*) |
139 |
- requested_gnulib_modules="getopt strcasestr strndup xvasprintf" |
140 |
- ;; |
141 |
- esac |
142 |
- |
143 |
- epatch "${FILESDIR}"/${PN}-2008.07.23-rpl_getopt.patch |
144 |
- epatch "${FILESDIR}"/${P}-scandir.patch |
145 |
- |
146 |
- # Solaris 9 ksh makes gnulib-tool to coredump |
147 |
- sed -i "1s:/bin/sh:${EPREFIX}/bin/sh:" gnulib-tool || die "sed failed" |
148 |
- |
149 |
- # Remove the broken pxref |
150 |
- sed -i '$d' doc/ld-version-script.texi || die "cannot fix ld-version-script.texi" |
151 |
- |
152 |
- [[ -z "$requested_gnulib_modules" ]] && return |
153 |
- |
154 |
- "${S}"/gnulib-tool --create-testdir --dir="${MY_S}" \ |
155 |
- ${requested_gnulib_modules} || die |
156 |
- |
157 |
- cd "${MY_S}" || die |
158 |
- |
159 |
- # define both libgnu.a and the headers as to-be-installed |
160 |
- LANG=C \ |
161 |
- sed -e ' |
162 |
- s,noinst_HEADERS,include_HEADERS,; |
163 |
- s,noinst_LIBRARIES,lib_LIBRARIES,; |
164 |
- s,noinst_LTLIBRARIES,lib_LTLIBRARIES,; |
165 |
- s,EXTRA_DIST =$,&\ |
166 |
-EXTRA_HEADERS =,; |
167 |
- s,BUILT_SOURCES += \([/a-zA-Z0-9_-][/a-zA-Z0-9_-]*\.h\|\$([_A-Z0-9][_A-Z0-9]*_H)\)$,&\ |
168 |
-include_HEADERS += \1,; |
169 |
- ' -i gllib/Makefile.am || die "cannot fix gllib/Makefile.am" |
170 |
- |
171 |
- eautoreconf |
172 |
-} |
173 |
- |
174 |
-src_configure() { |
175 |
- cd "${MY_S}" || return |
176 |
- econf --prefix="${EPREFIX}"/usr/$(get_libdir)/${PN} |
177 |
-} |
178 |
- |
179 |
-src_compile() { |
180 |
- if use doc; then |
181 |
- emake -C doc info html || die "emake failed" |
182 |
- fi |
183 |
- cd "${MY_S}" || return |
184 |
- emake || die "cannot make ${P}" |
185 |
-} |
186 |
- |
187 |
-src_install() { |
188 |
- dodoc README ChangeLog |
189 |
- if use doc; then |
190 |
- dohtml doc/gnulib.html |
191 |
- doinfo doc/gnulib.info |
192 |
- fi |
193 |
- |
194 |
- insinto /usr/share/${PN} |
195 |
- doins -r lib |
196 |
- doins -r m4 |
197 |
- doins -r modules |
198 |
- doins -r build-aux |
199 |
- doins -r top |
200 |
- |
201 |
- # install the real script |
202 |
- exeinto /usr/share/${PN} |
203 |
- doexe gnulib-tool |
204 |
- |
205 |
- # create and install the wrapper |
206 |
- dosym /usr/share/${PN}/gnulib-tool /usr/bin/gnulib-tool |
207 |
- |
208 |
- cd "${MY_S}" || return |
209 |
- emake install DESTDIR="${D}" || die "make install failed" |
210 |
-} |
211 |
|
212 |
diff --git a/dev-libs/gnulib/gnulib-2013.10.28.22.33.52.ebuild b/dev-libs/gnulib/gnulib-2013.10.28.22.33.52.ebuild |
213 |
deleted file mode 100644 |
214 |
index 7afb533..00000000 |
215 |
--- a/dev-libs/gnulib/gnulib-2013.10.28.22.33.52.ebuild |
216 |
+++ /dev/null |
217 |
@@ -1,46 +0,0 @@ |
218 |
-# Copyright 1999-2016 Gentoo Foundation |
219 |
-# Distributed under the terms of the GNU General Public License v2 |
220 |
-# $Id$ |
221 |
- |
222 |
-EAPI=5 |
223 |
- |
224 |
-inherit eutils |
225 |
- |
226 |
-GIT_TAG="0.1" |
227 |
- |
228 |
-DESCRIPTION="Gnulib is a library of common routines intended to be shared at the source level" |
229 |
-HOMEPAGE="https://www.gnu.org/software/gnulib" |
230 |
-SRC_URI="http://git.savannah.gnu.org/cgit/${PN}.git/snapshot/${PN}-${GIT_TAG}.tar.gz" |
231 |
- |
232 |
-LICENSE="GPL-2" |
233 |
-SLOT="0" |
234 |
-KEYWORDS="~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
235 |
-IUSE="doc" |
236 |
- |
237 |
-S="${WORKDIR}/${PN}-${GIT_TAG}" |
238 |
- |
239 |
-src_compile() { |
240 |
- if use doc; then |
241 |
- emake -C doc info html |
242 |
- fi |
243 |
-} |
244 |
- |
245 |
-src_install() { |
246 |
- dodoc README ChangeLog |
247 |
- |
248 |
- insinto /usr/share/${PN} |
249 |
- doins -r build-aux |
250 |
- doins -r doc |
251 |
- doins -r lib |
252 |
- doins -r m4 |
253 |
- doins -r modules |
254 |
- doins -r tests |
255 |
- doins -r top |
256 |
- |
257 |
- # install the real script |
258 |
- exeinto /usr/share/${PN} |
259 |
- doexe gnulib-tool |
260 |
- |
261 |
- # create and install the wrapper |
262 |
- dosym /usr/share/${PN}/gnulib-tool /usr/bin/gnulib-tool |
263 |
-} |
264 |
|
265 |
diff --git a/dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild b/dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild |
266 |
index 94df631..71749f2 100644 |
267 |
--- a/dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild |
268 |
+++ b/dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild |
269 |
@@ -2,9 +2,7 @@ |
270 |
# Distributed under the terms of the GNU General Public License v2 |
271 |
# $Id$ |
272 |
|
273 |
-EAPI=5 |
274 |
- |
275 |
-inherit eutils |
276 |
+EAPI=6 |
277 |
|
278 |
GIT_TAG="3a0b7b74982f44c735f4cfc2dccf538c3c4ef9e2" |
279 |
|
280 |
|
281 |
diff --git a/dev-libs/gnulib/gnulib-9999-r1.ebuild b/dev-libs/gnulib/gnulib-9999-r1.ebuild |
282 |
index 960c442..2e9ec7d 100644 |
283 |
--- a/dev-libs/gnulib/gnulib-9999-r1.ebuild |
284 |
+++ b/dev-libs/gnulib/gnulib-9999-r1.ebuild |
285 |
@@ -1,10 +1,10 @@ |
286 |
-# Copyright 1999-2014 Gentoo Foundation |
287 |
+# Copyright 1999-2016 Gentoo Foundation |
288 |
# Distributed under the terms of the GNU General Public License v2 |
289 |
# $Id$ |
290 |
|
291 |
-EAPI=5 |
292 |
+EAPI=6 |
293 |
|
294 |
-inherit eutils git-r3 |
295 |
+inherit git-r3 |
296 |
|
297 |
DESCRIPTION="Gnulib is a library of common routines intended to be shared at the source level" |
298 |
HOMEPAGE="https://www.gnu.org/software/gnulib" |