diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-11-10 09:48:28 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-11-10 09:48:28 +0000 |
commit | 2c7fb86362d120e06bdc9eaef77f2c2d3dfb1ec2 (patch) | |
tree | 15b8932035d001c15e65c7d968522060889e9e73 /sys-block/mpt-status | |
parent | use --pidfile rather than --pid as pointed out by Uberlord (diff) | |
download | gentoo-2-2c7fb86362d120e06bdc9eaef77f2c2d3dfb1ec2.tar.gz gentoo-2-2c7fb86362d120e06bdc9eaef77f2c2d3dfb1ec2.tar.bz2 gentoo-2-2c7fb86362d120e06bdc9eaef77f2c2d3dfb1ec2.zip |
New version from upstream. Placed into the tree, and used for the new Gentoo bugzilla hardware [IBM HS20 blades] :-).
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'sys-block/mpt-status')
-rw-r--r-- | sys-block/mpt-status/ChangeLog | 9 | ||||
-rw-r--r-- | sys-block/mpt-status/files/digest-mpt-status-1.2.0 | 6 | ||||
-rw-r--r-- | sys-block/mpt-status/files/mpt-status-1.2.0-gentoo.patch | 51 | ||||
-rw-r--r-- | sys-block/mpt-status/mpt-status-1.2.0.ebuild | 34 |
4 files changed, 99 insertions, 1 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/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 + +} |