summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-11-10 09:48:28 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-11-10 09:48:28 +0000
commit505cacc96413d36300047ea4574d9463c1bc5597 (patch)
treefb47bf815ddd60a948a8458a75e0bc644dee634c
parentuse --pidfile rather than --pid as pointed out by Uberlord (diff)
downloadhistorical-505cacc96413d36300047ea4574d9463c1bc5597.tar.gz
historical-505cacc96413d36300047ea4574d9463c1bc5597.tar.bz2
historical-505cacc96413d36300047ea4574d9463c1bc5597.zip
New version from upstream. Placed into the tree, and used for the new Gentoo bugzilla hardware [IBM HS20 blades] :-).
Package-Manager: portage-2.1.2_rc1-r4
-rw-r--r--sys-block/mpt-status/ChangeLog9
-rw-r--r--sys-block/mpt-status/Manifest36
-rw-r--r--sys-block/mpt-status/files/digest-mpt-status-1.2.06
-rw-r--r--sys-block/mpt-status/files/mpt-status-1.2.0-gentoo.patch51
-rw-r--r--sys-block/mpt-status/mpt-status-1.2.0.ebuild34
5 files changed, 126 insertions, 10 deletions
diff --git a/sys-block/mpt-status/ChangeLog b/sys-block/mpt-status/ChangeLog
index 83f7887e0313..eaafc11807eb 100644
--- a/sys-block/mpt-status/ChangeLog
+++ b/sys-block/mpt-status/ChangeLog
@@ -1,6 +1,13 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/ChangeLog,v 1.2 2006/11/10 09:48:28 robbat2 Exp $
+
+*mpt-status-1.2.0 (10 Nov 2006)
+
+ 10 Nov 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +files/mpt-status-1.2.0-gentoo.patch, +mpt-status-1.2.0.ebuild:
+ New version from upstream. Placed into the tree, and used for the new Gentoo
+ bugzilla hardware [IBM HS20 blades] :-).
*mpt-status-1.1.6 (25 Mar 2006)
diff --git a/sys-block/mpt-status/Manifest b/sys-block/mpt-status/Manifest
index b76907315b3c..30970f879ee3 100644
--- a/sys-block/mpt-status/Manifest
+++ b/sys-block/mpt-status/Manifest
@@ -1,15 +1,33 @@
-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
+AUX mpt-status-1.1.6-gentoo.patch 1291 RMD160 79393e7ed265909f7ffa2c06bfcdbf509c1b3583 SHA1 b1ec69764019733d8e43bbc518b76eabfc84c41d SHA256 368d57381a1dc3b2132c3859e4e8ea4ae70144ee19160c897a7d352f890fe6ad
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
+AUX mpt-status-1.2.0-gentoo.patch 1704 RMD160 46ce0a0589aca502ba21b487adf444413dddbe7d SHA1 7a26dcc2112a6482a570a26a7a19e629c9beb6e4 SHA256 dd8d42baafb13884a21a99eca7e63f9062e5f467c0a4c50c0bb2bbde5e61574f
+MD5 97a6ebb001488221fef4e1bcdd190350 files/mpt-status-1.2.0-gentoo.patch 1704
+RMD160 46ce0a0589aca502ba21b487adf444413dddbe7d files/mpt-status-1.2.0-gentoo.patch 1704
+SHA256 dd8d42baafb13884a21a99eca7e63f9062e5f467c0a4c50c0bb2bbde5e61574f files/mpt-status-1.2.0-gentoo.patch 1704
+DIST mpt-status-1.1.6-linux-sources.tar.bz2 32137 RMD160 d4a78eaffdb978dda3f9ccba985d1c9f9fde9806 SHA1 ad45ed9adf7af4cec1c63deaa76c59111835d74a SHA256 c793393803bfa0dbb8d543788c36bd6d36ec4374f82b06bc88c4b63d4651c337
+DIST mpt-status-1.1.6.tar.bz2 30265 RMD160 b535456283d221f536c5275652ea8e6efcfaa6ad SHA256 32f48d1bff398a2a1a68c2ffa97ec52bb3ddce99cfdd80ac5cffbd9ce86bb926
+DIST mpt-status-1.2.0.tar.bz2 36060 RMD160 2bd9294a82469aa51ad7cb76664e8c959261e2c5 SHA1 1630fd934922a37f572f3a94ab7062a23fa887e1 SHA256 4457c2e3f7b493f20f9527f21dd4f26aa3fc14eaaaeb1ee1ba63a1024369bab4
+EBUILD mpt-status-1.1.6.ebuild 838 RMD160 6608412136fa59fa48950aaa773b565454720c37 SHA1 ea8f6fb01efb7b838a3ecb77ceef6ed50730a28d SHA256 2a6c2479648aef3d1458ef74a5ff49c94efb44817ea5015a9a4e25b6c5eb500c
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
+EBUILD mpt-status-1.2.0.ebuild 851 RMD160 94e401c733c2306ed24896a1473abd0222b3f2f5 SHA1 264a6326e3c1941c9dcb39348233d7996d4d8292 SHA256 80cbe9aa7a16dc36d918b1ff9292afd544cdbbab37c38ca7d3fc0c17b9ecaf44
+MD5 5c9c12b70518030ec1fcc8dab793ba99 mpt-status-1.2.0.ebuild 851
+RMD160 94e401c733c2306ed24896a1473abd0222b3f2f5 mpt-status-1.2.0.ebuild 851
+SHA256 80cbe9aa7a16dc36d918b1ff9292afd544cdbbab37c38ca7d3fc0c17b9ecaf44 mpt-status-1.2.0.ebuild 851
+MISC ChangeLog 704 RMD160 ceb60478c8bd5cff9824436a54bd97d24bd627cd SHA1 59fbe28bbf1fc84e6782c90bfb4dc4af3b2036b6 SHA256 178427d3f44fdfb99be9107b578e66a8b8ca7d8f10a8b586e36d30f7ca5bc19f
+MD5 e1497d64021cc710963c4304a11e3d25 ChangeLog 704
+RMD160 ceb60478c8bd5cff9824436a54bd97d24bd627cd ChangeLog 704
+SHA256 178427d3f44fdfb99be9107b578e66a8b8ca7d8f10a8b586e36d30f7ca5bc19f ChangeLog 704
+MISC metadata.xml 227 RMD160 4603991d222df002795ac3709a24e98165edd8d1 SHA1 ac9b347ba7ed1d5f92472126580ef32d63fb9bfa SHA256 ef0905299b05e713fbb019ae7ca5e3e6ebfbf32d47fdd4d803e96a3bda500f71
+MD5 487f400dff091bfeb6ca7d9b44ad5ce6 metadata.xml 227
+RMD160 4603991d222df002795ac3709a24e98165edd8d1 metadata.xml 227
+SHA256 ef0905299b05e713fbb019ae7ca5e3e6ebfbf32d47fdd4d803e96a3bda500f71 metadata.xml 227
+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 6e6e36c8a51a75f215f6bfa8503ac53e files/digest-mpt-status-1.2.0 542
+RMD160 4028a1d6a9c3d1bec5162a2658a2413ccd89eb71 files/digest-mpt-status-1.2.0 542
+SHA256 facf01d39ef5e9f5078b23bfa6da4ac302838117728e5a8f139585f8ff2eda77 files/digest-mpt-status-1.2.0 542
diff --git a/sys-block/mpt-status/files/digest-mpt-status-1.2.0 b/sys-block/mpt-status/files/digest-mpt-status-1.2.0
new file mode 100644
index 000000000000..810db3afe082
--- /dev/null
+++ b/sys-block/mpt-status/files/digest-mpt-status-1.2.0
@@ -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 fae044db1340fd37aa81b4ecef7bbd46 mpt-status-1.2.0.tar.bz2 36060
+RMD160 2bd9294a82469aa51ad7cb76664e8c959261e2c5 mpt-status-1.2.0.tar.bz2 36060
+SHA256 4457c2e3f7b493f20f9527f21dd4f26aa3fc14eaaaeb1ee1ba63a1024369bab4 mpt-status-1.2.0.tar.bz2 36060
diff --git a/sys-block/mpt-status/files/mpt-status-1.2.0-gentoo.patch b/sys-block/mpt-status/files/mpt-status-1.2.0-gentoo.patch
new file mode 100644
index 000000000000..445868a2ef9d
--- /dev/null
+++ b/sys-block/mpt-status/files/mpt-status-1.2.0-gentoo.patch
@@ -0,0 +1,51 @@
+Patch for Gentoo distribution of mpt-status.
+ 1. -I../linux-sources/drivers/message/fusion for our inclusion of the mpt headers.
+ 2. Remove -O2, and use $(CFLAGS) from user instead.
+ 3. Use LDFLAGS
+ 4. -D flag to install is GNU specific.
+ 5. Remove sparc64 specific CFLAGS.
+ 6. Remember to make the sbin directory before installing to it.
+ 7. Don't strip the binary.
+
+Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+diff -Nuar mpt-status-1.2.0.orig/Makefile mpt-status-1.2.0/Makefile
+--- mpt-status-1.2.0.orig/Makefile 2006-11-01 19:02:30.000000000 +0000
++++ mpt-status-1.2.0/Makefile 2006-11-10 08:54:18.000000000 +0000
+@@ -3,28 +3,26 @@
+ KERNEL_PATH := /usr/src/linux
+ KERNEL_PATH_B := /lib/modules/`uname -r`/build
+ KERNEL_PATH_S := /lib/modules/`uname -r`/source
+-CFLAGS := -Iincl -Wall -W -O2 \
++CFLAGS := -Iincl -Wall -W \
++ -I../linux-sources/drivers/message/fusion \
+ -I${KERNEL_PATH}/drivers/message/fusion \
+ -I${KERNEL_PATH_B}/drivers/message/fusion \
+- -I${KERNEL_PATH_S}/drivers/message/fusion
++ -I${KERNEL_PATH_S}/drivers/message/fusion \
++ $(CFLAGS)
+ DFLAGS := #-DSANITIZED_KERNEL_HEADERS
+-LDFLAGS :=
++LDFLAGS := $(LDFLAGS)
+ DESTDIR :=
+ MANDIR := /usr/share/man
+ CC := gcc
+-INSTALL := install -D
++INSTALL := install
+ ARCH := $(shell uname -m)
+
+-ifeq "${ARCH}" "sparc64"
+- CFLAGS := -Iincl -Wall -W -O2 -m64 -pipe \
+- -mcpu=ultrasparc -mcmodel=medlow
+-endif
+-
+ ${PROG}: ${PROG}.c ${PROG}.h
+ ${CC} ${DFLAGS} ${CFLAGS} -o $@ $< ${LDFLAGS}
+
+ install: ${PROG}
+- ${INSTALL} -s -o root -g root -m 0500 $< \
++ ${INSTALL} -d ${DESTDIR}${PREFIX}/sbin/
++ ${INSTALL} -o root -g root -m 0500 $< \
+ ${DESTDIR}${PREFIX}/sbin
+
+ install_doc: man/${PROG}.8
diff --git a/sys-block/mpt-status/mpt-status-1.2.0.ebuild b/sys-block/mpt-status/mpt-status-1.2.0.ebuild
new file mode 100644
index 000000000000..478e53331d4f
--- /dev/null
+++ b/sys-block/mpt-status/mpt-status-1.2.0.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.2.0.ebuild,v 1.1 2006/11/10 09:48:28 robbat2 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/${PN}-1.1.6-linux-sources.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+
+ unpack ${A}
+ epatch "${FILESDIR}/${PN}-1.2.0-gentoo.patch"
+
+}
+
+src_install() {
+
+ make DESTDIR="${D}" install || die "make install failed"
+ cd "${S}/doc"
+ dodoc AUTHORS Changelog DeveloperNotes FAQ README \
+ ReleaseNotes THANKS TODO
+
+}