diff options
-rw-r--r-- | sys-block/mpt-status/ChangeLog | 11 | ||||
-rw-r--r-- | sys-block/mpt-status/Manifest | 15 | ||||
-rw-r--r-- | sys-block/mpt-status/files/digest-mpt-status-1.1.6 | 6 | ||||
-rw-r--r-- | sys-block/mpt-status/files/mpt-status-1.1.6-gentoo.patch | 40 | ||||
-rw-r--r-- | sys-block/mpt-status/metadata.xml | 8 | ||||
-rw-r--r-- | sys-block/mpt-status/mpt-status-1.1.6.ebuild | 34 |
6 files changed, 114 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..b76907315b3c --- /dev/null +++ b/sys-block/mpt-status/Manifest @@ -0,0 +1,15 @@ +MD5 56e4c5b859ba4cad7a69889baef9e4a0 ChangeLog 430 +RMD160 e16263798f442f568b8da4b3e8dbe7f37988ebcb ChangeLog 430 +SHA256 eb29fd43e8f09161652c0c7c7c8e93b0a7cda5ec9f28c538dc71a1f17f555883 ChangeLog 430 +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 4b18fb7771b6e725b164587e2995c91c mpt-status-1.1.6.ebuild 838 +RMD160 6608412136fa59fa48950aaa773b565454720c37 mpt-status-1.1.6.ebuild 838 +SHA256 2a6c2479648aef3d1458ef74a5ff49c94efb44817ea5015a9a4e25b6c5eb500c mpt-status-1.1.6.ebuild 838 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 + +} |