Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:musl commit in: sys-libs/gdbm/
Date: Tue, 21 Jan 2014 17:58:20
Message-Id: 1390326964.aece30102dfc10e37fabf3ef16ce966e2703c9b2.blueness@gentoo
1 commit: aece30102dfc10e37fabf3ef16ce966e2703c9b2
2 Author: layman <layman <AT> localhost>
3 AuthorDate: Sat Jan 18 17:26:49 2014 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 21 17:56:04 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=aece3010
7
8 sys-libs/gdbm: stabilize 1.11 with a sane build system
9
10 Package-Manager: portage-2.2.7
11 RepoMan-Options: --force
12
13 ---
14 sys-libs/gdbm/ChangeLog | 251 +++++++++++++++++++++++++++++++++++++
15 sys-libs/gdbm/gdbm-1.11-r99.ebuild | 70 +++++++++++
16 sys-libs/gdbm/metadata.xml | 9 ++
17 3 files changed, 330 insertions(+)
18
19 diff --git a/sys-libs/gdbm/ChangeLog b/sys-libs/gdbm/ChangeLog
20 new file mode 100644
21 index 0000000..32302be
22 --- /dev/null
23 +++ b/sys-libs/gdbm/ChangeLog
24 @@ -0,0 +1,251 @@
25 +# ChangeLog for sys-libs/gdbm
26 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
27 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.67 2014/01/13 15:41:08 polynomial-c Exp $
28 +
29 +*gdbm-1.11 (13 Jan 2014)
30 +
31 + 13 Jan 2014; Lars Wendler <polynomial-c@g.o> +gdbm-1.11.ebuild:
32 + Version bump.
33 +
34 + 28 Nov 2013; Mike Frysinger <vapier@g.o> gdbm-1.10-r1.ebuild:
35 + Add USE=nls support #491202 by Seemant Kulleen.
36 +
37 +*gdbm-1.10-r1 (25 Nov 2013)
38 +
39 + 25 Nov 2013; Michał Górny <mgorny@g.o> +gdbm-1.10-r1.ebuild:
40 + Enable multilib support, bug #488376. Acked by Chainsaw.
41 +
42 + 17 Feb 2013; Zac Medico <zmedico@g.o> gdbm-1.10.ebuild:
43 + Add ~arm-linux keyword.
44 +
45 + 26 Jan 2013; Fabian Groffen <grobian@g.o> gdbm-1.10.ebuild:
46 + Marked ~m68k-mint, bug #449976
47 +
48 +*gdbm-1.10 (17 Jan 2013)
49 +
50 + 17 Jan 2013; Mike Frysinger <vapier@g.o> +gdbm-1.10.ebuild:
51 + Version bump #452396 by Agostino Sarubbo.
52 +
53 + 26 Apr 2012; Alexis Ballier <aballier@g.o> gdbm-1.9.1-r2.ebuild:
54 + keyword ~amd64-fbsd
55 +
56 + 25 Mar 2012; Fabian Groffen <grobian@g.o> gdbm-1.9.1-r2.ebuild:
57 + Added Prefix keywords
58 +
59 + 07 Dec 2011; Zac Medico <zmedico@g.o> gdbm-1.9.1-r2.ebuild:
60 + Bump to EAPI 3, fix for prefix, and add ~x86-linux keyword.
61 +
62 + 01 Nov 2011; Mike Frysinger <vapier@g.o> gdbm-1.9.1-r2.ebuild:
63 + Update LICENSE #388865 by Hans.
64 +
65 +*gdbm-1.9.1-r2 (20 Sep 2011)
66 +
67 + 20 Sep 2011; Mike Frysinger <vapier@g.o> -gdbm-1.9.1.ebuild,
68 + -gdbm-1.9.1-r1.ebuild, +gdbm-1.9.1-r2.ebuild, metadata.xml:
69 + Convert USE=compat to USE=berkdb since that is what the compat library
70 + actually is for, and drop berkdb linkage since gdbm does not seem to use it
71 + anywhere.
72 +
73 + 20 Sep 2011; Mike Frysinger <vapier@g.o> gdbm-1.9.1-r1.ebuild:
74 + Enable compat by default since perl/python need it #383745 by Alexandre
75 + Rostovtsev.
76 +
77 +*gdbm-1.9.1-r1 (20 Sep 2011)
78 +
79 + 20 Sep 2011; Mike Frysinger <vapier@g.o> +gdbm-1.9.1-r1.ebuild,
80 + +files/gdbm-1.9.1-compat-link.patch:
81 + Add patch from upstream so gdbm_compat links against gdbm #383743 by
82 + Alexandre Rostovtsev.
83 +
84 +*gdbm-1.9.1 (19 Sep 2011)
85 +
86 + 19 Sep 2011; Mike Frysinger <vapier@g.o> +gdbm-1.9.1.ebuild,
87 + metadata.xml:
88 + Version bump.
89 +
90 + 06 Feb 2011; Mart Raudsepp <leio@g.o> gdbm-1.8.3-r3.ebuild:
91 + Drop to ~mips
92 +
93 + 06 Feb 2010; Mike Frysinger <vapier@g.o> gdbm-1.8.3-r4.ebuild:
94 + Improve gdbm migration info with tip from Robert Cernansky #299390.
95 +
96 + 30 Jan 2010; Raúl Porcel <armin76@g.o> gdbm-1.8.3-r4.ebuild:
97 + sparc stable wrt #296825
98 +
99 + 15 Jan 2010; Mike Frysinger <vapier@g.o> gdbm-1.8.3-r4.ebuild:
100 + Add a warning for 32bit/LFS changes #299390.
101 +
102 + 05 Jan 2010; Mike Frysinger <vapier@g.o> gdbm-1.8.3-r4.ebuild:
103 + Mark alpha/amd64 stable #296825.
104 +
105 + 29 Dec 2009; Christian Faulhammer <fauli@g.o> gdbm-1.8.3-r4.ebuild:
106 + stable x86, bug 296825
107 +
108 + 28 Dec 2009; nixnut <nixnut@g.o> gdbm-1.8.3-r4.ebuild:
109 + ppc stable #296825
110 +
111 + 16 Dec 2009; Jeroen Roovers <jer@g.o> gdbm-1.8.3-r4.ebuild:
112 + Stable for HPPA (bug #296825).
113 +
114 + 14 Dec 2009; Brent Baude <ranger@g.o> gdbm-1.8.3-r4.ebuild:
115 + stable ppc64, bug 296825
116 +
117 + 14 Dec 2009; Mike Frysinger <vapier@g.o> gdbm-1.8.3-r4.ebuild:
118 + Mark arm/ia64/s390/sh stable.
119 +
120 + 16 Feb 2008; Mike Frysinger <vapier@g.o>
121 + +files/gdbm-1.8.3-build.patch, gdbm-1.8.3-r4.ebuild:
122 + Respect user LDFLAGS #209730 by Diego.
123 +
124 +*gdbm-1.8.3-r4 (26 Jan 2008)
125 +
126 + 26 Jan 2008; Mike Frysinger <vapier@g.o> +gdbm-1.8.3-r4.ebuild:
127 + Add LFS flags to the build so we can work with large dbs.
128 +
129 + 17 Feb 2007; Fabian Groffen <grobian@g.o> gdbm-1.8.3-r3.ebuild:
130 + Dropped ppc-macos keyword, see you in prefix
131 +
132 +*gdbm-1.8.3-r3 (04 Feb 2007)
133 +
134 + 04 Feb 2007; Mike Frysinger <vapier@g.o>
135 + +files/gdbm-1.8.3-compat-linking.patch, -gdbm-1.8.3-r2.ebuild,
136 + +gdbm-1.8.3-r3.ebuild:
137 + Cleanup ebuild and link the compat module against gdbm #165263 by Gergan
138 + Penkov.
139 +
140 + 17 Oct 2006; Roy Marples <uberlord@g.o> gdbm-1.8.3-r2.ebuild:
141 + Added ~sparc-fbsd keyword.
142 +
143 + 30 Mar 2006; Diego Pettenò <flameeyes@g.o> gdbm-1.8.3-r2.ebuild:
144 + Add ~x86-fbsd keywords.
145 +
146 + 09 Mar 2006; Mike Frysinger <vapier@g.o> gdbm-1.8.3-r2.ebuild:
147 + Use revdep-rebuild --library instead of revdep-rebuild --soname #125506 by
148 + Carsten Lohrke.
149 +
150 +*gdbm-1.8.3-r2 (24 Sep 2005)
151 +
152 + 24 Sep 2005; Bryan Østergaard <kloeri@g.o> +gdbm-1.8.3-r2.ebuild:
153 + Revert changes to src_compile and src_install fixing installation of
154 + /usr/include/gdbm.h, bug 106970. Patch by Arndt Wills <arndt@××××××××××××.de>.
155 +
156 + 21 Sep 2005; Mike Frysinger <vapier@g.o>
157 + +files/gdbm-1.8.3-fix-install-ownership.patch, gdbm-1.8.3-r1.ebuild:
158 + Clean up ebuild and fix install permissions #24178.
159 +
160 + 10 Sep 2005; Fabian Groffen <grobian@g.o> gdbm-1.8.3-r1.ebuild:
161 + Replace "uclibctoolize" with "elibtoolize" and add the bin user/group if on
162 + ppc-macos: this user is by default not on OSX. This fixes this package on
163 + ppc-macos. Reviewed by Azarah.
164 +
165 + 16 Apr 2005; <gongloo@g.o> gdbm-1.8.3-r1.ebuild:
166 + Stable on ppc-macos.
167 +
168 +*gdbm-1.8.0-r5 (03 Apr 2005)
169 +
170 + 03 Apr 2005; Michael Sterrett <mr_bones_@g.o>
171 + +gdbm-1.8.0-r5.ebuild:
172 + resurrect version needed by ppc-macos
173 +
174 + 07 Dec 2004; Hardave Riar <hardave@g.o> gdbm-1.8.3-r1.ebuild:
175 + Stable on mips, dep for bug #66360
176 +
177 + 04 Dec 2004; Robert Coie <rac@g.o> gdbm-1.8.3-r1.ebuild:
178 + keywording ppc
179 +
180 + 12 Nov 2004; Gustavo Zacarias <gustavoz@g.o> gdbm-1.8.3-r1.ebuild:
181 + Stable on sparc
182 +
183 + 11 Oct 2004; Mamoru KOMACHI <usata@g.o> gdbm-1.8.0-r5.ebuild:
184 + Added darwintoolize.
185 +
186 + 09 Sep 2004; Jeremy Huddleston <eradicator@g.o> gdbm-1.8.3-r1.ebuild:
187 + get_libdir fixes.
188 +
189 + 24 Aug 2004; Sven Wegener <swegener@g.o> gdbm-1.8.3-r1.ebuild,
190 + gdbm-1.8.3.ebuild:
191 + Removed static from IUSE.
192 +
193 + 18 Aug 2004; Aron Griffis <agriffis@g.o> gdbm-1.8.3-r1.ebuild:
194 + stable on alpha and ia64
195 +
196 +*gdbm-1.8.3-r1 (01 Aug 2004)
197 +
198 + 01 Aug 2004; Mike Frysinger <vapier@g.o> +gdbm-1.8.3-r1.ebuild:
199 + Dont copy over the old library if it is of size 0 bytes; force those unlucky
200 + users to revdep-rebuild.
201 +
202 + 25 Jul 2004; Mamoru KOMACHI <usata@g.o> gdbm-1.8.0-r5.ebuild:
203 + Added to macos.
204 +
205 + 24 Jul 2004; Mike Frysinger <vapier@g.o> gdbm-1.8.3.ebuild:
206 + Clean up the ebuild a bit and add temp backwards compat #32510.
207 +
208 + 02 Jul 2004; Jeremy Huddleston <eradicator@g.o> gdbm-1.8.0-r5.ebuild,
209 + gdbm-1.8.3.ebuild:
210 + virtual/glibc -> virtual/libc
211 +
212 + 02 Jun 2004; Travis Tilley <lv@g.o> gdbm-1.8.3.ebuild:
213 + stable on amd64
214 +
215 + 23 Mar 2004; Jon Portnoy <avenj@g.o> gdbm-1.8.3.ebuild,
216 + gdbm-1.8.0-r5.ebuild :
217 + Updated ebuilds to remove invalid : in DEPEND for amd64 conditionals.
218 + Also trashed all the use arch && gnuconfig_update junk in favor of
219 + simply running gnuconfig_update for everybody.
220 +
221 + 29 Feb 2004; Tom Gall <tgall@g.o> gdbm-1.8.3.ebuild,gdbm-1.8.0-r5.ebuild:
222 + add gnuconfig_update for ppc64
223 +
224 +*gdbm-1.8.3 (01 Nov 2003)
225 +
226 + 01 Nov 2003; Seemant Kulleen <seemant@g.o> gdbm-1.8.3.ebuild:
227 + Version bump -- noticed this while fixing the bug mentioned below
228 +
229 + 30 Oct 2003; Seemant Kulleen <seemant@g.o> gdbm-1.8.0-r5.ebuild:
230 + Many many little fixes -- header fix to remove Chad Huneycutt's name (repoman
231 + violation), use epatch from the eutils eclassh, use append-flags from
232 + flag-o-matic eclass, switch to econf and einstall syntaxes. Finally, fix
233 + SRC_URI to mirror://gnu thanks to: Stony Yakovac <stonyy@×××.com> in bug
234 + #32352
235 +
236 + 17 Sep 2003; Jon Portnoy <avenj@g.o> gdbm-1.8.0-r5.ebuild :
237 + ia64 keywords.
238 +
239 + 05 May 2003; Guy Martin <gmsoft@g.o> gdbm-1.8.0-r5.ebuild :
240 + Added gnuconfig_update fix in unpack. Fix #20485.
241 +
242 + 20 Feb 2003; Zach Welch <zwelch@g.o> gdbm-1.8.0-r5.ebuild :
243 + Added arm to keywords. Add gnuconfig_update fix in unpack.
244 +
245 + 09 Feb 2003; Guy Martin <gmsoft@g.o> gdbm-1.8.0-r5.ebuild :
246 + Added hppa to keywords.
247 +
248 +*gdbm-1.8.0-r5 (20 Dec 2002)
249 +
250 + 26 Feb 2003; Zach Welch <zwelch@g.o> gdbm-1.8.0-r5.ebuild:
251 + add arm keyword
252 +
253 + 20 Dec 2002; Jan Seidel <tuxus@g.o> : gdbm-1.8.0-r5
254 + Added mips to keywords
255 +
256 + 06 Dec 2002; Rodney Rees <manson@g.o> : changed sparc ~sparc keywords
257 +
258 +*gdbm-1.8.0-r5 (6 Apr 2002)
259 +
260 + 15 Jul 2002; Mark Guertin <gerk@g.o>
261 + Added ppc to keywords
262 +
263 + 6 Apr 2002; Donny Davies <woodchip@g.o> :
264 +
265 + Fix libgdbm.la to have the correct libdir; s:/usr/local/lib:/usr/lib:
266 +
267 +*gdbm-1.8.0-r4 (1 Feb 2002)
268 +
269 + 1 Feb 2002; G.Bevin <gbevin@g.o> ChangeLog :
270 +
271 + Added initial ChangeLog which should be updated whenever the package is
272 + updated in any way. This changelog is targetted to users. This means that the
273 + comments should well explained and written in clean English. The details about
274 + writing correct changelogs are explained in the skel.ChangeLog file which you
275 + can find in the root directory of the portage repository.
276
277 diff --git a/sys-libs/gdbm/gdbm-1.11-r99.ebuild b/sys-libs/gdbm/gdbm-1.11-r99.ebuild
278 new file mode 100644
279 index 0000000..32d6b88
280 --- /dev/null
281 +++ b/sys-libs/gdbm/gdbm-1.11-r99.ebuild
282 @@ -0,0 +1,70 @@
283 +# Copyright 1999-2014 Gentoo Foundation
284 +# Distributed under the terms of the GNU General Public License v2
285 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.11.ebuild,v 1.1 2014/01/13 15:41:08 polynomial-c Exp $
286 +
287 +EAPI="4"
288 +
289 +inherit flag-o-matic libtool multilib multilib-minimal
290 +
291 +EX_P="${PN}-1.8.3"
292 +DESCRIPTION="Standard GNU database libraries"
293 +HOMEPAGE="http://www.gnu.org/software/gdbm/"
294 +SRC_URI="mirror://gnu/gdbm/${P}.tar.gz
295 + exporter? ( mirror://gnu/gdbm/${EX_P}.tar.gz )"
296 +
297 +LICENSE="GPL-3"
298 +SLOT="0"
299 +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
300 +IUSE="+berkdb exporter nls static-libs"
301 +
302 +RDEPEND="
303 + abi_x86_32? (
304 + !<=app-emulation/emul-linux-x86-baselibs-20131008-r4
305 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
306 + )"
307 +
308 +EX_S="${WORKDIR}"/${EX_P}
309 +
310 +src_prepare() {
311 + elibtoolize
312 +}
313 +
314 +multilib_src_configure() {
315 + # gdbm doesn't appear to use either of these libraries
316 + export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no
317 +
318 + if multilib_build_binaries && use exporter ; then
319 + pushd "${EX_S}" >/dev/null
320 + append-lfs-flags
321 + econf --disable-shared
322 + popd >/dev/null
323 + fi
324 +
325 + ECONF_SOURCE=${S} \
326 + econf \
327 + --includedir="${EPREFIX}"/usr/include/gdbm \
328 + --with-gdbm183-libdir="${EX_S}/.libs" \
329 + --with-gdbm183-includedir="${EX_S}" \
330 + $(use_enable berkdb libgdbm-compat) \
331 + $(multilib_build_binaries && use_enable exporter gdbm-export) \
332 + $(use_enable nls) \
333 + $(use_enable static-libs static)
334 +}
335 +
336 +multilib_src_compile() {
337 + use exporter && emake -C "${EX_S}" libgdbm.la
338 + emake
339 +}
340 +
341 +multilib_src_install_all() {
342 + use static-libs || find "${ED}" -name '*.la' -delete
343 + mv "${ED}"/usr/include/gdbm/gdbm.h "${ED}"/usr/include/ || die
344 +}
345 +
346 +pkg_preinst() {
347 + preserve_old_lib libgdbm{,_compat}.so.{2,3} #32510
348 +}
349 +
350 +pkg_postinst() {
351 + preserve_old_lib_notify libgdbm{,_compat}.so.{2,3} #32510
352 +}
353
354 diff --git a/sys-libs/gdbm/metadata.xml b/sys-libs/gdbm/metadata.xml
355 new file mode 100644
356 index 0000000..07b3785
357 --- /dev/null
358 +++ b/sys-libs/gdbm/metadata.xml
359 @@ -0,0 +1,9 @@
360 +<?xml version="1.0" encoding="UTF-8"?>
361 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
362 +<pkgmetadata>
363 +<herd>base-system</herd>
364 +<use>
365 + <flag name='berkdb'>enable compatibility layer for UNIX-like dbm and ndbm interfaces</flag>
366 + <flag name='exporter'>enable gdbmexport binary for exporting data from gdbm-1.8 databases into gdbm-1.9</flag>
367 +</use>
368 +</pkgmetadata>