1 |
commit: 2a1066647ba01f8ff18be3ff5567ad211d2ab357 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 15:37:08 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 18:08:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a106664 |
7 |
|
8 |
dev-libs/mongo-c-driver: Cleanup old, EAPI5--, EAPI6-- |
9 |
|
10 |
Package-Manager: Portage-3.0.16, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-libs/mongo-c-driver/Manifest | 14 ---- |
14 |
.../files/mongo-c-driver-1.10.3-enable-tests.patch | 25 ------ |
15 |
.../files/mongo-c-driver-1.11.0-enable-tests.patch | 25 ------ |
16 |
.../files/mongo-c-driver-1.12.0-libressl.patch | 15 ---- |
17 |
.../files/mongo-c-driver-1.13.0-enable-tests.patch | 25 ------ |
18 |
.../files/mongo-c-driver-1.13.0-no-uninstall.patch | 27 ------ |
19 |
.../mongo-c-driver-1.13.1-drop-failing-test.patch | 17 ---- |
20 |
.../files/mongo-c-driver-1.14.0-enable-tests.patch | 25 ------ |
21 |
.../mongo-c-driver/mongo-c-driver-0.98.2.ebuild | 70 ---------------- |
22 |
.../mongo-c-driver/mongo-c-driver-1.1.10.ebuild | 74 ----------------- |
23 |
.../mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild | 74 ----------------- |
24 |
.../mongo-c-driver/mongo-c-driver-1.10.3.ebuild | 86 -------------------- |
25 |
.../mongo-c-driver/mongo-c-driver-1.11.0.ebuild | 87 -------------------- |
26 |
.../mongo-c-driver/mongo-c-driver-1.12.0.ebuild | 88 -------------------- |
27 |
.../mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild | 91 --------------------- |
28 |
.../mongo-c-driver/mongo-c-driver-1.13.1.ebuild | 92 --------------------- |
29 |
.../mongo-c-driver/mongo-c-driver-1.14.0.ebuild | 93 --------------------- |
30 |
.../mongo-c-driver/mongo-c-driver-1.15.1.ebuild | 95 ---------------------- |
31 |
.../mongo-c-driver/mongo-c-driver-1.3.5.ebuild | 79 ------------------ |
32 |
.../mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 81 ------------------ |
33 |
.../mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 84 ------------------- |
34 |
.../mongo-c-driver/mongo-c-driver-1.9.3.ebuild | 84 ------------------- |
35 |
22 files changed, 1351 deletions(-) |
36 |
|
37 |
diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest |
38 |
index 9570420ca16..4a1d6bdc1f0 100644 |
39 |
--- a/dev-libs/mongo-c-driver/Manifest |
40 |
+++ b/dev-libs/mongo-c-driver/Manifest |
41 |
@@ -1,16 +1,2 @@ |
42 |
-DIST mongo-c-driver-0.98.2.tar.gz 5342760 BLAKE2B 399fb03464234c87dcb66647c5383c505e654238e72e86794fdbc56716590ea6637aa7bfb0d25c0fb6aae8fce6055741753ac33125cb1b475c7bfe1e198a0a1e SHA512 6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb |
43 |
-DIST mongo-c-driver-1.1.10.tar.gz 5321144 BLAKE2B d63ba4b1a256b8b29654398a53d9ca46d49faad0e0327db0d51cfc4e2a1771568341ff4e7ba6ff2ff31fb11ad8a14c452e52cabdd83da7eb1c1ceb8af7bef7d2 SHA512 10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df |
44 |
-DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B f8004486baf6d2d3086e458bdb4bc8060462fd52ba700cbf05fdb9827adcbd087b61d7e0e00169cf635c8021983dc851b7f34c3e08d66efc65483fce98a85f74 SHA512 d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95 |
45 |
-DIST mongo-c-driver-1.10.3.tar.gz 5616159 BLAKE2B 368e273aedc21ec79b804625276a49f7b670f027b410595b1e6455228dc776f0ed629d6ee599d16b9d0db08ec08a8e4dac2bdf06fa931ef1578849bf86d85726 SHA512 47af1baad1ad74bbbdf2fd22a437034d317a2f3ec02fee485e983ae6829b3f01af2649a09577f08144a88385fa940dfa211ea02bfa3c0e25b59dbe2090269603 |
46 |
-DIST mongo-c-driver-1.11.0.tar.gz 5681593 BLAKE2B 43f70943cc7f1a9f6285c71136b1284be7ef0f223b777d5884d795102910aedb8d4f516d5d50cdecfa9219835a884b237aa98ab3742067c36944f0abdc67a8e4 SHA512 d20d83c9470972641407550bf835701df28c196b1cf19097450a062fd3c560c452c658aa5080bb28066079cea27888731f3670e81bd1b0cd5be1b97a2988074e |
47 |
-DIST mongo-c-driver-1.12.0.tar.gz 5708175 BLAKE2B 113db7ec95f8e9b65433fc20def7224ee8d54c9ddb14cfc68ccf7ccb1995808f4c4c372806e85e1c8bb8b8541bb8b8b5236fd06d7605b78a4bbcee6560642bec SHA512 e4688da8a94fc499893b6001fc444b97fc05c89672fd9700bf30c6af7f1bbb02b1a658aa74470e0e5d5e72bc28a5753aa7dcda14dba7e75fbce0b4bb94b7373f |
48 |
-DIST mongo-c-driver-1.13.0.tar.gz 5734887 BLAKE2B ce5c78dde31edc753a6678e90889a0da7129cd1fcf1dce7222df4d25ca109b1bfbb545c755abf8e4cc39dd40dde7ba4c50dd51dcfc67c970e2b8eb278bd543fc SHA512 d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907 |
49 |
-DIST mongo-c-driver-1.13.1.tar.gz 5740487 BLAKE2B 92184df6f15f951564a7df14d8ec52eb0199a49af102d44c8fb7678db82a41f915c984e95f5301f533dde63139221cb6e161fa5053b9fcc33080abe1095d9c35 SHA512 454670a145a5f2272daa5ca88f2e7d7e42c9b7df62dfc29b3c4b602ef8f819a740890c40872fa47dc411cc5ef9a34b55a6feea3657a802a5be378c4dbe79f42d |
50 |
-DIST mongo-c-driver-1.14.0.tar.gz 6573651 BLAKE2B 0b1157473554a5aa49e61cf1c85dc7b1f1917581e661a4295876d4c93e72137b4c7c04e1b7545ba7272706499dbe868a36f1c888d2d07a8176f1c4dc01f9fa5f SHA512 99ca4001341d044a8ffc02a5d7175d40f8a998bdaad15a668a7db0558fa616ec18152faeda6da7f28b34c5d2cf4b649180c9390d2229e1342b6c4f6742816994 |
51 |
-DIST mongo-c-driver-1.15.1.tar.gz 6699867 BLAKE2B afb75b6f50173bbe161a37a5cd3afd7d2ce3d9ab73019e2a27e2b15b0be0a54c5e3b423dda2e6d65b85ff7c1dbbd883f3a0e0ebc244a13c531d2c39297d9a5e9 SHA512 7544900809dd008da110b412acc1e5e42ea908d804fdf3bced8100e48f1695844605407c9733b285b8833b636bcaec8687df25a01c9749612c61df2325214fe5 |
52 |
DIST mongo-c-driver-1.16.2.tar.gz 6888287 BLAKE2B 40d2b73f495a8c71ca8b3c39c1b3c85b4a01ea088428967ed49f4758ef749e3288b046bde767a83aad022933f30f7307a4be65141f477bb1dcf912b4099129d6 SHA512 0930a80692f08329cad558644c25c46da64a0c8b6a9fc7412db0f547dae63bf59e9d29ee774d329c63af186eea751670bf21ccee8cf255f8bc8d5bd78c0e736a |
53 |
DIST mongo-c-driver-1.17.0.tar.gz 7092911 BLAKE2B f93de6f3ded0f22ff8af65113ed207ca6dcc8ecbaedb24b33ddf7ada93b913eae33a802245f386d75fef01bf53c2d9630e68138a5715de001b7acea7dbde05f1 SHA512 49889b9d777dc3cb151b9cbef7bc2dd1785e327ae641569281efcc040d208cb034da3a74ae1115a033cc86e5b70079dab76c3478df8f171cc083d686f7568858 |
54 |
-DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0 SHA512 23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf |
55 |
-DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60 SHA512 b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af |
56 |
-DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a SHA512 af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76 |
57 |
-DIST mongo-c-driver-1.9.3.tar.gz 7716783 BLAKE2B 9f5fc8cddbc1c4cf1f85016027e49d4c3bf2ebe50b1df45eda8569d48b88e174fe2c73e76f7afd4f3a36b74c5d02b826f55c610b8c4df273d8ebd4047e823edc SHA512 2c3f915c4f367f5614a904741b4b480896dd521b7039158b2f421d0d7579a45862d5099cd26b6d14cb088f9db49019538aca553c5cf72d9706ec9ab6516ff40a |
58 |
|
59 |
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch |
60 |
deleted file mode 100644 |
61 |
index af26b695313..00000000000 |
62 |
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch |
63 |
+++ /dev/null |
64 |
@@ -1,25 +0,0 @@ |
65 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
66 |
-index 2eeb6cb..aeaa23b 100644 |
67 |
---- a/CMakeLists.txt |
68 |
-+++ b/CMakeLists.txt |
69 |
-@@ -109,7 +109,6 @@ if (ENABLE_BSON STREQUAL SYSTEM) |
70 |
- message ("-- libbson include path \"${BSON_INCLUDE_DIRS}\"") |
71 |
- message ("-- libbson libraries \"${BSON_LIBRARIES}\"") |
72 |
- message ("-- disabling test-libmongoc since using system libbson") |
73 |
-- SET (ENABLE_TESTS OFF) |
74 |
- |
75 |
- if (ENABLE_STATIC MATCHES "ON|AUTO") |
76 |
- find_package (libbson-static-1.0 |
77 |
-diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c |
78 |
-index 51514ed..accb251 100644 |
79 |
---- a/src/libbson/tests/test-bson.c |
80 |
-+++ b/src/libbson/tests/test-bson.c |
81 |
-@@ -18,7 +18,7 @@ |
82 |
- #include <bson.h> |
83 |
- #include <bcon.h> |
84 |
- #define BSON_INSIDE |
85 |
--#include <bson-private.h> |
86 |
-+#include "bson-private.h" |
87 |
- #undef BSON_INSIDE |
88 |
- #include <fcntl.h> |
89 |
- #include <time.h> |
90 |
|
91 |
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch |
92 |
deleted file mode 100644 |
93 |
index 67fafafc93b..00000000000 |
94 |
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch |
95 |
+++ /dev/null |
96 |
@@ -1,25 +0,0 @@ |
97 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
98 |
-index 860e4ea..7d646b1 100644 |
99 |
---- a/CMakeLists.txt |
100 |
-+++ b/CMakeLists.txt |
101 |
-@@ -110,7 +110,6 @@ if (ENABLE_BSON STREQUAL SYSTEM) |
102 |
- message ("-- libbson include path \"${BSON_INCLUDE_DIRS}\"") |
103 |
- message ("-- libbson libraries \"${BSON_LIBRARIES}\"") |
104 |
- message ("-- disabling test-libmongoc since using system libbson") |
105 |
-- SET (ENABLE_TESTS OFF) |
106 |
- |
107 |
- if (ENABLE_STATIC MATCHES "ON|AUTO") |
108 |
- find_package (libbson-static-1.0 |
109 |
-diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c |
110 |
-index 51514ed..accb251 100644 |
111 |
---- a/src/libbson/tests/test-bson.c |
112 |
-+++ b/src/libbson/tests/test-bson.c |
113 |
-@@ -18,7 +18,7 @@ |
114 |
- #include <bson.h> |
115 |
- #include <bcon.h> |
116 |
- #define BSON_INSIDE |
117 |
--#include <bson-private.h> |
118 |
-+#include "bson-private.h" |
119 |
- #undef BSON_INSIDE |
120 |
- #include <fcntl.h> |
121 |
- #include <time.h> |
122 |
|
123 |
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.12.0-libressl.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.12.0-libressl.patch |
124 |
deleted file mode 100644 |
125 |
index e61bffafeed..00000000000 |
126 |
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.12.0-libressl.patch |
127 |
+++ /dev/null |
128 |
@@ -1,15 +0,0 @@ |
129 |
-diff --git a/src/libmongoc/CMakeLists.txt b/src/libmongoc/CMakeLists.txt |
130 |
-index d09d706..5d84225 100644 |
131 |
---- a/src/libmongoc/CMakeLists.txt |
132 |
-+++ b/src/libmongoc/CMakeLists.txt |
133 |
-@@ -109,7 +109,9 @@ if (NOT ENABLE_SSL STREQUAL OFF) |
134 |
- if (LIBRESSL_FOUND) |
135 |
- message ("-- Found ${LIBRESSL_LIBRARIES}") |
136 |
- set (SSL_LIBRARIES ${LIBRESSL_LIBRARIES}) |
137 |
-- include_directories ("${LIBRESSL_INCLUDE_DIRS}") |
138 |
-+ if (${LIBRESSL_INCLUDE_DIRS}) |
139 |
-+ include_directories ("${LIBRESSL_INCLUDE_DIRS}") |
140 |
-+ endif () |
141 |
- link_directories ("${LIBRESSL_LIBRARY_DIRS}") |
142 |
- set (LIBRESSL 1) |
143 |
- else () |
144 |
|
145 |
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-enable-tests.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-enable-tests.patch |
146 |
deleted file mode 100644 |
147 |
index 983e025b917..00000000000 |
148 |
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-enable-tests.patch |
149 |
+++ /dev/null |
150 |
@@ -1,25 +0,0 @@ |
151 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
152 |
-index 22d1f4f..8ab33c6 100644 |
153 |
---- a/CMakeLists.txt |
154 |
-+++ b/CMakeLists.txt |
155 |
-@@ -118,7 +118,6 @@ if (ENABLE_BSON STREQUAL SYSTEM) |
156 |
- message ("-- libbson include path \"${BSON_INCLUDE_DIRS}\"") |
157 |
- message ("-- libbson libraries \"${BSON_LIBRARIES}\"") |
158 |
- message ("-- disabling test-libmongoc since using system libbson") |
159 |
-- SET (ENABLE_TESTS OFF) |
160 |
- |
161 |
- if (ENABLE_STATIC MATCHES "ON|AUTO") |
162 |
- find_package (libbson-static-1.0 |
163 |
-diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c |
164 |
-index 6ac94f3..cec430f 100644 |
165 |
---- a/src/libbson/tests/test-bson.c |
166 |
-+++ b/src/libbson/tests/test-bson.c |
167 |
-@@ -18,7 +18,7 @@ |
168 |
- #include <bson/bson.h> |
169 |
- #include <bson/bcon.h> |
170 |
- #define BSON_INSIDE |
171 |
--#include <bson/bson-private.h> |
172 |
-+#include "bson/bson-private.h" |
173 |
- #undef BSON_INSIDE |
174 |
- #include <fcntl.h> |
175 |
- #include <time.h> |
176 |
|
177 |
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch |
178 |
deleted file mode 100644 |
179 |
index 64a90bbe3ec..00000000000 |
180 |
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch |
181 |
+++ /dev/null |
182 |
@@ -1,27 +0,0 @@ |
183 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
184 |
-index f7a0dfe..22d1f4f 100644 |
185 |
---- a/CMakeLists.txt |
186 |
-+++ b/CMakeLists.txt |
187 |
-@@ -271,7 +271,6 @@ if (ENABLE_MONGOC) |
188 |
- VERSION_CURRENT |
189 |
- VERSION_RELEASED |
190 |
- # This sub-directory is added later, so manually include here |
191 |
-- generate_uninstall/CMakeLists.txt |
192 |
- ) |
193 |
- |
194 |
- set_local_dist (top_DIST ${top_DIST_local}) |
195 |
-@@ -341,14 +340,8 @@ if (WIN32) |
196 |
- else () |
197 |
- set (UNINSTALL_PROG "uninstall.sh") |
198 |
- endif () |
199 |
--set (UNINSTALL_PROG_DIR "${CMAKE_INSTALL_FULL_DATADIR}/mongo-c-driver") |
200 |
- |
201 |
- # Create uninstall program and associated uninstall target |
202 |
- # |
203 |
- # This needs to be last (after all other add_subdirectory calls) to ensure that |
204 |
- # the generated uninstall program is complete and correct |
205 |
--add_subdirectory (generate_uninstall) |
206 |
-- |
207 |
--add_custom_target (uninstall |
208 |
-- COMMAND "${UNINSTALL_PROG_DIR}/${UNINSTALL_PROG}" |
209 |
--) |
210 |
|
211 |
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.1-drop-failing-test.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.1-drop-failing-test.patch |
212 |
deleted file mode 100644 |
213 |
index 6ef137fdba7..00000000000 |
214 |
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.1-drop-failing-test.patch |
215 |
+++ /dev/null |
216 |
@@ -1,17 +0,0 @@ |
217 |
-diff --git a/src/libmongoc/tests/test-mongoc-topology.c b/src/libmongoc/tests/test-mongoc-topology.c |
218 |
-index d1ca7cf..245a470 100644 |
219 |
---- a/src/libmongoc/tests/test-mongoc-topology.c |
220 |
-+++ b/src/libmongoc/tests/test-mongoc-topology.c |
221 |
-@@ -1964,12 +1964,6 @@ test_topology_install (TestSuite *suite) |
222 |
- NULL, |
223 |
- NULL, |
224 |
- test_framework_skip_if_slow); |
225 |
-- TestSuite_AddFull (suite, |
226 |
-- "/Topology/multiple_selection_errors", |
227 |
-- test_multiple_selection_errors, |
228 |
-- NULL, |
229 |
-- NULL, |
230 |
-- test_framework_skip_if_offline); |
231 |
- TestSuite_AddMockServerTest ( |
232 |
- suite, "/Topology/connect_timeout/succeed", test_select_after_timeout); |
233 |
- TestSuite_AddMockServerTest ( |
234 |
|
235 |
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-enable-tests.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-enable-tests.patch |
236 |
deleted file mode 100644 |
237 |
index 76202b5e387..00000000000 |
238 |
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-enable-tests.patch |
239 |
+++ /dev/null |
240 |
@@ -1,25 +0,0 @@ |
241 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
242 |
-index c0e01a8..3371dae 100644 |
243 |
---- a/CMakeLists.txt |
244 |
-+++ b/CMakeLists.txt |
245 |
-@@ -163,7 +163,6 @@ if (ENABLE_BSON STREQUAL SYSTEM) |
246 |
- message ("-- libbson include path \"${BSON_INCLUDE_DIRS}\"") |
247 |
- message ("-- libbson libraries \"${BSON_LIBRARIES}\"") |
248 |
- message ("-- disabling test-libmongoc since using system libbson") |
249 |
-- SET (ENABLE_TESTS OFF) |
250 |
- |
251 |
- if (ENABLE_STATIC MATCHES "ON|AUTO") |
252 |
- find_package (libbson-static-1.0 |
253 |
-diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c |
254 |
-index 95356fa..9f9aea3 100644 |
255 |
---- a/src/libbson/tests/test-bson.c |
256 |
-+++ b/src/libbson/tests/test-bson.c |
257 |
-@@ -17,7 +17,7 @@ |
258 |
- |
259 |
- #include <bson/bson.h> |
260 |
- #include <bson/bcon.h> |
261 |
--#include <bson/bson-private.h> |
262 |
-+#include "bson/bson-private.h" |
263 |
- #include <fcntl.h> |
264 |
- #include <time.h> |
265 |
- |
266 |
|
267 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild |
268 |
deleted file mode 100644 |
269 |
index e57a3560443..00000000000 |
270 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild |
271 |
+++ /dev/null |
272 |
@@ -1,70 +0,0 @@ |
273 |
-# Copyright 1999-2019 Gentoo Authors |
274 |
-# Distributed under the terms of the GNU General Public License v2 |
275 |
- |
276 |
-EAPI=5 |
277 |
- |
278 |
-inherit autotools eutils |
279 |
- |
280 |
-DESCRIPTION="A high-performance MongoDB driver for C" |
281 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
282 |
-SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" |
283 |
- |
284 |
-LICENSE="BSD" |
285 |
-SLOT="0" |
286 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
287 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
288 |
- |
289 |
-RDEPEND=">=dev-libs/libbson-0.98.0 |
290 |
- sasl? ( dev-libs/cyrus-sasl ) |
291 |
- ssl? ( |
292 |
- !libressl? ( dev-libs/openssl:0= ) |
293 |
- libressl? ( dev-libs/libressl:0= ) |
294 |
- )" |
295 |
-DEPEND="${RDEPEND} |
296 |
- test? ( dev-db/mongodb )" |
297 |
- |
298 |
-DOCS=( NEWS README.rst TUTORIAL.md ) |
299 |
- |
300 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
301 |
-# x86 anymore (bug #645994) |
302 |
-RESTRICT="!test? ( test ) x86? ( test )" |
303 |
- |
304 |
-src_prepare() { |
305 |
- # https://github.com/mongodb/mongo-c-driver/issues/54 |
306 |
- sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \ |
307 |
- tests/Makefile.am || die |
308 |
- eautoreconf |
309 |
-} |
310 |
- |
311 |
-src_configure() { |
312 |
- econf --disable-hardening \ |
313 |
- --disable-optimizations \ |
314 |
- --disable-examples \ |
315 |
- $(use_enable sasl) \ |
316 |
- $(use_enable ssl) \ |
317 |
- $(use_enable debug) \ |
318 |
- $(use_enable static-libs static) |
319 |
-} |
320 |
- |
321 |
-src_install() { |
322 |
- emake DESTDIR="${D}" install |
323 |
- doman doc/*.3 |
324 |
- |
325 |
- use static-libs || find "${D}" -name '*.la' -delete |
326 |
- |
327 |
- if use examples; then |
328 |
- insinto /usr/share/${PF}/examples |
329 |
- doins -r examples/*.c examples/aggregation examples/bulk |
330 |
- fi |
331 |
-} |
332 |
- |
333 |
-src_test() { |
334 |
- # Avoid allocating too much disk space by using server.smallFiles = 1 |
335 |
- echo -e "storage:\n smallFiles: true" > "${T}/mongod.conf" |
336 |
- local PORT=27099 |
337 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
338 |
- -f "${T}/mongod.conf" --dbpath="${T}" \ |
339 |
- --logpath="${T}/mongod.log" || die |
340 |
- MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test |
341 |
- kill `cat "${T}/mongod.lock"` |
342 |
-} |
343 |
|
344 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild |
345 |
deleted file mode 100644 |
346 |
index 06580e8e4bb..00000000000 |
347 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild |
348 |
+++ /dev/null |
349 |
@@ -1,74 +0,0 @@ |
350 |
-# Copyright 1999-2019 Gentoo Authors |
351 |
-# Distributed under the terms of the GNU General Public License v2 |
352 |
- |
353 |
-EAPI=5 |
354 |
- |
355 |
-inherit autotools eutils |
356 |
- |
357 |
-DESCRIPTION="A high-performance MongoDB driver for C" |
358 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
359 |
-SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" |
360 |
- |
361 |
-LICENSE="BSD" |
362 |
-SLOT="0" |
363 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
364 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
365 |
- |
366 |
-RDEPEND=">=dev-libs/libbson-1.1.10 |
367 |
- sasl? ( dev-libs/cyrus-sasl ) |
368 |
- ssl? ( |
369 |
- !libressl? ( dev-libs/openssl:0= ) |
370 |
- libressl? ( dev-libs/libressl:0= ) |
371 |
- )" |
372 |
-DEPEND="${RDEPEND} |
373 |
- test? ( dev-db/mongodb )" |
374 |
- |
375 |
-DOCS=( NEWS README.rst TUTORIAL.md ) |
376 |
- |
377 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
378 |
-# x86 anymore (bug #645994) |
379 |
-RESTRICT="!test? ( test ) x86? ( test )" |
380 |
- |
381 |
-src_prepare() { |
382 |
- rm -r src/libbson || die |
383 |
- sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die |
384 |
- |
385 |
- # https://github.com/mongodb/mongo-c-driver/issues/54 |
386 |
- sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \ |
387 |
- tests/Makefile.am || die |
388 |
- eautoreconf |
389 |
-} |
390 |
- |
391 |
-src_configure() { |
392 |
- econf --with-libbson=system \ |
393 |
- --disable-hardening \ |
394 |
- --disable-optimizations \ |
395 |
- --disable-examples \ |
396 |
- $(use_enable sasl) \ |
397 |
- $(use_enable ssl) \ |
398 |
- $(use_enable debug) \ |
399 |
- $(use_enable static-libs static) |
400 |
-} |
401 |
- |
402 |
-src_install() { |
403 |
- emake DESTDIR="${D}" install |
404 |
- doman doc/*.3 |
405 |
- |
406 |
- use static-libs || find "${D}" -name '*.la' -delete |
407 |
- |
408 |
- if use examples; then |
409 |
- insinto /usr/share/${PF}/examples |
410 |
- doins -r examples/*.c examples/aggregation examples/bulk |
411 |
- fi |
412 |
-} |
413 |
- |
414 |
-src_test() { |
415 |
- # Avoid allocating too much disk space by using server.smallFiles = 1 |
416 |
- echo -e "storage:\n smallFiles: true" > "${T}/mongod.conf" |
417 |
- local PORT=27099 |
418 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
419 |
- -f "${T}/mongod.conf" --dbpath="${T}" \ |
420 |
- --logpath="${T}/mongod.log" || die |
421 |
- MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test |
422 |
- kill `cat "${T}/mongod.lock"` |
423 |
-} |
424 |
|
425 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild |
426 |
deleted file mode 100644 |
427 |
index 8bb38f88351..00000000000 |
428 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild |
429 |
+++ /dev/null |
430 |
@@ -1,74 +0,0 @@ |
431 |
-# Copyright 1999-2019 Gentoo Authors |
432 |
-# Distributed under the terms of the GNU General Public License v2 |
433 |
- |
434 |
-EAPI=5 |
435 |
- |
436 |
-inherit autotools eutils |
437 |
- |
438 |
-DESCRIPTION="A high-performance MongoDB driver for C" |
439 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
440 |
-SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" |
441 |
- |
442 |
-LICENSE="BSD" |
443 |
-SLOT="0" |
444 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
445 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
446 |
- |
447 |
-RDEPEND=">=dev-libs/libbson-1.0 |
448 |
- sasl? ( dev-libs/cyrus-sasl ) |
449 |
- ssl? ( |
450 |
- !libressl? ( dev-libs/openssl:0= ) |
451 |
- libressl? ( dev-libs/libressl:0= ) |
452 |
- )" |
453 |
-DEPEND="${RDEPEND} |
454 |
- test? ( dev-db/mongodb )" |
455 |
- |
456 |
-DOCS=( NEWS README.rst TUTORIAL.md ) |
457 |
- |
458 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
459 |
-# x86 anymore (bug #645994) |
460 |
-RESTRICT="!test? ( test ) x86? ( test )" |
461 |
- |
462 |
-src_prepare() { |
463 |
- rm -r src/libbson || die |
464 |
- sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die |
465 |
- |
466 |
- # https://github.com/mongodb/mongo-c-driver/issues/54 |
467 |
- sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \ |
468 |
- tests/Makefile.am || die |
469 |
- eautoreconf |
470 |
-} |
471 |
- |
472 |
-src_configure() { |
473 |
- econf --with-libbson=system \ |
474 |
- --disable-hardening \ |
475 |
- --disable-optimizations \ |
476 |
- --disable-examples \ |
477 |
- $(use_enable sasl) \ |
478 |
- $(use_enable ssl) \ |
479 |
- $(use_enable debug) \ |
480 |
- $(use_enable static-libs static) |
481 |
-} |
482 |
- |
483 |
-src_install() { |
484 |
- emake DESTDIR="${D}" install |
485 |
- doman doc/*.3 |
486 |
- |
487 |
- use static-libs || find "${D}" -name '*.la' -delete |
488 |
- |
489 |
- if use examples; then |
490 |
- insinto /usr/share/${PF}/examples |
491 |
- doins -r examples/*.c examples/aggregation examples/bulk |
492 |
- fi |
493 |
-} |
494 |
- |
495 |
-src_test() { |
496 |
- # Avoid allocating too much disk space by using server.smallFiles = 1 |
497 |
- echo -e "storage:\n smallFiles: true" > "${T}/mongod.conf" |
498 |
- local PORT=27099 |
499 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
500 |
- -f "${T}/mongod.conf" --dbpath="${T}" \ |
501 |
- --logpath="${T}/mongod.log" || die |
502 |
- MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test |
503 |
- kill `cat "${T}/mongod.lock"` |
504 |
-} |
505 |
|
506 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild |
507 |
deleted file mode 100644 |
508 |
index 7e671d96e05..00000000000 |
509 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild |
510 |
+++ /dev/null |
511 |
@@ -1,86 +0,0 @@ |
512 |
-# Copyright 1999-2019 Gentoo Authors |
513 |
-# Distributed under the terms of the GNU General Public License v2 |
514 |
- |
515 |
-EAPI=6 |
516 |
- |
517 |
-inherit cmake-utils |
518 |
- |
519 |
-DESCRIPTION="Client library written in C for MongoDB" |
520 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
521 |
-SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.tar.gz" |
522 |
- |
523 |
-LICENSE="Apache-2.0" |
524 |
-SLOT="0" |
525 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
526 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
527 |
-REQUIRED_USE="test? ( static-libs )" |
528 |
- |
529 |
-RDEPEND="app-arch/snappy:= |
530 |
- >=dev-libs/libbson-1.10.3 |
531 |
- dev-python/sphinx |
532 |
- sys-libs/zlib:= |
533 |
- sasl? ( dev-libs/cyrus-sasl:= ) |
534 |
- ssl? ( |
535 |
- !libressl? ( dev-libs/openssl:0= ) |
536 |
- libressl? ( dev-libs/libressl:0= ) |
537 |
- )" |
538 |
-DEPEND="${RDEPEND} |
539 |
- test? ( |
540 |
- dev-db/mongodb |
541 |
- dev-libs/libbson[static-libs] |
542 |
- )" |
543 |
- |
544 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
545 |
-# x86 anymore (bug #645994) |
546 |
-RESTRICT="!test? ( test ) x86? ( test )" |
547 |
- |
548 |
-PATCHES=( |
549 |
- "${FILESDIR}/${P}-enable-tests.patch" # enable tests without libbson |
550 |
-) |
551 |
- |
552 |
-src_prepare() { |
553 |
- cmake-utils_src_prepare |
554 |
- |
555 |
- # copy private headers for tests since we don't build libbson |
556 |
- if use test; then |
557 |
- for f in bson-private.h bson-iso8601-private.h bson-thread-private.h; do |
558 |
- cp -v src/libbson/src/bson/${f} src/libbson/tests/ || die |
559 |
- done |
560 |
- fi |
561 |
-} |
562 |
- |
563 |
-src_configure() { |
564 |
- local mycmakeargs=( |
565 |
- -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath |
566 |
- -DENABLE_BSON=SYSTEM |
567 |
- -DENABLE_EXAMPLES=OFF |
568 |
- -DENABLE_MAN_PAGES=ON |
569 |
- -DENABLE_MONGOC=ON |
570 |
- -DENABLE_SNAPPY=SYSTEM |
571 |
- -DENABLE_ZLIB=SYSTEM |
572 |
- -DENABLE_SASL="$(usex sasl CYRUS OFF)" |
573 |
- -DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) OFF)" |
574 |
- -DENABLE_STATIC="$(usex static-libs ON OFF)" |
575 |
- -DENABLE_TESTS="$(usex test ON OFF)" |
576 |
- -DENABLE_TRACING="$(usex debug ON OFF)" |
577 |
- ) |
578 |
- |
579 |
- cmake-utils_src_configure |
580 |
-} |
581 |
- |
582 |
-src_test() { |
583 |
- local PORT=27099 |
584 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
585 |
- --dbpath="${T}" --logpath="${T}/mongod.log" || die |
586 |
- MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die |
587 |
- kill $(<"${T}/mongod.lock") |
588 |
-} |
589 |
- |
590 |
-src_install() { |
591 |
- if use examples; then |
592 |
- docinto examples |
593 |
- dodoc src/libmongoc/examples/*.c |
594 |
- fi |
595 |
- |
596 |
- cmake-utils_src_install |
597 |
-} |
598 |
|
599 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild |
600 |
deleted file mode 100644 |
601 |
index ec8f0657725..00000000000 |
602 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild |
603 |
+++ /dev/null |
604 |
@@ -1,87 +0,0 @@ |
605 |
-# Copyright 1999-2019 Gentoo Authors |
606 |
-# Distributed under the terms of the GNU General Public License v2 |
607 |
- |
608 |
-EAPI=6 |
609 |
- |
610 |
-inherit cmake-utils |
611 |
- |
612 |
-DESCRIPTION="Client library written in C for MongoDB" |
613 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
614 |
-SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.tar.gz" |
615 |
- |
616 |
-LICENSE="Apache-2.0" |
617 |
-SLOT="0" |
618 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
619 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
620 |
-REQUIRED_USE="test? ( static-libs )" |
621 |
- |
622 |
-RDEPEND="app-arch/snappy:= |
623 |
- >=dev-libs/libbson-${PV} |
624 |
- dev-python/sphinx |
625 |
- sys-libs/zlib:= |
626 |
- sasl? ( dev-libs/cyrus-sasl:= ) |
627 |
- ssl? ( |
628 |
- !libressl? ( dev-libs/openssl:0= ) |
629 |
- libressl? ( dev-libs/libressl:0= ) |
630 |
- )" |
631 |
-DEPEND="${RDEPEND} |
632 |
- test? ( |
633 |
- dev-db/mongodb |
634 |
- dev-libs/libbson[static-libs] |
635 |
- )" |
636 |
- |
637 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
638 |
-# x86 anymore (bug #645994) |
639 |
-RESTRICT="!test? ( test ) x86? ( test )" |
640 |
- |
641 |
-PATCHES=( |
642 |
- "${FILESDIR}/${P}-enable-tests.patch" # enable tests without libbson |
643 |
-) |
644 |
- |
645 |
-src_prepare() { |
646 |
- cmake-utils_src_prepare |
647 |
- |
648 |
- # copy private headers for tests since we don't build libbson |
649 |
- if use test; then |
650 |
- for f in bson-fnv-private.h bson-iso8601-private.h bson-private.h bson-thread-private.h; do |
651 |
- cp -v src/libbson/src/bson/${f} src/libbson/tests/ || die |
652 |
- done |
653 |
- fi |
654 |
-} |
655 |
- |
656 |
-src_configure() { |
657 |
- local mycmakeargs=( |
658 |
- -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath |
659 |
- -DENABLE_BSON=SYSTEM |
660 |
- -DENABLE_EXAMPLES=OFF |
661 |
- -DENABLE_MAN_PAGES=ON |
662 |
- -DENABLE_MONGOC=ON |
663 |
- -DENABLE_SNAPPY=SYSTEM |
664 |
- -DENABLE_ZLIB=SYSTEM |
665 |
- -DENABLE_SASL="$(usex sasl CYRUS OFF)" |
666 |
- -DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) OFF)" |
667 |
- -DENABLE_STATIC="$(usex static-libs ON OFF)" |
668 |
- -DENABLE_TESTS="$(usex test ON OFF)" |
669 |
- -DENABLE_TRACING="$(usex debug ON OFF)" |
670 |
- ) |
671 |
- |
672 |
- cmake-utils_src_configure |
673 |
-} |
674 |
- |
675 |
-# FEATURES="test -network-sandbox" USE="static-libs" emerge dev-libs/mongo-c-driver |
676 |
-src_test() { |
677 |
- local PORT=27099 |
678 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
679 |
- --dbpath="${T}" --logpath="${T}/mongod.log" || die |
680 |
- MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die |
681 |
- kill $(<"${T}/mongod.lock") |
682 |
-} |
683 |
- |
684 |
-src_install() { |
685 |
- if use examples; then |
686 |
- docinto examples |
687 |
- dodoc src/libmongoc/examples/*.c |
688 |
- fi |
689 |
- |
690 |
- cmake-utils_src_install |
691 |
-} |
692 |
|
693 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild |
694 |
deleted file mode 100644 |
695 |
index 0755827f849..00000000000 |
696 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild |
697 |
+++ /dev/null |
698 |
@@ -1,88 +0,0 @@ |
699 |
-# Copyright 1999-2019 Gentoo Authors |
700 |
-# Distributed under the terms of the GNU General Public License v2 |
701 |
- |
702 |
-EAPI=6 |
703 |
- |
704 |
-inherit cmake-utils |
705 |
- |
706 |
-DESCRIPTION="Client library written in C for MongoDB" |
707 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
708 |
-SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.tar.gz" |
709 |
- |
710 |
-LICENSE="Apache-2.0" |
711 |
-SLOT="0" |
712 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
713 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
714 |
-REQUIRED_USE="test? ( static-libs )" |
715 |
- |
716 |
-RDEPEND="app-arch/snappy:= |
717 |
- >=dev-libs/libbson-${PV} |
718 |
- dev-python/sphinx |
719 |
- sys-libs/zlib:= |
720 |
- sasl? ( dev-libs/cyrus-sasl:= ) |
721 |
- ssl? ( |
722 |
- !libressl? ( dev-libs/openssl:0= ) |
723 |
- libressl? ( dev-libs/libressl:0= ) |
724 |
- )" |
725 |
-DEPEND="${RDEPEND} |
726 |
- test? ( |
727 |
- dev-db/mongodb |
728 |
- dev-libs/libbson[static-libs] |
729 |
- )" |
730 |
- |
731 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
732 |
-# x86 anymore (bug #645994) |
733 |
-RESTRICT="!test? ( test ) x86? ( test )" |
734 |
- |
735 |
-PATCHES=( |
736 |
- "${FILESDIR}/${PN}-1.11.0-enable-tests.patch" # enable tests without libbson |
737 |
- "${FILESDIR}/${PN}-1.12.0-libressl.patch" # Bug 662654 |
738 |
-) |
739 |
- |
740 |
-src_prepare() { |
741 |
- cmake-utils_src_prepare |
742 |
- |
743 |
- # copy private headers for tests since we don't build libbson |
744 |
- if use test; then |
745 |
- for f in bson-fnv-private.h bson-iso8601-private.h bson-private.h bson-thread-private.h; do |
746 |
- cp -v src/libbson/src/bson/${f} src/libbson/tests/ || die |
747 |
- done |
748 |
- fi |
749 |
-} |
750 |
- |
751 |
-src_configure() { |
752 |
- local mycmakeargs=( |
753 |
- -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath |
754 |
- -DENABLE_BSON=SYSTEM |
755 |
- -DENABLE_EXAMPLES=OFF |
756 |
- -DENABLE_MAN_PAGES=ON |
757 |
- -DENABLE_MONGOC=ON |
758 |
- -DENABLE_SNAPPY=SYSTEM |
759 |
- -DENABLE_ZLIB=SYSTEM |
760 |
- -DENABLE_SASL="$(usex sasl CYRUS OFF)" |
761 |
- -DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) OFF)" |
762 |
- -DENABLE_STATIC="$(usex static-libs ON OFF)" |
763 |
- -DENABLE_TESTS="$(usex test ON OFF)" |
764 |
- -DENABLE_TRACING="$(usex debug ON OFF)" |
765 |
- ) |
766 |
- |
767 |
- cmake-utils_src_configure |
768 |
-} |
769 |
- |
770 |
-# FEATURES="test" USE="static-libs" emerge dev-libs/mongo-c-driver |
771 |
-src_test() { |
772 |
- local PORT=27099 |
773 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
774 |
- --dbpath="${T}" --logpath="${T}/mongod.log" || die |
775 |
- MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die |
776 |
- kill $(<"${T}/mongod.lock") |
777 |
-} |
778 |
- |
779 |
-src_install() { |
780 |
- if use examples; then |
781 |
- docinto examples |
782 |
- dodoc src/libmongoc/examples/*.c |
783 |
- fi |
784 |
- |
785 |
- cmake-utils_src_install |
786 |
-} |
787 |
|
788 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild |
789 |
deleted file mode 100644 |
790 |
index 415dc707833..00000000000 |
791 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild |
792 |
+++ /dev/null |
793 |
@@ -1,91 +0,0 @@ |
794 |
-# Copyright 1999-2019 Gentoo Authors |
795 |
-# Distributed under the terms of the GNU General Public License v2 |
796 |
- |
797 |
-EAPI=7 |
798 |
- |
799 |
-inherit cmake-utils |
800 |
- |
801 |
-DESCRIPTION="Client library written in C for MongoDB" |
802 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
803 |
-SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.tar.gz" |
804 |
- |
805 |
-LICENSE="Apache-2.0" |
806 |
-SLOT="0" |
807 |
-KEYWORDS="amd64 ~hppa ~s390 x86" |
808 |
-IUSE="debug examples icu libressl sasl ssl static-libs test" |
809 |
-REQUIRED_USE="test? ( static-libs )" |
810 |
- |
811 |
-RDEPEND="app-arch/snappy:= |
812 |
- >=dev-libs/libbson-${PV} |
813 |
- dev-python/sphinx |
814 |
- sys-libs/zlib:= |
815 |
- icu? ( dev-libs/icu:= ) |
816 |
- sasl? ( dev-libs/cyrus-sasl:= ) |
817 |
- ssl? ( |
818 |
- !libressl? ( dev-libs/openssl:0= ) |
819 |
- libressl? ( dev-libs/libressl:0= ) |
820 |
- )" |
821 |
-DEPEND="${RDEPEND} |
822 |
- test? ( |
823 |
- dev-db/mongodb |
824 |
- dev-libs/libbson[static-libs] |
825 |
- )" |
826 |
- |
827 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
828 |
-# x86 anymore (bug #645994) |
829 |
-RESTRICT="!test? ( test ) x86? ( test )" |
830 |
- |
831 |
-PATCHES=( |
832 |
- "${FILESDIR}/${P}-no-uninstall.patch" |
833 |
- "${FILESDIR}/${P}-enable-tests.patch" # enable tests with system libbson |
834 |
-) |
835 |
- |
836 |
-src_prepare() { |
837 |
- cmake-utils_src_prepare |
838 |
- |
839 |
- # copy private headers for tests since we don't build libbson |
840 |
- if use test; then |
841 |
- mkdir -p src/libbson/tests/bson || die |
842 |
- for f in bson-fnv-private.h bson-iso8601-private.h bson-private.h bson-thread-private.h; do |
843 |
- cp -v src/libbson/src/bson/${f} src/libbson/tests/bson/ || die |
844 |
- done |
845 |
- fi |
846 |
-} |
847 |
- |
848 |
-src_configure() { |
849 |
- local mycmakeargs=( |
850 |
- -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath |
851 |
- -DENABLE_BSON=SYSTEM |
852 |
- -DENABLE_EXAMPLES=OFF |
853 |
- -DENABLE_ICU="$(usex icu ON OFF)" |
854 |
- -DENABLE_MAN_PAGES=ON |
855 |
- -DENABLE_MONGOC=ON |
856 |
- -DENABLE_SNAPPY=SYSTEM |
857 |
- -DENABLE_ZLIB=SYSTEM |
858 |
- -DENABLE_SASL="$(usex sasl CYRUS OFF)" |
859 |
- -DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) OFF)" |
860 |
- -DENABLE_STATIC="$(usex static-libs ON OFF)" |
861 |
- -DENABLE_TESTS="$(usex test ON OFF)" |
862 |
- -DENABLE_TRACING="$(usex debug ON OFF)" |
863 |
- ) |
864 |
- |
865 |
- cmake-utils_src_configure |
866 |
-} |
867 |
- |
868 |
-# FEATURES="test" USE="static-libs" emerge dev-libs/mongo-c-driver |
869 |
-src_test() { |
870 |
- local PORT=27099 |
871 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
872 |
- --dbpath="${T}" --logpath="${T}/mongod.log" || die |
873 |
- MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die |
874 |
- kill $(<"${T}/mongod.lock") |
875 |
-} |
876 |
- |
877 |
-src_install() { |
878 |
- if use examples; then |
879 |
- docinto examples |
880 |
- dodoc src/libmongoc/examples/*.c |
881 |
- fi |
882 |
- |
883 |
- cmake-utils_src_install |
884 |
-} |
885 |
|
886 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild |
887 |
deleted file mode 100644 |
888 |
index e61cc887ea3..00000000000 |
889 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild |
890 |
+++ /dev/null |
891 |
@@ -1,92 +0,0 @@ |
892 |
-# Copyright 1999-2019 Gentoo Authors |
893 |
-# Distributed under the terms of the GNU General Public License v2 |
894 |
- |
895 |
-EAPI=7 |
896 |
- |
897 |
-inherit cmake-utils |
898 |
- |
899 |
-DESCRIPTION="Client library written in C for MongoDB" |
900 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
901 |
-SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.tar.gz" |
902 |
- |
903 |
-LICENSE="Apache-2.0" |
904 |
-SLOT="0" |
905 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
906 |
-IUSE="debug examples icu libressl sasl ssl static-libs test" |
907 |
-REQUIRED_USE="test? ( static-libs )" |
908 |
- |
909 |
-RDEPEND="app-arch/snappy:= |
910 |
- >=dev-libs/libbson-${PV} |
911 |
- dev-python/sphinx |
912 |
- sys-libs/zlib:= |
913 |
- icu? ( dev-libs/icu:= ) |
914 |
- sasl? ( dev-libs/cyrus-sasl:= ) |
915 |
- ssl? ( |
916 |
- !libressl? ( dev-libs/openssl:0= ) |
917 |
- libressl? ( dev-libs/libressl:0= ) |
918 |
- )" |
919 |
-DEPEND="${RDEPEND} |
920 |
- test? ( |
921 |
- dev-db/mongodb |
922 |
- dev-libs/libbson[static-libs] |
923 |
- )" |
924 |
- |
925 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
926 |
-# x86 anymore (bug #645994) |
927 |
-RESTRICT="!test? ( test ) x86? ( test )" |
928 |
- |
929 |
-PATCHES=( |
930 |
- "${FILESDIR}/${PN}-1.13.0-enable-tests.patch" # enable tests with system libbson |
931 |
- "${FILESDIR}/${P}-drop-failing-test.patch" # one test fails |
932 |
-) |
933 |
- |
934 |
-src_prepare() { |
935 |
- cmake-utils_src_prepare |
936 |
- |
937 |
- # copy private headers for tests since we don't build libbson |
938 |
- if use test; then |
939 |
- mkdir -p src/libbson/tests/bson || die |
940 |
- for f in bson-fnv-private.h bson-iso8601-private.h bson-private.h; do |
941 |
- cp -v src/libbson/src/bson/${f} src/libbson/tests/bson/ || die |
942 |
- done |
943 |
- fi |
944 |
-} |
945 |
- |
946 |
-src_configure() { |
947 |
- local mycmakeargs=( |
948 |
- -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath |
949 |
- -DENABLE_BSON=SYSTEM |
950 |
- -DENABLE_EXAMPLES=OFF |
951 |
- -DENABLE_ICU="$(usex icu ON OFF)" |
952 |
- -DENABLE_MAN_PAGES=ON |
953 |
- -DENABLE_MONGOC=ON |
954 |
- -DENABLE_SNAPPY=SYSTEM |
955 |
- -DENABLE_ZLIB=SYSTEM |
956 |
- -DENABLE_SASL="$(usex sasl CYRUS OFF)" |
957 |
- -DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) OFF)" |
958 |
- -DENABLE_STATIC="$(usex static-libs ON OFF)" |
959 |
- -DENABLE_TESTS="$(usex test ON OFF)" |
960 |
- -DENABLE_TRACING="$(usex debug ON OFF)" |
961 |
- -DENABLE_UNINSTALL=OFF |
962 |
- ) |
963 |
- |
964 |
- cmake-utils_src_configure |
965 |
-} |
966 |
- |
967 |
-# FEATURES="test" USE="static-libs" emerge dev-libs/mongo-c-driver |
968 |
-src_test() { |
969 |
- local PORT=27099 |
970 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
971 |
- --dbpath="${T}" --logpath="${T}/mongod.log" || die |
972 |
- MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die |
973 |
- kill $(<"${T}/mongod.lock") |
974 |
-} |
975 |
- |
976 |
-src_install() { |
977 |
- if use examples; then |
978 |
- docinto examples |
979 |
- dodoc src/libmongoc/examples/*.c |
980 |
- fi |
981 |
- |
982 |
- cmake-utils_src_install |
983 |
-} |
984 |
|
985 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild |
986 |
deleted file mode 100644 |
987 |
index 4ad9e86cd71..00000000000 |
988 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild |
989 |
+++ /dev/null |
990 |
@@ -1,93 +0,0 @@ |
991 |
-# Copyright 1999-2019 Gentoo Authors |
992 |
-# Distributed under the terms of the GNU General Public License v2 |
993 |
- |
994 |
-EAPI=7 |
995 |
- |
996 |
-inherit cmake-utils |
997 |
- |
998 |
-DESCRIPTION="Client library written in C for MongoDB" |
999 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
1000 |
-SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz" |
1001 |
- |
1002 |
-LICENSE="Apache-2.0" |
1003 |
-SLOT="0" |
1004 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
1005 |
-IUSE="debug examples icu libressl sasl ssl static-libs test" |
1006 |
-REQUIRED_USE="test? ( static-libs )" |
1007 |
- |
1008 |
-RDEPEND="app-arch/snappy:= |
1009 |
- >=dev-libs/libbson-${PV} |
1010 |
- dev-python/sphinx |
1011 |
- sys-libs/zlib:= |
1012 |
- icu? ( dev-libs/icu:= ) |
1013 |
- sasl? ( dev-libs/cyrus-sasl:= ) |
1014 |
- ssl? ( |
1015 |
- !libressl? ( dev-libs/openssl:0= ) |
1016 |
- libressl? ( dev-libs/libressl:0= ) |
1017 |
- )" |
1018 |
-DEPEND="${RDEPEND} |
1019 |
- test? ( |
1020 |
- dev-db/mongodb |
1021 |
- dev-libs/libbson[static-libs] |
1022 |
- )" |
1023 |
- |
1024 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
1025 |
-# x86 anymore (bug #645994) |
1026 |
-RESTRICT="!test? ( test ) x86? ( test )" |
1027 |
- |
1028 |
-PATCHES=( |
1029 |
- "${FILESDIR}/${PN}-1.13.1-drop-failing-test.patch" # one test fails |
1030 |
- "${FILESDIR}/${PN}-1.14.0-enable-tests.patch" # enable tests with system libbson |
1031 |
- "${FILESDIR}/${PN}-1.14.0-no-docs.patch" |
1032 |
-) |
1033 |
- |
1034 |
-src_prepare() { |
1035 |
- cmake-utils_src_prepare |
1036 |
- |
1037 |
- # copy private headers for tests since we don't build libbson |
1038 |
- if use test; then |
1039 |
- mkdir -p src/libbson/tests/bson || die |
1040 |
- for f in bson-context-private.h bson-iso8601-private.h bson-private.h; do |
1041 |
- cp -v src/libbson/src/bson/${f} src/libbson/tests/bson/ || die |
1042 |
- done |
1043 |
- fi |
1044 |
-} |
1045 |
- |
1046 |
-src_configure() { |
1047 |
- local mycmakeargs=( |
1048 |
- -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath |
1049 |
- -DENABLE_BSON=SYSTEM |
1050 |
- -DENABLE_EXAMPLES=OFF |
1051 |
- -DENABLE_ICU="$(usex icu ON OFF)" |
1052 |
- -DENABLE_MAN_PAGES=ON |
1053 |
- -DENABLE_MONGOC=ON |
1054 |
- -DENABLE_SNAPPY=SYSTEM |
1055 |
- -DENABLE_ZLIB=SYSTEM |
1056 |
- -DENABLE_SASL="$(usex sasl CYRUS OFF)" |
1057 |
- -DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) OFF)" |
1058 |
- -DENABLE_STATIC="$(usex static-libs ON OFF)" |
1059 |
- -DENABLE_TESTS="$(usex test ON OFF)" |
1060 |
- -DENABLE_TRACING="$(usex debug ON OFF)" |
1061 |
- -DENABLE_UNINSTALL=OFF |
1062 |
- ) |
1063 |
- |
1064 |
- cmake-utils_src_configure |
1065 |
-} |
1066 |
- |
1067 |
-# FEATURES="test" USE="static-libs" emerge dev-libs/mongo-c-driver |
1068 |
-src_test() { |
1069 |
- local PORT=27099 |
1070 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
1071 |
- --dbpath="${T}" --logpath="${T}/mongod.log" || die |
1072 |
- MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die |
1073 |
- kill $(<"${T}/mongod.lock") |
1074 |
-} |
1075 |
- |
1076 |
-src_install() { |
1077 |
- if use examples; then |
1078 |
- docinto examples |
1079 |
- dodoc src/libmongoc/examples/*.c |
1080 |
- fi |
1081 |
- |
1082 |
- cmake-utils_src_install |
1083 |
-} |
1084 |
|
1085 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.15.1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.15.1.ebuild |
1086 |
deleted file mode 100644 |
1087 |
index 6bded6a0a99..00000000000 |
1088 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.15.1.ebuild |
1089 |
+++ /dev/null |
1090 |
@@ -1,95 +0,0 @@ |
1091 |
-# Copyright 1999-2019 Gentoo Authors |
1092 |
-# Distributed under the terms of the GNU General Public License v2 |
1093 |
- |
1094 |
-EAPI=7 |
1095 |
- |
1096 |
-inherit cmake-utils |
1097 |
- |
1098 |
-DESCRIPTION="Client library written in C for MongoDB" |
1099 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
1100 |
-SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz" |
1101 |
- |
1102 |
-LICENSE="Apache-2.0" |
1103 |
-SLOT="0" |
1104 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
1105 |
-IUSE="debug examples icu libressl sasl ssl static-libs test" |
1106 |
-REQUIRED_USE="test? ( static-libs )" |
1107 |
- |
1108 |
-RDEPEND="app-arch/snappy:= |
1109 |
- app-arch/zstd:= |
1110 |
- >=dev-libs/libbson-${PV} |
1111 |
- dev-python/sphinx |
1112 |
- sys-libs/zlib:= |
1113 |
- icu? ( dev-libs/icu:= ) |
1114 |
- sasl? ( dev-libs/cyrus-sasl:= ) |
1115 |
- ssl? ( |
1116 |
- !libressl? ( dev-libs/openssl:0= ) |
1117 |
- libressl? ( dev-libs/libressl:0= ) |
1118 |
- )" |
1119 |
-DEPEND="${RDEPEND} |
1120 |
- test? ( |
1121 |
- dev-db/mongodb |
1122 |
- dev-libs/libbson[static-libs] |
1123 |
- )" |
1124 |
- |
1125 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
1126 |
-# x86 anymore (bug #645994) |
1127 |
-RESTRICT="x86? ( test ) |
1128 |
- !test? ( test )" |
1129 |
- |
1130 |
-PATCHES=( |
1131 |
- "${FILESDIR}/${PN}-1.14.0-enable-tests.patch" # enable tests with system libbson |
1132 |
- "${FILESDIR}/${PN}-1.14.0-no-docs.patch" |
1133 |
-) |
1134 |
- |
1135 |
-src_prepare() { |
1136 |
- cmake-utils_src_prepare |
1137 |
- |
1138 |
- # copy private headers for tests since we don't build libbson |
1139 |
- if use test; then |
1140 |
- mkdir -p src/libbson/tests/bson || die |
1141 |
- for f in bson-context-private.h bson-iso8601-private.h bson-private.h; do |
1142 |
- cp -v src/libbson/src/bson/${f} src/libbson/tests/bson/ || die |
1143 |
- done |
1144 |
- fi |
1145 |
-} |
1146 |
- |
1147 |
-src_configure() { |
1148 |
- local mycmakeargs=( |
1149 |
- -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath |
1150 |
- -DENABLE_BSON=SYSTEM |
1151 |
- -DENABLE_EXAMPLES=OFF |
1152 |
- -DENABLE_ICU="$(usex icu ON OFF)" |
1153 |
- -DENABLE_MAN_PAGES=ON |
1154 |
- -DENABLE_MONGOC=ON |
1155 |
- -DENABLE_SNAPPY=SYSTEM |
1156 |
- -DENABLE_ZLIB=SYSTEM |
1157 |
- -DENABLE_SASL="$(usex sasl CYRUS OFF)" |
1158 |
- -DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) OFF)" |
1159 |
- -DENABLE_STATIC="$(usex static-libs ON OFF)" |
1160 |
- -DENABLE_TESTS="$(usex test ON OFF)" |
1161 |
- -DENABLE_TRACING="$(usex debug ON OFF)" |
1162 |
- -DENABLE_UNINSTALL=OFF |
1163 |
- -DENABLE_ZSTD=ON |
1164 |
- ) |
1165 |
- |
1166 |
- cmake-utils_src_configure |
1167 |
-} |
1168 |
- |
1169 |
-# FEATURES="test -network-sandbox" USE="static-libs" emerge dev-libs/mongo-c-driver |
1170 |
-src_test() { |
1171 |
- local PORT=27099 |
1172 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
1173 |
- --dbpath="${T}" --logpath="${T}/mongod.log" || die |
1174 |
- MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die |
1175 |
- kill $(<"${T}/mongod.lock") |
1176 |
-} |
1177 |
- |
1178 |
-src_install() { |
1179 |
- if use examples; then |
1180 |
- docinto examples |
1181 |
- dodoc src/libmongoc/examples/*.c |
1182 |
- fi |
1183 |
- |
1184 |
- cmake-utils_src_install |
1185 |
-} |
1186 |
|
1187 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild |
1188 |
deleted file mode 100644 |
1189 |
index dd8921b4380..00000000000 |
1190 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild |
1191 |
+++ /dev/null |
1192 |
@@ -1,79 +0,0 @@ |
1193 |
-# Copyright 1999-2019 Gentoo Authors |
1194 |
-# Distributed under the terms of the GNU General Public License v2 |
1195 |
- |
1196 |
-EAPI=5 |
1197 |
- |
1198 |
-inherit autotools eutils |
1199 |
- |
1200 |
-DESCRIPTION="A high-performance MongoDB driver for C" |
1201 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
1202 |
-SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" |
1203 |
- |
1204 |
-LICENSE="BSD" |
1205 |
-SLOT="0" |
1206 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
1207 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
1208 |
- |
1209 |
-RDEPEND=">=dev-libs/libbson-1.3.5 |
1210 |
- sasl? ( dev-libs/cyrus-sasl ) |
1211 |
- ssl? ( |
1212 |
- !libressl? ( dev-libs/openssl:0= ) |
1213 |
- libressl? ( dev-libs/libressl:0= ) |
1214 |
- )" |
1215 |
-DEPEND="${RDEPEND} |
1216 |
- test? ( dev-db/mongodb )" |
1217 |
- |
1218 |
-DOCS=( NEWS README.rst ) |
1219 |
- |
1220 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
1221 |
-# x86 anymore (bug #645994) |
1222 |
-RESTRICT="!test? ( test ) x86? ( test )" |
1223 |
- |
1224 |
-src_prepare() { |
1225 |
- rm -r src/libbson || die |
1226 |
- sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die |
1227 |
- |
1228 |
- # https://github.com/mongodb/mongo-c-driver/issues/54 |
1229 |
- sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \ |
1230 |
- tests/Makefile.am || die |
1231 |
- eautoreconf |
1232 |
-} |
1233 |
- |
1234 |
-src_configure() { |
1235 |
- econf --with-libbson=system \ |
1236 |
- --disable-hardening \ |
1237 |
- --disable-optimizations \ |
1238 |
- --disable-examples \ |
1239 |
- --docdir="${EPREFIX}/usr/share/doc/${P}" \ |
1240 |
- $(use_enable sasl) \ |
1241 |
- $(use_enable ssl ssl openssl) \ |
1242 |
- $(use_enable debug) \ |
1243 |
- $(use_enable static-libs static) |
1244 |
-} |
1245 |
- |
1246 |
-src_install() { |
1247 |
- default_src_install |
1248 |
- if [[ -f "${D}usr/share/doc/${P}/COPYING" ]] ; then |
1249 |
- rm "${D}usr/share/doc/${P}/COPYING" || die |
1250 |
- fi |
1251 |
- # Only install the mongoc man pages to avoid conflicts of common names |
1252 |
- doman doc/man/mongoc_*.3 |
1253 |
- |
1254 |
- use static-libs || find "${D}" -name '*.la' -delete |
1255 |
- |
1256 |
- if use examples; then |
1257 |
- insinto /usr/share/${PF}/examples |
1258 |
- doins -r examples/*.c examples/aggregation examples/bulk |
1259 |
- fi |
1260 |
-} |
1261 |
- |
1262 |
-src_test() { |
1263 |
- # Avoid allocating too much disk space by using server.smallFiles = 1 |
1264 |
- echo -e "storage:\n smallFiles: true" > "${T}/mongod.conf" |
1265 |
- local PORT=27099 |
1266 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
1267 |
- -f "${T}/mongod.conf" --dbpath="${T}" \ |
1268 |
- --logpath="${T}/mongod.log" || die |
1269 |
- MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test |
1270 |
- kill `cat "${T}/mongod.lock"` |
1271 |
-} |
1272 |
|
1273 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild |
1274 |
deleted file mode 100644 |
1275 |
index 574171d957f..00000000000 |
1276 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild |
1277 |
+++ /dev/null |
1278 |
@@ -1,81 +0,0 @@ |
1279 |
-# Copyright 1999-2020 Gentoo Authors |
1280 |
-# Distributed under the terms of the GNU General Public License v2 |
1281 |
- |
1282 |
-EAPI=6 |
1283 |
- |
1284 |
-inherit autotools |
1285 |
- |
1286 |
-DESCRIPTION="A high-performance MongoDB driver for C" |
1287 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
1288 |
-SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" |
1289 |
- |
1290 |
-LICENSE="BSD" |
1291 |
-SLOT="0" |
1292 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
1293 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
1294 |
- |
1295 |
-RDEPEND=">=dev-libs/libbson-1.6.2 |
1296 |
- sasl? ( dev-libs/cyrus-sasl ) |
1297 |
- ssl? ( |
1298 |
- !libressl? ( dev-libs/openssl:0= ) |
1299 |
- libressl? ( dev-libs/libressl:0= ) |
1300 |
- )" |
1301 |
-DEPEND="${RDEPEND} |
1302 |
- test? ( dev-db/mongodb )" |
1303 |
- |
1304 |
-DOCS=( NEWS README.rst ) |
1305 |
- |
1306 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
1307 |
-# x86 anymore (bug #645994) |
1308 |
-RESTRICT="!test? ( test ) x86? ( test )" |
1309 |
- |
1310 |
-src_prepare() { |
1311 |
- rm -r src/libbson || die |
1312 |
- sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die |
1313 |
- |
1314 |
- # https://github.com/mongodb/mongo-c-driver/issues/54 |
1315 |
- sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \ |
1316 |
- tests/Makefile.am || die |
1317 |
- eautoreconf |
1318 |
- |
1319 |
- default |
1320 |
-} |
1321 |
- |
1322 |
-src_configure() { |
1323 |
- econf \ |
1324 |
- --with-libbson=system \ |
1325 |
- --disable-optimizations \ |
1326 |
- --disable-shm-counters \ |
1327 |
- --disable-examples \ |
1328 |
- $(use_enable sasl) \ |
1329 |
- $(use_enable ssl ssl $(usex libressl libressl openssl)) \ |
1330 |
- $(use_enable debug) \ |
1331 |
- $(use_enable static-libs static) |
1332 |
-} |
1333 |
- |
1334 |
-src_install() { |
1335 |
- default_src_install |
1336 |
- |
1337 |
- # Only install the mongoc man pages to avoid conflicts of common names |
1338 |
- doman doc/man/mongoc_*.3 |
1339 |
- |
1340 |
- if ! use static-libs; then |
1341 |
- find "${D}" -name '*.la' -delete || die |
1342 |
- fi |
1343 |
- |
1344 |
- if use examples; then |
1345 |
- docinto examples |
1346 |
- dodoc -r examples/*.c examples/aggregation examples/bulk |
1347 |
- fi |
1348 |
-} |
1349 |
- |
1350 |
-src_test() { |
1351 |
- # Avoid allocating too much disk space by using server.smallFiles = 1 |
1352 |
- echo -e "storage:\n smallFiles: true" > "${T}/mongod.conf" || die |
1353 |
- local PORT=27099 |
1354 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
1355 |
- -f "${T}/mongod.conf" --dbpath="${T}" \ |
1356 |
- --logpath="${T}/mongod.log" || die |
1357 |
- MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test |
1358 |
- kill $(<"${T}/mongod.lock") |
1359 |
-} |
1360 |
|
1361 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild |
1362 |
deleted file mode 100644 |
1363 |
index e67b5edaaef..00000000000 |
1364 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild |
1365 |
+++ /dev/null |
1366 |
@@ -1,84 +0,0 @@ |
1367 |
-# Copyright 1999-2020 Gentoo Authors |
1368 |
-# Distributed under the terms of the GNU General Public License v2 |
1369 |
- |
1370 |
-EAPI=6 |
1371 |
- |
1372 |
-DESCRIPTION="A high-performance MongoDB driver for C" |
1373 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
1374 |
-SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" |
1375 |
- |
1376 |
-LICENSE="BSD" |
1377 |
-SLOT="0" |
1378 |
-KEYWORDS="amd64 ~hppa ~s390 x86" |
1379 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
1380 |
- |
1381 |
-RDEPEND="app-arch/snappy:= |
1382 |
- >=dev-libs/libbson-1.8.2 |
1383 |
- sys-libs/zlib:= |
1384 |
- sasl? ( dev-libs/cyrus-sasl ) |
1385 |
- ssl? ( |
1386 |
- !libressl? ( dev-libs/openssl:0= ) |
1387 |
- libressl? ( dev-libs/libressl:0= ) |
1388 |
- )" |
1389 |
-DEPEND="${RDEPEND} |
1390 |
- test? ( dev-db/mongodb )" |
1391 |
- |
1392 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
1393 |
-# x86 anymore (bug #645994) |
1394 |
-RESTRICT="!test? ( test ) x86? ( test )" |
1395 |
- |
1396 |
-src_prepare() { |
1397 |
- # remove bundled libs |
1398 |
- rm -rv src/{libbson,zlib*} || die |
1399 |
- |
1400 |
- # bundled headers are gone |
1401 |
- sed -e '/^ac_config_files/s@src/zlib-.*/zconf.h@@g' \ |
1402 |
- -i configure || die |
1403 |
- |
1404 |
- # this test fails |
1405 |
- sed -e '/test_topology_install (&suite)/d' \ |
1406 |
- -i tests/test-libmongoc.c || die |
1407 |
- |
1408 |
- default |
1409 |
-} |
1410 |
- |
1411 |
-src_configure() { |
1412 |
- econf \ |
1413 |
- --with-libbson=system \ |
1414 |
- --with-snappy=system \ |
1415 |
- --with-zlib=system \ |
1416 |
- --disable-optimizations \ |
1417 |
- --disable-shm-counters \ |
1418 |
- --disable-examples \ |
1419 |
- $(use_enable sasl) \ |
1420 |
- $(use_enable ssl ssl $(usex libressl libressl openssl)) \ |
1421 |
- $(use_enable debug) \ |
1422 |
- $(use_enable static-libs static) |
1423 |
-} |
1424 |
- |
1425 |
-src_install() { |
1426 |
- default_src_install |
1427 |
- |
1428 |
- # Only install the mongoc man pages to avoid conflicts of common names |
1429 |
- doman doc/man/mongoc_*.3 |
1430 |
- |
1431 |
- if ! use static-libs; then |
1432 |
- find "${D}" -name '*.la' -delete || die |
1433 |
- fi |
1434 |
- |
1435 |
- if use examples; then |
1436 |
- docinto examples |
1437 |
- dodoc -r examples/*.c examples/aggregation examples/bulk |
1438 |
- fi |
1439 |
-} |
1440 |
- |
1441 |
-src_test() { |
1442 |
- # Avoid allocating too much disk space by using server.smallFiles = 1 |
1443 |
- echo -e "storage:\n smallFiles: true" > "${T}/mongod.conf" || die |
1444 |
- local PORT=27099 |
1445 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
1446 |
- -f "${T}/mongod.conf" --dbpath="${T}" \ |
1447 |
- --logpath="${T}/mongod.log" || die |
1448 |
- MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test |
1449 |
- kill $(<"${T}/mongod.lock") |
1450 |
-} |
1451 |
|
1452 |
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild |
1453 |
deleted file mode 100644 |
1454 |
index 9bc7a5d5f33..00000000000 |
1455 |
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild |
1456 |
+++ /dev/null |
1457 |
@@ -1,84 +0,0 @@ |
1458 |
-# Copyright 1999-2020 Gentoo Authors |
1459 |
-# Distributed under the terms of the GNU General Public License v2 |
1460 |
- |
1461 |
-EAPI=6 |
1462 |
- |
1463 |
-DESCRIPTION="A high-performance MongoDB driver for C" |
1464 |
-HOMEPAGE="https://github.com/mongodb/mongo-c-driver" |
1465 |
-SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" |
1466 |
- |
1467 |
-LICENSE="BSD" |
1468 |
-SLOT="0" |
1469 |
-KEYWORDS="~amd64 ~hppa ~s390 ~x86" |
1470 |
-IUSE="debug examples libressl sasl ssl static-libs test" |
1471 |
- |
1472 |
-RDEPEND="app-arch/snappy:= |
1473 |
- >=dev-libs/libbson-1.8.2 |
1474 |
- sys-libs/zlib:= |
1475 |
- sasl? ( dev-libs/cyrus-sasl ) |
1476 |
- ssl? ( |
1477 |
- !libressl? ( dev-libs/openssl:0= ) |
1478 |
- libressl? ( dev-libs/libressl:0= ) |
1479 |
- )" |
1480 |
-DEPEND="${RDEPEND} |
1481 |
- test? ( dev-db/mongodb )" |
1482 |
- |
1483 |
-# No tests on x86 because tests require dev-db/mongodb which don't support |
1484 |
-# x86 anymore (bug #645994) |
1485 |
-RESTRICT="!test? ( test ) x86? ( test )" |
1486 |
- |
1487 |
-src_prepare() { |
1488 |
- # remove bundled libs |
1489 |
- rm -rv src/{libbson,zlib*} || die |
1490 |
- |
1491 |
- # bundled headers are gone |
1492 |
- sed -e '/^ac_config_files/s@src/zlib-.*/zconf.h@@g' \ |
1493 |
- -i configure || die |
1494 |
- |
1495 |
- # this test fails |
1496 |
- sed -e '/test_topology_install (&suite)/d' \ |
1497 |
- -i tests/test-libmongoc.c || die |
1498 |
- |
1499 |
- default |
1500 |
-} |
1501 |
- |
1502 |
-src_configure() { |
1503 |
- econf \ |
1504 |
- --with-libbson=system \ |
1505 |
- --with-snappy=system \ |
1506 |
- --with-zlib=system \ |
1507 |
- --disable-optimizations \ |
1508 |
- --disable-shm-counters \ |
1509 |
- --disable-examples \ |
1510 |
- $(use_enable sasl) \ |
1511 |
- $(use_enable ssl ssl $(usex libressl libressl openssl)) \ |
1512 |
- $(use_enable debug) \ |
1513 |
- $(use_enable static-libs static) |
1514 |
-} |
1515 |
- |
1516 |
-src_install() { |
1517 |
- default_src_install |
1518 |
- |
1519 |
- # Only install the mongoc man pages to avoid conflicts of common names |
1520 |
- doman doc/man/mongoc_*.3 |
1521 |
- |
1522 |
- if ! use static-libs; then |
1523 |
- find "${D}" -name '*.la' -delete || die |
1524 |
- fi |
1525 |
- |
1526 |
- if use examples; then |
1527 |
- docinto examples |
1528 |
- dodoc -r examples/*.c examples/aggregation examples/bulk |
1529 |
- fi |
1530 |
-} |
1531 |
- |
1532 |
-src_test() { |
1533 |
- # Avoid allocating too much disk space by using server.smallFiles = 1 |
1534 |
- echo -e "storage:\n smallFiles: true" > "${T}/mongod.conf" || die |
1535 |
- local PORT=27099 |
1536 |
- mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ |
1537 |
- -f "${T}/mongod.conf" --dbpath="${T}" \ |
1538 |
- --logpath="${T}/mongod.log" || die |
1539 |
- MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test |
1540 |
- kill $(<"${T}/mongod.lock") |
1541 |
-} |