summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2008-02-07 19:48:22 +0000
committerWolfram Schlich <wschlich@gentoo.org>2008-02-07 19:48:22 +0000
commit43427177bc74b978589f629ea636a59052707e94 (patch)
tree96f1a4c9314246a746fabf1eb7b03b27a820d2bf /sys-block
parentversion bump (diff)
downloadhistorical-43427177bc74b978589f629ea636a59052707e94.tar.gz
historical-43427177bc74b978589f629ea636a59052707e94.tar.bz2
historical-43427177bc74b978589f629ea636a59052707e94.zip
initial import
Package-Manager: portage-2.1.4
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/dellmgr/ChangeLog10
-rw-r--r--sys-block/dellmgr/Manifest5
-rw-r--r--sys-block/dellmgr/dellmgr-5.31.ebuild35
-rw-r--r--sys-block/dellmgr/files/dellmgr14
-rw-r--r--sys-block/dellmgr/metadata.xml10
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..e1836ececdd2
--- /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 866 RMD160 0b44759dfeaea59aa0060c0cf7ee08851b5fbbfe SHA1 7f91023bdeeaa3c236de42a4c1c288779cf614e8 SHA256 4220eb483bb84f58fdaa56e892bbb5934c1dd5edd89a89dc89dc1c1dcd3d205f
+MISC ChangeLog 349 RMD160 2bb3d45b64cb6e352316220893278b14f715c4b9 SHA1 6e54f2e669b97bc6cc5a5f80c745c38633f024a3 SHA256 40a85f080afdaae1d4b9738f506f2ebe8ad1317ecb6f9eb616e0d4077c64f659
+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>