Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/lustre/files/, sys-cluster/lustre/
Date: Sun, 27 Sep 2020 15:55:42
Message-Id: 1601222105.1444a16c3163253eb3117f30b0fc7154d1445324.epsilon-0@gentoo
1 commit: 1444a16c3163253eb3117f30b0fc7154d1445324
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Sun Sep 27 15:55:05 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Sun Sep 27 15:55:05 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1444a16c
7
8 sys-cluster/lustre: drop package
9
10 present in ::gentoo
11
12 Package-Manager: Portage-3.0.8, Repoman-3.0.1
13 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
14
15 sys-cluster/lustre/files/lnet.initd | 45 ----------
16 sys-cluster/lustre/files/lustre-client.initd | 47 -----------
17 sys-cluster/lustre/lustre-2.10.1.ebuild | 120 ---------------------------
18 sys-cluster/lustre/lustre-2.8.0.ebuild | 116 --------------------------
19 sys-cluster/lustre/lustre-9999.ebuild | 118 --------------------------
20 sys-cluster/lustre/metadata.xml | 18 ----
21 6 files changed, 464 deletions(-)
22
23 diff --git a/sys-cluster/lustre/files/lnet.initd b/sys-cluster/lustre/files/lnet.initd
24 deleted file mode 100644
25 index 227780c52..000000000
26 --- a/sys-cluster/lustre/files/lnet.initd
27 +++ /dev/null
28 @@ -1,45 +0,0 @@
29 -#!/sbin/openrc-run
30 -# Copyright 1999-2017 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -description="Loads lnet module and configures network."
34 -
35 -depend() {
36 - need net
37 - after bootmisc
38 -}
39 -
40 -start() {
41 - if [ "${RC_CMD}" = "restart" ];
42 - then
43 - einfo "Restarting..."
44 - fi
45 -
46 - ebegin "Loading LNet modules:"
47 - modprobe lnet
48 - eend $*
49 -
50 - ebegin "Bringing up LNet"
51 - lnetctl lnet configure --all
52 - eend $*
53 -}
54 -
55 -stop() {
56 - local LNETMODULES=( "ko2iblnd" "lnet" "libcfs" )
57 - ebegin "Bringing down LNet"
58 - lnetctl lnet unconfigure --all
59 - eend $*
60 -
61 - einfo "Unloading LNet modules:"
62 - for mod in ${LNETMODULES[@]}; do
63 - ebegin "... ${mod}"
64 - modprobe -r ${mod}
65 - eend $*
66 - done
67 -}
68 -
69 -status()
70 -{
71 - einfo "LNet status:"
72 - lnetctl net show
73 -}
74
75 diff --git a/sys-cluster/lustre/files/lustre-client.initd b/sys-cluster/lustre/files/lustre-client.initd
76 deleted file mode 100644
77 index 2978b42b9..000000000
78 --- a/sys-cluster/lustre/files/lustre-client.initd
79 +++ /dev/null
80 @@ -1,47 +0,0 @@
81 -#!/sbin/openrc-run
82 -# Copyright 1999-2017 Gentoo Foundation
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -description="Load lustre modules"
86 -
87 -extra_commands="checkmodule"
88 -
89 -depend() {
90 - need lnet
91 - before netmount
92 -}
93 -
94 -checkmodule() {
95 - local LOADED="$(lctl modules | awk -F"/" /lustre/'{print $2F}')"
96 - for mod in ${LOADED[@]}; do
97 - ewarn "Module is still loaded: ${mod}"
98 - eend $*
99 - done
100 -}
101 -
102 -start() {
103 - if [ "${RC_CMD}" = "restart" ];
104 - then
105 - einfo "Restarting Lustre..."
106 - checkmodule
107 - fi
108 -
109 - ebegin "Loading Lustre modules..."
110 - modprobe lustre
111 - eend $*
112 -}
113 -
114 -stop() {
115 - local LMODULES=( "lustre" "osc" "mgc" "lmv" "fld" "mdc" "fid" "lov" "ptlrpc" )
116 - ebegin "Trying to unmount all Lustre fs"
117 - umount -a -t lustre
118 - eend $*
119 - einfo "Unloading lustre modules:"
120 - for mod in ${LMODULES[@]}; do
121 - ebegin "... ${mod}"
122 - modprobe -r ${mod}
123 - eend $*
124 - done
125 -
126 - checkmodule
127 -}
128
129 diff --git a/sys-cluster/lustre/lustre-2.10.1.ebuild b/sys-cluster/lustre/lustre-2.10.1.ebuild
130 deleted file mode 100644
131 index b2b1d1b35..000000000
132 --- a/sys-cluster/lustre/lustre-2.10.1.ebuild
133 +++ /dev/null
134 @@ -1,120 +0,0 @@
135 -# Copyright 1999-2017 Gentoo Foundation
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI=6
139 -
140 -WANT_AUTOCONF="2.5"
141 -WANT_AUTOMAKE="1.15"
142 -WANT_LIBTOOL="latest"
143 -
144 -if [[ $PV = *9999* ]]; then
145 - scm="git-r3"
146 - SRC_URI=""
147 - EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
148 - KEYWORDS=""
149 - EGIT_BRANCH="master"
150 -else
151 - scm=""
152 - SRC_URI="https://dev.gentoo.org/~alexxy/distfiles/${P}.tar.gz"
153 - KEYWORDS="~amd64"
154 -fi
155 -
156 -SUPPORTED_KV_MAJOR=4
157 -SUPPORTED_KV_MINOR=9
158 -
159 -inherit ${scm} autotools linux-info linux-mod toolchain-funcs udev flag-o-matic
160 -
161 -DESCRIPTION="Lustre is a parallel distributed file system"
162 -HOMEPAGE="http://wiki.whamcloud.com/"
163 -
164 -LICENSE="GPL-2"
165 -SLOT="0"
166 -IUSE="+client +utils +modules +dlc server readline tests"
167 -
168 -RDEPEND="
169 - virtual/awk
170 - dlc? ( dev-libs/libyaml )
171 - readline? ( sys-libs/readline:0 )
172 - server? (
173 - >=sys-kernel/spl-0.6.1
174 - >=sys-fs/zfs-kmod-0.6.1
175 - sys-fs/zfs
176 - )
177 - "
178 -DEPEND="${RDEPEND}
179 - dev-python/docutils
180 - virtual/linux-sources"
181 -
182 -REQUIRED_USE="
183 - client? ( modules )
184 - server? ( modules )"
185 -
186 -pkg_pretend() {
187 - KVSUPP=${SUPPORTED_KV_MAJOR}.${SUPPORTED_KV_MINOR}.x
188 - if kernel_is gt ${SUPPORTED_KV_MAJOR} ${SUPPORTED_KV_MINOR}; then
189 - eerror "Unsupported kernel version! Latest supported one is ${KVSUPP}"
190 - die
191 - fi
192 -}
193 -
194 -pkg_setup() {
195 - filter-mfpmath sse
196 - filter-mfpmath i386
197 - filter-flags -msse* -mavx* -mmmx -m3dnow
198 - linux-mod_pkg_setup
199 - ARCH="$(tc-arch-kernel)"
200 - ABI="${KERNEL_ABI}"
201 -}
202 -
203 -src_prepare() {
204 - if [ ${#PATCHES[0]} -ne 0 ]; then
205 - epatch ${PATCHES[@]}
206 - fi
207 - eapply_user
208 - if [[ ${PV} == "9999" ]]; then
209 - # replace upstream autogen.sh by our src_prepare()
210 - local DIRS="libcfs lnet lustre snmp"
211 - local ACLOCAL_FLAGS
212 - for dir in $DIRS ; do
213 - ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir/autoconf"
214 - done
215 - _elibtoolize -q
216 - eaclocal -I config $ACLOCAL_FLAGS
217 - eautoheader
218 - eautomake
219 - eautoconf
220 - fi
221 -}
222 -
223 -src_configure() {
224 - local myconf
225 - if use server; then
226 - SPL_PATH=$(basename $(echo "${EROOT}usr/src/spl-"*)) \
227 - myconf="${myconf} --with-spl=${EROOT}usr/src/${SPL_PATH} \
228 - --with-spl-obj=${EROOT}usr/src/${SPL_PATH}/${KV_FULL}"
229 - ZFS_PATH=$(basename $(echo "${EROOT}usr/src/zfs-"*)) \
230 - myconf="${myconf} --with-zfs=${EROOT}usr/src/${ZFS_PATH} \
231 - --with-zfs-obj=${EROOT}usr/src/${ZFS_PATH}/${KV_FULL}"
232 - fi
233 - econf \
234 - ${myconf} \
235 - --without-ldiskfs \
236 - --with-linux="${KERNEL_DIR}" \
237 - $(use_enable dlc) \
238 - $(use_enable client) \
239 - $(use_enable utils) \
240 - $(use_enable modules) \
241 - $(use_enable server) \
242 - $(use_enable readline) \
243 - $(use_enable tests)
244 -}
245 -
246 -src_compile() {
247 - default
248 -}
249 -
250 -src_install() {
251 - default
252 - newinitd "${FILESDIR}/lnet.initd" lnet
253 - newinitd "${FILESDIR}/lustre-client.initd" lustre-client
254 -}
255
256 diff --git a/sys-cluster/lustre/lustre-2.8.0.ebuild b/sys-cluster/lustre/lustre-2.8.0.ebuild
257 deleted file mode 100644
258 index 3cf01dd73..000000000
259 --- a/sys-cluster/lustre/lustre-2.8.0.ebuild
260 +++ /dev/null
261 @@ -1,116 +0,0 @@
262 -# Copyright 1999-2016 Gentoo Foundation
263 -# Distributed under the terms of the GNU General Public License v2
264 -
265 -EAPI=6
266 -
267 -WANT_AUTOCONF="2.5"
268 -WANT_AUTOMAKE="1.15"
269 -WANT_LIBTOOL="latest"
270 -
271 -if [[ $PV = *9999* ]]; then
272 - KEYWORDS=""
273 - EGIT_BRANCH="master"
274 -else
275 - KEYWORDS="~amd64"
276 - EGIT_COMMIT="${PV}"
277 -fi
278 -
279 -SUPPORTED_KV_MAJOR=4
280 -SUPPORTED_KV_MINOR=1
281 -
282 -inherit git-r3 autotools linux-info linux-mod toolchain-funcs udev flag-o-matic
283 -
284 -DESCRIPTION="Lustre is a parallel distributed file system"
285 -HOMEPAGE="http://wiki.whamcloud.com/"
286 -SRC_URI=""
287 -EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
288 -
289 -LICENSE="GPL-2"
290 -SLOT="0"
291 -IUSE="+client +utils +modules +dlc server readline tests"
292 -
293 -RDEPEND="
294 - virtual/awk
295 - dlc? ( dev-libs/libyaml )
296 - readline? ( sys-libs/readline:0 )
297 - server? (
298 - >=sys-kernel/spl-0.6.1
299 - >=sys-fs/zfs-kmod-0.6.1
300 - sys-fs/zfs
301 - )
302 - "
303 -DEPEND="${RDEPEND}
304 - dev-python/docutils
305 - virtual/linux-sources"
306 -
307 -REQUIRED_USE="
308 - client? ( modules )
309 - server? ( modules )"
310 -
311 -pkg_pretend() {
312 - KVSUPP=${SUPPORTED_KV_MAJOR}.${SUPPORTED_KV_MINOR}.x
313 - if kernel_is gt ${SUPPORTED_KV_MAJOR} ${SUPPORTED_KV_MINOR}; then
314 - eerror "Unsupported kernel version! Latest supported one is ${KVSUPP}"
315 - die
316 - fi
317 -}
318 -
319 -pkg_setup() {
320 - filter-mfpmath sse
321 - filter-mfpmath i386
322 - filter-flags -msse* -mavx* -mmmx -m3dnow
323 - linux-mod_pkg_setup
324 - ARCH="$(tc-arch-kernel)"
325 - ABI="${KERNEL_ABI}"
326 -}
327 -
328 -src_prepare() {
329 - if [ ${#PATCHES[0]} -ne 0 ]; then
330 - epatch ${PATCHES[@]}
331 - fi
332 - eapply_user
333 - # replace upstream autogen.sh by our src_prepare()
334 - local DIRS="libcfs lnet lustre snmp"
335 - local ACLOCAL_FLAGS
336 - for dir in $DIRS ; do
337 - ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir/autoconf"
338 - done
339 - _elibtoolize -q
340 - eaclocal -I config $ACLOCAL_FLAGS
341 - eautoheader
342 - eautomake
343 - eautoconf
344 -}
345 -
346 -src_configure() {
347 - local myconf
348 - if use server; then
349 - SPL_PATH=$(basename $(echo "${EROOT}usr/src/spl-"*)) \
350 - myconf="${myconf} --with-spl=${EROOT}usr/src/${SPL_PATH} \
351 - --with-spl-obj=${EROOT}usr/src/${SPL_PATH}/${KV_FULL}"
352 - ZFS_PATH=$(basename $(echo "${EROOT}usr/src/zfs-"*)) \
353 - myconf="${myconf} --with-zfs=${EROOT}usr/src/${ZFS_PATH} \
354 - --with-zfs-obj=${EROOT}usr/src/${ZFS_PATH}/${KV_FULL}"
355 - fi
356 - econf \
357 - ${myconf} \
358 - --without-ldiskfs \
359 - --with-linux="${KERNEL_DIR}" \
360 - $(use_enable dlc) \
361 - $(use_enable client) \
362 - $(use_enable utils) \
363 - $(use_enable modules) \
364 - $(use_enable server) \
365 - $(use_enable readline) \
366 - $(use_enable tests)
367 -}
368 -
369 -src_compile() {
370 - default
371 -}
372 -
373 -src_install() {
374 - default
375 - newinitd "${FILESDIR}/lnet.initd" lnet
376 - newinitd "${FILESDIR}/lustre-client.initd" lustre-client
377 -}
378
379 diff --git a/sys-cluster/lustre/lustre-9999.ebuild b/sys-cluster/lustre/lustre-9999.ebuild
380 deleted file mode 100644
381 index 1f17955bb..000000000
382 --- a/sys-cluster/lustre/lustre-9999.ebuild
383 +++ /dev/null
384 @@ -1,118 +0,0 @@
385 -# Copyright 1999-2017 Gentoo Foundation
386 -# Distributed under the terms of the GNU General Public License v2
387 -
388 -EAPI=6
389 -
390 -WANT_AUTOCONF="2.5"
391 -WANT_AUTOMAKE="1.15"
392 -WANT_LIBTOOL="latest"
393 -
394 -if [[ $PV = *9999* ]]; then
395 - scm="git-r3"
396 - SRC_URI=""
397 - EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
398 - KEYWORDS=""
399 - EGIT_BRANCH="master"
400 -else
401 - scm=""
402 - SRC_URI="https://dev.gentoo.org/~alexxy/distfiles/${P}.tar.gz"
403 - KEYWORDS="~amd64"
404 -fi
405 -
406 -SUPPORTED_KV_MAJOR=4
407 -SUPPORTED_KV_MINOR=9
408 -
409 -inherit ${scm} autotools linux-info linux-mod toolchain-funcs udev flag-o-matic
410 -
411 -DESCRIPTION="Lustre is a parallel distributed file system"
412 -HOMEPAGE="http://wiki.whamcloud.com/"
413 -
414 -LICENSE="GPL-2"
415 -SLOT="0"
416 -IUSE="+client +utils +modules +dlc server readline tests"
417 -
418 -RDEPEND="
419 - virtual/awk
420 - dlc? ( dev-libs/libyaml )
421 - readline? ( sys-libs/readline:0 )
422 - server? (
423 - >=sys-kernel/spl-0.6.1
424 - >=sys-fs/zfs-kmod-0.6.1
425 - sys-fs/zfs
426 - )
427 - "
428 -DEPEND="${RDEPEND}
429 - dev-python/docutils
430 - virtual/linux-sources"
431 -
432 -REQUIRED_USE="
433 - client? ( modules )
434 - server? ( modules )"
435 -
436 -pkg_pretend() {
437 - KVSUPP=${SUPPORTED_KV_MAJOR}.${SUPPORTED_KV_MINOR}.x
438 - if kernel_is gt ${SUPPORTED_KV_MAJOR} ${SUPPORTED_KV_MINOR}; then
439 - eerror "Unsupported kernel version! Latest supported one is ${KVSUPP}"
440 - die
441 - fi
442 -}
443 -
444 -pkg_setup() {
445 - filter-mfpmath sse
446 - filter-mfpmath i386
447 - filter-flags -msse* -mavx* -mmmx -m3dnow
448 - linux-mod_pkg_setup
449 - ARCH="$(tc-arch-kernel)"
450 - ABI="${KERNEL_ABI}"
451 -}
452 -
453 -src_prepare() {
454 - if [ ${#PATCHES[0]} -ne 0 ]; then
455 - epatch ${PATCHES[@]}
456 - fi
457 - eapply_user
458 - # replace upstream autogen.sh by our src_prepare()
459 - local DIRS="libcfs lnet lustre snmp"
460 - local ACLOCAL_FLAGS
461 - for dir in $DIRS ; do
462 - ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir/autoconf"
463 - done
464 - _elibtoolize -q
465 - eaclocal -I config $ACLOCAL_FLAGS
466 - eautoheader
467 - eautomake
468 - eautoconf
469 -}
470 -
471 -src_configure() {
472 - local myconf
473 - if use server; then
474 - SPL_PATH=$(basename $(echo "${EROOT}usr/src/spl-"*)) \
475 - myconf="${myconf} --with-spl=${EROOT}usr/src/${SPL_PATH} \
476 - --with-spl-obj=${EROOT}usr/src/${SPL_PATH}/${KV_FULL}"
477 - ZFS_PATH=$(basename $(echo "${EROOT}usr/src/zfs-"*)) \
478 - myconf="${myconf} --with-zfs=${EROOT}usr/src/${ZFS_PATH} \
479 - --with-zfs-obj=${EROOT}usr/src/${ZFS_PATH}/${KV_FULL}"
480 - fi
481 - econf \
482 - ${myconf} \
483 - --without-ldiskfs \
484 - --with-linux="${KERNEL_DIR}" \
485 - $(use_enable dlc) \
486 - $(use_enable client) \
487 - $(use_enable utils) \
488 - $(use_enable modules) \
489 - $(use_enable server) \
490 - $(use_enable readline) \
491 - $(use_enable tests)
492 -}
493 -
494 -src_compile() {
495 - default
496 -}
497 -
498 -src_install() {
499 - default
500 - newinitd "${FILESDIR}/lnet.initd" lnet
501 - newinitd "${FILESDIR}/lustre-client.initd" lustre-client
502 -}
503
504 diff --git a/sys-cluster/lustre/metadata.xml b/sys-cluster/lustre/metadata.xml
505 deleted file mode 100644
506 index bb4904291..000000000
507 --- a/sys-cluster/lustre/metadata.xml
508 +++ /dev/null
509 @@ -1,18 +0,0 @@
510 -<?xml version="1.0" encoding="UTF-8"?>
511 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
512 -<pkgmetadata>
513 - <maintainer type="project">
514 - <email>cluster@g.o</email>
515 - <name>Gentoo Cluster Project</name>
516 - </maintainer>
517 - <longdescription>
518 -Lustre is a parallel distributed file system, generally used for large scale cluster computing
519 -</longdescription>
520 - <use>
521 - <flag name="client">Enable kernel client modules</flag>
522 - <flag name="dlc">Enable Dynamic LNET Configuration</flag>
523 - <flag name="server">Enable kernels server modules</flag>
524 - <flag name="utils">Enable lustre utils</flag>
525 - <flag name="tests">Enable installation of tests</flag>
526 - </use>
527 -</pkgmetadata>