summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-05-24 07:29:46 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-05-24 07:29:46 +0000
commit6e9624d4b09471382cbec6c381f93fa864356529 (patch)
treeda97307ffa7e698ebbe2b697c93641307a22ca11 /sys-block/scsirastools
parentAdded shutdown hook to check if there are hanging long running noad process a... (diff)
downloadgentoo-2-6e9624d4b09471382cbec6c381f93fa864356529.tar.gz
gentoo-2-6e9624d4b09471382cbec6c381f93fa864356529.tar.bz2
gentoo-2-6e9624d4b09471382cbec6c381f93fa864356529.zip
Version bump.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-block/scsirastools')
-rw-r--r--sys-block/scsirastools/ChangeLog8
-rw-r--r--sys-block/scsirastools/files/digest-scsirastools-1.5.43
-rw-r--r--sys-block/scsirastools/scsirastools-1.5.4.ebuild62
3 files changed, 72 insertions, 1 deletions
diff --git a/sys-block/scsirastools/ChangeLog b/sys-block/scsirastools/ChangeLog
index cf3df42b7c75..f7b2bc1454cb 100644
--- a/sys-block/scsirastools/ChangeLog
+++ b/sys-block/scsirastools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/scsirastools
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/scsirastools/ChangeLog,v 1.4 2007/02/22 01:00:26 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/scsirastools/ChangeLog,v 1.5 2007/05/24 07:29:46 robbat2 Exp $
+
+*scsirastools-1.5.4 (24 May 2007)
+
+ 24 May 2007; Robin H. Johnson <robbat2@gentoo.org>
+ +scsirastools-1.5.4.ebuild:
+ Version bump.
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/sys-block/scsirastools/files/digest-scsirastools-1.5.4 b/sys-block/scsirastools/files/digest-scsirastools-1.5.4
new file mode 100644
index 000000000000..0faef5c4e43e
--- /dev/null
+++ b/sys-block/scsirastools/files/digest-scsirastools-1.5.4
@@ -0,0 +1,3 @@
+MD5 9620e38be62e7d381d63fd0b2b0f16c1 scsirastools-1.5.4.tar.gz 632340
+RMD160 6e3d797b4c0d3274108ce65e3aa60f2f4da559e5 scsirastools-1.5.4.tar.gz 632340
+SHA256 d22c4917d8d2277710ea6bd4742874a62fc5666154ee6715966216daa865297c scsirastools-1.5.4.tar.gz 632340
diff --git a/sys-block/scsirastools/scsirastools-1.5.4.ebuild b/sys-block/scsirastools/scsirastools-1.5.4.ebuild
new file mode 100644
index 000000000000..c2b4729ed7fb
--- /dev/null
+++ b/sys-block/scsirastools/scsirastools-1.5.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/scsirastools/scsirastools-1.5.4.ebuild,v 1.1 2007/05/24 07:29:46 robbat2 Exp $
+
+inherit autotools
+
+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="~x86 ~ppc ~amd64"
+IUSE=""
+DEPEND="virtual/libc
+ sys-apps/rescan-scsi-bus
+ sys-apps/sg3_utils"
+#RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ # this builds a really old mdadm
+ sed -i.orig \
+ -e '/^SUBDIRS/s,mdadm.d,,' \
+ -e '/^SUBDIRS/s,files,,' \
+ ${S}/Makefile.am || die "sed Makefile.am failed"
+ cd ${S}
+ eautoreconf
+ # i386 ELF binaries in tarball = bad
+ rm -f ${S}/files/alarms*
+
+ # 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_compile() {
+ econf --sbindir=/usr/sbin \
+ || die "econf failed"
+ emake \
+ || die "emake failed"
+}
+
+src_install() {
+ into /usr
+ docdir="/usr/share/doc/${PF}/"
+ emake install DESTDIR="${D}" datato="${D}${docdir}" \
+ || "emake install failed"
+ dosbin files/sgevt
+ dosbin files/mdevt
+ # unneeded files
+ rm ${D}${docdir}/{SCSIRAS,COPYING}
+ # install modepage files
+ insinto /usr/share/${PN}
+ doins files/*.mdf
+ # new docs
+ dodoc ChangeLog AUTHORS TODO
+ # ensure that other docs from the emake install are compressed too.
+ prepalldocs
+}