diff options
author | Daniel Drake <dsd@gentoo.org> | 2004-09-01 20:59:58 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2004-09-01 20:59:58 +0000 |
commit | a5a1f61caa3e984547dad4f8a7cab4257160fd1f (patch) | |
tree | 9d117909e6d3ff396bdc08f1f1227fa35f360d13 /sys-fs | |
parent | marked stable on ppc (diff) | |
download | historical-a5a1f61caa3e984547dad4f8a7cab4257160fd1f.tar.gz historical-a5a1f61caa3e984547dad4f8a7cab4257160fd1f.tar.bz2 historical-a5a1f61caa3e984547dad4f8a7cab4257160fd1f.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/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/raidtools/Manifest | 4 | ||||
-rw-r--r-- | sys-fs/raidtools/files/digest-raidtools-1.00.3-r2 | 1 | ||||
-rw-r--r-- | sys-fs/raidtools/raidtools-1.00.3-r2.ebuild | 51 |
4 files changed, 62 insertions, 2 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..c889169f9f77 100644 --- a/sys-fs/raidtools/Manifest +++ b/sys-fs/raidtools/Manifest @@ -1,8 +1,10 @@ MD5 85785dca913882fb12a68bb05191e3ca raidtools-0.90-r2.ebuild 1207 +MD5 4359c9385c8e11ec6b870caea4704b9f raidtools-1.00.3-r2.ebuild 1268 MD5 9287044921407cf9668d3178d9cc006f raidtools-1.00.3-r1.ebuild 1192 -MD5 320aab0a12dbff1701059312e04088ab ChangeLog 3062 +MD5 d83e8f173b7f828497729b6afb70d1e0 ChangeLog 3280 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 +} |