summaryrefslogtreecommitdiff
path: root/sys-block/tw_cli
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/tw_cli')
-rw-r--r--sys-block/tw_cli/Manifest33
-rw-r--r--sys-block/tw_cli/metadata.xml9
-rw-r--r--sys-block/tw_cli/tw_cli-10.1.ebuild98
-rw-r--r--sys-block/tw_cli/tw_cli-10.2.2.1.ebuild105
-rw-r--r--sys-block/tw_cli/tw_cli-10.2.ebuild106
-rw-r--r--sys-block/tw_cli/tw_cli-9.2.1.1.ebuild71
-rw-r--r--sys-block/tw_cli/tw_cli-9.3.0.4.ebuild69
-rw-r--r--sys-block/tw_cli/tw_cli-9.4.1.2.ebuild77
-rw-r--r--sys-block/tw_cli/tw_cli-9.4.2.ebuild77
-rw-r--r--sys-block/tw_cli/tw_cli-9.5.2.ebuild101
-rw-r--r--sys-block/tw_cli/tw_cli-9.5.3.ebuild101
11 files changed, 847 insertions, 0 deletions
diff --git a/sys-block/tw_cli/Manifest b/sys-block/tw_cli/Manifest
new file mode 100644
index 000000000000..d28f8023d63a
--- /dev/null
+++ b/sys-block/tw_cli/Manifest
@@ -0,0 +1,33 @@
+DIST CLI_freebsd-from_the_10.2.2.1_9.5.5.1_codesets.zip 1531484 SHA256 656eb4d1666447ef10b08f9145b93b4f3dab6a27479fe14a4ceea451d7057f97 SHA512 04738e9bd644561cf33d2f687159a0bcaf1ab56f340d19d88ecd0b038b89d5dd136b462189452c0578b90e1b276f9d0edc3204e5baebfc2730f319147b636708 WHIRLPOOL 7c2c3071994b27764a245a476da35041fd93535a2dcef6063d6024d382c80c06b5cd421aec48846a61a27c7f2926e145cc7e551418fa05e03119cc3c0938c4df
+DIST CLI_linux-from_the_10.2.2.1_9.5.5.1_codesets.zip 1878621 SHA256 6616ac4c32a9f6c6e810bcbf032d7277506fdb72437433948c5e24deb1f23d9e SHA512 e8a7f27401e7811d5f8533d839066bdf6d93eeb2cb1242b00af7fc559b0a34316f8e6dc80f68e869d97f44290ea32c9e65d1d857c1010009ad1a540252400e31 WHIRLPOOL 7ab832d43aeca8f067258adff35fac3e12c2db55653e7cf2e30249171bbcfd800740483d8181d32e31f51699f96a64d31eeb70c0ff94a9c262fc8cfd78182c7f
+DIST LSI-tw_cli 35638 SHA256 a8663b973df457d6f3ca1c33da9d1bec76b50d4ca5d8d856cffbccf3a5058a31 SHA512 1a1d35395ffccf70004b0c111d8c4a7e408cf0c57503bb4d1fdd608f9b71d6ea4d7488307dd6806eaf6557d65badd9c43aeea3e7c1ddae1c56962c85c2b868c9 WHIRLPOOL c70d56c98e677ec11718664cfdbe31c75a158d14dae1632d8a032cf8b223914e736222c6638a658b17d0eb4d34c4328bff641fc9015d8bd613b2c1168fb98342
+DIST cli_freebsd_10.1.zip 1500092 SHA256 f5f0eaf4ae90ec67837fa42e4e94a3f97b0b8a7b3efd88e980761c270f96fd85 SHA512 b5463919975c53e191540b4b7c58d8b08ef45ad06f82fe61960f65a46c82230486bf53bc8c535a9fd8ef3e0698cc6676696a319f5e30b904211d7b614dd7a49d WHIRLPOOL c09a606273df20368866261b68f56c153e4c45c46a652b2f4cb016dc34c1ccab3b759c2681edccf7e3979605033229899c1bff7319344dc1bb09955332e61507
+DIST cli_freebsd_10.2.zip 1467421 SHA256 73ea166d2e569e8d9d3ecc8069fd4d6a06b1fedb9b56607360b93f393e8029b5 SHA512 2f47fd094b26415e71322ed1f1d0590988406a44fa5e7f09a45baae564ab1f391d3eb6f552a6d7c4e004ba10e707c8b415784445c379ad21ffc36ba2023006c8 WHIRLPOOL 5b43575f17e12330b99923aeb46013c6b6db806efa4ee9275d6ee01dba29104366b11fd5dfd2287e21072920b61c4783d5925cd403b9782121790164e0f325be
+DIST cli_linux_10.1.zip 1845534 SHA256 ae89aef7a309d37de76e870fc56c0dd0f08e5849eb3388e3c05a1f8b134b2be3 SHA512 8e424042f8892d4fb77664a444f2ee2a55406929013d19c79612e4d0347338b68ebf9e11cdcb2895544b53705ec9401f35581d27e34e6465e06c16a5cb60096e WHIRLPOOL 3bbcd22546cec3bf4c286b106209485a2392f8bc8c084eedec4d8c9068152fb22e5be7042b2d6ede4b7fb78cbb1b67bc9061112ad162c20c8da8879db527e700
+DIST cli_linux_10.2.zip 1813781 SHA256 405b07a2579117aa9d2866d6b449b26f716b07a07a11eb80bda910f6ff649385 SHA512 ce3446c93405fd7fec69d6b982db678a08d083d7385f392c160c794ee40ec8ed329b16e85d03f69e547e6b4b9d40882e8852dc2463b945e344443cdf8654efaa WHIRLPOOL 70e159d3c4366fbd272e1b6373d6ab3f2c54a5a71cfd46999f1277490d089043f649c9b5c0192be19a90e24ff30a91e3dc20fc730a2a2fc709a443b77e94a568
+DIST tw_cli-freebsd-x86-9.5.2.tgz 785950 SHA256 a82c886066481b556d8ac415dce633352d28241a5ad84e03227225bb87234d9f SHA512 44181e6c2684637fe34cd4ad2143f713175d127bd2bc7fcf9c9a3563d939a3244da3e8b3620a123b2da173854bfc95bca91fe799261aee9913b5594a1569a8dd WHIRLPOOL cbea8c58129782db9f0b265b9035c7c09b4067622b4058acff597e2c9208f1029b3fd37f644f4e864c2189b9c75d2950d20a5aea7bdbf11956191eef089c2f06
+DIST tw_cli-freebsd-x86-9.5.3.tgz 793534 SHA256 546e5193de8cdaa267c1b29643f64865ebba04796d2c741d0b37a053402bb6b5 SHA512 ceeb072f2501c78ac56666ec13bcf0edaf047be399b16cdbd5a29b68574e10070d91611c41eb36251ca924c7532ed9df3fa397fd90b251ebf8d8a1e0befbd4d6 WHIRLPOOL 879e6ad510d5b4a6833375958e9159ce06fe3b2f55eefa6569328b5a504f08c764d945a6007b2fd032390fe0d0e2e107c234705e25587b4d395a3b217a77b142
+DIST tw_cli-linux-x86-9.2.1.1.tgz 709976 SHA256 10efc8892ce2bf68aec617449122316939435539793c53cca1fa3ab02395a46c SHA512 c706b8c710500f700736e161b8cefc821b91a9f726d1b07e74ab1114bb7d91300ebdcd59d2c0af40d98819fa9c839a03e3f4ee991e65550b0655d395a8cbb3b7 WHIRLPOOL 44851434702c5cd5e2744e114044be343b148c78ccef0a7aa7cb180e59109fa459d5401ca1a077431b2892cc326555e1f56c2668c6287e8588fd94d97c493686
+DIST tw_cli-linux-x86-9.3.0.4.tgz 794421 SHA256 86e8287d12c120f35a2d1e6a71b7f344c2d2750068cc4e1c9886a11b4efa235f SHA512 16539e9c486f583122a30c8dd1a7c6e5d05e7878a1ee44581f0109f8daf1a973c3549d163a4bea10b185d97b067a32f6b8c045db198e283581e949749b5588a3 WHIRLPOOL c3169d5b7cdeedca6e0e7b0c8469f41044c0e968e2962f857010afca5944457235827c62ef42d83287cf666f0d0dff48b9db59e23633edd717c130ef3c86d869
+DIST tw_cli-linux-x86-9.4.1.2.tgz 798925 SHA256 45863a216125af3a451ee50bd47c29dfb59d19deba487469e6aa7621fd39abca SHA512 5b307c79d3fe75bb99b536b4dfa77ccd2a2a4d063c5bf492e1b429c4f4894e66b895392a9504e811a8886bc615ad0d7a06e178865c8c9a102a381f2e9341ac7a WHIRLPOOL 0103fb118cc24efd18e743998710975ecdab520a4bc489daec575faaa0ef23cd3d1c717f0c20594ba85203fad463d763a61f3ad3da899818510f9ad7d208c886
+DIST tw_cli-linux-x86-9.4.2.tgz 806428 SHA256 5197768f6a3453d7c10fbde0b0ac9f920c475d0a5525fc7ef5a4ef93594b0791 SHA512 b4a30c7e79f7ce966ca08968682e20777f43c2cecd8001caf0e6e36e3efb3418b8887a90730d88b99f9854add771bbdb9c55a217551fcb2edf49792aba8b1338 WHIRLPOOL b4fd0c85c7a7c4d7d95d73fa74c416221a02d517fd97a315afe17537ae43b6b7e5de662d3a26f6441c17bf68632b0f8baab69788438288911e30a0c932ffa0a1
+DIST tw_cli-linux-x86-9.5.2.tgz 950535 SHA256 e40988424966d00c32859cd97f5b2f240464f138044139f3304fc51a77f59c3b SHA512 c10dbce0472afcc65e8cdabbf90b78c9de2a7f960582c17af667e6561524d1a63dbaeaf24bcd25ab5e602da8a3be9a100ca01b54c3387452a1a80458f5b5c077 WHIRLPOOL 02815b581eef0721985fecc67c1cbfdf79862257786257784b9db65f527664a2bdd799570e44a536bf69f84e8e7bd9ff9f38ba5fa497629aa746b2b8e464f1de
+DIST tw_cli-linux-x86-9.5.3.tgz 958837 SHA256 8330a18b782e383f518002e1d506e9298ce914609b8a37421156b4d633268127 SHA512 8f773df497b273ddcba04bface949903fa25a099d4a2d94ddb11317ce092226dee9eddebfed6be6798bdb58ebe39438acb6ed56cee57ce72b7ce34d9ab2f8094 WHIRLPOOL 179a20938f4e843d122ffe7e3ceaeed55ab1971c01970873a437e88a0589dc6daa22116edffbee1ac2775b49d1440faaa1902fe2b139dff8fe30e82e0fe9e96e
+DIST tw_cli-linux-x86_64-9.2.1.1.tgz 678634 SHA256 30fabb438c0f7e35a04a680a6bb1f17849d8d980278633dfb1538db9ffdeec85 SHA512 751a537c74383efaf004805e96c3f7edf29a18dab744f5531488ccc54b643e2929308bafea9f86751567120a803e1085315befe1b414d2eff6629e6bc0c8dab6 WHIRLPOOL 0f24d37b95a0655c0f04f271b21c55c3b46b1b614bab6cf8e03d342dbab8b94d896a0f90750c68c693afa60dc66347a29e90504a341e928f61e2ef34bae4c253
+DIST tw_cli-linux-x86_64-9.3.0.4.tgz 846293 SHA256 82cc7c4151f1fcf5b49666c2b439a992d531044c4ca590531fc27c66bc274716 SHA512 fde89108f347522487a4b47fd91332bb33566e6e3feb7818339f110c71ba89088acccbda47c4a081d04aa45e58a49483d82b4f2ab1296e1d9d8ebb178db58875 WHIRLPOOL 7a5471442be6875debd7a95c1ad5f8872ff1e1d2ec460cd859940fccd6c793731cbcaef0876cfc4015b0b77da09c4cbcdd6b5ec620f83cef2a5fecd27df6f876
+DIST tw_cli-linux-x86_64-9.4.1.2.tgz 831001 SHA256 a5dafa136b48c72a92043aa4ab6381063266cfc7188f0054a1c8cd953d7a30a2 SHA512 15ca392105662f9c59c643b351672e922992350b973cceb946127b0a285fc93b7d36b6e67483010043b0f945bb256d4380ef99a8c404368a4113a8e297a07e79 WHIRLPOOL af571818e4a835b507c019ea549d91c2a1f2ec5f0263c1c68318b296937360e8e6d79f052b532d6d0b227aec8073fbd5349932af647f5b0b0e7d600ae173fbed
+DIST tw_cli-linux-x86_64-9.4.2.tgz 837638 SHA256 488f1c1b497541f199ef2de7f168c56e9142ed74d59ad3ce52c20a890c5ac0c3 SHA512 bf6b571c4620618be2099df526ebf347881280bd6e60f5b38051b16cf61d88f265ac58604a6d58d4c6c37f960ec8cb370c060cdf1feabcbb0253a4b6dff54050 WHIRLPOOL 09be39e56a1aaf8fb7932e4ac847e10af83c33da4696185d6df824db77d0f5eb529055211ba693bf53b97113d8ad33f7b7685cfa835d33384eab37bb5bf55af7
+DIST tw_cli-linux-x86_64-9.5.2.tgz 979071 SHA256 2e00233fd4e591220d4732dbc766ae9af5655ba8c000cb4f24504a593455b437 SHA512 de0c71769933e18a9f8e6b12875f97856051bb8c7ec1fe7a365c74b8ddf5773aba6c89628f677b6d5116d3f2933c38ad14a83c289e2fc9a6ae91391b4db36191 WHIRLPOOL d5d9f56931ac3023ad85aa7927759630f37887f1264ebb9cb25181ab7014739a0c728b9a42634f99503a569d2badaeb813571d93743e22aa0bb2078d7d0c6f66
+DIST tw_cli-linux-x86_64-9.5.3.tgz 986751 SHA256 3fd481b69b3a90abafe32966bf30040db89c70836d9d9536f21e0ab641f64ce6 SHA512 5042c3b3499ae67ab0001212ee4906be2a4f8eeac55d1271f7a9880af656c5cb16b526c914b07993b950943eee677d814ee8c4dd9aabac2de8c213451ace5797 WHIRLPOOL 70eab6ea9716bb149489c3cb8567b281f35f3164ae5326d4f60e32d9705e2588deccaf03e7ba84b9300042449dffbe6326bd467fc2e8ca410f8babeb5c039207
+EBUILD tw_cli-10.1.ebuild 3052 SHA256 4765fba6d498619161a441d40a47d40457b3d49f269d0a62e6d6acd3110a43cf SHA512 8b65b8de33e593046b3cd0b706d05e45fd0fd427de15c28bd9e7f4f239f24e992ff70e24bccae6e2038c4f0f2fad7e82257e6fba83b09cd65c4e1742fc9e643c WHIRLPOOL f1eb222ea7768013835b966bfe135584a68b1836bb28efdaeee15d1a9d5fa9bb6a2432fb8711c4f1065f0836cef75eece3274ae3505e286407991e5c77b95255
+EBUILD tw_cli-10.2.2.1.ebuild 3983 SHA256 eeeb803218e629f8aca0787425735e7e1170a455d79da94a1206f94e67815ed9 SHA512 4ad422b2f4c91412bc9b18a9eaae98f86dccf90f9425113273ea008b6097d46e6ca5ef66a91b31d43c258516e1335aa97299dea2fe277f44b736e080819f52ba WHIRLPOOL 10acd29574965b9660201582ecb288ae0e134a6cc06403dc12eab35391a11775df1f9eaf6c68bff4339d32ab7876bb420b00fe4799b4d8a9285aea0847b163d9
+EBUILD tw_cli-10.2.ebuild 3384 SHA256 a64d5c591b55c65a7dcd55eb14ae1a390a59868f8e8d662ae0c563e0c14effca SHA512 2c62dab4eccc2817f53c4ab9b8903fc65f89db1f0bbb4af707dc4e2272625c46c5fbcf9e918e60310d8b022f76851256b7793015fbcd05f522d3aa8d3d5740f0 WHIRLPOOL 2e0e072cb3aa21004c4f6cd199d521100779a326cd628a724e5ff6a986a5685337ae9d010359ff8fa1879f969e93c4a42a47cf40248c51f34a78511dc7b87c40
+EBUILD tw_cli-9.2.1.1.ebuild 2021 SHA256 20bda27b0038ae56cd2e9532e5a02e363f04f030ee3d2d90c906de69fc87c517 SHA512 50bed028df5d8cc1642e49950230f55592cefe755ceb1967a811a44cc3a49e98e0aeec921744d10333bf02124dc75e01f8e4e30cb80a386271fb216e9420c007 WHIRLPOOL 78f46db4474aa1917ba7787e2398554989a2ddf17ccc3f738f3a8a3f07b2a51861ec5a74f99e18ca48ed20c8ec699dcf1fad3aea522298159c23da5a538664a9
+EBUILD tw_cli-9.3.0.4.ebuild 1909 SHA256 ab67295fe9025a4cdf16303c386aa7555e2e3216a7e65bdd226337b1140c14f8 SHA512 5f36ae4bd0f25024f639170debe886c1cdfffcfb73e078459d3a58c4c5356bd1f9c984cebd6f9b5f89cfdef59842049d213207cbebf989fffe34ea62fb657f3b WHIRLPOOL 47375dea70cd69646949380462e243f95950723944ee11c6b5edaec9d90323a76787d0329ef3964112a15032d3dea701df7b320e494cea918ff6780ae847358a
+EBUILD tw_cli-9.4.1.2.ebuild 2304 SHA256 38e53dd405b324afb71bcd4783d699d0d0f9e02aadae60b6f72a20fa8a933578 SHA512 093cd0136adc2246faf26c7114fb9c12a426bc4d1177cff0f9ed66c5b7041f043654513e63ceee90f3bd54dcf90dab80bea4338b35a57d3c5ed20fbe1bf08f3f WHIRLPOOL e0ba355367f83015e5d721638a7ac3da84c709320667d2d92d83102a6050a93f3243822cf37dc9874846eb0ea9c23e7a973bc1540da5caaf0a06e5e47e497fdc
+EBUILD tw_cli-9.4.2.ebuild 2292 SHA256 da456e7c0369b09854f79391b155c6b60521ba59e5cdd5ef7738580e0d8d5688 SHA512 cdd51c1ba530739cb14a9e6bad69c9d975648f68598d6ab04771115ad9fda8a5d5862c4b10aa713b15d5890808188cf424331aea1d298088d0c1528d73fd90aa WHIRLPOOL 45b35f4af78f0ab6ae6bd5306e2203b7686714c428fa0d800dd8d6503c0f0cd75d2c19c3373154c8e32306d22e3a30626bae1670078f0745ce608ed31649a0fd
+EBUILD tw_cli-9.5.2.ebuild 3152 SHA256 834827a988434554193e2543699bbe0a7b72489ba255d03772121b687aa9d75f SHA512 c32e135917e26c34d617e551c0f13262f72215d784a061b31df855e9dd0f3550335a8484e293702ce75b9375f7ecc06426c89c22b26433e8bb9763b20e28407e WHIRLPOOL 798feb3f88bbbba3c2e2f593046c917434e0864a26a8fe1fdbd2f808f7ef34f36be6d30bf39302a3319ae1869743318467a54e83fc0b65b4679771e59ab58b3e
+EBUILD tw_cli-9.5.3.ebuild 3154 SHA256 4dd345a234e28286ebbeb73b5f9e501231c289ba2e0e7d49b99cb2f188e27695 SHA512 11bc0eb2bee5aa4a3188c5b7d4322d63f6f49b59f52c7378be419ff7f2a00b5f588b8b4e948fbafb1c6cb6d67582b1b7fea9f5968aa47574d2c4efc140402562 WHIRLPOOL 808e2293284be45ba5092594fdc0fd58eb8ea873ee7b20ccd9c4c6473e3be61aaf64299de33e5b7f47ef412b3809b976924aaac852ff5e8b3d5c75e26a6f48b6
+MISC ChangeLog 3669 SHA256 f298cbdf835ed77e69b40e10218c6648a6784f83ccd431d14c9c9559c82cf518 SHA512 e0315fae72f4c6e5f7fa41e2c56b66968733db006fe0d13892a901b33a31f0a7bd588d281fe58cc00387a185889deed0de86f6a1fcb0e94b3efa7f7a47eacf23 WHIRLPOOL fd40f1d39972ba2acc0ec77499eade3e98ddd58abadd2c26af305573e5eae1a429823613dfc2842ffdc4ebbaef54a0eb8e14a159ca81deea0fb635c5f0431ea0
+MISC ChangeLog-2015 7984 SHA256 723e7273d19bb81ec280857eceaca5fd092ddf5ce44632ed0accf1fbf0377f59 SHA512 580c0a7e4de868d1a2a23b8b513b263041312360cd4d924feff3672dd3259f83fbd234cdaa9c72b8d3c1850d164fe524b9c980d217d7020b6982c6572ec271ee WHIRLPOOL f315f49f540bfe14a8015863b14489c9200df936410dccc09018cd1d12070614132e180b63de686d81fa70e5365d0c5c6c36ee457e825c9d2bbc28c43162fa2b
+MISC metadata.xml 311 SHA256 bc9ff020d04fbeb310a2748f9087a6f0eaefd0ada74337bc9edf9269abebc101 SHA512 f60d7a3782e3920dfe2fe2e2986426738be4974c1589d48a1c3991a1ff4ff11fd246124ac2ed740818c6ac801ce9b31ad570cd2b968328c2902c13a97fd197f3 WHIRLPOOL e17c48b2a2475e05699a931773491ade0188898897b4cfd2174efb88d9930e7e31bd342268e35bfc0eba3427ed0883d209455615a097d53df82e0da45a597025
diff --git a/sys-block/tw_cli/metadata.xml b/sys-block/tw_cli/metadata.xml
new file mode 100644
index 000000000000..7258c2a26d03
--- /dev/null
+++ b/sys-block/tw_cli/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ <description>Primary maintainer, PATA controllers</description>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-block/tw_cli/tw_cli-10.1.ebuild b/sys-block/tw_cli/tw_cli-10.1.ebuild
new file mode 100644
index 000000000000..cf40002ead36
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-10.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 fetch"
+# 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 4 cards:
+# 7006-2 on x86.
+# 9500S-8 on amd64.
+# 9500S-4LP on amd64.
+# 9650SE-8LPML on amd64.
+# - Robin H. Johnson <robbat2@gentoo.org> - 23 Nov 2006
+#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_linux="${SRC_URI_BASE}/cli_linux_${PV}.zip"
+SRC_URI_fbsd="${SRC_URI_BASE}/cli_freebsd_${PV}.zip"
+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
+ newman tw_cli.8.nroff tw_cli.8
+ dohtml *.html
+}
diff --git a/sys-block/tw_cli/tw_cli-10.2.2.1.ebuild b/sys-block/tw_cli/tw_cli-10.2.2.1.ebuild
new file mode 100644
index 000000000000..85ea0c505585
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-10.2.2.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DESCRIPTION="3ware SATA/PATA/SAS RAID controller Command Line Interface tool"
+HOMEPAGE="http://www.lsi.com/products/raid-controllers/pages/3ware-sas-9750-8i.aspx"
+
+# This is apparently what the upstream stuff was based on when LSI took over?
+ThreeDM2_PV="9.5.5.1"
+
+SRC_URI_BASE="http://www.lsi.com/downloads/Public/SATA/SATA%20Common%20Files/"
+SRC_URI_A_linux="CLI_linux-from_the_${PV}_${ThreeDM2_PV}_codesets.zip"
+SRC_URI_A_fbsd="CLI_freebsd-from_the_${PV}_${ThreeDM2_PV}_codesets.zip"
+SRC_URI="kernel_linux? ( ${SRC_URI_BASE}/${SRC_URI_A_linux} )
+ kernel_FreeBSD? ( ${SRC_URI_BASE}/${SRC_URI_A_fbsd} )
+ https://gitweb.gentoo.org/repo/gentoo.git/plain/licenses/LSI-tw_cli"
+# The license is not available easily from upstream (embedded in a textbox),
+# nor in the upstream tarball, but needs to be installed, and can't be
+# referenced via PORTDIR per bug #373349.
+# the minor ver on the end changes...
+RELNOTES="${SRC_URI_BASE}/${PV}_Release_Notes.pdf"
+
+# Note: 3ware gave permission to redistribute the binaries before:
+# Ref: https://bugs.gentoo.org/show_bug.cgi?id=60690#c106
+#
+# Please note that the LSI-tw_cli license does allow redistribution, despite
+# being a EULA:
+# 2. Grant of Rights
+# 2.1 LSI Binary Code. Subject to the terms of this Agreement, LSI grants
+# to Licensee a non-exclusive, world-wide, revocable (for breach in
+# accordance with Section 7), non-transferable limited license, without
+# the right to sublicense except as expressly provided herein, solely to:
+# (c) Distribute the LSI Binary Code as incorporated in Licensee's
+# Products or for use with LSI Devices to its Subsequent Users;
+# (d) Distribute the Explanatory Materials related to LSI Binary Code only
+# for use with LSI Devices;
+#
+# 3. License Restrictions
+# 3.1. LSI Binary Code. The Licenses granted in Section 2.1 for LSI Binary
+# Code and related Explanatory Materials are subject to the following
+# restrictions:
+# (a) Licensee shall not use the LSI Binary Code and related Explanatory
+# Materials for any purpose other than as expressly provided in Article 2;
+# (b) Licensee shall reproduce all copyright notices and other proprietary
+# markings or legends contained within or on the LSI Binary Code and
+# related Explanatory Materials on any copies it makes; and
+LICENSE="LSI-tw_cli"
+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 ~x86-fbsd ~amd64-fbsd"
+IUSE=""
+
+RESTRICT="strip primaryuri"
+QA_PREBUILT="/opt/tw_cli/tw_cli"
+
+# binary packages
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S=${WORKDIR}
+
+# If you want to fetch it yourself (not from the mirrors), there is an IP-based
+# clickthrough to accept the EULA.
+pkg_nofetch() {
+ einfo "Upstream has implement a mandatory clickthrough EULA for distfile download"
+ einfo "Please visit $SRC_URI in your browser. The clickthrough is IP-based,"
+ einfo "so no wget is possible."
+ einfo "And place $A in ${DISTDIR}"
+}
+
+src_install() {
+ case ${ARCH} in
+ amd64) CLI_BIN=x86_64/tw_cli;;
+ x86) CLI_BIN=x86/tw_cli;;
+ *) die "unsupported ARCH";;
+ esac
+ exeinto /opt/tw_cli
+ # The names have varied in the past, sometimes there is a suffix
+ newexe ${CLI_BIN} tw_cli
+ dosym /opt/tw_cli/tw_cli /usr/sbin/tw_cli
+
+ newman ${PN}.8.nroff ${PN}.8
+ dohtml *.html
+ dodoc *.txt
+
+ # to comply with license requirement 3.1.b, per upstream request.
+ insinto /opt/tw_cli
+ newins ${DISTDIR}/${LICENSE} LICENSE
+}
+
+pkg_postinst() {
+ 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 "${RELNOTES}"
+}
diff --git a/sys-block/tw_cli/tw_cli-10.2.ebuild b/sys-block/tw_cli/tw_cli-10.2.ebuild
new file mode 100644
index 000000000000..6913096d386f
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-10.2.ebuild
@@ -0,0 +1,106 @@
+# 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
+}
diff --git a/sys-block/tw_cli/tw_cli-9.2.1.1.ebuild b/sys-block/tw_cli/tw_cli-9.2.1.1.ebuild
new file mode 100644
index 000000000000..c430fa075536
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-9.2.1.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+#set
+DESCRIPTION="3ware Command Line Interface Tool"
+HOMEPAGE="http://www.3ware.com/"
+LICENSE="3ware"
+SLOT="0"
+# binary packages
+KEYWORDS="-* x86 amd64"
+IUSE=""
+# stripping seems to break this sometimes
+RESTRICT="fetch strip mirror"
+# binary packages
+DEPEND=""
+RDEPEND=""
+#DOWNLOAD_URL_BASE="http://www.3ware.com/support/download_${PV}.asp?SNO="
+#DOWNLOAD_URL="x86? ( ${DOWNLOAD_URL_BASE}499 )
+# amd64? ( ${DOWNLOAD_URL_BASE}501 )"
+MY_P="${PN}-linux-${ARCH/amd64/x86_64}-${PV}"
+SRC_URI_BASE="http://www.3ware.com/download/Escalade9000Series/${PV}/${PN}-linux-"
+SRC_URI_X86="${SRC_URI_BASE}x86-${PV}.tgz"
+SRC_URI_AMD64="${SRC_URI_BASE}x86_64-${PV}.tgz"
+SRC_URI="x86? ( ${SRC_URI_X86} )
+ amd64? ( ${SRC_URI_AMD64} )"
+DOWNLOAD_URL_APP="http://www.3ware.com/support/dnload_agreeeng.asp?code=2&id=&softtype=CLI&os=Linux"
+
+#S="${WORKDIR}/${MY_P}"
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${MY_P}.tgz
+}
+
+supportedcards() {
+ einfo "This binary supports all current cards, including, but not"
+ einfo "limited to:"
+ einfo "PATA: 7210, 7410, 7450, 7810, 7850, 7000-2, 7500-4, 7500-8,"
+ einfo " 7500-12, 7006-2, 7506-4, 7506-4LP, 7506-8, 7506-12"
+ einfo "SATA: 8500-4, 8500-8, 8500-12, 8006-2, 8506-4, 8506-12,"
+ einfo " 8506-8MI, 8506-12MI, 9500S-4LP, 9500S-8, 9500S-12,"
+ einfo " 9500S-8MI, 9500S-12MI"
+}
+
+pkg_setup() {
+ supportedcards
+}
+
+pkg_nofetch() {
+ einfo "Please agree to the license at"
+ einfo "${DOWNLOAD_URL_APP}"
+ einfo "And then use one of the following URLs to download the"
+ einfo "correct tarball into ${DISTDIR}"
+ einfo "amd64: ${SRC_URI_AMD64}"
+ einfo "x86: ${SRC_URI_X86}"
+ einfo "Download the 32-bit version for x86 machines, or the"
+ einfo "64-bit version for amd64 machines."
+ supportedcards
+}
+
+src_install() {
+ into /
+ dosbin tw_cli
+ dosbin tw_sched
+ insinto /etc
+ doins tw_sched.cfg
+ into /usr
+ newman tw_cli.8.nroff tw_cli.8
+ newman tw_sched.8.nroff tw_sched.8
+ dohtml *.html
+}
diff --git a/sys-block/tw_cli/tw_cli-9.3.0.4.ebuild b/sys-block/tw_cli/tw_cli-9.3.0.4.ebuild
new file mode 100644
index 000000000000..bcb6d250422f
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-9.3.0.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool"
+HOMEPAGE="http://www.3ware.com/"
+LICENSE="3ware"
+SLOT="0"
+# binary packages
+KEYWORDS="-* ~x86 ~amd64"
+IUSE=""
+# stripping seems to break this sometimes
+RESTRICT="fetch strip mirror"
+# binary packages
+DEPEND=""
+RDEPEND=""
+MY_P="${PN}-linux-${ARCH/amd64/x86_64}-${PV}"
+# package has different tarballs for x86 and amd64
+SRC_URI_BASE="http://www.3ware.com/download/Escalade7000Series/${PV}"
+SRC_URI="x86? ( ${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz )
+ amd64? ( ${SRC_URI_BASE}/${PN}-linux-x86_64-${PV}.tgz )"
+# x86: http://3ware.com/support/download_9.3.0.2.asp?SNO=616
+# amd64: http://3ware.com/support/download_9.3.0.2.asp?SNO=617
+DOWNLOAD_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/Escalade7000Series/${PV}/${MY_P}.tgz"
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${MY_P}.tgz
+}
+
+supportedcards() {
+ einfo "This binary supports should support ALL cards, including, but not"
+ einfo "limited to:"
+ einfo ""
+ einfo "PATA: 6xxx, 7210, 7410, 7450, 7810, 7850, 7000-2, 7500-4, 7500-8,"
+ einfo " 7500-12, 7006-2, 7506-4, 7506-4LP, 7506-8, 7506-12"
+ einfo ""
+ einfo "SATA: 8500-4, 8500-8, 8500-12, 8006-2, 8506-4, 8506-12,"
+ einfo " 8506-8MI, 8506-12MI, 9500S-4LP, 9500S-8, 9500S-12,"
+ einfo " 9500S-8MI, 9500S-12MI"
+}
+
+pkg_setup() {
+ supportedcards
+}
+
+pkg_nofetch() {
+ einfo "Please agree to the license at URL"
+ einfo ""
+ einfo "\t${DOWNLOAD_URL}"
+ einfo ""
+ einfo "And then use the following URL to download the"
+ einfo "correct tarball into ${DISTDIR}"
+ einfo ""
+ einfo "\t${SRC_URI}"
+ einfo ""
+ supportedcards
+}
+
+src_install() {
+ into /
+ dosbin tw_cli
+ dosbin tw_sched
+ insinto /etc
+ doins tw_sched.cfg
+ into /usr
+ newman tw_cli.8.nroff tw_cli.8
+ newman tw_sched.8.nroff tw_sched.8
+ dohtml *.html
+}
diff --git a/sys-block/tw_cli/tw_cli-9.4.1.2.ebuild b/sys-block/tw_cli/tw_cli-9.4.1.2.ebuild
new file mode 100644
index 000000000000..adee2233171c
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-9.4.1.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+IUSE=""
+# stripping seems to break this sometimes
+RESTRICT="fetch strip mirror"
+# binary packages
+DEPEND=""
+RDEPEND=""
+MY_P="${PN}-linux-${ARCH/amd64/x86_64}-${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 two cards: 6200 (amd64) and 7006-2 (x86)
+# - Robin H. Johnson <robbat2@gentoo.org> - 23 Nov 2006
+#HW_VARIANT="Escalade7000Series" - for versions 9.3.0.*
+HW_VARIANT="Escalade9650SE-Series" # for versions 9.4.0*
+# package has different tarballs for x86 and amd64
+SRC_URI_BASE="http://www.3ware.com/download/${HW_VARIANT}/${PV}"
+SRC_URI_x86="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz"
+SRC_URI_amd64="${SRC_URI_BASE}/${PN}-linux-x86_64-${PV}.tgz"
+SRC_URI="x86? ( ${SRC_URI_x86} )
+ amd64? ( ${SRC_URI_amd64} )"
+LICENSE_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/${HW_VARIANT}/${PV}/${MY_P}.tgz"
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${MY_P}.tgz
+}
+
+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 ""
+ elog "Release notes for this version are available at:"
+ elog "${SRC_URI_BASE}/${PV}_Release_Notes_Web.pdf"
+}
+
+pkg_setup() {
+ supportedcards
+}
+
+pkg_nofetch() {
+ einfo "Please agree to the license at URL"
+ einfo ""
+ einfo "\t${LICENSE_URL}"
+ einfo ""
+ einfo "And then use the following URL to download the"
+ einfo "correct tarball into ${DISTDIR}"
+ einfo ""
+ einfo "x86 - ${SRC_URI_x86}"
+ einfo "amd64 - ${SRC_URI_amd64}"
+ einfo ""
+ supportedcards
+}
+
+src_install() {
+ into /
+ dosbin tw_cli
+ dosbin tw_sched
+ insinto /etc
+ doins tw_sched.cfg
+ into /usr
+ newman tw_cli.8.nroff tw_cli.8
+ newman tw_sched.8.nroff tw_sched.8
+ dohtml *.html
+}
diff --git a/sys-block/tw_cli/tw_cli-9.4.2.ebuild b/sys-block/tw_cli/tw_cli-9.4.2.ebuild
new file mode 100644
index 000000000000..22b6b91d547f
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-9.4.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+IUSE=""
+# stripping seems to break this sometimes
+RESTRICT="fetch strip mirror"
+# binary packages
+DEPEND=""
+RDEPEND=""
+MY_P="${PN}-linux-${ARCH/amd64/x86_64}-${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 two cards: 6200 (amd64) and 7006-2 (x86)
+# - Robin H. Johnson <robbat2@gentoo.org> - 23 Nov 2006
+#HW_VARIANT="Escalade7000Series" - for versions 9.3.0.*
+HW_VARIANT="Escalade9650SE-Series" # for versions 9.4.0*
+# package has different tarballs for x86 and amd64
+SRC_URI_BASE="http://www.3ware.com/download/${HW_VARIANT}/${PV}"
+SRC_URI=""
+for i in x86 amd64 ; do
+ SRC_URI="${SRC_URI} ${i}? ( ${SRC_URI_BASE}/${PN}-linux-${i/amd64/x86_64}-${PV}.tgz )"
+done
+LICENSE_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/${HW_VARIANT}/${PV}/${MY_P}.tgz"
+S="${WORKDIR}/${PN}-linux-${ARCH/amd64/x86_64}-${PV}"
+
+src_unpack() {
+ unpack ${MY_P}.tgz
+}
+
+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 ""
+ elog "Release notes for this version are available at:"
+ elog "${SRC_URI_BASE}/${PV}_Release_Notes_Web.pdf"
+}
+
+pkg_setup() {
+ supportedcards
+}
+
+pkg_nofetch() {
+ einfo "Please agree to the license at URL"
+ einfo ""
+ einfo "\t${LICENSE_URL}"
+ einfo ""
+ einfo "And then use the following URL to download the"
+ einfo "correct tarball into ${DISTDIR}"
+ einfo ""
+ einfo "x86 - ${SRC_URI_x86}"
+ einfo "amd64 - ${SRC_URI_amd64}"
+ einfo ""
+ supportedcards
+}
+
+src_install() {
+ into /
+ dosbin tw_cli
+ dosbin tw_sched
+ insinto /etc
+ doins tw_sched.cfg
+ into /usr
+ newman tw_cli.8.nroff tw_cli.8
+ newman tw_sched.8.nroff tw_sched.8
+ dohtml *.html
+}
diff --git a/sys-block/tw_cli/tw_cli-9.5.2.ebuild b/sys-block/tw_cli/tw_cli-9.5.2.ebuild
new file mode 100644
index 000000000000..c17e4c549403
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-9.5.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+# binary packages
+DEPEND=""
+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="${PN}-${PN_KERNEL}-${PN_ARCH}-${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 4 cards:
+# 7006-2 on x86.
+# 9500S-8 on amd64.
+# 9500S-4LP on amd64.
+# 9650SE-8LPML on amd64.
+# - Robin H. Johnson <robbat2@gentoo.org> - 23 Nov 2006
+#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*
+# package has different tarballs for x86 and amd64
+SRC_URI_BASE="http://www.3ware.com/download/${HW_VARIANT}/${PV}"
+SRC_URI_x86="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz"
+SRC_URI_amd64="${SRC_URI_BASE}/${PN}-linux-x86_64-${PV}.tgz"
+SRC_URI_x86_fbsd="${SRC_URI_BASE}/${PN}-freebsd-x86-${PV}.tgz"
+#SRC_URI_amd64_fbsd="${SRC_URI_BASE}/${PN}-x86_64-freebsd-${PV}.tgz"
+SRC_URI="x86? ( ${SRC_URI_x86} )
+ amd64? ( ${SRC_URI_amd64} )
+ x86-fbsd? ( ${SRC_URI_x86_fbsd} )"
+ #amd64-fbsd? ( ${SRC_URI_amd64_fbsd} )
+LICENSE_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/${HW_VARIANT}/${PV}/${MY_P}.tgz"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${MY_P}.tgz
+}
+
+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"
+ 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 "x86 - ${SRC_URI_x86}"
+ einfo "amd64 - ${SRC_URI_amd64}"
+ einfo "x86-fbsd - ${SRC_URI_x86_fbsd}"
+ #einfo "amd64-fbsd - ${SRC_URI_amd64_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 tw_cli
+ into /usr
+ newman tw_cli.8.nroff tw_cli.8
+ dohtml *.html
+}
diff --git a/sys-block/tw_cli/tw_cli-9.5.3.ebuild b/sys-block/tw_cli/tw_cli-9.5.3.ebuild
new file mode 100644
index 000000000000..61b67af008b1
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-9.5.3.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+# binary packages
+DEPEND=""
+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="${PN}-${PN_KERNEL}-${PN_ARCH}-${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 4 cards:
+# 7006-2 on x86.
+# 9500S-8 on amd64.
+# 9500S-4LP on amd64.
+# 9650SE-8LPML on amd64.
+# - Robin H. Johnson <robbat2@gentoo.org> - 23 Nov 2006
+#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*
+# package has different tarballs for x86 and amd64
+SRC_URI_BASE="http://www.3ware.com/download/${HW_VARIANT}/${PV}"
+SRC_URI_x86="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz"
+SRC_URI_amd64="${SRC_URI_BASE}/${PN}-linux-x86_64-${PV}.tgz"
+SRC_URI_x86_fbsd="${SRC_URI_BASE}/${PN}-freebsd-x86-${PV}.tgz"
+#SRC_URI_amd64_fbsd="${SRC_URI_BASE}/${PN}-x86_64-freebsd-${PV}.tgz"
+SRC_URI="x86? ( ${SRC_URI_x86} )
+ amd64? ( ${SRC_URI_amd64} )
+ x86-fbsd? ( ${SRC_URI_x86_fbsd} )"
+ #amd64-fbsd? ( ${SRC_URI_amd64_fbsd} )
+LICENSE_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/${HW_VARIANT}/${PV}/${MY_P}.tgz"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${MY_P}.tgz
+}
+
+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"
+ 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 "x86 - ${SRC_URI_x86}"
+ einfo "amd64 - ${SRC_URI_amd64}"
+ einfo "x86-fbsd - ${SRC_URI_x86_fbsd}"
+ #einfo "amd64-fbsd - ${SRC_URI_amd64_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 tw_cli
+ into /usr
+ newman tw_cli.8.nroff tw_cli.8
+ dohtml *.html
+}