diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-01-10 21:59:01 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-01-10 21:59:01 +0000 |
commit | a2e3b46cda962442874567ecf7252c6b16897fc6 (patch) | |
tree | 21c43a2c9e3682904d6ffd6a855b8b5fad519bba /sys-apps/raidutils | |
parent | stable on amd64 (Manifest recommit) (diff) | |
download | gentoo-2-a2e3b46cda962442874567ecf7252c6b16897fc6.tar.gz gentoo-2-a2e3b46cda962442874567ecf7252c6b16897fc6.tar.bz2 gentoo-2-a2e3b46cda962442874567ecf7252c6b16897fc6.zip |
added raidutils to portage
Diffstat (limited to 'sys-apps/raidutils')
-rw-r--r-- | sys-apps/raidutils/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/raidutils/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/raidutils/files/digest-raidutils-0.0.5 | 1 | ||||
-rw-r--r-- | sys-apps/raidutils/files/raidutils-0.0.5-i2octl-fixpath.patch | 36 | ||||
-rw-r--r-- | sys-apps/raidutils/metadata.xml | 14 | ||||
-rw-r--r-- | sys-apps/raidutils/raidutils-0.0.5.ebuild | 34 |
6 files changed, 99 insertions, 0 deletions
diff --git a/sys-apps/raidutils/ChangeLog b/sys-apps/raidutils/ChangeLog new file mode 100644 index 000000000000..0a03fe991500 --- /dev/null +++ b/sys-apps/raidutils/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/raidutils +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/raidutils/ChangeLog,v 1.1 2005/01/10 21:59:01 xmerlin Exp $ + +*raidutils-0.0.5 (10 Jan 2005) + + 10 Jan 2005; Christian Zoffoli <xmerlin@gentoo.org> +metadata.xml, + +raidutils-0.0.5.ebuild, raidutils-0.0.5-i2octl-fixpath.patch: + added to portage, fixed i2octl path /dev/i2o/ctl -> /dev/i2octl + diff --git a/sys-apps/raidutils/Manifest b/sys-apps/raidutils/Manifest new file mode 100644 index 000000000000..f045ec9d1fbd --- /dev/null +++ b/sys-apps/raidutils/Manifest @@ -0,0 +1,4 @@ +MD5 6b2a95b826d212207a259717f1c7c6e2 metadata.xml 643 +MD5 4daf0a98b5b13944940e93bb8ce9e971 raidutils-0.0.5.ebuild 652 +MD5 4099a4c6960a610930541d55d9bb4e5d files/raidutils-0.0.5-i2octl-fixpath.patch 1597 +MD5 2e881a5176df7cf66a9c291521480d9b files/digest-raidutils-0.0.5 68 diff --git a/sys-apps/raidutils/files/digest-raidutils-0.0.5 b/sys-apps/raidutils/files/digest-raidutils-0.0.5 new file mode 100644 index 000000000000..19eb5075322a --- /dev/null +++ b/sys-apps/raidutils/files/digest-raidutils-0.0.5 @@ -0,0 +1 @@ +MD5 dad485c458727a9197b3af950b02e3e6 raidutils-0.0.5.tar.bz2 933250 diff --git a/sys-apps/raidutils/files/raidutils-0.0.5-i2octl-fixpath.patch b/sys-apps/raidutils/files/raidutils-0.0.5-i2octl-fixpath.patch new file mode 100644 index 000000000000..799ef0a9fa7d --- /dev/null +++ b/sys-apps/raidutils/files/raidutils-0.0.5-i2octl-fixpath.patch @@ -0,0 +1,36 @@ +--- raidutils-0.0.5/raideng/osd_unix.cpp.chris 2005-01-04 03:09:59.848442592 +0100 ++++ raidutils-0.0.5/raideng/osd_unix.cpp 2005-01-04 03:10:41.000000000 +0100 +@@ -1232,7 +1232,7 @@ + #elif defined (_DPT_SCO) || defined (SNI_MIPS) || defined(_DPT_SOLARIS) || defined(_DPT_BSDI) || defined(_DPT_FREE_BSD) || defined(_DPT_LINUX) + + #if defined(_DPT_LINUX_I2O) +- if(strcmp(HbaDevs[HbaNum].NodeName, "/dev/i2o/ctl")) ++ if(strcmp(HbaDevs[HbaNum].NodeName, "/dev/i2octl")) + i = ioctl(FileID,I2OUSRCMD,IoctlBuffer_P); + else { + struct i2o_cmd_passthru pt; +@@ -2144,7 +2144,7 @@ + i = 0; + } + #elif defined(_DPT_LINUX_I2O) +- if(strcmp(HbaDevs[Count].NodeName, "/dev/i2o/ctl")) ++ if(strcmp(HbaDevs[Count].NodeName, "/dev/i2octl")) + i = osdSendIoctl(&HbaDevs[Count],DPT_CTRLINFO,DataBuff,&pkt); + else { + /* +@@ -3745,13 +3745,13 @@ + # if (defined(_DPT_LINUX_I2O)) + memset(&pkt, 0, sizeof(EATA_CP)); + HbaDevs[NumEntries].Flags = 0; +- strcpy(HbaDevs[NumEntries].NodeName, "/dev/i2o/ctl"); ++ strcpy(HbaDevs[NumEntries].NodeName, "/dev/i2octl"); + IoctlRtn = osdSendIoctl(&HbaDevs[NumEntries], I2OGETIOPS, (uCHAR *)&NumEntries, &pkt); + if(!IoctlRtn) { + for(i = 0; i < NumEntries; i ++) { + HbaDevs[i].Flags = NODE_FILE_VALID_HBA_B | NODE_FILE_I2O_HBA_B; + HbaDevs[i].IoAddress = UINTPTR_MAX; +- strcpy(HbaDevs[i].NodeName, "/dev/i2o/ctl"); ++ strcpy(HbaDevs[i].NodeName, "/dev/i2octl"); + } + } + # endif diff --git a/sys-apps/raidutils/metadata.xml b/sys-apps/raidutils/metadata.xml new file mode 100644 index 000000000000..ae054c6163df --- /dev/null +++ b/sys-apps/raidutils/metadata.xml @@ -0,0 +1,14 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>xmerlin@gentoo.org</email> + <name>Christian Zoffoli</name> + </maintainer> + <longdescription> + Suite of programs to manage some I2O-compliant RAID controllers; in particular some Adaptec hardware; to be very specific those using the + dpt_i2o kernel module or CONFIG_SCSI_DPT_I2O driver. One can create/delete a RAID array, add/remove a hot spare drive to/from an array, + activate/silence the alarm, and query array/disk status. + </longdescription> +</pkgmetadata> diff --git a/sys-apps/raidutils/raidutils-0.0.5.ebuild b/sys-apps/raidutils/raidutils-0.0.5.ebuild new file mode 100644 index 000000000000..7815041e8a9d --- /dev/null +++ b/sys-apps/raidutils/raidutils-0.0.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/raidutils/raidutils-0.0.5.ebuild,v 1.1 2005/01/10 21:59:01 xmerlin Exp $ + +inherit eutils + +DESCRIPTION="Utilities to manage i2o/dtp RAID controllers." +SRC_URI="http://i2o.shadowconnect.com/raidutils/${P}.tar.bz2" +HOMEPAGE="http://i2o.shadowconnect.com/" + +KEYWORDS="~x86" +IUSE="" + +SLOT="0" +LICENSE="Adaptec" + +DEPEND="sys-kernel/linux26-headers" +RDEPEND="" + +src_unpack () { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/raidutils-0.0.5-i2octl-fixpath.patch || die +} + +src_compile() { + econf || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc NEWS INSTALL AUTHORS COPYING ChangeLog +} |