1 |
commit: df0ed7469531e64f44cd332ca179e72acf0ef402 |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Tue Oct 26 10:10:51 2021 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 26 17:49:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df0ed746 |
7 |
|
8 |
sys-cluster/ceph: remove unused patches |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/22710 |
13 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
14 |
|
15 |
.../files/ceph-14.2.10-build-without-mgr.patch | 111 --------------------- |
16 |
.../ceph/files/ceph-14.2.5-no-virtualenvs.patch | 39 -------- |
17 |
.../ceph/files/ceph-15.2.0-no-virtualenvs.patch | 73 -------------- |
18 |
.../ceph/files/ceph-15.2.5-missing-includes.patch | 12 --- |
19 |
4 files changed, 235 deletions(-) |
20 |
|
21 |
diff --git a/sys-cluster/ceph/files/ceph-14.2.10-build-without-mgr.patch b/sys-cluster/ceph/files/ceph-14.2.10-build-without-mgr.patch |
22 |
deleted file mode 100644 |
23 |
index 0742945c018..00000000000 |
24 |
--- a/sys-cluster/ceph/files/ceph-14.2.10-build-without-mgr.patch |
25 |
+++ /dev/null |
26 |
@@ -1,111 +0,0 @@ |
27 |
-commit 41c1cee88b38bc43002b232ede42dc157364f61a |
28 |
-Author: Casey Bodley <cbodley@××××××.com> |
29 |
-Date: Fri Nov 1 16:04:37 2019 -0400 |
30 |
- |
31 |
- cmake: define mgr_cap_obj library when WITH_MGR=OFF |
32 |
- |
33 |
- resolves the cmake error when WITH_MGR=OFF: |
34 |
- |
35 |
- Error evaluating generator expression: |
36 |
- |
37 |
- $<TARGET_OBJECTS:mgr_cap_obj> |
38 |
- |
39 |
- Objects of target "mgr_cap_obj" referenced but no such target exists. |
40 |
- Call Stack (most recent call first): |
41 |
- src/mon/CMakeLists.txt:34 (add_library) |
42 |
- |
43 |
- Signed-off-by: Casey Bodley <cbodley@××××××.com> |
44 |
- |
45 |
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
46 |
-index 275a8ebd17..c2a9d7a669 100644 |
47 |
---- a/src/CMakeLists.txt |
48 |
-+++ b/src/CMakeLists.txt |
49 |
-@@ -473,9 +473,7 @@ if(WITH_LIBRADOSSTRIPER) |
50 |
- add_subdirectory(libradosstriper) |
51 |
- endif() |
52 |
- |
53 |
--if(WITH_MGR) |
54 |
-- add_subdirectory(mgr) |
55 |
--endif() |
56 |
-+add_subdirectory(mgr) |
57 |
- |
58 |
- set(librados_config_srcs |
59 |
- librados-config.cc) |
60 |
-diff --git a/src/mgr/CMakeLists.txt b/src/mgr/CMakeLists.txt |
61 |
-index 79227bcc1d..e69335eb69 100644 |
62 |
---- a/src/mgr/CMakeLists.txt |
63 |
-+++ b/src/mgr/CMakeLists.txt |
64 |
-@@ -1,37 +1,39 @@ |
65 |
- add_library(mgr_cap_obj OBJECT |
66 |
- MgrCap.cc) |
67 |
- |
68 |
--set(mgr_srcs |
69 |
-- ${CMAKE_SOURCE_DIR}/src/ceph_mgr.cc |
70 |
-- ${CMAKE_SOURCE_DIR}/src/mon/PGMap.cc |
71 |
-- ActivePyModule.cc |
72 |
-- ActivePyModules.cc |
73 |
-- BaseMgrModule.cc |
74 |
-- BaseMgrStandbyModule.cc |
75 |
-- ClusterState.cc |
76 |
-- DaemonHealthMetricCollector.cc |
77 |
-- DaemonServer.cc |
78 |
-- DaemonState.cc |
79 |
-- Gil.cc |
80 |
-- Mgr.cc |
81 |
-- MgrStandby.cc |
82 |
-- OSDPerfMetricTypes.cc |
83 |
-- OSDPerfMetricCollector.cc |
84 |
-- PyFormatter.cc |
85 |
-- PyModule.cc |
86 |
-- PyModuleRegistry.cc |
87 |
-- PyModuleRunner.cc |
88 |
-- PyOSDMap.cc |
89 |
-- StandbyPyModules.cc |
90 |
-- mgr_commands.cc |
91 |
-- $<TARGET_OBJECTS:mgr_cap_obj>) |
92 |
--add_executable(ceph-mgr ${mgr_srcs}) |
93 |
--target_include_directories(ceph-mgr SYSTEM PRIVATE "${PYTHON_INCLUDE_DIRS}") |
94 |
--target_link_libraries(ceph-mgr |
95 |
-- osdc client heap_profiler |
96 |
-- global-static ceph-common |
97 |
-- Boost::python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR} |
98 |
-- ${MGR_PYTHON_LIBRARIES} ${CMAKE_DL_LIBS} ${GSSAPI_LIBRARIES}) |
99 |
--set_target_properties(ceph-mgr PROPERTIES |
100 |
-- POSITION_INDEPENDENT_CODE ${EXE_LINKER_USE_PIE}) |
101 |
--install(TARGETS ceph-mgr DESTINATION bin) |
102 |
-+if(WITH_MGR) |
103 |
-+ set(mgr_srcs |
104 |
-+ ${CMAKE_SOURCE_DIR}/src/ceph_mgr.cc |
105 |
-+ ${CMAKE_SOURCE_DIR}/src/mon/PGMap.cc |
106 |
-+ ActivePyModule.cc |
107 |
-+ ActivePyModules.cc |
108 |
-+ BaseMgrModule.cc |
109 |
-+ BaseMgrStandbyModule.cc |
110 |
-+ ClusterState.cc |
111 |
-+ DaemonHealthMetricCollector.cc |
112 |
-+ DaemonServer.cc |
113 |
-+ DaemonState.cc |
114 |
-+ Gil.cc |
115 |
-+ Mgr.cc |
116 |
-+ MgrStandby.cc |
117 |
-+ OSDPerfMetricTypes.cc |
118 |
-+ OSDPerfMetricCollector.cc |
119 |
-+ PyFormatter.cc |
120 |
-+ PyModule.cc |
121 |
-+ PyModuleRegistry.cc |
122 |
-+ PyModuleRunner.cc |
123 |
-+ PyOSDMap.cc |
124 |
-+ StandbyPyModules.cc |
125 |
-+ mgr_commands.cc |
126 |
-+ $<TARGET_OBJECTS:mgr_cap_obj>) |
127 |
-+ add_executable(ceph-mgr ${mgr_srcs}) |
128 |
-+ target_include_directories(ceph-mgr SYSTEM PRIVATE "${PYTHON_INCLUDE_DIRS}") |
129 |
-+ target_link_libraries(ceph-mgr |
130 |
-+ osdc client heap_profiler |
131 |
-+ global-static ceph-common |
132 |
-+ Boost::python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR} |
133 |
-+ ${MGR_PYTHON_LIBRARIES} ${CMAKE_DL_LIBS} ${GSSAPI_LIBRARIES}) |
134 |
-+ set_target_properties(ceph-mgr PROPERTIES |
135 |
-+ POSITION_INDEPENDENT_CODE ${EXE_LINKER_USE_PIE}) |
136 |
-+ install(TARGETS ceph-mgr DESTINATION bin) |
137 |
-+endif() |
138 |
|
139 |
diff --git a/sys-cluster/ceph/files/ceph-14.2.5-no-virtualenvs.patch b/sys-cluster/ceph/files/ceph-14.2.5-no-virtualenvs.patch |
140 |
deleted file mode 100644 |
141 |
index 5b7cb41c87a..00000000000 |
142 |
--- a/sys-cluster/ceph/files/ceph-14.2.5-no-virtualenvs.patch |
143 |
+++ /dev/null |
144 |
@@ -1,39 +0,0 @@ |
145 |
-diff --git a/src/pybind/mgr/dashboard/CMakeLists.txt b/src/pybind/mgr/dashboard/CMakeLists.txt |
146 |
-index b6c7861838..8ce95a93a5 100644 |
147 |
---- a/src/pybind/mgr/dashboard/CMakeLists.txt |
148 |
-+++ b/src/pybind/mgr/dashboard/CMakeLists.txt |
149 |
-@@ -2,7 +2,7 @@ set(MGR_DASHBOARD_VIRTUALENV ${CEPH_BUILD_VIRTUALENV}/mgr-dashboard-virtualenv) |
150 |
- |
151 |
- add_custom_target(mgr-dashboard-test-venv |
152 |
- COMMAND |
153 |
-- ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${MGR_DASHBOARD_VIRTUALENV} |
154 |
-+ #${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${MGR_DASHBOARD_VIRTUALENV} |
155 |
- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard |
156 |
- COMMENT "dashboard tests virtualenv is being created") |
157 |
- add_dependencies(tests mgr-dashboard-test-venv) |
158 |
-@@ -14,9 +14,9 @@ function(add_npm_command) |
159 |
- set(multi_kw COMMAND DEPENDS) |
160 |
- cmake_parse_arguments(NC "${options}" "${single_kw}" "${multi_kw}" ${ARGN}) |
161 |
- string(REPLACE ";" " " command "${NC_COMMAND}") |
162 |
-- if(NC_NODEENV) |
163 |
-- string(REGEX REPLACE "^(.*(npm|npx) .*)$" ". ${mgr-dashboard-nodeenv-dir}/bin/activate && \\1 && deactivate" command ${command}) |
164 |
-- endif() |
165 |
-+ #if(NC_NODEENV) |
166 |
-+ # string(REGEX REPLACE "^(.*(npm|npx) .*)$" ". ${mgr-dashboard-nodeenv-dir}/bin/activate && \\1 && deactivate" command ${command}) |
167 |
-+ #endif() |
168 |
- string(REPLACE " " ";" command "${command}") |
169 |
- add_custom_command( |
170 |
- OUTPUT "${NC_OUTPUT}" |
171 |
-@@ -41,9 +41,9 @@ else() |
172 |
- |
173 |
- add_custom_command( |
174 |
- OUTPUT "${mgr-dashboard-nodeenv-dir}/bin/npm" |
175 |
-- COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${mgr-dashboard-nodeenv-dir} |
176 |
-- COMMAND ${mgr-dashboard-nodeenv-dir}/bin/pip install nodeenv |
177 |
-- COMMAND ${mgr-dashboard-nodeenv-dir}/bin/nodeenv -p --node=10.13.0 |
178 |
-+ #COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${mgr-dashboard-nodeenv-dir} |
179 |
-+ #COMMAND ${mgr-dashboard-nodeenv-dir}/bin/pip install nodeenv |
180 |
-+ #COMMAND ${mgr-dashboard-nodeenv-dir}/bin/nodeenv -p --node=10.13.0 |
181 |
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |
182 |
- COMMENT "dashboard nodeenv is being installed" |
183 |
- ) |
184 |
|
185 |
diff --git a/sys-cluster/ceph/files/ceph-15.2.0-no-virtualenvs.patch b/sys-cluster/ceph/files/ceph-15.2.0-no-virtualenvs.patch |
186 |
deleted file mode 100644 |
187 |
index 097639c1bb7..00000000000 |
188 |
--- a/sys-cluster/ceph/files/ceph-15.2.0-no-virtualenvs.patch |
189 |
+++ /dev/null |
190 |
@@ -1,73 +0,0 @@ |
191 |
-diff --git a/cmake/modules/AddCephTest.cmake b/cmake/modules/AddCephTest.cmake |
192 |
-index c9ee8c1b8f..09f75543da 100644 |
193 |
---- a/cmake/modules/AddCephTest.cmake |
194 |
-+++ b/cmake/modules/AddCephTest.cmake |
195 |
-@@ -68,14 +68,6 @@ function(add_tox_test name) |
196 |
- endif() |
197 |
- string(REPLACE ";" "," tox_envs "${tox_envs}") |
198 |
- find_package(Python3 QUIET REQUIRED) |
199 |
-- add_custom_command( |
200 |
-- OUTPUT ${venv_path}/bin/activate |
201 |
-- COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python="${Python3_EXECUTABLE}" ${venv_path} |
202 |
-- WORKING_DIRECTORY ${tox_path} |
203 |
-- COMMENT "preparing venv for ${name}") |
204 |
-- add_custom_target(${name}-venv |
205 |
-- DEPENDS ${venv_path}/bin/activate) |
206 |
-- add_dependencies(tests ${name}-venv) |
207 |
- add_test( |
208 |
- NAME ${test_name} |
209 |
- COMMAND ${CMAKE_SOURCE_DIR}/src/script/run_tox.sh |
210 |
-diff --git a/src/ceph-volume/CMakeLists.txt b/src/ceph-volume/CMakeLists.txt |
211 |
-index 4224499c47..9a6c87595b 100644 |
212 |
---- a/src/ceph-volume/CMakeLists.txt |
213 |
-+++ b/src/ceph-volume/CMakeLists.txt |
214 |
-@@ -8,22 +8,6 @@ if(FREEBSD) |
215 |
- add_subdirectory(plugin/zfs) |
216 |
- endif() |
217 |
- |
218 |
--# Required for running ceph-volume inventory in a vstart environment |
219 |
--set(CEPH_VOLUME_VIRTUALENV ${CEPH_BUILD_VIRTUALENV}/ceph-volume-virtualenv) |
220 |
-- |
221 |
--add_custom_command( |
222 |
-- OUTPUT ${CEPH_VOLUME_VIRTUALENV}/bin/python |
223 |
-- COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${Python_EXECUTABLE} ${CEPH_VOLUME_VIRTUALENV} |
224 |
-- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/ceph-volume |
225 |
-- COMMENT "ceph-volume venv is being created") |
226 |
-- |
227 |
--add_custom_command( |
228 |
-- OUTPUT ${CEPH_VOLUME_VIRTUALENV}/bin/ceph-volume |
229 |
-- DEPENDS ${CEPH_VOLUME_VIRTUALENV}/bin/python |
230 |
-- COMMAND . ${CEPH_VOLUME_VIRTUALENV}/bin/activate && ${CEPH_VOLUME_VIRTUALENV}/bin/python setup.py develop && deactivate |
231 |
-- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/ceph-volume |
232 |
-- COMMENT "${CMAKE_SOURCE_DIR}/src/ceph-volume") |
233 |
-- |
234 |
- add_custom_target(ceph-volume-venv-setup |
235 |
- DEPENDS ${CEPH_VOLUME_VIRTUALENV}/bin/ceph-volume) |
236 |
- |
237 |
-diff --git a/src/pybind/mgr/dashboard/CMakeLists.txt b/src/pybind/mgr/dashboard/CMakeLists.txt |
238 |
-index 9a8a03f0a8..8fbf65988e 100644 |
239 |
---- a/src/pybind/mgr/dashboard/CMakeLists.txt |
240 |
-+++ b/src/pybind/mgr/dashboard/CMakeLists.txt |
241 |
-@@ -5,9 +5,6 @@ function(add_npm_command) |
242 |
- set(multi_kw COMMAND DEPENDS) |
243 |
- cmake_parse_arguments(NC "${options}" "${single_kw}" "${multi_kw}" ${ARGN}) |
244 |
- string(REPLACE ";" " " command "${NC_COMMAND}") |
245 |
-- if(NC_NODEENV) |
246 |
-- string(REGEX REPLACE "^(.*(npm|npx) .*)$" ". ${mgr-dashboard-nodeenv-dir}/bin/activate && \\1 && deactivate" command ${command}) |
247 |
-- endif() |
248 |
- string(REPLACE " " ";" command "${command}") |
249 |
- add_custom_command( |
250 |
- OUTPUT "${NC_OUTPUT}" |
251 |
-@@ -29,10 +26,8 @@ else() |
252 |
- set(nodeenv NODEENV) |
253 |
- |
254 |
- add_custom_command( |
255 |
-- OUTPUT "${mgr-dashboard-nodeenv-dir}/bin/npm" |
256 |
-- COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${mgr-dashboard-nodeenv-dir} |
257 |
-- COMMAND ${mgr-dashboard-nodeenv-dir}/bin/pip install nodeenv |
258 |
-- COMMAND ${mgr-dashboard-nodeenv-dir}/bin/nodeenv -p --node=10.18.1 |
259 |
-+ OUTPUT "/bin/npm" |
260 |
-+ COMMAND /bin/nodeenv -p --node=10.18.1 |
261 |
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |
262 |
- COMMENT "dashboard nodeenv is being installed" |
263 |
- ) |
264 |
|
265 |
diff --git a/sys-cluster/ceph/files/ceph-15.2.5-missing-includes.patch b/sys-cluster/ceph/files/ceph-15.2.5-missing-includes.patch |
266 |
deleted file mode 100644 |
267 |
index 5f4ed843ddc..00000000000 |
268 |
--- a/sys-cluster/ceph/files/ceph-15.2.5-missing-includes.patch |
269 |
+++ /dev/null |
270 |
@@ -1,12 +0,0 @@ |
271 |
-diff --git a/src/tools/rbd/action/Bench.cc b/src/tools/rbd/action/Bench.cc |
272 |
-index aa6edbc18b..90c551c179 100644 |
273 |
---- a/src/tools/rbd/action/Bench.cc |
274 |
-+++ b/src/tools/rbd/action/Bench.cc |
275 |
-@@ -9,6 +9,7 @@ |
276 |
- #include "common/ceph_mutex.h" |
277 |
- #include "include/types.h" |
278 |
- #include "global/signal_handler.h" |
279 |
-+#include <atomic> |
280 |
- #include <iostream> |
281 |
- #include <boost/accumulators/accumulators.hpp> |
282 |
- #include <boost/accumulators/statistics/stats.hpp> |