1 |
commit: 323e1ce8c44610db899947ef412cc89aedd26307 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 3 18:37:15 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 3 18:37:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=323e1ce8 |
7 |
|
8 |
sys-block/megamgr: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
profiles/arch/amd64/no-multilib/package.mask | 6 +++++- |
13 |
sys-block/megamgr/Manifest | 2 +- |
14 |
sys-block/megamgr/megamgr-5.20-r2.ebuild | 23 ++++++++--------------- |
15 |
3 files changed, 14 insertions(+), 17 deletions(-) |
16 |
|
17 |
diff --git a/profiles/arch/amd64/no-multilib/package.mask b/profiles/arch/amd64/no-multilib/package.mask |
18 |
index ae5ea45d3d0..1b7096875ce 100644 |
19 |
--- a/profiles/arch/amd64/no-multilib/package.mask |
20 |
+++ b/profiles/arch/amd64/no-multilib/package.mask |
21 |
@@ -1,6 +1,10 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
+# David Seifert <soap@g.o> (03 Jan 2018) |
27 |
+# Requires 32-bit multilib compatibility |
28 |
+sys-block/megamgr |
29 |
+ |
30 |
# James Le Cuirot <chewi@g.o> (13 Aug 2016) |
31 |
# Steam requires amd64 multilib. These are steam-overlay packages. |
32 |
dev-util/adobe-air-runtime |
33 |
|
34 |
diff --git a/sys-block/megamgr/Manifest b/sys-block/megamgr/Manifest |
35 |
index b6ec0bccc99..3391acfcacd 100644 |
36 |
--- a/sys-block/megamgr/Manifest |
37 |
+++ b/sys-block/megamgr/Manifest |
38 |
@@ -1 +1 @@ |
39 |
-DIST ut_linux_mgr_5.20.zip 253549 SHA256 e7313ed8f59897f132ffed55ed606f19dc72a5d529e6b647cb157a39f0d79123 SHA512 3f942ab3d7a192bc1a945945d20545ffdbbbdd9c4af238701cf7357fe5b3f405c2e777da7c42908e1acb676499ee87aec261bcad729a4d787f8e098af132bda6 WHIRLPOOL 8efdfa1a152003ab0da0834f101c4da505974ada81eb0633e42d5065b96dcd48638da8145ac1e43573fe0cb25119bf3579a1d778deb18e1258cbca33e1c6cd28 |
40 |
+DIST ut_linux_mgr_5.20.zip 253549 BLAKE2B eb173d349e5399229f55ec073246993068caea01dcc707ec11d34a418cd42368eb80028e4363cad7e1bb707558e6eb8b629a2071387bff40471daa98d1d14c94 SHA512 3f942ab3d7a192bc1a945945d20545ffdbbbdd9c4af238701cf7357fe5b3f405c2e777da7c42908e1acb676499ee87aec261bcad729a4d787f8e098af132bda6 |
41 |
|
42 |
diff --git a/sys-block/megamgr/megamgr-5.20-r2.ebuild b/sys-block/megamgr/megamgr-5.20-r2.ebuild |
43 |
index d8758416c83..1ebc56400d1 100644 |
44 |
--- a/sys-block/megamgr/megamgr-5.20-r2.ebuild |
45 |
+++ b/sys-block/megamgr/megamgr-5.20-r2.ebuild |
46 |
@@ -1,9 +1,7 @@ |
47 |
-# Copyright 1999-2012 Gentoo Foundation |
48 |
+# Copyright 1999-2018 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
|
51 |
-EAPI="3" |
52 |
- |
53 |
-inherit multilib |
54 |
+EAPI=6 |
55 |
|
56 |
DESCRIPTION="LSI Logic MegaRAID Text User Interface management tool" |
57 |
HOMEPAGE="http://www.lsi.com" |
58 |
@@ -15,29 +13,24 @@ SLOT="0" |
59 |
# can remove the distfiles from their mirror anytime. |
60 |
KEYWORDS="~amd64 ~x86" |
61 |
IUSE="" |
62 |
+RESTRICT="mirror fetch" |
63 |
|
64 |
DEPEND="app-arch/unzip" |
65 |
RDEPEND="" |
66 |
|
67 |
-RESTRICT="mirror fetch" |
68 |
- |
69 |
S="${WORKDIR}" |
70 |
|
71 |
QA_PRESTRIPPED="/opt/bin/megamgr" |
72 |
|
73 |
pkg_nofetch() { |
74 |
einfo "Upstream has implement a mandatory clickthrough EULA for distfile download" |
75 |
- einfo "Please visit $SRC_URI" |
76 |
- einfo "And place $A in ${DISTDIR}" |
77 |
-} |
78 |
- |
79 |
-pkg_setup() { |
80 |
- use amd64 && { has_multilib_profile || die "needs multilib profile on amd64"; } |
81 |
+ einfo "Please visit ${SRC_URI}" |
82 |
+ einfo "And place ${A} in ${DISTDIR}" |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
- newdoc ut_linux_${PN##mega}_${PV}.txt ${PN}-release-${PV}.txt |
87 |
- |
88 |
exeinto /opt/bin |
89 |
- newexe megamgr.bin megamgr || die |
90 |
+ newexe megamgr.bin megamgr |
91 |
+ |
92 |
+ newdoc ut_linux_${PN##mega}_${PV}.txt ${PN}-release-${PV}.txt |
93 |
} |