mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-block/tw_cli: drop EAPI=2 ebuild
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -3,9 +3,7 @@ DIST CLI_freebsd-from_the_10.2.2.1_9.5.5.1_codesets.zip 1531484 BLAKE2B 6bd1a552
|
||||
DIST CLI_linux-from_the_10.2.2.1_9.5.5.1_codesets.zip 1878621 BLAKE2B 628070e5f6dc4dbc75f029067298be278b696b84afb245d19761043183bc6232fcf48dfe46954ef61e027082d974905244f6b3e73b596fbbe8d7955375859be2 SHA512 e8a7f27401e7811d5f8533d839066bdf6d93eeb2cb1242b00af7fc559b0a34316f8e6dc80f68e869d97f44290ea32c9e65d1d857c1010009ad1a540252400e31
|
||||
DIST LSI-tw_cli 35638 BLAKE2B 8267d311b7b09dd3f0e619fd7d5aadcaf5b24afa1958c99e838b9280b175b8f070dc58164622bf3ab54dc5ddfc24a4a4ea06971a919b17a3c2594541e43ea41f SHA512 1a1d35395ffccf70004b0c111d8c4a7e408cf0c57503bb4d1fdd608f9b71d6ea4d7488307dd6806eaf6557d65badd9c43aeea3e7c1ddae1c56962c85c2b868c9
|
||||
DIST cli_freebsd_10.1.zip 1500092 BLAKE2B 4e7d68a99cef9429aba1898a1b9340259e78a531a2b19140a05b1dc7fd031791fb1309a6196e746195bed9f18a7d12d890adc437ebd928b37a4b0db8e21a29ee SHA512 b5463919975c53e191540b4b7c58d8b08ef45ad06f82fe61960f65a46c82230486bf53bc8c535a9fd8ef3e0698cc6676696a319f5e30b904211d7b614dd7a49d
|
||||
DIST cli_freebsd_10.2.zip 1467421 BLAKE2B e0f47087b7adf59e9bbfc4af46e7944a45a0af527951b4fe94e093eee9810580f8475f61201e85048452d3eb9510a8fb9c5820ec6404ac70bb16eb0761efe234 SHA512 2f47fd094b26415e71322ed1f1d0590988406a44fa5e7f09a45baae564ab1f391d3eb6f552a6d7c4e004ba10e707c8b415784445c379ad21ffc36ba2023006c8
|
||||
DIST cli_linux_10.1.zip 1845534 BLAKE2B 41e9befd0cbc8e9cacccfa68f120eabe8959586728146863884dcf5027f1e831edf54b1a3b6ab38f176a5bea0f3b99be59525684a3545e66895879da9c594cb5 SHA512 8e424042f8892d4fb77664a444f2ee2a55406929013d19c79612e4d0347338b68ebf9e11cdcb2895544b53705ec9401f35581d27e34e6465e06c16a5cb60096e
|
||||
DIST cli_linux_10.2.zip 1813781 BLAKE2B 10a3117e337b3fcdf42b8b8705fc43727116036fbf458be885e06b72702e2b34a28d11a035141c3900cdf479837787f9fa3e591e6bd96e31c71e7814ebba7d21 SHA512 ce3446c93405fd7fec69d6b982db678a08d083d7385f392c160c794ee40ec8ed329b16e85d03f69e547e6b4b9d40882e8852dc2463b945e344443cdf8654efaa
|
||||
DIST tw_cli-freebsd-x86-9.5.2.tgz 785950 BLAKE2B dc8ab70f17446899dc7df8204a608e8809b2c33c7a6806d56181e2ea1d9f65c4ec58009917e741a47e0eb27ce7003330f9c8d8b459ef33a97c8fbe05c9c79440 SHA512 44181e6c2684637fe34cd4ad2143f713175d127bd2bc7fcf9c9a3563d939a3244da3e8b3620a123b2da173854bfc95bca91fe799261aee9913b5594a1569a8dd
|
||||
DIST tw_cli-freebsd-x86-9.5.3.tgz 793534 BLAKE2B d5dd84dab83b3d2838941989351000c64199e9ce99dd7d0e897801a15f3176973ce932636e9fbb67898339f1a01cbd8a8f28e7d7df3f2ece1692e9c3dc0f5a20 SHA512 ceeb072f2501c78ac56666ec13bcf0edaf047be399b16cdbd5a29b68574e10070d91611c41eb36251ca924c7532ed9df3fa397fd90b251ebf8d8a1e0befbd4d6
|
||||
DIST tw_cli-linux-x86-9.2.1.1.tgz 709976 BLAKE2B 9d3659bdcae50da62de0b97b1c049114a7198c8423fee6304253ded5c7027397d994ce6237cc3c053e8aed5ac3785e3b11030655d7eb7d7933ee9c6408b56c97 SHA512 c706b8c710500f700736e161b8cefc821b91a9f726d1b07e74ab1114bb7d91300ebdcd59d2c0af40d98819fa9c839a03e3f4ee991e65550b0655d395a8cbb3b7
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool"
|
||||
HOMEPAGE="https://www.3ware.com/3warekb/article.aspx?id=14847"
|
||||
LICENSE="3ware"
|
||||
SLOT="0"
|
||||
# binary packages
|
||||
KEYWORDS="-* amd64 x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
# stripping seems to break this sometimes
|
||||
RESTRICT="strip primaryuri"
|
||||
# binary packages
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
# Upstream has _FUN_ naming these
|
||||
# We are mostly prepared for the FreeBSD binaries at this point
|
||||
# They just aren't yet enabled here
|
||||
PN_KERNEL="${ARCH/*fbsd-*/freebsd}"
|
||||
[ "${PN_KERNEL}" != 'freebsd' ] && PN_KERNEL='linux'
|
||||
PN_ARCH="${ARCH/*-}"
|
||||
PN_ARCH="${PN_ARCH/amd64/x86_64}"
|
||||
|
||||
# The naming of <=9.5.0 for freebsd was weird,
|
||||
# but 9.5.0.1 has it sanely.
|
||||
MY_P="cli_${PN_KERNEL}_${PV}"
|
||||
|
||||
# Upstream actually only releases newer versions for new hardware
|
||||
# and doesn't release new major versions for old hardware
|
||||
# however their backwards compatibility is excellent.
|
||||
# I personally test tw_cli on 5 cards:
|
||||
# 9550SXU-4LP on amd64
|
||||
# 9650SE-{2LP,8LPML} on amd64.
|
||||
# 9690SA-{4I,8I} on amd64
|
||||
# - Robin H. Johnson <robbat2@gentoo.org> - 15 Nov 2010
|
||||
#HW_VARIANT="Escalade7000Series" - for versions 9.3.0.*
|
||||
#HW_VARIANT="Escalade9650SE-Series" # for versions 9.4.0*
|
||||
#HW_VARIANT="Escalade9690SA-Series" # for versions 9.5.0*
|
||||
HW_VARIANT="3ware%20SAS%209750-8i%20Gentoo"
|
||||
# package has different tarballs for x86 and amd64
|
||||
SRC_URI_BASE="http://www.lsi.com/DistributionSystem/AssetDocument"
|
||||
SRC_URI_SUFFIX="?prodName=${HW_VARIANT}"
|
||||
SRC_URI_A_linux="cli_linux_${PV}.zip"
|
||||
SRC_URI_A_fbsd="cli_freebsd_${PV}.zip"
|
||||
SRC_URI_linux="${SRC_URI_BASE}/${SRC_URI_A_linux}${SRC_URI_SUFFIX} -> ${SRC_URI_A_linux}"
|
||||
SRC_URI_fbsd="${SRC_URI_BASE}/${SRC_URI_A_fbsd}${SRC_URI_SUFFIX} -> ${SRC_URI_A_fbsd}"
|
||||
SRC_URI="kernel_linux? ( ${SRC_URI_linux} )
|
||||
kernel_FreeBSD? ( ${SRC_URI_fbsd} )"
|
||||
#amd64-fbsd? ( ${SRC_URI_amd64_fbsd} )
|
||||
SRC_URI_mine="${SRC_URI_BASE}/cli_${PN_KERNEL}_${PV}.zip"
|
||||
LICENSE_URL="http://www.lsi.com/lookup/License.aspx?url=${SRC_URI_mine}&prodName=${HW_VARIANT}&subType=Binary&locale="
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.zip
|
||||
}
|
||||
|
||||
supportedcards() {
|
||||
elog "This binary supports should support ALL cards, including, but not"
|
||||
elog "limited to the following series:"
|
||||
elog ""
|
||||
elog "PATA: 6xxx, 72xx, 74xx, 78xx, 7000, 7500, 7506"
|
||||
elog "SATA: 8006, 8500, 8506, 9500S, 9550SX, 9590SE,"
|
||||
elog " 9550SXU, 9650SE, 9650SE-{24M8,4LPME},"
|
||||
elog " 9690SA, 9750"
|
||||
elog ""
|
||||
elog "Release notes for this version are available at:"
|
||||
elog "${SRC_URI_BASE}/${PV}_Release_Notes_Web.pdf"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
supportedcards
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "3ware would like you to agree to the license:"
|
||||
einfo ""
|
||||
einfo "\t${LICENSE_URL}"
|
||||
einfo ""
|
||||
einfo "And then use the following URL to download the"
|
||||
einfo "correct tarballs manually into ${DISTDIR}"
|
||||
einfo ""
|
||||
einfo "Linux - ${SRC_URI_linux}"
|
||||
einfo "FreeBSD - ${SRC_URI_fbsd}"
|
||||
einfo ""
|
||||
einfo "However, they have given permission to redistribute."
|
||||
einfo "https://bugs.gentoo.org/show_bug.cgi?id=60690#c106"
|
||||
einfo ""
|
||||
supportedcards
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
dosbin ${PN_ARCH}/tw_cli
|
||||
into /usr
|
||||
# 10.2 is missing this
|
||||
if [[ -f tw_cli.8.nroff ]]; then
|
||||
newman tw_cli.8.nroff tw_cli.8
|
||||
else
|
||||
ewarn "Upstream's 10.2 release is missing the tw_cli manpage."
|
||||
fi
|
||||
dohtml *.html
|
||||
}
|
||||
Reference in New Issue
Block a user