sys-block/arcconf: bump to EAPI=7
authorConrad Kostecki <conrad@kostecki.com>
Sun, 16 Dec 2018 21:52:56 +0000 (22:52 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 16 Dec 2018 23:53:21 +0000 (00:53 +0100)
Also updated header for newest release and dropped dev-zero from
metadata.xml, as I've spoken with him and he don't have anymore access to
a Gentoo box with an areca controller.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/10256
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sys-block/arcconf/arcconf-2.01.22270-r1.ebuild [new file with mode: 0644]
sys-block/arcconf/metadata.xml

diff --git a/sys-block/arcconf/arcconf-2.01.22270-r1.ebuild b/sys-block/arcconf/arcconf-2.01.22270-r1.ebuild
new file mode 100644 (file)
index 0000000..a7ce727
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV="v${PV//./_}"
+
+inherit linux-info
+
+DESCRIPTION="Microsemi Adaptec RAID Controller Command Line Utility"
+HOMEPAGE="https://www.microsemi.com/"
+SRC_URI="https://download.adaptec.com/raid/storage_manager/${PN}_${MY_PV}.zip"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="Microsemi"
+SLOT="0"
+
+DEPEND="app-arch/unzip"
+
+RESTRICT="fetch mirror bindist"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="usr/bin/arcconf"
+
+pkg_nofetch() {
+       elog "Please download ${A} from"
+       elog "https://storage.microsemi.com/en-us/speed/raid/storage_manager/${PN}_${MY_PV}_zip.php"
+       elog "and place it in your DISTDIR directory."
+}
+
+pkg_setup() {
+       # CONFIG_HARDENED_USERCOPY_PAGESPAN makes ARCCONF segault
+       if linux-info_get_any_version && linux_config_src_exists ; then
+               CONFIG_CHECK="!HARDENED_USERCOPY_PAGESPAN"
+               check_extra_config
+       fi
+}
+
+src_install() {
+       dobin linux$(usex amd64 '_x64')/cmdline/arcconf
+}
index ebc6102883f7bbb85fb375532068da29f61416fc..18b8c5cf1f76e38e2f7dc0471ffe6ff52974c799 100644 (file)
@@ -1,10 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-       <maintainer type="person">
-               <email>dev-zero@gentoo.org</email>
-               <name>Tiziano Müller</name>
-       </maintainer>
        <maintainer type="person">
                <email>ck+gentoo@bl4ckb0x.de</email>
                <name>Conrad Kostecki</name>