Gentoo Archives: gentoo-commits

From: Kurt Kanzenbach <kurt@×××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/open62541/, dev-libs/open62541/files/
Date: Sat, 17 Apr 2021 20:30:09
Message-Id: 1618691372.b97a9981d29b0fee285846759daf65ac530e7eb5.KurtKanzenbach@gentoo
1 commit: b97a9981d29b0fee285846759daf65ac530e7eb5
2 Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
3 AuthorDate: Sat Apr 17 20:29:32 2021 +0000
4 Commit: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
5 CommitDate: Sat Apr 17 20:29:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b97a9981
7
8 dev-libs/open62541: Drop old
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>
12
13 dev-libs/open62541/Manifest | 2 -
14 .../open62541/files/open62541-1.0.6-tests.patch | 57 ----------
15 .../open62541/files/open62541-1.2-headers.patch | 33 ------
16 dev-libs/open62541/files/open62541-1.2-tests.patch | 126 ---------------------
17 dev-libs/open62541/open62541-1.0.6.ebuild | 83 --------------
18 dev-libs/open62541/open62541-1.2.ebuild | 104 -----------------
19 6 files changed, 405 deletions(-)
20
21 diff --git a/dev-libs/open62541/Manifest b/dev-libs/open62541/Manifest
22 index 6e02db299..148c8fa9d 100644
23 --- a/dev-libs/open62541/Manifest
24 +++ b/dev-libs/open62541/Manifest
25 @@ -1,3 +1 @@
26 -DIST open62541-1.0.6.tar.gz 2691627 BLAKE2B 72a0eb5870bf4233ac6f3911c1a7ad95d4cfa1c26be581815e99189206e188beedc1c2c81ea4cbd038ef545b9548949735353a550bb54ca6a7fb6a6fd60ffa65 SHA512 f317476e19fd2cc1cbd9155e2fe8bcac6499758f35a2f4eb59403add7d66ef94d45bae06bc8ece79eedceef1d0a364565d567b97e94da6b333591f4347961955
27 DIST open62541-1.2.1.tar.gz 3643976 BLAKE2B e075231bf8220bc7d597cd02fe754cc30dd4dbb47c2be440487abfd63a84f251ad5a565b340e2c342d42fcf45ad2104ca708e89f87945dc8a5746e9601e1c422 SHA512 2b260a06455aa963c3c7ec3b39df43d5df63f022f664bf70b38481239bf6f9b48ef853398eb9621875b862b8536c79c9cf05d7d92cc9fb0668009ddea96bf8d9
28 -DIST open62541-1.2.tar.gz 3640972 BLAKE2B 0b27837ba953338923651919accfb30356d1ecd83c911586720c803bb5cfce193361111e962c79b0e1739e804bb2de25a74e6b105b80eb58b497d7f5fa7ed469 SHA512 f492db2fe1569cf831f67e55d633af13bac1026e4ab8a30c2e1c36ada9b635e0086f176cb8f53665b2254ca9ba8c8f46ea850b1a0430045b71502f166645613a
29
30 diff --git a/dev-libs/open62541/files/open62541-1.0.6-tests.patch b/dev-libs/open62541/files/open62541-1.0.6-tests.patch
31 deleted file mode 100644
32 index 774b6adec..000000000
33 --- a/dev-libs/open62541/files/open62541-1.0.6-tests.patch
34 +++ /dev/null
35 @@ -1,57 +0,0 @@
36 -From f1f120389c345c3f45a6da5b6793cdfb78a0ce61 Mon Sep 17 00:00:00 2001
37 -From: Kurt Kanzenbach <kurt@×××××××××××××.de>
38 -Date: Sat, 4 Apr 2020 11:59:16 +0200
39 -Subject: [PATCH] tests: Disable failing tests
40 -
41 -Disable failing tests:
42 -
43 -|95% tests passed, 2 tests failed out of 41
44 -|
45 -|Total Test time (real) = 78.09 sec
46 -|
47 -|The following tests FAILED:
48 -| 29 - pubsub_publish (Failed)
49 -| 30 - check_pubsub_subscribe (SEGFAULT)
50 -
51 -Signed-off-by: Kurt Kanzenbach <kurt@×××××××××××××.de>
52 ----
53 - tests/CMakeLists.txt | 24 ++++++++++++------------
54 - 1 file changed, 12 insertions(+), 12 deletions(-)
55 -
56 -Index: open62541/tests/CMakeLists.txt
57 -===================================================================
58 ---- open62541.orig/tests/CMakeLists.txt
59 -+++ open62541/tests/CMakeLists.txt
60 -@@ -255,20 +255,20 @@ if(UA_ENABLE_PUBSUB)
61 - add_executable(check_pubsub_connection_udp pubsub/check_pubsub_connection_udp.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
62 - target_link_libraries(check_pubsub_connection_udp ${LIBS})
63 - add_test_valgrind(pubsub_connection_udp ${TESTS_BINARY_DIR}/check_pubsub_connection_udp)
64 -- add_executable(check_pubsub_publish pubsub/check_pubsub_publish.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
65 -- target_link_libraries(check_pubsub_publish ${LIBS})
66 -- add_test_valgrind(pubsub_publish ${TESTS_BINARY_DIR}/check_pubsub_publish)
67 -- add_executable(check_pubsub_publish_uadp pubsub/check_pubsub_publish_uadp.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
68 -- target_link_libraries(check_pubsub_publish_uadp ${LIBS})
69 -- add_test_valgrind(pubsub_publish ${TESTS_BINARY_DIR}/check_pubsub_publish_uadp)
70 -+ # add_executable(check_pubsub_publish pubsub/check_pubsub_publish.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
71 -+ # target_link_libraries(check_pubsub_publish ${LIBS})
72 -+ # add_test_valgrind(pubsub_publish ${TESTS_BINARY_DIR}/check_pubsub_publish)
73 -+ # add_executable(check_pubsub_publish_uadp pubsub/check_pubsub_publish_uadp.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
74 -+ # target_link_libraries(check_pubsub_publish_uadp ${LIBS})
75 -+ # add_test_valgrind(pubsub_publish ${TESTS_BINARY_DIR}/check_pubsub_publish_uadp)
76 -
77 - #Link libraries for executing subscriber unit test
78 -- add_executable(check_pubsub_subscribe pubsub/check_pubsub_subscribe.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
79 -- target_link_libraries(check_pubsub_subscribe ${LIBS})
80 -- add_test_valgrind(check_pubsub_subscribe ${TESTS_BINARY_DIR}/check_pubsub_subscribe)
81 -- add_executable(check_pubsub_publishspeed pubsub/check_pubsub_publishspeed.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
82 -- target_link_libraries(check_pubsub_publishspeed ${LIBS})
83 -- add_test_valgrind(pubsub_publishspeed ${TESTS_BINARY_DIR}/check_pubsub_publish)
84 -+ # add_executable(check_pubsub_subscribe pubsub/check_pubsub_subscribe.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
85 -+ # target_link_libraries(check_pubsub_subscribe ${LIBS})
86 -+ # add_test_valgrind(check_pubsub_subscribe ${TESTS_BINARY_DIR}/check_pubsub_subscribe)
87 -+ # add_executable(check_pubsub_publishspeed pubsub/check_pubsub_publishspeed.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
88 -+ # target_link_libraries(check_pubsub_publishspeed ${LIBS})
89 -+ # add_test_valgrind(pubsub_publishspeed ${TESTS_BINARY_DIR}/check_pubsub_publish)
90 -
91 - add_executable(check_pubsub_multiple_layer pubsub/check_pubsub_multiple_layer.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
92 - target_link_libraries(check_pubsub_multiple_layer ${LIBS})
93
94 diff --git a/dev-libs/open62541/files/open62541-1.2-headers.patch b/dev-libs/open62541/files/open62541-1.2-headers.patch
95 deleted file mode 100644
96 index 4a33c03b6..000000000
97 --- a/dev-libs/open62541/files/open62541-1.2-headers.patch
98 +++ /dev/null
99 @@ -1,33 +0,0 @@
100 -From a5697f1eb69822e172bc31d1549222c8ca718844 Mon Sep 17 00:00:00 2001
101 -From: Kurt Kanzenbach <kurt@×××××××××××××.de>
102 -Date: Sun, 12 Jul 2020 10:39:31 +0200
103 -Subject: [PATCH 2/3] cmake: Install ETF and XDP plugin headers
104 -
105 -When the corresponding features are enabled, the headers should be installed as
106 -well.
107 -
108 -Signed-off-by: Kurt Kanzenbach <kurt@×××××××××××××.de>
109 ----
110 - CMakeLists.txt | 2 ++
111 - 1 file changed, 2 insertions(+)
112 -
113 -Index: open62541/CMakeLists.txt
114 -===================================================================
115 ---- open62541.orig/CMakeLists.txt
116 -+++ open62541/CMakeLists.txt
117 -@@ -907,6 +907,7 @@ if(UA_ENABLE_PUBSUB)
118 - list(APPEND default_plugin_headers ${PROJECT_SOURCE_DIR}/plugins/include/open62541/plugin/pubsub_udp.h)
119 - list(APPEND default_plugin_sources ${PROJECT_SOURCE_DIR}/plugins/ua_pubsub_udp.c)
120 - if(UA_ENABLE_PUBSUB_ETH_UADP_ETF)
121 -+ list(APPEND default_plugin_headers ${PROJECT_SOURCE_DIR}/plugins/include/open62541/plugin/pubsub_ethernet_etf.h)
122 - list(APPEND default_plugin_sources ${PROJECT_SOURCE_DIR}/plugins/ua_pubsub_ethernet_etf.c)
123 - endif()
124 - if(UA_ENABLE_PUBSUB_ETH_UADP)
125 -@@ -916,6 +917,7 @@ if(UA_ENABLE_PUBSUB)
126 - if(UA_ENABLE_PUBSUB_ETH_UADP_XDP)
127 - if(EXISTS "${XDP_LIBRARY}")
128 - list(APPEND open62541_LIBRARIES ${XDP_LIBRARY})
129 -+ list(APPEND default_plugin_headers ${PROJECT_SOURCE_DIR}/plugins/include/open62541/plugin/pubsub_ethernet_xdp.h)
130 - list(APPEND default_plugin_sources ${PROJECT_SOURCE_DIR}/plugins/ua_pubsub_ethernet_xdp.c)
131 - else()
132 - MESSAGE(WARNING "samples in bpf-next directory were not built. Build the bpf-next to use XDP")
133
134 diff --git a/dev-libs/open62541/files/open62541-1.2-tests.patch b/dev-libs/open62541/files/open62541-1.2-tests.patch
135 deleted file mode 100644
136 index d5cf4d404..000000000
137 --- a/dev-libs/open62541/files/open62541-1.2-tests.patch
138 +++ /dev/null
139 @@ -1,126 +0,0 @@
140 -From ab9a4a1c826bb662816f71020054ba2558afefc7 Mon Sep 17 00:00:00 2001
141 -From: Kurt Kanzenbach <kurt@×××××××××××××.de>
142 -Date: Sat, 20 Jun 2020 14:28:57 +0200
143 -Subject: [PATCH 1/3] cmake: pubsub: Disable failing tests within portage
144 -
145 -The Pub/Sub tests won't work within portage. Disable them.
146 -
147 -Signed-off-by: Kurt Kanzenbach <kurt@×××××××××××××.de>
148 ----
149 - tests/CMakeLists.txt | 78 --------------------------------------------
150 - 1 file changed, 78 deletions(-)
151 -
152 -Index: open62541/tests/CMakeLists.txt
153 -===================================================================
154 ---- open62541.orig/tests/CMakeLists.txt
155 -+++ open62541/tests/CMakeLists.txt
156 -@@ -341,109 +341,6 @@ if(UA_ENABLE_DISCOVERY)
157 - add_test_valgrind(discovery ${TESTS_BINARY_DIR}/check_discovery)
158 - endif()
159 -
160 --if(UA_ENABLE_PUBSUB)
161 -- add_executable(check_pubsub_encoding pubsub/check_pubsub_encoding.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-testplugins>)
162 -- target_link_libraries(check_pubsub_encoding ${LIBS})
163 -- add_test_valgrind(pubsub_encoding ${TESTS_BINARY_DIR}/check_pubsub_encoding)
164 -- add_executable(check_pubsub_pds pubsub/check_pubsub_pds.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
165 -- target_link_libraries(check_pubsub_pds ${LIBS})
166 -- add_test_valgrind(pubsub_pds ${TESTS_BINARY_DIR}/check_pubsub_pds)
167 -- add_executable(check_pubsub_connection_udp pubsub/check_pubsub_connection_udp.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
168 -- target_link_libraries(check_pubsub_connection_udp ${LIBS})
169 -- add_test_valgrind(pubsub_connection_udp ${TESTS_BINARY_DIR}/check_pubsub_connection_udp)
170 -- add_executable(check_pubsub_publish pubsub/check_pubsub_publish.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
171 -- target_link_libraries(check_pubsub_publish ${LIBS})
172 -- add_test_valgrind(pubsub_publish ${TESTS_BINARY_DIR}/check_pubsub_publish)
173 -- add_executable(check_pubsub_publish_uadp pubsub/check_pubsub_publish_uadp.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
174 -- target_link_libraries(check_pubsub_publish_uadp ${LIBS})
175 -- add_test_valgrind(pubsub_publish ${TESTS_BINARY_DIR}/check_pubsub_publish_uadp)
176 -- add_executable(check_pubsub_get_state pubsub/check_pubsub_get_state.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
177 -- target_link_libraries(check_pubsub_get_state ${LIBS})
178 -- add_test_valgrind(check_pubsub_get_state ${TESTS_BINARY_DIR}/check_pubsub_get_state)
179 --
180 -- #Link libraries for executing subscriber unit test
181 -- add_executable(check_pubsub_subscribe pubsub/check_pubsub_subscribe.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
182 -- target_link_libraries(check_pubsub_subscribe ${LIBS})
183 -- add_executable(check_pubsub_publishspeed pubsub/check_pubsub_publishspeed.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
184 -- target_link_libraries(check_pubsub_publishspeed ${LIBS})
185 -- add_test_valgrind(pubsub_publishspeed ${TESTS_BINARY_DIR}/check_pubsub_publish)
186 -- add_executable(check_pubsub_config_freeze pubsub/check_pubsub_config_freeze.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
187 -- target_link_libraries(check_pubsub_config_freeze ${LIBS})
188 -- add_test_valgrind(check_pubsub_config_freeze ${TESTS_BINARY_DIR}/check_pubsub_config_freeze)
189 -- add_executable(check_pubsub_publish_rt_levels pubsub/check_pubsub_publish_rt_levels.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
190 -- target_link_libraries(check_pubsub_publish_rt_levels ${LIBS})
191 -- add_test_valgrind(check_pubsub_publish_rt_levels ${TESTS_BINARY_DIR}/check_pubsub_publish_rt_levels)
192 -- add_executable(check_pubsub_subscribe_config_freeze pubsub/check_pubsub_subscribe_config_freeze.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
193 -- target_link_libraries(check_pubsub_subscribe_config_freeze ${LIBS})
194 -- add_test_valgrind(check_pubsub_subscribe_config_freeze ${TESTS_BINARY_DIR}/check_pubsub_subscribe_config_freeze)
195 -- add_executable(check_pubsub_subscribe_rt_levels pubsub/check_pubsub_subscribe_rt_levels.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
196 -- target_link_libraries(check_pubsub_subscribe_rt_levels ${LIBS})
197 -- add_test_valgrind(check_pubsub_subscribe_rt_levels ${TESTS_BINARY_DIR}/check_pubsub_subscribe_rt_levels)
198 -- add_executable(check_pubsub_multiple_subscribe_rt_levels pubsub/check_pubsub_multiple_subscribe_rt_levels.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
199 -- target_link_libraries(check_pubsub_multiple_subscribe_rt_levels ${LIBS})
200 -- add_test_valgrind(check_pubsub_multiple_subscribe_rt_levels ${TESTS_BINARY_DIR}/check_pubsub_multiple_subscribe_rt_levels)
201 --
202 -- add_executable(check_pubsub_multiple_layer pubsub/check_pubsub_multiple_layer.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
203 -- target_link_libraries(check_pubsub_multiple_layer ${LIBS})
204 -- add_test_valgrind(pubsub_multiple_layer ${TESTS_BINARY_DIR}/check_pubsub_multiple_layer)
205 --
206 -- if (UA_ENABLE_PUBSUB_MONITORING)
207 -- add_executable(check_pubsub_subscribe_msgrcvtimeout pubsub/check_pubsub_subscribe_msgrcvtimeout.c
208 -- $<TARGET_OBJECTS:open62541-object>
209 -- $<TARGET_OBJECTS:open62541-testplugins>)
210 -- target_link_libraries(check_pubsub_subscribe_msgrcvtimeout ${LIBS})
211 -- add_test_valgrind(check_pubsub_subscribe_msgrcvtimeout ${TESTS_BINARY_DIR}/check_pubsub_subscribe_msgrcvtimeout)
212 -- endif()
213 --
214 -- if(UA_ENABLE_PUBSUB_ETH_UADP)
215 -- if(NOT UA_ENABLE_PUBSUB_ETH_UADP_ETF)
216 -- add_executable(check_pubsub_connection_ethernet pubsub/check_pubsub_connection_ethernet.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
217 -- target_link_libraries(check_pubsub_connection_ethernet ${LIBS})
218 -- add_test_valgrind(pubsub_connection_ethernet ${TESTS_BINARY_DIR}/check_pubsub_connection_ethernet)
219 -- add_executable(check_pubsub_publish_ethernet pubsub/check_pubsub_publish_ethernet.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
220 -- target_link_libraries(check_pubsub_publish_ethernet ${LIBS})
221 -- add_test_valgrind(pubsub_publish_ethernet ${TESTS_BINARY_DIR}/check_pubsub_publish_ethernet)
222 -- endif()
223 -- if(UA_ENABLE_PUBSUB_ETH_UADP_XDP)
224 -- add_executable(check_pubsub_connection_xdp pubsub/check_pubsub_connection_xdp.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
225 -- target_link_libraries(check_pubsub_connection_xdp ${LIBS})
226 -- add_test_valgrind(pubsub_connection_xdp ${TESTS_BINARY_DIR}/check_pubsub_connection_xdp)
227 -- endif()
228 -- endif()
229 -- if(UA_ENABLE_PUBSUB_ETH_UADP_ETF)
230 -- add_executable(check_pubsub_connection_ethernet_etf pubsub/check_pubsub_connection_ethernet_etf.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
231 -- target_link_libraries(check_pubsub_connection_ethernet_etf ${LIBS})
232 -- add_test_valgrind(pubsub_connection_ethernet_etf ${TESTS_BINARY_DIR}/check_pubsub_connection_ethernet_etf)
233 -- add_executable(check_pubsub_publish_ethernet_etf pubsub/check_pubsub_publish_ethernet_etf.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
234 -- target_link_libraries(check_pubsub_publish_ethernet_etf ${LIBS})
235 -- add_test_valgrind(pubsub_publish_ethernet_etf ${TESTS_BINARY_DIR}/check_pubsub_publish_ethernet_etf)
236 -- endif()
237 --
238 -- if(UA_ENABLE_PUBSUB_INFORMATIONMODEL)
239 -- add_executable(check_pubsub_informationmodel pubsub/check_pubsub_informationmodel.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
240 -- target_link_libraries(check_pubsub_informationmodel ${LIBS})
241 -- add_test_valgrind(check_pubsub_informationmodel ${TESTS_BINARY_DIR}/check_pubsub_informationmodel)
242 -- if(UA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS)
243 -- add_executable(check_pubsub_informationmodel_methods pubsub/check_pubsub_informationmodel_methods.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
244 -- target_link_libraries(check_pubsub_informationmodel_methods ${LIBS})
245 -- add_test_valgrind(check_pubsub_informationmodel_methods ${TESTS_BINARY_DIR}/check_pubsub_informationmodel_methods)
246 --
247 -- endif()
248 -- endif()
249 -- if(UA_ENABLE_PUBSUB_MQTT)
250 -- if(NOT WIN32)
251 -- add_executable(check_pubsub_connection_mqtt pubsub/check_pubsub_connection_mqtt.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
252 -- target_link_libraries(check_pubsub_connection_mqtt ${LIBS})
253 -- add_test_valgrind(pubsub_connection_mqtt ${TESTS_BINARY_DIR}/check_pubsub_connection_mqtt)
254 -- endif()
255 -- endif()
256 -- if(UA_ENABLE_PUBSUB_FILE_CONFIG)
257 -- add_executable(check_pubsub_configuration pubsub/check_pubsub_configuration.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-plugins>)
258 -- target_link_libraries(check_pubsub_configuration ${LIBS})
259 -- add_test_valgrind(pubsub_configuration ${TESTS_BINARY_DIR}/check_pubsub_configuration)
260 -- endif()
261 --endif()
262 --
263 - add_executable(check_server_readspeed server/check_server_readspeed.c $<TARGET_OBJECTS:open62541-object> $<TARGET_OBJECTS:open62541-testplugins>)
264 - target_link_libraries(check_server_readspeed ${LIBS})
265 - add_test_no_valgrind(server_readspeed ${TESTS_BINARY_DIR}/check_server_readspeed)
266
267 diff --git a/dev-libs/open62541/open62541-1.0.6.ebuild b/dev-libs/open62541/open62541-1.0.6.ebuild
268 deleted file mode 100644
269 index 8885df920..000000000
270 --- a/dev-libs/open62541/open62541-1.0.6.ebuild
271 +++ /dev/null
272 @@ -1,83 +0,0 @@
273 -# Copyright 1999-2021 Gentoo Authors
274 -# Distributed under the terms of the GNU General Public License v2
275 -
276 -EAPI=7
277 -
278 -PYTHON_COMPAT=( python3_{7..9} )
279 -
280 -inherit cmake python-single-r1
281 -
282 -DESCRIPTION="Open source C implementation of OPC UA"
283 -HOMEPAGE="https://open62541.org/"
284 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
285 -
286 -LICENSE="MPL-2.0"
287 -SLOT="0"
288 -KEYWORDS="~amd64 ~arm64 ~x86"
289 -IUSE="doc examples mbedtls pubsub test tools"
290 -RESTRICT="!test? ( test )"
291 -
292 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
293 -
294 -BDEPEND="
295 - ${PYTHON_DEPS}
296 - virtual/pkgconfig
297 - doc? (
298 - media-gfx/graphviz
299 - $(python_gen_cond_dep '
300 - dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
301 - dev-python/sphinx_rtd_theme[${PYTHON_MULTI_USEDEP}]
302 - ')
303 - )
304 - test? (
305 - dev-libs/check
306 - dev-util/valgrind
307 - $(python_gen_cond_dep '
308 - dev-python/subunit[${PYTHON_MULTI_USEDEP}]
309 - ')
310 - )
311 -"
312 -DEPEND="
313 - mbedtls? ( net-libs/mbedtls:= )
314 -"
315 -RDEPEND="
316 - ${PYTHON_DEPS}
317 - ${DEPEND}
318 -"
319 -
320 -PATCHES=( "${FILESDIR}/${P}-tests.patch" )
321 -
322 -src_configure() {
323 - local mycmakeargs=(
324 - -DBUILD_SHARED_LIBS=ON
325 - -DOPEN62541_VERSION=v${PV}
326 - -DUA_BUILD_EXAMPLES=OFF
327 - -DUA_BUILD_TOOLS=$(usex tools)
328 - -DUA_BUILD_UNIT_TESTS=$(usex test)
329 - -DUA_ENABLE_ENCRYPTION=$(usex mbedtls)
330 - -DUA_ENABLE_PUBSUB=$(usex pubsub)
331 - )
332 -
333 - cmake_src_configure
334 -}
335 -
336 -src_compile() {
337 - cmake_src_compile
338 - use doc && cmake_build doc
339 -}
340 -
341 -src_install() {
342 - use doc && local HTML_DOCS=( "${WORKDIR}"/${P}_build/doc/. )
343 - cmake_src_install
344 -
345 - if use examples; then
346 - docompress -x /usr/share/doc/${PF}/examples
347 - dodoc -r examples/
348 - fi
349 -
350 - python_fix_shebang "${ED}"
351 -}
352 -
353 -src_test() {
354 - cmake_src_test -j1
355 -}
356
357 diff --git a/dev-libs/open62541/open62541-1.2.ebuild b/dev-libs/open62541/open62541-1.2.ebuild
358 deleted file mode 100644
359 index 7665253c8..000000000
360 --- a/dev-libs/open62541/open62541-1.2.ebuild
361 +++ /dev/null
362 @@ -1,104 +0,0 @@
363 -# Copyright 1999-2021 Gentoo Authors
364 -# Distributed under the terms of the GNU General Public License v2
365 -
366 -EAPI=7
367 -
368 -PYTHON_COMPAT=( python3_{7..9} )
369 -
370 -inherit cmake python-single-r1
371 -
372 -DESCRIPTION="Open source C implementation of OPC UA"
373 -HOMEPAGE="https://open62541.org/"
374 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
375 -
376 -LICENSE="MPL-2.0"
377 -SLOT="0"
378 -KEYWORDS="~amd64 ~arm64 ~x86"
379 -IUSE="doc encryption examples etf mbedtls pubsub openssl test tools xdp"
380 -RESTRICT="!test? ( test )"
381 -
382 -REQUIRED_USE="
383 - ${PYTHON_REQUIRED_USE}
384 - encryption? ( || ( mbedtls openssl ) )
385 - etf? ( pubsub )
386 - xdp? ( pubsub )
387 -"
388 -
389 -BDEPEND="
390 - ${PYTHON_DEPS}
391 - virtual/pkgconfig
392 - doc? (
393 - media-gfx/graphviz
394 - $(python_gen_cond_dep '
395 - dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
396 - dev-python/sphinx_rtd_theme[${PYTHON_MULTI_USEDEP}]
397 - ')
398 - )
399 - test? (
400 - dev-libs/check
401 - dev-util/valgrind
402 - $(python_gen_cond_dep '
403 - dev-python/subunit[${PYTHON_MULTI_USEDEP}]
404 - ')
405 - )
406 -"
407 -DEPEND="
408 - mbedtls? ( net-libs/mbedtls:= )
409 - openssl? ( dev-libs/openssl:0= )
410 -"
411 -RDEPEND="
412 - ${PYTHON_DEPS}
413 - ${DEPEND}
414 -"
415 -
416 -PATCHES=(
417 - "${FILESDIR}/${P}-headers.patch"
418 - "${FILESDIR}/${P}-tests.patch"
419 -)
420 -
421 -src_prepare() {
422 - # bug 780912
423 - sed -i -e 's/check_add_cc_flag("-Werror")//g' CMakeLists.txt || die
424 -
425 - cmake_src_prepare
426 -}
427 -
428 -src_configure() {
429 - local mycmakeargs=(
430 - -DBUILD_SHARED_LIBS=ON
431 - -DOPEN62541_VERSION=v${PV}
432 - -DUA_BUILD_EXAMPLES=OFF
433 - -DUA_BUILD_TOOLS=$(usex tools)
434 - -DUA_BUILD_UNIT_TESTS=$(usex test)
435 - -DUA_ENABLE_ENCRYPTION=$(usex encryption)
436 - -DUA_ENABLE_ENCRYPTION_MBEDTLS=$(usex mbedtls)
437 - -DUA_ENABLE_ENCRYPTION_OPENSSL=$(usex openssl)
438 - -DUA_ENABLE_PUBSUB=$(usex pubsub)
439 - -DUA_ENABLE_PUBSUB_ETH_UADP=$(usex pubsub)
440 - -DUA_ENABLE_PUBSUB_ETH_UADP_ETF=$(usex etf)
441 - -DUA_ENABLE_PUBSUB_ETH_UADP_XDP=$(usex xdp)
442 - )
443 -
444 - cmake_src_configure
445 -}
446 -
447 -src_compile() {
448 - cmake_src_compile
449 - use doc && cmake_build doc
450 -}
451 -
452 -src_install() {
453 - use doc && local HTML_DOCS=( "${WORKDIR}"/${P}_build/doc/. )
454 - cmake_src_install
455 -
456 - if use examples; then
457 - docompress -x /usr/share/doc/${PF}/examples
458 - dodoc -r examples/
459 - fi
460 -
461 - python_fix_shebang "${ED}"
462 -}
463 -
464 -src_test() {
465 - cmake_src_test -j1
466 -}