sys-block/megarc - 1.11 (gentoo)

Search

Install

Install this version:

emerge -a =sys-block/megarc-1.11

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-block/megarc-1.11

Or alternatively:

emerge --autounmask-write -a =sys-block/megarc-1.11

Package Information

Description:
LSI Logic MegaRAID Text User Interface management tool
Homepage:
http://www.avagotech.com/cs/Satellite?q=megacli&pagename=AVG2%2FsearchLayout&locale=avg_en&within=megacli&Search=megarc&srch-radio=new&Submit=Search
License:
LSI

Ebuild Details

Version EAPI Keywords Slot
1.11 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="ut_linux_megarc"
MY_PV="${PV//./-}"
MY_P="${MY_PN}_${MY_PV}"

DESCRIPTION="LSI Logic MegaRAID Text User Interface management tool"
# Previous releases from LSI directly required a click-through EULA; but the
# upstream website no longer requires this consistently: most old files have
# two or more download pages, and while one of the pages has a generic
# click-through download form, the file-specific download page only requires
# click-through on some items. See also sys-block/lsiutil, sys-block/megarc
# 2022/03/19: robbat2 confirms the SRC_URI links work AND the files have not changed upstream
HOMEPAGE="http://www.avagotech.com/cs/Satellite?q=megacli&pagename=AVG2%2FsearchLayout&locale=avg_en&within=megacli&Search=megarc&srch-radio=new&Submit=Search"
SRC_URI="
	https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_P}.zip
	https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/README_FOR_${MY_P}-zip.txt"
S="${WORKDIR}"

LICENSE="LSI"
SLOT="0"
# This package can never enter stable, it can't be mirrored and upstream
# can remove the distfiles from their mirror anytime.
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RESTRICT="mirror bindist"

BDEPEND="
	app-arch/unzip
	doc? ( app-text/antiword )"

QA_PREBUILT="/opt/bin/megarc"

src_compile() {
	if use doc; then
		antiword ut_linux.doc > ${PN}-manual.txt || die
	fi
}

src_install() {
	use doc && dodoc ${PN}-manual.txt
	newdoc ut_linux_${PN}_${PV}.txt ${PN}-release-${PV}.txt
	newdoc "${DISTDIR}"/README_FOR_${MY_P}-zip.txt README

	exeinto /opt/bin
	newexe megarc.bin megarc
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-block/megarc | euse -E <flag> -p sys-block/megarc | euse -D <flag> -p sys-block/megarc

Global/Standard Flags

doc

Dependencies

BDEPEND

	app-arch/unzip
	doc? ( app-text/antiword )

Manifest for 1.11

Type File Size Source URLs
DIST README_FOR_ut_linux_megarc_1-11-zip.txt 3512 bytes https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/README_FOR_ut_linux_megarc_1-11-zip.txt
DIST ut_linux_megarc_1-11.zip 301703 bytes https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/ut_linux_megarc_1-11.zip