diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2008-02-10 20:35:59 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2008-02-10 20:35:59 +0000 |
commit | 6e1b6f4b5e6d3ea086a9e24313820632e4c46503 (patch) | |
tree | de88b3ad27edd8de44e725878cf1fb7c9f894291 /sys-block/megactl | |
parent | stable on amd64, security bug #208162 (diff) | |
download | historical-6e1b6f4b5e6d3ea086a9e24313820632e4c46503.tar.gz historical-6e1b6f4b5e6d3ea086a9e24313820632e4c46503.tar.bz2 historical-6e1b6f4b5e6d3ea086a9e24313820632e4c46503.zip |
initial import
Package-Manager: portage-2.1.4
Diffstat (limited to 'sys-block/megactl')
-rw-r--r-- | sys-block/megactl/ChangeLog | 10 | ||||
-rw-r--r-- | sys-block/megactl/Manifest | 5 | ||||
-rw-r--r-- | sys-block/megactl/files/megactl-0.4.1.patch | 21 | ||||
-rw-r--r-- | sys-block/megactl/megactl-0.4.1.ebuild | 30 | ||||
-rw-r--r-- | sys-block/megactl/metadata.xml | 15 |
5 files changed, 81 insertions, 0 deletions
diff --git a/sys-block/megactl/ChangeLog b/sys-block/megactl/ChangeLog new file mode 100644 index 000000000000..97a934ca4ad5 --- /dev/null +++ b/sys-block/megactl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-block/megactl +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/megactl/ChangeLog,v 1.1 2008/02/10 20:35:58 wschlich Exp $ + +*megactl-0.4.1 (10 Feb 2008) + + 10 Feb 2008; Wolfram Schlich <wschlich@gentoo.org> + +files/megactl-0.4.1.patch, +metadata.xml, +megactl-0.4.1.ebuild: + initial import + diff --git a/sys-block/megactl/Manifest b/sys-block/megactl/Manifest new file mode 100644 index 000000000000..7c7410a55e58 --- /dev/null +++ b/sys-block/megactl/Manifest @@ -0,0 +1,5 @@ +AUX megactl-0.4.1.patch 1297 RMD160 cc8152b28b5e298c5fd75ac010ec333e8ce2d6f2 SHA1 708fbebaa9359db57056c0e73b7232deff5c3de9 SHA256 7f57c47b137f8774aff79fc9b192e11b4227e620a13c4c7ed3e2a1475f927eb4 +DIST megactl-0.4.1.tar.gz 179173 RMD160 822692e81ff0fe423b3d5b75e639929e204048eb SHA1 b53ea7bb985c7c732452a0e387167fecd0a04f9b SHA256 d7aee98035c97a1ff098450192f073565c4f2355079763f6dc6202be121720e8 +EBUILD megactl-0.4.1.ebuild 643 RMD160 bbbff490c67e835254ab552b0c521fb9694bcec8 SHA1 ca31ef5cba7896ee16beea04d5d187854bb31605 SHA256 050407412bc019712d441c7c8b597dfe3153b6e39528fc5dfa228d64953c4672 +MISC ChangeLog 378 RMD160 dbf4a753b03e1d001eff338db9abc2ceed4b5350 SHA1 3e7f7abb4cec78596afe38a644c9444d7737ae6a SHA256 accc92f64dc93afae4ac041c100260283a5e99c80a3892e324ade54f200f739e +MISC metadata.xml 515 RMD160 56d7ec1412ec0224dd60f09fd483458e1eafe57a SHA1 8c1131dcae3bc102ed58f888a96e0ffb3cd80fac SHA256 f409744d466b975da5890e03c8721cee3ffc39c1891f51c17c9a0fc11945161c diff --git a/sys-block/megactl/files/megactl-0.4.1.patch b/sys-block/megactl/files/megactl-0.4.1.patch new file mode 100644 index 000000000000..3d857c9c1c57 --- /dev/null +++ b/sys-block/megactl/files/megactl-0.4.1.patch @@ -0,0 +1,21 @@ +diff -urN megactl-0.4.1.orig/src/megatrace.c megactl-0.4.1/src/megatrace.c +--- megactl-0.4.1.orig/src/megatrace.c 2007-08-21 09:19:53.000000000 +0200 ++++ megactl-0.4.1/src/megatrace.c 2008-02-10 21:27:24.416919438 +0100 +@@ -49,7 +49,7 @@ + #include <signal.h> + #include <sys/ptrace.h> + #include <sys/wait.h> +-#include <asm/user.h> ++#include <sys/user.h> + #include <sys/syscall.h> + #include <sys/ioctl.h> + #include <sys/time.h> +@@ -250,7 +250,7 @@ + len = sizeof buf; + + if (printregs) +- fprintf (stderr, " ebx=%08lx ecx=%08lx edx=%08lx esi=%08lx edi=%08lx ebp=%08lx eax=%08lx ds=%04x __ds=%04x es=%04x __es=%04x fs=%04x __fs=%04x gs=%04x __gs=%04x orig_eax=%08lx eip=%08lx cs=%04x __cs=%04x eflags=%08lx esp=%08lx ss=%04x __ss=%04x\n", r.ebx, r.ecx, r.edx, r.esi, r.edi, r.ebp, r.eax, r.ds, r.__ds, r.es, r.__es, r.fs, r.__fs, r.gs, r.__gs, r.orig_eax, r.eip, r.cs, r.__cs, r.eflags, r.esp, r.ss, r.__ss); ++ fprintf (stderr, " ebx=%08lx ecx=%08lx edx=%08lx esi=%08lx edi=%08lx ebp=%08lx eax=%08lx xds=%08lx xes=%08lx xfs=%08lx xgs=%08lx orig_eax=%08lx eip=%08lx xcs=%08lx eflags=%08lx esp=%08lx xss=%08lx\n", r.ebx, r.ecx, r.edx, r.esi, r.edi, r.ebp, r.eax, r.xds, r.xes, r.xfs, r.xgs, r.orig_eax, r.eip, r.xcs, r.eflags, r.esp, r.xss); + + copyout (buf, len, pid, r.edx); + diff --git a/sys-block/megactl/megactl-0.4.1.ebuild b/sys-block/megactl/megactl-0.4.1.ebuild new file mode 100644 index 000000000000..d4d370f1493f --- /dev/null +++ b/sys-block/megactl/megactl-0.4.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/megactl/megactl-0.4.1.ebuild,v 1.1 2008/02/10 20:35:58 wschlich Exp $ + +inherit eutils + +IUSE="" +DESCRIPTION="LSI MegaRAID" +HOMEPAGE="http://sourceforge.net/projects/megactl/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}.patch +} + +src_compile() { + cd src + emake || die "make failed" +} + +src_install() { + cd src + dosbin megactl megasasctl megatrace + dodoc megarpt megasasrpt README +} diff --git a/sys-block/megactl/metadata.xml b/sys-block/megactl/metadata.xml new file mode 100644 index 000000000000..33af5c7326be --- /dev/null +++ b/sys-block/megactl/metadata.xml @@ -0,0 +1,15 @@ +<?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> +<longdescription> +This project is a small collection of programs for examining configuration and +status of LSI megaraid adapters, especially Dell PERC RAID adapters, and +attached storage devices. +</longdescription> +</pkgmetadata> |