summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/perccli')
-rw-r--r--sys-block/perccli/metadata.xml2
-rw-r--r--sys-block/perccli/perccli-7.2313.0.ebuild12
-rw-r--r--sys-block/perccli/perccli-7.5.007.0529-r2.ebuild28
3 files changed, 21 insertions, 21 deletions
diff --git a/sys-block/perccli/metadata.xml b/sys-block/perccli/metadata.xml
index 55d75d1768a2..c4392c4ef605 100644
--- a/sys-block/perccli/metadata.xml
+++ b/sys-block/perccli/metadata.xml
@@ -6,6 +6,6 @@
<name>Zac Medico</name>
</maintainer>
<use>
- <flag name="efi">Install EFI variant as well</flag>
+ <flag name="uefi">Install UEFI variant as well</flag>
</use>
</pkgmetadata>
diff --git a/sys-block/perccli/perccli-7.2313.0.ebuild b/sys-block/perccli/perccli-7.2313.0.ebuild
index b60f35fc2ab6..95613760ef51 100644
--- a/sys-block/perccli/perccli-7.2313.0.ebuild
+++ b/sys-block/perccli/perccli-7.2313.0.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://www.dell.com/support/home/en-us/drivers/driversdetails?driveri
LICENSE="Dell-EULA"
SLOT="0"
KEYWORDS="-* ~amd64"
-IUSE="efi"
+IUSE="uefi"
RESTRICT="bindist fetch mirror strip"
DEPEND=""
RDEPEND=""
@@ -18,7 +18,7 @@ QA_PREBUILT="opt/MegaRAID/perccli/perccli* boot/efi/perccli.efi"
# Files not fetchable with the default user-agent, and EULA
# requires consent for redistribution.
SRC_URI="https://dl.dell.com/FOLDER09770976M/1/PERCCLI_7.2313.0_A14_Linux.tar.gz
- efi? ( https://dl.dell.com/FOLDER09770794M/1/perccli.efi -> perccli-7.2313.0.efi )"
+ uefi? ( https://dl.dell.com/FOLDER09770794M/1/perccli.efi -> perccli-7.2313.0.efi )"
S=${WORKDIR}
@@ -26,7 +26,7 @@ pkg_nofetch() {
einfo "Please download PERCCLI_7.2313.0_A14_Linux.tar.gz from"
einfo "${HOMEPAGE}"
einfo "and place the file in your DISTDIR directory."
- if use efi; then
+ if use uefi; then
einfo "Please download perccli.efi from"
einfo "${HOMEPAGE}"
einfo "and rename the file to perccli-7.2313.0.efi and place it in your DISTDIR directory."
@@ -34,7 +34,7 @@ pkg_nofetch() {
}
pkg_setup() {
- use efi && secureboot_pkg_setup
+ use uefi && secureboot_pkg_setup
}
src_unpack() {
@@ -47,9 +47,9 @@ src_install() {
doexe opt/MegaRAID/perccli/perccli64 && \
dosym perccli64 /opt/MegaRAID/perccli/perccli
dosym ../MegaRAID/perccli/perccli /opt/bin/perccli
- if use efi; then
+ if use uefi; then
exeinto /boot/efi
newexe "${DISTDIR}/perccli-7.2313.0.efi" perccli.efi
fi
- use efi && secureboot_auto_sign --in-place
+ use uefi && secureboot_auto_sign --in-place
}
diff --git a/sys-block/perccli/perccli-7.5.007.0529-r2.ebuild b/sys-block/perccli/perccli-7.5.007.0529-r2.ebuild
index a6a8cab93d8f..435580a4bd99 100644
--- a/sys-block/perccli/perccli-7.5.007.0529-r2.ebuild
+++ b/sys-block/perccli/perccli-7.5.007.0529-r2.ebuild
@@ -2,33 +2,33 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit mount-boot rpm secureboot
+DISTFILE_DOC="dell-sas-hba-12gbps_reference-guide_en-us.pdf"
+
DESCRIPTION="LINUX PERCCLI Utility For All Dell HBA/PERC Controllers"
HOMEPAGE="https://www.dell.com/support/home/us/en/19/drivers/driversdetails?driverId=NF8G9"
+SRC_URI="
+ https://downloads.dell.com/FOLDER05235308M/1/perccli_linux_NF8G9_A07_7.529.00.tar.gz
+ doc? ( https://topics-cdn.dell.com/pdf/${DISTFILE_DOC} )"
+S="${WORKDIR}/perccli_7.5-007.0529_linux"
+
LICENSE="Avago BSD"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE="doc efi"
+IUSE="doc uefi"
RESTRICT="strip"
-DEPEND=""
-RDEPEND=""
-QA_PREBUILT="opt/MegaRAID/perccli/perccli* boot/efi/perccli.efi"
-DISTFILE_DOC=dell-sas-hba-12gbps_reference-guide_en-us.pdf
-
-SRC_URI="https://downloads.dell.com/FOLDER05235308M/1/perccli_linux_NF8G9_A07_7.529.00.tar.gz
- doc? ( https://topics-cdn.dell.com/pdf/${DISTFILE_DOC} )"
-
-S="${WORKDIR}"/perccli_7.5-007.0529_linux
+QA_PREBUILT="opt/MegaRAID/perccli/perccli* boot/efi/perccli.efi"
pkg_setup() {
- use efi && secureboot_pkg_setup
+ use uefi && secureboot_pkg_setup
}
src_unpack() {
default
- cd "${S}"
+ cd "${S}" || die
rpm_unpack ./Linux/perccli-*.rpm
}
@@ -40,10 +40,10 @@ src_install() {
use x86 && dosym perccli32 opt/MegaRAID/perccli/perccli
dosym ../MegaRAID/perccli/perccli /opt/bin/perccli
use amd64 && dosym ../MegaRAID/perccli/perccli32 /opt/bin/perccli32
- if use efi; then
+ if use uefi; then
exeinto /boot/efi/
doexe EFI/perccli.efi
fi
use doc && dodoc "${DISTDIR}"/${DISTFILE_DOC}
- use efi && secureboot_auto_sign --in-place
+ use uefi && secureboot_auto_sign --in-place
}