From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-apps/raidutils/Manifest | 7 ++++ .../raidutils/files/raidutils-0.0.6-gcc45.patch | 14 ++++++++ sys-apps/raidutils/metadata.xml | 12 +++++++ sys-apps/raidutils/raidutils-0.0.6-r2.ebuild | 40 ++++++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 sys-apps/raidutils/Manifest create mode 100644 sys-apps/raidutils/files/raidutils-0.0.6-gcc45.patch create mode 100644 sys-apps/raidutils/metadata.xml create mode 100644 sys-apps/raidutils/raidutils-0.0.6-r2.ebuild (limited to 'sys-apps/raidutils') diff --git a/sys-apps/raidutils/Manifest b/sys-apps/raidutils/Manifest new file mode 100644 index 000000000000..88aaa38f8dd2 --- /dev/null +++ b/sys-apps/raidutils/Manifest @@ -0,0 +1,7 @@ +AUX raidutils-0.0.6-gcc45.patch 300 SHA256 b840a8cd023517902637a103ae6f28481c473a8f773138abd896ecd8afa37958 SHA512 a6074f7b70d536232f6b78fb39e886fd28b8c189c3827a491a664339fa9e8d47e72e3ab9f712216539692894ed21f5683b3b9d9e4ebedc132057018c148887bf WHIRLPOOL dbccf42039d8018e813ca07b0a6cb157412f23e14214343ff56d46d5c7937feccd258d75d0ba046d43aefd297ae7d542ab0acf3ad5762a135f583698d1ebb64c +DIST raidutils-0.0.6.tar.bz2 968898 SHA256 ac350f60b9635d952a7a5664effa59e418ada9ad3deba66d46e6e0a094966d65 SHA512 8d6fc74a4fc20188a00b3ea8b91048ee9108bb772efd4b1e5d141f4d674cbb9a04a76f9a414f4ae74d09d58d672e2f7aa8c1476715bf5aa94c3ec7eeb105f892 WHIRLPOOL 43dae37e8bb956bc1235397b9c7e5088edde379042f962bbdc2528007192595a1f8aaab1d88d36cff45332ae48b199c3bf2cbc238a1c3932511b4c4d159d0873 +DIST raidutils-rpm.patch.bz2 6809 SHA256 adf851e55aac1a0acf7fd47dac36bbf76396154fa6f52fb98615473139d77651 SHA512 3d0f9e4b3722e26de835dedf86e00f2f7b56a885d5ac677bc1f0fc5009f5bafaf4c3ce67ae6abf1007973edb9273acea97e40e4d5bd3244d097c60c4c39b0f91 WHIRLPOOL 0d34038e4f0f5980782af6d37deed6ef19a1ec5c6d32fd9788760400ba528fe229775436f43930f85bbf3e261e15466fe61bb17d38346312b51bfff7be6fd420 +EBUILD raidutils-0.0.6-r2.ebuild 853 SHA256 985465ec0baf86d9fa32e675f552788179e7bf00355c31c694f95a21a901e980 SHA512 1cbf62f5d0e1dca686b9bab71e48abb867d03e4f96d160d3eecb914fc22fab47facd78f019ae7acd056b690b27b1cd7b958b1a8c9f8bf1af0a7ade8bb40e9de2 WHIRLPOOL 161e2e782e17b07d206a244c830952c1236714d3b2c58e7b610421bf1491c68e1191e3c1d0b51a663b47b7edfec8f3065aa2a9253888738ba66306635a8664de +MISC ChangeLog 2965 SHA256 9060cd37a4810748d58fb1bb6783bbaa8bd529875ffefb6ee011fae5880e5a58 SHA512 29ba3b6eef172ebf9ac9d589180a57155d0b3e5f52d1d39d1fce18a2c64294bb45ea88f1d441222a712a5d89c1196e906ac866e6251d097b31d83adea5ed12e4 WHIRLPOOL 0af679ca9add9fd8bc0b40533205be7b44ce85b172f6c508ceec4b9da7f0cc9f55c9bec66ba6cf33ec099a8adf66026edea83e07897065c09af3260706ec2d77 +MISC ChangeLog-2015 2719 SHA256 b3c3078d2d5a0d861a2ba34a56b0a3a2c5756f6cecf6cd30ab2117988a821dc6 SHA512 96e36055660fd1ab3bb2019a83b15c960912eee5e85b086a45ffe1edd2f2f1f0d9e303998a2a950bdacac01e7190866c6a91d743272351d0bee6a616e9af05c7 WHIRLPOOL 6d88319f533a487bb09380a1dfd71e0a6b4010dc6a088e2a4a5586b088ee2c6d573821370c3f48c13a349824d0d52d59ca255bc217480729bd8f7e97c1b8e25c +MISC metadata.xml 560 SHA256 e9bd889267f188317a886ddcca0035fa980e2592846c7982ee480c13f7c743c0 SHA512 2071cb86949806ec07a26ec136b2b6107e12534d0b2f01a98bc011bbe82147d051fbed47f29d32b653a639ae7e85362647b4af0f7db170e07464d6575c56db2a WHIRLPOOL b2d09e03d5b6f1e4c48e191e99dc3d611089343e30f5628c35619f5e0277281b276f0f7e99e796829978ca2a9c4e5af102fecef8e8391cf8b18b1e74bf9166bc diff --git a/sys-apps/raidutils/files/raidutils-0.0.6-gcc45.patch b/sys-apps/raidutils/files/raidutils-0.0.6-gcc45.patch new file mode 100644 index 000000000000..91c52270ee40 --- /dev/null +++ b/sys-apps/raidutils/files/raidutils-0.0.6-gcc45.patch @@ -0,0 +1,14 @@ +--- raidutil/flash.cpp ++++ raidutil/flash.cpp +@@ -177,11 +177,7 @@ + { + ENTER( "Flash::Flash(" ); + +-#if defined _DPT_UNIXWARE || defined _DPT_SCO + Flash( right.source, right.Resync, right.hba_Num ); +-#else +- Flash::Flash( right.source, right.Resync, right.hba_Num ); +-#endif + + EXIT(); + } diff --git a/sys-apps/raidutils/metadata.xml b/sys-apps/raidutils/metadata.xml new file mode 100644 index 000000000000..b509cb5f1c84 --- /dev/null +++ b/sys-apps/raidutils/metadata.xml @@ -0,0 +1,12 @@ + + + + + + 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. + + diff --git a/sys-apps/raidutils/raidutils-0.0.6-r2.ebuild b/sys-apps/raidutils/raidutils-0.0.6-r2.ebuild new file mode 100644 index 000000000000..77bb29a70db8 --- /dev/null +++ b/sys-apps/raidutils/raidutils-0.0.6-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="Utilities to manage i2o/dtp RAID controllers" +HOMEPAGE="http://i2o.shadowconnect.com/" +# http://cvs.fedoraproject.org/viewvc/rpms/raidutils/devel/ +SRC_URI="http://i2o.shadowconnect.com/raidutils/${P}.tar.bz2 + mirror://gentoo/${PN}-rpm.patch.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="static-libs" + +DEPEND=">=sys-kernel/linux-headers-2.6" +RDEPEND="" + +src_prepare() { + epatch "${WORKDIR}"/${PN}-rpm.patch \ + "${FILESDIR}"/${P}-gcc45.patch +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) +} + +src_compile() { + emake -j1 || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS + find "${D}" -name '*.la' -delete +} -- cgit v1.2.3