|
Lines 1-7
Link Here
|
| 1 |
# Copyright 1999-2015 Gentoo Foundation |
1 |
# Copyright 1999-2017 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
|
|
3 |
# $Id$ |
| 3 |
|
4 |
|
| 4 |
EAPI=5 |
5 |
EAPI=6 |
|
|
6 |
|
| 7 |
inherit linux-info |
| 5 |
|
8 |
|
| 6 |
DESCRIPTION="Adaptec RAID Controller Command Line Utility" |
9 |
DESCRIPTION="Adaptec RAID Controller Command Line Utility" |
| 7 |
HOMEPAGE="http://www.adaptec.com/en-us/downloads/" |
10 |
HOMEPAGE="http://www.adaptec.com/en-us/downloads/" |
|
Lines 40-51
Link Here
|
| 40 |
|
43 |
|
| 41 |
# Maintainer notes: |
44 |
# Maintainer notes: |
| 42 |
# * FreeBSD binaries would be available for FreeBSD 7..9, which ones do we need? |
45 |
# * FreeBSD binaries would be available for FreeBSD 7..9, which ones do we need? |
|
|
46 |
|
| 47 |
# CONFIG_HARDENED_USERCOPY_PAGESPAN makes ARCCONF segault |
| 48 |
pkg_setup() { |
| 49 |
if linux-info_get_any_version && linux_config_src_exists ; then |
| 50 |
CONFIG_CHECK="!HARDENED_USERCOPY_PAGESPAN" |
| 51 |
check_extra_config |
| 52 |
fi |
| 53 |
} |
| 54 |
|
| 43 |
src_install() { |
55 |
src_install() { |
| 44 |
exeinto /opt/bin |
56 |
exeinto /opt/bin |
| 45 |
|
57 |
|
| 46 |
if use amd64 ; then |
58 |
if use amd64 ; then |
| 47 |
doexe linux_x64/cmdline/arcconf |
59 |
doexe linux_x64/cmdline/arcconf |
| 48 |
else |
60 |
else |
| 49 |
doexe linux_x86/cmdline/arcconf |
61 |
doexe linux/cmdline/arcconf |
| 50 |
fi |
62 |
fi |
| 51 |
} |
63 |
} |