diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2008-02-07 19:48:22 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2008-02-07 19:48:22 +0000 |
commit | 5c81ce343bf59d256aa9ea16f594349262b0ed8d (patch) | |
tree | 4e633574b2e5f9029deda746ab69e7a89591b90d /sys-block | |
parent | version bump (diff) | |
download | gentoo-2-5c81ce343bf59d256aa9ea16f594349262b0ed8d.tar.gz gentoo-2-5c81ce343bf59d256aa9ea16f594349262b0ed8d.tar.bz2 gentoo-2-5c81ce343bf59d256aa9ea16f594349262b0ed8d.zip |
initial import
(Portage version: 2.1.4)
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/dellmgr/ChangeLog | 10 | ||||
-rw-r--r-- | sys-block/dellmgr/Manifest | 5 | ||||
-rw-r--r-- | sys-block/dellmgr/dellmgr-5.31.ebuild | 35 | ||||
-rw-r--r-- | sys-block/dellmgr/files/dellmgr | 14 | ||||
-rw-r--r-- | sys-block/dellmgr/metadata.xml | 10 |
5 files changed, 74 insertions, 0 deletions
diff --git a/sys-block/dellmgr/ChangeLog b/sys-block/dellmgr/ChangeLog new file mode 100644 index 000000000000..25cd7fa5d50a --- /dev/null +++ b/sys-block/dellmgr/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-block/dellmgr +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/dellmgr/ChangeLog,v 1.1 2008/02/07 19:48:22 wschlich Exp $ + +*dellmgr-5.31 (07 Feb 2008) + + 07 Feb 2008; Wolfram Schlich <wschlich@gentoo.org> +files/dellmgr, + +dellmgr-5.31.ebuild: + initial import + diff --git a/sys-block/dellmgr/Manifest b/sys-block/dellmgr/Manifest new file mode 100644 index 000000000000..ef50133de324 --- /dev/null +++ b/sys-block/dellmgr/Manifest @@ -0,0 +1,5 @@ +AUX dellmgr 371 RMD160 12f9b5c08acb41b0d229e2e8a6fbf76689252262 SHA1 8c9e92b6f2b1d3bc0353afb97965e21602b25967 SHA256 2a1cc0fb5a116b44bb6d613726585a152d4f90113724dc7933a30e8268bc0796 +DIST perc-cerc-apps-6.03-A06.tar.gz 860474 RMD160 fd4ac34992195e23c0e9f0e728fc928dec69d48e SHA1 5c623be885690e44260ede13915f358669a32fea SHA256 695c0962cf803ce3dd0f94ccd6e692d7c87fd653307dc884ba6eb3d3c8190bc8 +EBUILD dellmgr-5.31.ebuild 765 RMD160 aec04bc8ed20be15f0be8ec91ec1b9af8f9e6486 SHA1 e00751b9d68fb9cfede407673a234c1f89934f18 SHA256 cd0fd1f288348a27ac93bb6cc4ed6305a9ac78f90bdd4afa8cd53e76efc0f1db +MISC ChangeLog 258 RMD160 4745cd0b010d5f365a51fd621134f31a93d34c53 SHA1 4af202a4789be7f07b9aa2376bd568c83ca5b240 SHA256 8695626f7fe7896eb0ec94fcec8065e4c68543847d8616479fd19695e3f9bd88 +MISC metadata.xml 300 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e SHA1 33c5efd31a8aa789118535b921e211ffb5023ac3 SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43 diff --git a/sys-block/dellmgr/dellmgr-5.31.ebuild b/sys-block/dellmgr/dellmgr-5.31.ebuild new file mode 100644 index 000000000000..3c738ac61eb5 --- /dev/null +++ b/sys-block/dellmgr/dellmgr-5.31.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/dellmgr/dellmgr-5.31.ebuild,v 1.1 2008/02/07 19:48:22 wschlich Exp $ + +inherit rpm + +MY_PV=${PV}-0 +DESCRIPTION="Dell PERC 2/3/4 RAID controller management tool" +HOMEPAGE="http://linux.dell.com/" +SRC_URI="http://ftp.us.dell.com/ide/perc-cerc-apps-6.03-A06.tar.gz" + +LICENSE="Dell" +SLOT="0" +# This package can never enter stable, it can't be mirrored and upstream +# can remove the distfiles from their mirror anytime. +KEYWORDS="~x86" +IUSE="" + +RESTRICT="strip mirror test" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + rpm_unpack "${S}"/Dellmgr-${MY_PV}.i386.rpm || die "failed to unpack RPM" +} + +src_compile() { + echo "Nothing to compile." +} + +src_install() { + dosbin "${FILESDIR}"/dellmgr + dosbin usr/sbin/dellmgr.bin +} diff --git a/sys-block/dellmgr/files/dellmgr b/sys-block/dellmgr/files/dellmgr new file mode 100644 index 000000000000..b07d16d7a8ad --- /dev/null +++ b/sys-block/dellmgr/files/dellmgr @@ -0,0 +1,14 @@ +#!/bin/bash +# Get the major number of the megadev ioctl node +set -- $(grep megadev /proc/devices) +major=${1} +set -- +if [[ -z ${major} ]]; then + echo "ERROR: failed to find megadev device in /proc/devices" + exit 1 +fi +# Remove device node if it already exists, just to be sure +test -e /dev/megadev0 && rm -f /dev/megadev0 +mknod /dev/megadev0 c ${major} 0 +dellmgr.bin +clear diff --git a/sys-block/dellmgr/metadata.xml b/sys-block/dellmgr/metadata.xml new file mode 100644 index 000000000000..a7162e9b7104 --- /dev/null +++ b/sys-block/dellmgr/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>wschlich@gentoo.org</email> + <name>Wolfram Schlich</name> + <description>Primary maintainer</description> +</maintainer> +</pkgmetadata> |