1 |
commit: fcf2d0507379ee370d5572aa4883cab5bb03c7ca |
2 |
Author: Conrad Kostecki <ck+gentoo <AT> bl4ckb0x <DOT> de> |
3 |
AuthorDate: Sun Aug 6 12:12:49 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 21 18:33:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcf2d050 |
7 |
|
8 |
sys-block/arcconf: version bump to 2.04. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/588432 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/5317 |
12 |
|
13 |
sys-block/arcconf/Manifest | 1 + |
14 |
sys-block/arcconf/arcconf-2.04.22665.ebuild | 61 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 62 insertions(+) |
16 |
|
17 |
diff --git a/sys-block/arcconf/Manifest b/sys-block/arcconf/Manifest |
18 |
index c0dddec9f2d..20311a1240c 100644 |
19 |
--- a/sys-block/arcconf/Manifest |
20 |
+++ b/sys-block/arcconf/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST arcconf_v1_2_20618.zip 11920300 BLAKE2B c0ee178216a369ee16a49a97a7a5a8948e10c0dc6b1791ce536f4a23eefb90a9702fb24c1d899916e7d5012ec1e79b0f55bfc3e6e0f9848de2f20b15ccabae2c SHA512 e8415e929cd7a8c8bca33f0de29bdadf3595da911bc3c0984226e02e01e6f4e9c822363dd8aa093efd524eea19f0689784e0300403513a99ead14ac08c487efe |
23 |
DIST arcconf_v1_7_21229.zip 11056748 BLAKE2B d867eb3fe8ddb1e2429b91b33dcfddc4730e1ebc82eca019ad0d2d7fbea92ae421482d0bb62e5a6c28d98b5655ff4a6c8e9f73228d5cb398c1bc23428ecdeb90 SHA512 66a56ea66b8011c1f8f431b25f95050e541311ee415a0d4bdee6ef6416ff499be41d275819694384f66e5a1401b467da82ab15ce7c3fe49e1e013370293cf63a |
24 |
+DIST arcconf_v2_04_22665.zip 35218069 BLAKE2B 77664d219e3262c5302f53924f1182ddc6385b0987072b9c50aaa5591c651766e48d5e5a7ec8c4cf8fab3d8930f322204c3f90d2170fbe041adb69a221fe9667 SHA512 33810ec898935c98c955d869fa443e259761fbd1c329a95a1f85bfca50d25685f6a050eeda535daa81221a922dc094a9ff079080a3969bab826874424dcf85e2 |
25 |
|
26 |
diff --git a/sys-block/arcconf/arcconf-2.04.22665.ebuild b/sys-block/arcconf/arcconf-2.04.22665.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2f607e620d6 |
29 |
--- /dev/null |
30 |
+++ b/sys-block/arcconf/arcconf-2.04.22665.ebuild |
31 |
@@ -0,0 +1,61 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit linux-info |
38 |
+ |
39 |
+DESCRIPTION="Adaptec RAID Controller Command Line Utility" |
40 |
+HOMEPAGE="http://www.adaptec.com/en-us/downloads/" |
41 |
+SRC_URI="http://download.adaptec.com/raid/storage_manager/${PN}_v${PV//./_}.zip" |
42 |
+ |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+LICENSE="Adaptec-EULA" |
45 |
+SLOT="0" |
46 |
+ |
47 |
+DEPEND="app-arch/unzip" |
48 |
+RDEPEND="${RDEPEND}" |
49 |
+ |
50 |
+RESTRICT="mirror bindist" |
51 |
+# RESTRICT="fetch" |
52 |
+ |
53 |
+QA_PRESTRIPPED="/opt/bin/arcconf" |
54 |
+ |
55 |
+S="${WORKDIR}" |
56 |
+ |
57 |
+# Maintainer notes: |
58 |
+# * When going via the $HOMEPAGE one has to agree to the Adaptec-EULA as |
59 |
+# referenced above. |
60 |
+# * Despite that EULA, one can download the package seemingly without |
61 |
+# restrictions from $SRC_URI. |
62 |
+# * It is therefore assumed that the binary is made available for public |
63 |
+# download. Even more so since the archive does not contain a license |
64 |
+# agreement stating otherwise. |
65 |
+ |
66 |
+#pkg_nofetch() { |
67 |
+# einfo "Upstream has implemented a mandatory clickthrough EULA for distfile download" |
68 |
+# einfo "Please visit $HOMEPAGE, choose a controller (for example the Series 7, 7805)" |
69 |
+# einfo "and then navigate to Storage Manager Downloads for the ARCCONF Command Line Utility." |
70 |
+# einfo "And place $A in ${DISTDIR}" |
71 |
+#} |
72 |
+ |
73 |
+# Maintainer notes: |
74 |
+# * FreeBSD binaries would be available for FreeBSD 7..9, which ones do we need? |
75 |
+ |
76 |
+# CONFIG_HARDENED_USERCOPY_PAGESPAN makes ARCCONF segault |
77 |
+pkg_setup() { |
78 |
+ if linux-info_get_any_version && linux_config_src_exists ; then |
79 |
+ CONFIG_CHECK="!HARDENED_USERCOPY_PAGESPAN" |
80 |
+ check_extra_config |
81 |
+ fi |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ exeinto /opt/bin |
86 |
+ |
87 |
+ if use amd64; then |
88 |
+ doexe linux_x64/cmdline/arcconf |
89 |
+ else |
90 |
+ doexe linux/cmdline/arcconf |
91 |
+ fi |
92 |
+} |