diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-04-21 01:05:46 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-04-21 01:05:46 -0400 |
commit | ea2d5d90a9274dfc3bb1d496c4b95b1616c7864a (patch) | |
tree | c3048211201f2421029abcfc19e236f976812d17 /sys-block | |
parent | sys-block/scsirastools: fix build w/newer glibc #580214 (diff) | |
download | gentoo-ea2d5d90a9274dfc3bb1d496c4b95b1616c7864a.tar.gz gentoo-ea2d5d90a9274dfc3bb1d496c4b95b1616c7864a.tar.bz2 gentoo-ea2d5d90a9274dfc3bb1d496c4b95b1616c7864a.zip |
sys-block/scsirastools: version bump to 1.6.4
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/scsirastools/Manifest | 1 | ||||
-rw-r--r-- | sys-block/scsirastools/scsirastools-1.6.4.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-block/scsirastools/Manifest b/sys-block/scsirastools/Manifest index e11a78ce7bea..21db02fc2407 100644 --- a/sys-block/scsirastools/Manifest +++ b/sys-block/scsirastools/Manifest @@ -1 +1,2 @@ DIST scsirastools-1.5.7.tar.gz 677348 SHA256 0b53e731cb03b4200e5f46b5e79b20e329939c276d65b15835ceba0a1fd4055a SHA512 399d366216b5f24ef67086b2e5713a259435293219e22166530a6b92a45519b677bd980906691d2166f1fa6b6ee873568b143df32cfed6a5500066ea914b12f2 WHIRLPOOL 88840d03acfe07bad26b4468fc7342379146793f79b704487e4d4a03e25eaec37772c21705e0510fd3112d1335ff7618bc3130ac01ecb89ce96a76db63fb6d4f +DIST scsirastools-1.6.4.tar.gz 659203 SHA256 38d2c6c9b04a2c594e528927b950754f94c0522718d17c78e6589ba778339bf8 SHA512 a0331557eb9c535b3bf33a95994d957505873bc1b39ee240846161a79d7e1f7ed494b23678e23931e917014cf7ebb6a0dd81e5f62089db06e03cf138db06a0fa WHIRLPOOL 4d03d6a40e2b65bc6df9e8e609aa3036a03f2e66162142d5570f6990e49a6a4bbda3b1bbca311ab59bb0bdcdff1475d92ba89a0b91806cb7093bac39a7b762c7 diff --git a/sys-block/scsirastools/scsirastools-1.6.4.ebuild b/sys-block/scsirastools/scsirastools-1.6.4.ebuild new file mode 100644 index 000000000000..5fe89852ad68 --- /dev/null +++ b/sys-block/scsirastools/scsirastools-1.6.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools eutils + +DESCRIPTION="Serviceability for SCSI Disks and Arrays" +HOMEPAGE="http://scsirastools.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="sys-apps/rescan-scsi-bus + sys-apps/sg3_utils" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.5.7-sysmacros.patch #580214 + # this builds a really old mdadm + sed -i \ + -e '/RPMB/d' \ + -e '/^SUBDIRS/s,mdadm.d,,' \ + -e '/^SUBDIRS/s,files,,' \ + Makefile.am || die "sed Makefile.am failed" + eautoreconf + # i386 ELF binaries in tarball = bad + rm "${S}"/files/ialarms* || die + + # Fix up /sbin instances to be /usr/sbin instead + for i in src/sgraidmon.c src/sgdiskmon.c ; do + sed -i "${S}"/${i} \ + -e '/evtcmd\[\].*\"\/sbin\//s,/sbin/,/usr/sbin/,' \ + || die "Failed to set /sbin in sources" + done +} + +src_configure() { + econf --sbindir=/usr/sbin +} + +src_install() { + local docdir="/usr/share/doc/${PF}" + emake install DESTDIR="${D}" datato="${ED}${docdir}" + dosbin files/sgevt files/mdevt + rm -f "${ED}${docdir}"/{SCSIRAS,COPYING} + # install modepage files + insinto /usr/share/${PN} + doins files/*.mdf + dodoc ChangeLog AUTHORS TODO +} |