summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-03-25 19:06:36 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-03-25 19:06:36 +0000
commit37ad5c4a34c17b31df6eef3fb76aafafa20716e9 (patch)
tree1c1c6b0a7d055d48f350d951d8ed7a975076cd3e /sys-block/mpt-status
parentRemove old ebuilds. (diff)
downloadgentoo-2-37ad5c4a34c17b31df6eef3fb76aafafa20716e9.tar.gz
gentoo-2-37ad5c4a34c17b31df6eef3fb76aafafa20716e9.tar.bz2
gentoo-2-37ad5c4a34c17b31df6eef3fb76aafafa20716e9.zip
Initial version, requested in bug #125143.
(Portage version: 2.1_pre7)
Diffstat (limited to 'sys-block/mpt-status')
-rw-r--r--sys-block/mpt-status/ChangeLog11
-rw-r--r--sys-block/mpt-status/Manifest12
-rw-r--r--sys-block/mpt-status/files/digest-mpt-status-1.1.66
-rw-r--r--sys-block/mpt-status/files/mpt-status-1.1.6-gentoo.patch40
-rw-r--r--sys-block/mpt-status/metadata.xml8
-rw-r--r--sys-block/mpt-status/mpt-status-1.1.6.ebuild34
6 files changed, 111 insertions, 0 deletions
diff --git a/sys-block/mpt-status/ChangeLog b/sys-block/mpt-status/ChangeLog
new file mode 100644
index 000000000000..83f7887e0313
--- /dev/null
+++ b/sys-block/mpt-status/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-block/mpt-status
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/ChangeLog,v 1.1 2006/03/25 19:06:36 nelchael Exp $
+
+*mpt-status-1.1.6 (25 Mar 2006)
+
+ 25 Mar 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/mpt-status-1.1.6-gentoo.patch, +metadata.xml,
+ +mpt-status-1.1.6.ebuild:
+ Initial version, requested in bug #125143.
+
diff --git a/sys-block/mpt-status/Manifest b/sys-block/mpt-status/Manifest
new file mode 100644
index 000000000000..1cf269aa60ec
--- /dev/null
+++ b/sys-block/mpt-status/Manifest
@@ -0,0 +1,12 @@
+MD5 a0e9c4aa2011ca591f66c8d9de7d2123 files/digest-mpt-status-1.1.6 542
+RMD160 9331253faa0d26987faa8b494a7e9787d8a42f4c files/digest-mpt-status-1.1.6 542
+SHA256 da6bb95fc651b4f41f6c9eeba75f279233d1852b3921ddd384fb2e542aec40dc files/digest-mpt-status-1.1.6 542
+MD5 e8367ef85c59ab39cd4902f2d5fe812f files/mpt-status-1.1.6-gentoo.patch 1291
+RMD160 79393e7ed265909f7ffa2c06bfcdbf509c1b3583 files/mpt-status-1.1.6-gentoo.patch 1291
+SHA256 368d57381a1dc3b2132c3859e4e8ea4ae70144ee19160c897a7d352f890fe6ad files/mpt-status-1.1.6-gentoo.patch 1291
+MD5 487f400dff091bfeb6ca7d9b44ad5ce6 metadata.xml 227
+RMD160 4603991d222df002795ac3709a24e98165edd8d1 metadata.xml 227
+SHA256 ef0905299b05e713fbb019ae7ca5e3e6ebfbf32d47fdd4d803e96a3bda500f71 metadata.xml 227
+MD5 5490fa1a48c896f61e802ba6945b500d mpt-status-1.1.6.ebuild 632
+RMD160 c705718f2a3ad4310d37491d68efdd8b5b0c2e48 mpt-status-1.1.6.ebuild 632
+SHA256 983aed2e9d69106b0875971cb6e639323aba80a58a6994d30785ed1678e7cadb mpt-status-1.1.6.ebuild 632
diff --git a/sys-block/mpt-status/files/digest-mpt-status-1.1.6 b/sys-block/mpt-status/files/digest-mpt-status-1.1.6
new file mode 100644
index 000000000000..322a75deee84
--- /dev/null
+++ b/sys-block/mpt-status/files/digest-mpt-status-1.1.6
@@ -0,0 +1,6 @@
+MD5 9fbf08bbc2cc2a1ddbae75af70fd0e7a mpt-status-1.1.6-linux-sources.tar.bz2 32137
+RMD160 d4a78eaffdb978dda3f9ccba985d1c9f9fde9806 mpt-status-1.1.6-linux-sources.tar.bz2 32137
+SHA256 c793393803bfa0dbb8d543788c36bd6d36ec4374f82b06bc88c4b63d4651c337 mpt-status-1.1.6-linux-sources.tar.bz2 32137
+MD5 0758574317e9a32e9622c36820f6796f mpt-status-1.1.6.tar.bz2 30265
+RMD160 b535456283d221f536c5275652ea8e6efcfaa6ad mpt-status-1.1.6.tar.bz2 30265
+SHA256 32f48d1bff398a2a1a68c2ffa97ec52bb3ddce99cfdd80ac5cffbd9ce86bb926 mpt-status-1.1.6.tar.bz2 30265
diff --git a/sys-block/mpt-status/files/mpt-status-1.1.6-gentoo.patch b/sys-block/mpt-status/files/mpt-status-1.1.6-gentoo.patch
new file mode 100644
index 000000000000..81431b5e83c1
--- /dev/null
+++ b/sys-block/mpt-status/files/mpt-status-1.1.6-gentoo.patch
@@ -0,0 +1,40 @@
+diff -Nru mpt-status-1.1.6.original/Makefile mpt-status-1.1.6/Makefile
+--- mpt-status-1.1.6.original/Makefile 2006-03-25 18:58:40.000000000 +0100
++++ mpt-status-1.1.6/Makefile 2006-03-25 19:19:06.000000000 +0100
+@@ -1,33 +1,18 @@
+ PROG := mpt-status
+ KERNEL_PATH := /usr/src/linux
+ PREFIX := /usr
+-CFLAGS := -I${KERNEL_PATH}/drivers/message/fusion -Iincl -Wall -W -O2
++CFLAGS := -I../linux-sources/drivers/message/fusion -Iincl -Wall -W $(CFLAGS)
+ DFLAGS :=
+-LDFLAGS :=
++LDFLAGS := $(LDFLAGS)
+ DESTDIR :=
+ CC := gcc
+ INSTALL := install
+-ARCH := $(shell uname -m)
+-REDHAT := $(shell if [ -e /etc/redhat-release ]; \
+- then echo "true"; else echo "false"; fi)
+-
+-ifeq "${REDHAT}" "true"
+- DFLAGS := ${FLAGS} -DREDHAT
+-endif
+-ifeq "${ARCH}" "sparc64"
+- CFLAGS := -I${KERNEL_PATH}/drivers/message/fusion -Iincl -Wall -W -O2 \
+- -m64 -pipe -mcpu=ultrasparc -mcmodel=medlow
+-endif
+-# This part is for the 1.2.0 version of mpt-status
+-#ifeq "${ARCH}" "x86_64"
+-# CFLAGS := -I${KERNEL_PATH}/drivers/message/fusion -Iincl -Wall -W -O2 \
+-# -m64
+-#endif
+
+ ${PROG}: ${PROG}.c ${PROG}.h
+ ${CC} ${DFLAGS} ${CFLAGS} -o $@ $< ${LDFLAGS}
+
+ install: ${PROG}
++ ${INSTALL} -d ${DESTDIR}${PREFIX}/sbin/
+ ${INSTALL} -s -o root -g root -m 0500 $< ${DESTDIR}${PREFIX}/sbin
+
+ uninstall:
diff --git a/sys-block/mpt-status/metadata.xml b/sys-block/mpt-status/metadata.xml
new file mode 100644
index 000000000000..4b2d4a917ed8
--- /dev/null
+++ b/sys-block/mpt-status/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>nelchael@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-block/mpt-status/mpt-status-1.1.6.ebuild b/sys-block/mpt-status/mpt-status-1.1.6.ebuild
new file mode 100644
index 000000000000..b9ab4260bb7f
--- /dev/null
+++ b/sys-block/mpt-status/mpt-status-1.1.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/mpt-status-1.1.6.ebuild,v 1.1 2006/03/25 19:06:36 nelchael Exp $
+
+inherit eutils
+
+DESCRIPTION="mpt-status is a query tool to access the running configuration and status of LSI SCSI HBAs."
+HOMEPAGE="http://www.drugphish.ch/~ratz/mpt-status/"
+SRC_URI="http://www.drugphish.ch/~ratz/mpt-status/${P}.tar.bz2
+ mirror://gentoo/${P}-linux-sources.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+
+ unpack ${A}
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+
+}
+
+src_install() {
+
+ make DESTDIR="${D}" install || die "make install failed"
+ cd "${S}/doc"
+ dodoc AUTHORS Changelog DeveloperNotes FAQ README \
+ ReleaseNotes THANKS TODO
+
+}