Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/arcconf/
Date: Tue, 01 May 2018 07:48:42
Message-Id: 1525160912.ec43da607da77b8cc9130e12306e4147b63b4930.mgorny@gentoo
1 commit: ec43da607da77b8cc9130e12306e4147b63b4930
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Sun Apr 29 11:24:48 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 1 07:48:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec43da60
7
8 sys-block/arcconf: Add version 2.01 for x86
9
10 This is the latest version for x86, newer only support amd64.
11
12 Bug: https://bugs.gentoo.org/653534
13 Package-Manager: Portage-2.3.24, Repoman-2.3.6
14
15 sys-block/arcconf/Manifest | 1 +
16 sys-block/arcconf/arcconf-2.01.22270.ebuild | 47 +++++++++++++++++++++++++++++
17 sys-block/arcconf/metadata.xml | 11 +++++++
18 3 files changed, 59 insertions(+)
19
20 diff --git a/sys-block/arcconf/Manifest b/sys-block/arcconf/Manifest
21 index 117b9ba402a..c683dbbdd30 100644
22 --- a/sys-block/arcconf/Manifest
23 +++ b/sys-block/arcconf/Manifest
24 @@ -1,4 +1,5 @@
25 DIST arcconf_v1_2_20618.zip 11920300 BLAKE2B c0ee178216a369ee16a49a97a7a5a8948e10c0dc6b1791ce536f4a23eefb90a9702fb24c1d899916e7d5012ec1e79b0f55bfc3e6e0f9848de2f20b15ccabae2c SHA512 e8415e929cd7a8c8bca33f0de29bdadf3595da911bc3c0984226e02e01e6f4e9c822363dd8aa093efd524eea19f0689784e0300403513a99ead14ac08c487efe
26 DIST arcconf_v1_7_21229.zip 11056748 BLAKE2B d867eb3fe8ddb1e2429b91b33dcfddc4730e1ebc82eca019ad0d2d7fbea92ae421482d0bb62e5a6c28d98b5655ff4a6c8e9f73228d5cb398c1bc23428ecdeb90 SHA512 66a56ea66b8011c1f8f431b25f95050e541311ee415a0d4bdee6ef6416ff499be41d275819694384f66e5a1401b467da82ab15ce7c3fe49e1e013370293cf63a
27 +DIST arcconf_v2_01_22270.zip 47168976 BLAKE2B 95693a1408e5a4d0d638bbf265f2e1e64247dfec2b1078b56860c5fcd4b13ffa5967bfb9967abfd4b79c788aaeb20759b3a9070a84b083c1653e4868a96ac4cf SHA512 0f91a697c44ea0c0561bec9e432e7d4eba8eb8a2b0255a9867bdb183f81e745aee1dcc2b0017847803dbb27f55cad3e985f4bcd3a202c52f5b557fb724e94d9e
28 DIST arcconf_v2_04_22665.zip 35218069 BLAKE2B 77664d219e3262c5302f53924f1182ddc6385b0987072b9c50aaa5591c651766e48d5e5a7ec8c4cf8fab3d8930f322204c3f90d2170fbe041adb69a221fe9667 SHA512 33810ec898935c98c955d869fa443e259761fbd1c329a95a1f85bfca50d25685f6a050eeda535daa81221a922dc094a9ff079080a3969bab826874424dcf85e2
29 DIST arcconf_v2_05_22932.zip 58966959 BLAKE2B 7a809e4e3fcbbf915fec399a90064a82ec4fd70526ce3ee51036b55a030e6fdffe2d9e502618456aee68d247e0de2b986ee9f85f15a1f42a366f7498ced9fe8e SHA512 73b30ac06301ab97b42ff86f92a11968b4e4f9fac83bee4cdb57c0096ccdf9bec1adbd1d4b192dcaf5d112b8a5181a52e291df1f5a10e4aa1d25e72070119c96
30
31 diff --git a/sys-block/arcconf/arcconf-2.01.22270.ebuild b/sys-block/arcconf/arcconf-2.01.22270.ebuild
32 new file mode 100644
33 index 00000000000..3dd5eee780d
34 --- /dev/null
35 +++ b/sys-block/arcconf/arcconf-2.01.22270.ebuild
36 @@ -0,0 +1,47 @@
37 +# Copyright 1999-2018 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +
42 +MY_PV="v${PV//./_}"
43 +
44 +inherit linux-info
45 +
46 +DESCRIPTION="Microsemi Adaptec RAID Controller Command Line Utility"
47 +HOMEPAGE="http://www.adaptec.com/en-us/downloads/"
48 +SRC_URI="http://download.adaptec.com/raid/storage_manager/${PN}_${MY_PV}.zip"
49 +
50 +KEYWORDS="-* ~amd64 ~x86"
51 +LICENSE="Microsemi"
52 +SLOT="0"
53 +
54 +DEPEND="app-arch/unzip"
55 +RDEPEND="${RDEPEND}"
56 +
57 +RESTRICT="fetch mirror bindist"
58 +
59 +S="${WORKDIR}"
60 +
61 +QA_PREBUILT="usr/bin/arcconf"
62 +
63 +pkg_nofetch() {
64 + elog "Please download ${A} from"
65 + elog "https://storage.microsemi.com/en-us/speed/raid/storage_manager/${PN}_${MY_PV}_zip.php"
66 + elog "and place it in your DISTDIR directory."
67 +}
68 +
69 +pkg_setup() {
70 + # CONFIG_HARDENED_USERCOPY_PAGESPAN makes ARCCONF segault
71 + if linux-info_get_any_version && linux_config_src_exists ; then
72 + CONFIG_CHECK="!HARDENED_USERCOPY_PAGESPAN"
73 + check_extra_config
74 + fi
75 +}
76 +
77 +src_install() {
78 + if use amd64; then
79 + dobin linux_x64/cmdline/arcconf
80 + else
81 + dobin linux/cmdline/arcconf
82 + fi
83 +}
84
85 diff --git a/sys-block/arcconf/metadata.xml b/sys-block/arcconf/metadata.xml
86 index 403feb1dddf..9c93700b722 100644
87 --- a/sys-block/arcconf/metadata.xml
88 +++ b/sys-block/arcconf/metadata.xml
89 @@ -13,4 +13,15 @@
90 <email>proxy-maint@g.o</email>
91 <name>Proxy Maintainers</name>
92 </maintainer>
93 + <longdescription>
94 + Microsemi Adaptec RAID Controller Command Line Utility, which allows you to:
95 + Create and delete logical drives.
96 + Display and modify configuration settings.
97 + Copy configurations from one computer to another.
98 + Recover from a failed physical device and rebuild an affected logical drive.
99 + Flash new firmware and BIOS onto the controller.
100 + Enable the controller to check the removal and connection of any disk drives.
101 + Provides access to the status and event logs of a controller.
102 + Isolate problems and determine their causes.
103 + </longdescription>
104 </pkgmetadata>