diff options
author | David Seifert <soap@gentoo.org> | 2017-12-02 16:21:05 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-12-02 17:14:50 +0100 |
commit | fcbbb5080644ef5ae77e5ba57c495a6d95beb461 (patch) | |
tree | 6832e5efe1b37cb8d50906dbc174f52a57c1d37e /sys-apps/arrayprobe | |
parent | sys-apps/superiotool: Port to EAPI 6 (diff) | |
download | gentoo-fcbbb5080644ef5ae77e5ba57c495a6d95beb461.tar.gz gentoo-fcbbb5080644ef5ae77e5ba57c495a6d95beb461.tar.bz2 gentoo-fcbbb5080644ef5ae77e5ba57c495a6d95beb461.zip |
sys-apps/arrayprobe: Port to EAPI 6
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-apps/arrayprobe')
-rw-r--r-- | sys-apps/arrayprobe/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild | 14 | ||||
-rw-r--r-- | sys-apps/arrayprobe/files/2.0-ida_headers.patch | 30 | ||||
-rw-r--r-- | sys-apps/arrayprobe/files/2.0-malloc-strlen.patch | 4 |
4 files changed, 24 insertions, 26 deletions
diff --git a/sys-apps/arrayprobe/Manifest b/sys-apps/arrayprobe/Manifest index f5eec1d05631..b514c97f48f3 100644 --- a/sys-apps/arrayprobe/Manifest +++ b/sys-apps/arrayprobe/Manifest @@ -1 +1 @@ -DIST arrayprobe-2.0.tar.gz 83831 SHA256 ccb560b5c7e8b378d110cad6e9245884e7e673acfa3c4016ef33acd699f1f4d0 SHA512 4664e20604697edf2f848447419b26ff860dd302b3d3e5aa0f3977855c590b5acbe23c39b684a2ecb1603c86cf7762e86bfc7125421ccad7f322e387c4178870 WHIRLPOOL 56eec2322f806f25e411614e12e9c584208202203f6d070846c73d04c0b379103ad2c45d3a6638a8cf6d66ea51173fbf0dcd91af3b01702a39848bb8a503cd34 +DIST arrayprobe-2.0.tar.gz 83831 BLAKE2B 6a9b76260c91b271068be914161bd99c4ce2285c58ce98c689f6bef32200701430bb65306e74a1d9277d7a4d9e4aa0adf4af60af0c4264020ae07a73f49a51de SHA512 4664e20604697edf2f848447419b26ff860dd302b3d3e5aa0f3977855c590b5acbe23c39b684a2ecb1603c86cf7762e86bfc7125421ccad7f322e387c4178870 diff --git a/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild b/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild index 98fae16e7682..5f961969810b 100644 --- a/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild +++ b/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=6 -inherit eutils autotools +inherit autotools DESCRIPTION="Utility to report status of an HP (Compaq) array controller (both IDA & CCISS)" HOMEPAGE="http://www.strocamp.net/opensource/arrayprobe.php" @@ -14,8 +14,12 @@ SLOT="0" KEYWORDS="amd64 ~ia64 x86" IUSE="" +PATCHES=( + "${FILESDIR}/${PV}-malloc-strlen.patch" + "${FILESDIR}/${PV}-ida_headers.patch" +) + src_prepare() { - epatch "${FILESDIR}/${PV}-malloc-strlen.patch" - epatch "${FILESDIR}/${PV}-ida_headers.patch" + default eautoreconf } diff --git a/sys-apps/arrayprobe/files/2.0-ida_headers.patch b/sys-apps/arrayprobe/files/2.0-ida_headers.patch index fbdb20b87ea6..3cd744b32a33 100644 --- a/sys-apps/arrayprobe/files/2.0-ida_headers.patch +++ b/sys-apps/arrayprobe/files/2.0-ida_headers.patch @@ -1,6 +1,5 @@ -diff -Naur arrayprobe-2.0.old/cciss_events.h arrayprobe-2.0/cciss_events.h ---- arrayprobe-2.0.old/cciss_events.h 2005-12-27 10:51:29.000000000 +0100 -+++ arrayprobe-2.0/cciss_events.h 2010-01-13 15:46:53.000000000 +0100 +--- a/cciss_events.h ++++ b/cciss_events.h @@ -27,8 +27,12 @@ #define QWORD __u64 @@ -14,9 +13,8 @@ diff -Naur arrayprobe-2.0.old/cciss_events.h arrayprobe-2.0/cciss_events.h #define CompareEvent(event,par_class,par_subclass,par_detail) \ ((event.class.class==par_class) && \ -diff -Naur arrayprobe-2.0.old/configure.ac arrayprobe-2.0/configure.ac ---- arrayprobe-2.0.old/configure.ac 2006-01-03 13:58:31.000000000 +0100 -+++ arrayprobe-2.0/configure.ac 2010-01-13 15:42:49.000000000 +0100 +--- a/configure.ac ++++ b/configure.ac @@ -19,38 +19,6 @@ dnl Check for compile.h (2.6.x kernels only? AC_CHECK_HEADERS(linux/compiler.h) @@ -56,9 +54,8 @@ diff -Naur arrayprobe-2.0.old/configure.ac arrayprobe-2.0/configure.ac # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST -diff -Naur arrayprobe-2.0.old/cpqarray.h arrayprobe-2.0/cpqarray.h ---- arrayprobe-2.0.old/cpqarray.h 1970-01-01 01:00:00.000000000 +0100 -+++ arrayprobe-2.0/cpqarray.h 2010-01-13 15:40:11.000000000 +0100 +--- a/cpqarray.h ++++ b/cpqarray.h @@ -0,0 +1,126 @@ +/* + * Disk Array driver for Compaq SMART2 Controllers @@ -186,9 +183,8 @@ diff -Naur arrayprobe-2.0.old/cpqarray.h arrayprobe-2.0/cpqarray.h +#endif + +#endif /* CPQARRAY_H */ -diff -Naur arrayprobe-2.0.old/ida_cmd.h arrayprobe-2.0/ida_cmd.h ---- arrayprobe-2.0.old/ida_cmd.h 1970-01-01 01:00:00.000000000 +0100 -+++ arrayprobe-2.0/ida_cmd.h 2010-01-13 15:40:29.000000000 +0100 +--- a/ida_cmd.h ++++ b/ida_cmd.h @@ -0,0 +1,349 @@ +/* + * Disk Array driver for Compaq SMART2 Controllers @@ -539,9 +535,8 @@ diff -Naur arrayprobe-2.0.old/ida_cmd.h arrayprobe-2.0/ida_cmd.h +#pragma pack() + +#endif /* ARRAYCMD_H */ -diff -Naur arrayprobe-2.0.old/ida_ioctl.h arrayprobe-2.0/ida_ioctl.h ---- arrayprobe-2.0.old/ida_ioctl.h 1970-01-01 01:00:00.000000000 +0100 -+++ arrayprobe-2.0/ida_ioctl.h 2010-01-13 15:44:46.000000000 +0100 +--- a/ida_ioctl.h ++++ b/ida_ioctl.h @@ -0,0 +1,87 @@ +/* + * Disk Array driver for Compaq SMART2 Controllers @@ -630,9 +625,8 @@ diff -Naur arrayprobe-2.0.old/ida_ioctl.h arrayprobe-2.0/ida_ioctl.h +} ida_ioctl_t; + +#endif /* IDA_IOCTL_H */ -diff -Naur arrayprobe-2.0.old/probe.c arrayprobe-2.0/probe.c ---- arrayprobe-2.0.old/probe.c 2006-01-03 14:11:17.000000000 +0100 -+++ arrayprobe-2.0/probe.c 2010-01-13 15:45:22.000000000 +0100 +--- a/probe.c ++++ b/probe.c @@ -33,10 +33,9 @@ #include <getopt.h> #include <errno.h> diff --git a/sys-apps/arrayprobe/files/2.0-malloc-strlen.patch b/sys-apps/arrayprobe/files/2.0-malloc-strlen.patch index 8d955a8f933d..2732f75b939a 100644 --- a/sys-apps/arrayprobe/files/2.0-malloc-strlen.patch +++ b/sys-apps/arrayprobe/files/2.0-malloc-strlen.patch @@ -1,5 +1,5 @@ ---- probe.c.old 2010-01-13 12:15:32.000000000 +0100 -+++ probe.c 2010-01-13 12:16:44.000000000 +0100 +--- a/probe.c ++++ b/probe.c @@ -354,7 +354,7 @@ int drivenum = event.detail.logstatchange.logicaldrivenumber; logdrvs[drivenum].state.state = event.detail.logstatchange.newlogicaldrivestate; |