1 |
commit: 00c9d09643bef38819b59819614d39fdf09cdf61 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 18:15:14 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 5 18:19:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c9d096 |
7 |
|
8 |
dev-perl/BerkeleyDB: Bump to version 0.630.0 |
9 |
|
10 |
This is a very long awaited bump because the last few times I tried, |
11 |
I hit serious problems and punted it till later. This time I |
12 |
finally dug into the problem and worked out why it exploded in |
13 |
tests.... |
14 |
|
15 |
- EAPI7 |
16 |
- Improve DB configuration to properly work on Gentoo ( how 0.550.0 |
17 |
works and passes tests anywhere may be a slight mystery ) |
18 |
- Remove empty variable assignments |
19 |
- Remove useless tests and strip unused files from install image |
20 |
|
21 |
Upstream: |
22 |
- Updates for BDB 6.2 and 6.3 |
23 |
- expose set_lg_filemode |
24 |
- Fix build breakage with DBD 5.2 to 6.2 |
25 |
- sync dbinfo from DB_File |
26 |
- Add missing dTHX declaration in my_db_strerror |
27 |
- Fix missing txn code in db_remove |
28 |
- Add __heap_exist prototype for db 5.2+ |
29 |
|
30 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
31 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
32 |
|
33 |
dev-perl/BerkeleyDB/BerkeleyDB-0.630.0.ebuild | 53 +++++++++++++++++++++++++++ |
34 |
dev-perl/BerkeleyDB/Manifest | 1 + |
35 |
2 files changed, 54 insertions(+) |
36 |
|
37 |
diff --git a/dev-perl/BerkeleyDB/BerkeleyDB-0.630.0.ebuild b/dev-perl/BerkeleyDB/BerkeleyDB-0.630.0.ebuild |
38 |
new file mode 100644 |
39 |
index 00000000000..f8f34ad4970 |
40 |
--- /dev/null |
41 |
+++ b/dev-perl/BerkeleyDB/BerkeleyDB-0.630.0.ebuild |
42 |
@@ -0,0 +1,53 @@ |
43 |
+# Copyright 1999-2020 Gentoo Authors |
44 |
+# Distributed under the terms of the GNU General Public License v2 |
45 |
+ |
46 |
+EAPI=7 |
47 |
+ |
48 |
+DIST_AUTHOR=PMQS |
49 |
+DIST_VERSION=0.63 |
50 |
+inherit perl-module eutils db-use |
51 |
+ |
52 |
+DESCRIPTION="This module provides Berkeley DB interface for Perl" |
53 |
+ |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
56 |
+ |
57 |
+# Install DB_File if you want older support. BerkleyDB no longer |
58 |
+# supports less than 2.0. |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ >=sys-libs/db-2.0:= <sys-libs/db-7 |
62 |
+" |
63 |
+BDEPEND="${RDEPEND} |
64 |
+ virtual/perl-ExtUtils-MakeMaker" |
65 |
+ |
66 |
+PERL_RM_FILES=( |
67 |
+ "t/meta-json.t" |
68 |
+ "t/meta-yaml.t" |
69 |
+ "t/pod.t" |
70 |
+ "scan.pl" |
71 |
+ "mkconsts.pl" |
72 |
+) |
73 |
+# parallel really broken |
74 |
+DIST_TEST="do" |
75 |
+src_prepare() { |
76 |
+ local DB_SUPPORTED=( |
77 |
+ 6 5 4 3 2 |
78 |
+ ) |
79 |
+ # on Gentoo/FreeBSD we cannot trust on the symlink /usr/include/db.h |
80 |
+ # as for Gentoo/Linux, so we need to esplicitely declare the exact berkdb |
81 |
+ # include path |
82 |
+ local dbdir="$(db_includedir "${DB_SUPPORTED[@]}" )" |
83 |
+ local dbname="$(db_libname "${DB_SUPPORTED[@]}" )" |
84 |
+ einfo "DB Include Dir: ${dbdir}" |
85 |
+ einfo "DB library: ${dbname}" |
86 |
+ |
87 |
+ rm -f "${S}/config.in" || die "Can't remove packaged config.in" |
88 |
+ |
89 |
+ printf "INCLUDE = %s\nLIB = %s\nDBNAME = -l%s\n" \ |
90 |
+ "${dbdir}" \ |
91 |
+ "/usr/lib" \ |
92 |
+ "${dbname}" > "${S}"/config.in || die "Can't write config.in" |
93 |
+ |
94 |
+ perl-module_src_prepare |
95 |
+} |
96 |
|
97 |
diff --git a/dev-perl/BerkeleyDB/Manifest b/dev-perl/BerkeleyDB/Manifest |
98 |
index 3815f4a06de..3a5af5e250c 100644 |
99 |
--- a/dev-perl/BerkeleyDB/Manifest |
100 |
+++ b/dev-perl/BerkeleyDB/Manifest |
101 |
@@ -1 +1,2 @@ |
102 |
DIST BerkeleyDB-0.55.tar.gz 203318 BLAKE2B 65118bacdb7b597a7f006a341916b21cd4b4d4602e56854fc4d04aa53f995365b4da44ea95a6e0472f5540f74eab46b83c56bb1c9cf8a51779260a6f4746ddd5 SHA512 a9bee92b0168918eaf6fb38b7b66005cfbb360ce89a9ae9feeb022e3d27fa7e627412b5c19233840571ed60568729d4bd83d279f84a0c7db921b8eed9f73afea |
103 |
+DIST BerkeleyDB-0.63.tar.gz 208324 BLAKE2B e13f9e4a7993a09ff60378cf19c7baba925850b1996873727f7659787111a9b437b022653329e18e94dead7c29ff0da9ee79d3a67adf2afcc8cdaa02d689c127 SHA512 43edf4eb3650e7b03dfc45ead834ea766d458cf3bc9b6405646142ad0ab223bdb3267815be5a92ddbf3958e5507d39f193d749d9ff6fe83a3beb9e02e8f6c66b |