mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
sys-block/scsirastools: version bump to 1.6.4
This commit is contained in:
@@ -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
|
||||
|
||||
54
sys-block/scsirastools/scsirastools-1.6.4.ebuild
Normal file
54
sys-block/scsirastools/scsirastools-1.6.4.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user