summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2004-09-01 20:59:58 +0000
committerDaniel Drake <dsd@gentoo.org>2004-09-01 20:59:58 +0000
commit042a508d8f61d69f73e269ba9db5e7113baff5aa (patch)
treef9fbc4ece5a8b6d34dd686f5ff85bf285d279237 /sys-fs
parentmarked stable on ppc (diff)
downloadgentoo-2-042a508d8f61d69f73e269ba9db5e7113baff5aa.tar.gz
gentoo-2-042a508d8f61d69f73e269ba9db5e7113baff5aa.tar.bz2
gentoo-2-042a508d8f61d69f73e269ba9db5e7113baff5aa.zip
Increase default buffer size, fixing segfault thanks to Adam Hixson <chixson@public.tzam.net in bug #15835
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/raidtools/ChangeLog8
-rw-r--r--sys-fs/raidtools/Manifest2
-rw-r--r--sys-fs/raidtools/files/digest-raidtools-1.00.3-r21
-rw-r--r--sys-fs/raidtools/raidtools-1.00.3-r2.ebuild51
4 files changed, 61 insertions, 1 deletions
diff --git a/sys-fs/raidtools/ChangeLog b/sys-fs/raidtools/ChangeLog
index 352b11264f53..f6da592f1983 100644
--- a/sys-fs/raidtools/ChangeLog
+++ b/sys-fs/raidtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/raidtools
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/ChangeLog,v 1.9 2004/08/19 02:38:42 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/ChangeLog,v 1.10 2004/09/01 20:59:58 dsd Exp $
+
+*raidtools-1.00.3-r2 (01 Sep 2004)
+
+ 01 Sep 2004; Daniel Drake <dsd@gentoo.org> raidtools-1.00.3-r2.ebuild:
+ Increase default buffer size, fixing segfault thanks to Adam Hixson
+ <chixson@public.tzam.net> in bug #15835
18 Aug 2004; Aron Griffis <agriffis@gentoo.org> raidtools-1.00.3-r1.ebuild:
stable on alpha
diff --git a/sys-fs/raidtools/Manifest b/sys-fs/raidtools/Manifest
index a94087c11414..da5206c52d47 100644
--- a/sys-fs/raidtools/Manifest
+++ b/sys-fs/raidtools/Manifest
@@ -1,8 +1,10 @@
MD5 85785dca913882fb12a68bb05191e3ca raidtools-0.90-r2.ebuild 1207
+MD5 59382053427a784a82e3a9771b443032 raidtools-1.00.3-r2.ebuild 1153
MD5 9287044921407cf9668d3178d9cc006f raidtools-1.00.3-r1.ebuild 1192
MD5 320aab0a12dbff1701059312e04088ab ChangeLog 3062
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 54b6277ec8d8f24e23ece051ea2e8680 files/digest-raidtools-1.00.3-r1 68
+MD5 54b6277ec8d8f24e23ece051ea2e8680 files/digest-raidtools-1.00.3-r2 68
MD5 b71f5a7d7befa267454ef03173daedfe files/digest-raidtools-0.90-r2 85
MD5 9193117eae2cca6725886db3d163e227 files/mkraid.c-gcc33.patch 3042
MD5 05f0f7c14b2e15209d13826cfd9bbcd6 files/raidtools-1.00.3-2.6.Headers.patch 939
diff --git a/sys-fs/raidtools/files/digest-raidtools-1.00.3-r2 b/sys-fs/raidtools/files/digest-raidtools-1.00.3-r2
new file mode 100644
index 000000000000..8b9f5451a2c5
--- /dev/null
+++ b/sys-fs/raidtools/files/digest-raidtools-1.00.3-r2
@@ -0,0 +1 @@
+MD5 cb41f8093cd7381ee07adb2951cc53fa raidtools-1.00.3.tar.gz 167779
diff --git a/sys-fs/raidtools/raidtools-1.00.3-r2.ebuild b/sys-fs/raidtools/raidtools-1.00.3-r2.ebuild
new file mode 100644
index 000000000000..4b404ff0355c
--- /dev/null
+++ b/sys-fs/raidtools/raidtools-1.00.3-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/raidtools-1.00.3-r2.ebuild,v 1.1 2004/09/01 20:59:58 dsd Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="Linux RAID 0/1/4/5 utilities"
+SRC_URI="http://people.redhat.com/mingo/raidtools/${P}.tar.gz"
+HOMEPAGE="http://people.redhat.com/mingo/raidtools/"
+
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~hppa ~alpha ~ia64 ~ppc64"
+IUSE="build"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="virtual/glibc
+ dev-libs/popt"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/mkraid.c-gcc33.patch
+
+ # Buffer overflow fix
+ sed -i "s:#define MAX_LINE_LENGTH\t\t\t(100):#define MAX_LINE_LENGTH (1000):" \
+ common.h
+}
+
+src_compile() {
+ #Bug: 34712 (Nov 29 2003 -solar)
+ filter-flags -fPIC
+ econf || die
+ make CFLAGS="${CFLAGS} -DMD_VERSION=\\\"${P}\\\"" || die
+}
+
+src_install() {
+ make install ROOTDIR=${D} || die
+ rm -rf ${D}/dev
+
+ if ! use build
+ then
+ doman *.8 *.5
+ dodoc README *raidtab raidreconf-HOWTO reconf.notes retry summary
+ dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.txt
+ dohtml Software-RAID.HOWTO/Software-RAID.HOWTO.html
+ dohtml Software-RAID.HOWTO/Software-RAID.HOWTO.sgml
+ docinto config
+ dodoc *.sample
+ fi
+}