From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- sys-cluster/lustre/Manifest | 2 +- sys-cluster/lustre/lustre-2.13.0-r1.ebuild | 123 +++++++++++++++++++++++++++++ sys-cluster/lustre/lustre-2.13.0.ebuild | 123 ----------------------------- 3 files changed, 124 insertions(+), 124 deletions(-) create mode 100644 sys-cluster/lustre/lustre-2.13.0-r1.ebuild delete mode 100644 sys-cluster/lustre/lustre-2.13.0.ebuild (limited to 'sys-cluster/lustre') diff --git a/sys-cluster/lustre/Manifest b/sys-cluster/lustre/Manifest index 4a7415896461..bca36cac823c 100644 --- a/sys-cluster/lustre/Manifest +++ b/sys-cluster/lustre/Manifest @@ -2,5 +2,5 @@ AUX lnet.initd 933 BLAKE2B b59c85c589adebc6ff65484546804ba3857a32ce226baab4dca16 AUX lustre-2.13.0-gcc9.patch 14815 BLAKE2B 11a28292c2c3175e5da2cc0521fe63c5ebc7d3265ee7e23443f755ba8e92f6c3b83f1da71119091e5f706bbf3d90485488db442d16e8b4387479c8cc539ad5e8 SHA512 fcb3de98bcd64f3562444928aa1adc2d935b66a19330a7b8e485e8cd468f8517bb0862b89c468ee243dbf8689675c78fbf565cb371dc6eb95ebd1803bf2a4bf9 AUX lustre-client.initd 1099 BLAKE2B 89508197c5101e0e382da13720424cf526a6c2503719cab411c3cf03711a8b69bb3e8b043c3555fe3cc01a2ac748234f24b311348941689ded17b708a7c49868 SHA512 b535e81208bed0fadad6e140a6b11ee1786a957f1628a819954de72af02d6794346dda0eb2fdcd8583a9aebd1832e70539d9ca292f2dc34e104f2f61caa8e1f9 DIST lustre-2.13.0.tar.gz 14598623 BLAKE2B f53b7fa455144f50ed7dd12150b9195fbc6b951a663df2a1a914aeeae79723cc0c0515c0c501fd67769e163b7026a341d679dbddbb590f6c63d1af0498dd44fc SHA512 6da16abc1ecaa6711bf727925ad327164c5b0d9918a7c864be8c3aa36b31b191154139ba718a0f84e4905907c265a0ce2a5394b44f1b85cd90880b3bfcd0d69d -EBUILD lustre-2.13.0.ebuild 2680 BLAKE2B 18b831187edf37b20aa16aa88bc737272dff9b58b42e5cda03218691c5a88c5443f08452f49b25c3099d7c3383db9ed0de361bc4051b0720835370e2407e96d9 SHA512 231a1a14fb15b852c248c2d99a864fcd5f52b7f7424ab608dfb0c7bc86844dc5208e2b6f389bf24f02e20dd81e1dc86f46c27192052e460ea3afdc3cc8c776ec +EBUILD lustre-2.13.0-r1.ebuild 2680 BLAKE2B aa92d737a52872ccceb89f6de77ab59ffb97d1225074c18627ddcff942f0ebe4821e091248042b84abfefb7b1e11d399d2c247c5eaaa8d63505981e2cdb102b9 SHA512 4711f11d0f5afea2449ebed358e4ea68b208a068ea273d86a88c38838b7b55a67ffebff74a77efb4c82c6909dee2b7bd88290e9086e79d0223d90c722746e8c1 MISC metadata.xml 799 BLAKE2B c09b90ad5217999be2aa9bf20b87ba422c9b900c82e3ceaebbb55c37c99958b3e0d9f15c8994dee1cd83e2e84d69625bdca2aa08d36c2959b3ebba09790b0af0 SHA512 b2349a99b6292589846929421a8569e0fd9b5dd8c7aefa5c3bb5c1e4cb9afb809f2fb6e63b163265a4402188344226bca85bff07c9f2da809ffc0d388e6c6d88 diff --git a/sys-cluster/lustre/lustre-2.13.0-r1.ebuild b/sys-cluster/lustre/lustre-2.13.0-r1.ebuild new file mode 100644 index 000000000000..a14ceb151065 --- /dev/null +++ b/sys-cluster/lustre/lustre-2.13.0-r1.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WANT_AUTOCONF="2.5" +WANT_AUTOMAKE="1.15" +WANT_LIBTOOL="latest" + +if [[ $PV = *9999* ]]; then + scm="git-r3" + SRC_URI="" + EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git" + KEYWORDS="" + EGIT_BRANCH="master" +else + scm="" + SRC_URI="https://dev.gentoo.org/~alexxy/distfiles/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +SUPPORTED_KV_MAJOR=4 +SUPPORTED_KV_MINOR=19 + +inherit ${scm} autotools linux-info linux-mod toolchain-funcs udev flag-o-matic + +DESCRIPTION="Lustre is a parallel distributed file system" +HOMEPAGE="http://wiki.whamcloud.com/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+client +utils +modules +dlc server readline tests" + +RDEPEND=" + virtual/awk + dlc? ( dev-libs/libyaml ) + readline? ( sys-libs/readline:0 ) + server? ( + >=sys-fs/zfs-kmod-0.8 + >=sys-fs/zfs-0.8 + ) +" +DEPEND="${RDEPEND} + dev-python/docutils + virtual/linux-sources" + +REQUIRED_USE=" + client? ( modules ) + server? ( modules )" + +PATCHES=( "${FILESDIR}/${P}-gcc9.patch" ) + +pkg_pretend() { + KVSUPP=${SUPPORTED_KV_MAJOR}.${SUPPORTED_KV_MINOR}.x + if kernel_is gt ${SUPPORTED_KV_MAJOR} ${SUPPORTED_KV_MINOR}; then + eerror "Unsupported kernel version! Latest supported one is ${KVSUPP}" + die + fi +} + +pkg_setup() { + filter-mfpmath sse + filter-mfpmath i386 + filter-flags -msse* -mavx* -mmmx -m3dnow + + linux-mod_pkg_setup + ARCH="$(tc-arch-kernel)" + ABI="${KERNEL_ABI}" +} + +src_prepare() { + if [ ${#PATCHES[0]} -ne 0 ]; then + epatch ${PATCHES[@]} + fi + + eapply_user + if [[ ${PV} == "9999" ]]; then + # replace upstream autogen.sh by our src_prepare() + local DIRS="libcfs lnet lustre snmp" + local ACLOCAL_FLAGS + for dir in $DIRS ; do + ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir/autoconf" + done + _elibtoolize -q + eaclocal -I config $ACLOCAL_FLAGS + eautoheader + eautomake + eautoconf + fi +} + +src_configure() { + local myconf + if use server; then + SPL_PATH=$(basename $(echo "${EROOT}/usr/src/spl-"*)) \ + myconf="${myconf} --with-spl=${EROOT}/usr/src/${SPL_PATH} \ + --with-spl-obj=${EROOT}/usr/src/${SPL_PATH}/${KV_FULL}" + ZFS_PATH=$(basename $(echo "${EROOT}/usr/src/zfs-"*)) \ + myconf="${myconf} --with-zfs=${EROOT}/usr/src/${ZFS_PATH} \ + --with-zfs-obj=${EROOT}/usr/src/${ZFS_PATH}/${KV_FULL}" + fi + econf \ + ${myconf} \ + --without-ldiskfs \ + --with-linux="${KERNEL_DIR}" \ + $(use_enable dlc) \ + $(use_enable client) \ + $(use_enable utils) \ + $(use_enable modules) \ + $(use_enable server) \ + $(use_enable readline) \ + $(use_enable tests) +} + +src_compile() { + default +} + +src_install() { + default + newinitd "${FILESDIR}/lnet.initd" lnet + newinitd "${FILESDIR}/lustre-client.initd" lustre-client +} diff --git a/sys-cluster/lustre/lustre-2.13.0.ebuild b/sys-cluster/lustre/lustre-2.13.0.ebuild deleted file mode 100644 index adb48cea0e3b..000000000000 --- a/sys-cluster/lustre/lustre-2.13.0.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -WANT_AUTOCONF="2.5" -WANT_AUTOMAKE="1.15" -WANT_LIBTOOL="latest" - -if [[ $PV = *9999* ]]; then - scm="git-r3" - SRC_URI="" - EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git" - KEYWORDS="" - EGIT_BRANCH="master" -else - scm="" - SRC_URI="https://dev.gentoo.org/~alexxy/distfiles/${P}.tar.gz" - KEYWORDS="~amd64" -fi - -SUPPORTED_KV_MAJOR=4 -SUPPORTED_KV_MINOR=19 - -inherit ${scm} autotools linux-info linux-mod toolchain-funcs udev flag-o-matic - -DESCRIPTION="Lustre is a parallel distributed file system" -HOMEPAGE="http://wiki.whamcloud.com/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="+client +utils +modules +dlc server readline tests" - -RDEPEND=" - virtual/awk - dlc? ( dev-libs/libyaml ) - readline? ( sys-libs/readline:0 ) - server? ( - >=sys-fs/zfs-kmod-0.8 - >=sys-fs/zfs-0.8 - ) -" -BEPEND="${RDEPEND} - dev-python/docutils - virtual/linux-sources" - -REQUIRED_USE=" - client? ( modules ) - server? ( modules )" - -PATCHES=( "${FILESDIR}/${P}-gcc9.patch" ) - -pkg_pretend() { - KVSUPP=${SUPPORTED_KV_MAJOR}.${SUPPORTED_KV_MINOR}.x - if kernel_is gt ${SUPPORTED_KV_MAJOR} ${SUPPORTED_KV_MINOR}; then - eerror "Unsupported kernel version! Latest supported one is ${KVSUPP}" - die - fi -} - -pkg_setup() { - filter-mfpmath sse - filter-mfpmath i386 - filter-flags -msse* -mavx* -mmmx -m3dnow - - linux-mod_pkg_setup - ARCH="$(tc-arch-kernel)" - ABI="${KERNEL_ABI}" -} - -src_prepare() { - if [ ${#PATCHES[0]} -ne 0 ]; then - epatch ${PATCHES[@]} - fi - - eapply_user - if [[ ${PV} == "9999" ]]; then - # replace upstream autogen.sh by our src_prepare() - local DIRS="libcfs lnet lustre snmp" - local ACLOCAL_FLAGS - for dir in $DIRS ; do - ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir/autoconf" - done - _elibtoolize -q - eaclocal -I config $ACLOCAL_FLAGS - eautoheader - eautomake - eautoconf - fi -} - -src_configure() { - local myconf - if use server; then - SPL_PATH=$(basename $(echo "${EROOT}/usr/src/spl-"*)) \ - myconf="${myconf} --with-spl=${EROOT}/usr/src/${SPL_PATH} \ - --with-spl-obj=${EROOT}/usr/src/${SPL_PATH}/${KV_FULL}" - ZFS_PATH=$(basename $(echo "${EROOT}/usr/src/zfs-"*)) \ - myconf="${myconf} --with-zfs=${EROOT}/usr/src/${ZFS_PATH} \ - --with-zfs-obj=${EROOT}/usr/src/${ZFS_PATH}/${KV_FULL}" - fi - econf \ - ${myconf} \ - --without-ldiskfs \ - --with-linux="${KERNEL_DIR}" \ - $(use_enable dlc) \ - $(use_enable client) \ - $(use_enable utils) \ - $(use_enable modules) \ - $(use_enable server) \ - $(use_enable readline) \ - $(use_enable tests) -} - -src_compile() { - default -} - -src_install() { - default - newinitd "${FILESDIR}/lnet.initd" lnet - newinitd "${FILESDIR}/lustre-client.initd" lustre-client -} -- cgit v1.2.3