summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-12-16 22:52:56 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-17 00:53:21 +0100
commitb46fc8a65c9088307872944ffb74ac9d98a4f8e4 (patch)
tree7dc799163e9a27b8e2cce06e41a20bf1d54a29ce /sys-block/arcconf
parentmedia-gfx/librecad: Drop 2.1.3-r2 (diff)
downloadgentoo-b46fc8a65c9088307872944ffb74ac9d98a4f8e4.tar.gz
gentoo-b46fc8a65c9088307872944ffb74ac9d98a4f8e4.tar.bz2
gentoo-b46fc8a65c9088307872944ffb74ac9d98a4f8e4.zip
sys-block/arcconf: bump to EAPI=7
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>
Diffstat (limited to 'sys-block/arcconf')
-rw-r--r--sys-block/arcconf/arcconf-2.01.22270-r1.ebuild42
-rw-r--r--sys-block/arcconf/metadata.xml4
2 files changed, 42 insertions, 4 deletions
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
index 000000000000..a7ce727384d7
--- /dev/null
+++ b/sys-block/arcconf/arcconf-2.01.22270-r1.ebuild
@@ -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
+}
diff --git a/sys-block/arcconf/metadata.xml b/sys-block/arcconf/metadata.xml
index ebc6102883f7..18b8c5cf1f76 100644
--- a/sys-block/arcconf/metadata.xml
+++ b/sys-block/arcconf/metadata.xml
@@ -2,10 +2,6 @@
<!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>
</maintainer>