diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2005-01-27 16:23:26 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2005-01-27 16:23:26 +0000 |
commit | 112517cb23052dcb8dd2de768220353e016a4a3f (patch) | |
tree | 6e1e902fe8e66e8363ec6f7faf28d8080d8ca122 /dev-lang | |
parent | dependency tuning (Manifest recommit) (diff) | |
download | gentoo-2-112517cb23052dcb8dd2de768220353e016a4a3f.tar.gz gentoo-2-112517cb23052dcb8dd2de768220353e016a4a3f.tar.bz2 gentoo-2-112517cb23052dcb8dd2de768220353e016a4a3f.zip |
Version bump due to security BUG #77570. Marked amd64,pcc and x86.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/f2c/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/f2c/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/f2c/f2c-20030320-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-lang/f2c/files/digest-f2c-20030320-r1 | 1 | ||||
-rw-r--r-- | dev-lang/f2c/files/f2c-20030320-CAN-2005-0017.patch | 62 |
5 files changed, 111 insertions, 1 deletions
diff --git a/dev-lang/f2c/ChangeLog b/dev-lang/f2c/ChangeLog index 707c5c186ca3..6bd9c27ed9b3 100644 --- a/dev-lang/f2c/ChangeLog +++ b/dev-lang/f2c/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/f2c # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/ChangeLog,v 1.10 2005/01/10 19:57:29 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/ChangeLog,v 1.11 2005/01/27 16:23:26 kugelfang Exp $ + +*f2c-20030320-r1 (27 Jan 2005) + + 27 Jan 2005; Danny van Dyk <kugelfang@gentoo.org> + +files/f2c-20030320-CAN-2005-0017.patch, +f2c-20030320-r1.ebuild: + Fixing security BUG #77570 (CAN-2005-0017). Stable on amd64, ppc and x86. 10 Jan 2005; Markus Rothe <corsair@gentoo.org> f2c-20030320.ebuild: Stable on ppc64 diff --git a/dev-lang/f2c/Manifest b/dev-lang/f2c/Manifest index 0816ba053a9f..7b91e8fcd481 100644 --- a/dev-lang/f2c/Manifest +++ b/dev-lang/f2c/Manifest @@ -1,4 +1,7 @@ MD5 a498745c468104634ff4997e57f2d58d ChangeLog 1059 MD5 0be2692c334a5b3f66cff66ba19092fb f2c-20030320.ebuild 629 MD5 c6f7a8787d42cd9b9972bc66250d942a metadata.xml 224 +MD5 bd6f3073ba88fe1557cee639f5ae87c1 f2c-20030320-r1.ebuild 732 MD5 1e6410fad56afd14c53e1efeb94fe240 files/digest-f2c-20030320 64 +MD5 1e6410fad56afd14c53e1efeb94fe240 files/digest-f2c-20030320-r1 64 +MD5 9b85cfecd938c408c4c07f437308ba43 files/f2c-20030320-CAN-2005-0017.patch 1933 diff --git a/dev-lang/f2c/f2c-20030320-r1.ebuild b/dev-lang/f2c/f2c-20030320-r1.ebuild new file mode 100644 index 000000000000..60c8709eaf0a --- /dev/null +++ b/dev-lang/f2c/f2c-20030320-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/f2c-20030320-r1.ebuild,v 1.1 2005/01/27 16:23:26 kugelfang Exp $ + +inherit eutils + +DESCRIPTION="Fortran to C converter" +HOMEPAGE="http://www.netlib.org/f2c" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="libf2c" +SLOT="0" +KEYWORDS="x86 amd64 ppc ~ppc64 ~sparc" + +IUSE="" +DEPEND="dev-libs/libf2c" + +S="${WORKDIR}/src" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-CAN-2005-0017.patch +} + +src_compile() { + sed -e "s:CFLAGS = -O::" \ + -e "s:CC = cc::" -i.orig makefile + + emake || die +} + +src_install() { + mv -f f2c.1t f2c.1 + doman f2c.1 + dobin f2c + dodoc README Notice +} diff --git a/dev-lang/f2c/files/digest-f2c-20030320-r1 b/dev-lang/f2c/files/digest-f2c-20030320-r1 new file mode 100644 index 000000000000..6e216796941c --- /dev/null +++ b/dev-lang/f2c/files/digest-f2c-20030320-r1 @@ -0,0 +1 @@ +MD5 f4f489bdf5ef3e85c58a0a95e51ab5de f2c-20030320.tar.gz 245760 diff --git a/dev-lang/f2c/files/f2c-20030320-CAN-2005-0017.patch b/dev-lang/f2c/files/f2c-20030320-CAN-2005-0017.patch new file mode 100644 index 000000000000..9eaf9a32beca --- /dev/null +++ b/dev-lang/f2c/files/f2c-20030320-CAN-2005-0017.patch @@ -0,0 +1,62 @@ +--- f2c-20020621.orig/src/sysdep.c 2000-07-05 00:54:54.000000000 +0200 ++++ f2c-20020621/src/sysdep.c 2005-01-09 17:56:35.000000000 +0100 +@@ -111,6 +111,7 @@ + if (debugflag == 1) + return; + k = strlen(tmpdir) + 24; ++#ifdef MSDOS + c_functions = (char *)ckalloc(7*k); + initfname = c_functions + k; + initbname = initfname + k; +@@ -118,6 +119,15 @@ + p1_file = blkdfname + k; + p1_bakfile = p1_file + k; + sortfname = p1_bakfile + k; ++#else ++ char *c_functions; ++ char *initfname; ++ char *initbname; ++ char *blkdfname; ++ char *p1_file; ++ char *p1_bakfile; ++ char *sortfname; ++#endif + { + #ifdef MSDOS + char buf[64], *s, *t; +@@ -156,16 +166,16 @@ + sprintf(p1_file, "%s%sp1f", t, f2c); + sprintf(p1_bakfile, "%s%sp1fb", t, f2c); + sprintf(sortfname, "%s%ssort", t, f2c); ++ sprintf(initbname, "%s.b", initfname); + #else +- long pid = getpid(); +- sprintf(c_functions, "%s/f2c%ld_func", tmpdir, pid); +- sprintf(initfname, "%s/f2c%ld_rd", tmpdir, pid); +- sprintf(blkdfname, "%s/f2c%ld_blkd", tmpdir, pid); +- sprintf(p1_file, "%s/f2c%ld_p1f", tmpdir, pid); +- sprintf(p1_bakfile, "%s/f2c%ld_p1fb", tmpdir, pid); +- sprintf(sortfname, "%s/f2c%ld_sort", tmpdir, pid); ++ c_functions = tempnam(tmpdir,"f2c_func"); ++ initfname = tempnam(tmpdir,"f2c_rc"); ++ initbname = tempnam(tmpdir,"f2c_rc.b"); ++ blkdfname = tempnam(tmpdir,"f2c_blkd"); ++ p1_file = tempnam(tmpdir,"f2c_p1f"); ++ p1_bakfile = tempnam(tmpdir,"f2c_p1fb"); ++ sortfname = tempnam(tmpdir,"f2c_sort"); + #endif +- sprintf(initbname, "%s.b", initfname); + } + if (debugflag) + fprintf(diagfile, "%s %s %s %s %s %s\n", c_functions, +--- f2c-20020621.orig/src/xsum0.out 2003-03-20 19:49:59.000000000 +0100 ++++ f2c-20020621/src/xsum0.out 2005-01-14 19:29:15.690750136 +0100 +@@ -47,7 +47,7 @@ + proc.c 649db52 39174 + put.c af0be95 10345 + putpcc.c 4d278f 45996 +-sysdep.c e03333ea 14359 ++sysdep.c f0f5a91b 14478 + sysdep.h e7826434 2755 + tokens 188b7c5d 733 + usignal.h 1c4ce909 124 |