diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-06-27 13:27:10 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-06-27 13:27:10 +0000 |
commit | 0dc1dc0d8717c385b3bcdecf9be45ba38c1df4ef (patch) | |
tree | 9b7bee9a51beb721a38a9fa6ae6f6fb6fc962354 /sci-chemistry | |
parent | amd64 stable wrt security #324153 (diff) | |
download | historical-0dc1dc0d8717c385b3bcdecf9be45ba38c1df4ef.tar.gz historical-0dc1dc0d8717c385b3bcdecf9be45ba38c1df4ef.tar.bz2 historical-0dc1dc0d8717c385b3bcdecf9be45ba38c1df4ef.zip |
Version BUmp, fix for bufferoverflow, #325065
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/platon/ChangeLog | 9 | ||||
-rw-r--r-- | sci-chemistry/platon/Manifest | 13 | ||||
-rw-r--r-- | sci-chemistry/platon/files/20100625-buffer-overflow.patch | 15 | ||||
-rw-r--r-- | sci-chemistry/platon/platon-20100625.ebuild (renamed from sci-chemistry/platon/platon-20100615.ebuild) | 12 |
4 files changed, 38 insertions, 11 deletions
diff --git a/sci-chemistry/platon/ChangeLog b/sci-chemistry/platon/ChangeLog index 9dc9ba60f213..0acb010fe40d 100644 --- a/sci-chemistry/platon/ChangeLog +++ b/sci-chemistry/platon/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-chemistry/platon # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/ChangeLog,v 1.17 2010/06/24 12:28:41 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/ChangeLog,v 1.18 2010/06/27 13:27:10 jlec Exp $ + +*platon-20100625 (27 Jun 2010) + + 27 Jun 2010; Justin Lecher <jlec@gentoo.org> + +files/20100625-buffer-overflow.patch, -platon-20100615.ebuild, + +platon-20100625.ebuild: + Version Bump, fix for bufferoverflow, #325065 *platon-20100615 (24 Jun 2010) diff --git a/sci-chemistry/platon/Manifest b/sci-chemistry/platon/Manifest index 3ecea9be5626..2575a1f0004e 100644 --- a/sci-chemistry/platon/Manifest +++ b/sci-chemistry/platon/Manifest @@ -1,14 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -DIST platon-20100615.tar.gz 8841165 RMD160 15817699c77ce6927cc21ae57ed07bdf0b3609a8 SHA1 897e1c024582d8d45e119c14984f4f615e2a73be SHA256 da432f5e3b0bd9a7245a7997288cd5d171d136c2ee94d5914728252a3562764e -EBUILD platon-20100615.ebuild 1988 RMD160 010a24750d73d38aa10d5dd6623b76abf5f83d93 SHA1 8f3b0dbff30d00d9cd92eec5d636371a79ee8b9b SHA256 6ce23522bad3b25452c0ad20548f94309e3966467da12647c5877e48eceb0db5 -MISC ChangeLog 3044 RMD160 7d2cc4600ae961d22787fb49e74efc23936a31a0 SHA1 58998c06709fe05b3bf2a49f279551e553d3e315 SHA256 16248a7327afccaf6d9bbbd78be4f98528347272f583044d2b70a1abf05bb165 +AUX 20100625-buffer-overflow.patch 345 RMD160 4c64951c9858d3741d4207c092b08da8ec90c167 SHA1 3741d9725bbb85314a55fb83e412fe126d25f928 SHA256 cb3ca070305e68ad0fa785ae197074bf88085095c77a27897ded264ff3006441 +DIST platon-20100625.tar.gz 10293642 RMD160 a1ed97f7626597c52a68b4f7289d2eece333addb SHA1 ed7e357debadca5d28f9b8f6653f71ff10e8c514 SHA256 31b58308a78b556dfdbbecd8cdf936195eb70f09ae574b13efec23a0fb729f98 +EBUILD platon-20100625.ebuild 2067 RMD160 32d0a792e87336c2d6bfa854ece55e506f8db70e SHA1 350392907d443406bfec07b992f23b144c8e00c0 SHA256 a739c75a94b6b21e43fa3c9cc63f753777509faa0a6149d5f770d610f0e2058f +MISC ChangeLog 3265 RMD160 f1303fe342c575ed65295c3ef21bf0ad976f1d38 SHA1 24ad86b8c5132bbc2128a90d46ca8f444f003396 SHA256 26af3a7d730b57a0bf668a0d77579c396e65e10d012ed61c61937c8e50494869 MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkwjT38ACgkQgAnW8HDreRY1pgCeKlwZh1QcAOLewDc08ieYa3SO -lCkAoLTzel3FsRbyGCQNkImWGy4BVIYf -=CD8w +iEYEARECAAYFAkwnUbMACgkQgAnW8HDreRYCKgCfTPN1a8CP+8L8OG9GHKPUADLs +KAEAn1sxFiAvAJq3f4D8vzNdjIJYb/Je +=oUZw -----END PGP SIGNATURE----- diff --git a/sci-chemistry/platon/files/20100625-buffer-overflow.patch b/sci-chemistry/platon/files/20100625-buffer-overflow.patch new file mode 100644 index 000000000000..548bd2b20ca4 --- /dev/null +++ b/sci-chemistry/platon/files/20100625-buffer-overflow.patch @@ -0,0 +1,15 @@ +--- xdrvr.c 2010-06-27 15:21:49.026967128 +0200 ++++ xdrvr_new.c 2010-06-27 15:22:57.132069867 +0200 +@@ -864,11 +864,9 @@ + int zdate_(string) + char *string; + { +- static char tmp[25]; + time_t now; + now = time(NULL); +- strcpy(tmp,ctime(&now)); +- strncpy(string,tmp,25); ++ strncpy(string,ctime(&now),25); + return(1); + } + int slaap_(int *i)
\ No newline at end of file diff --git a/sci-chemistry/platon/platon-20100615.ebuild b/sci-chemistry/platon/platon-20100625.ebuild index caf6427de0ba..b3af1fc7b34b 100644 --- a/sci-chemistry/platon/platon-20100615.ebuild +++ b/sci-chemistry/platon/platon-20100625.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/platon-20100615.ebuild,v 1.1 2010/06/24 12:28:41 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/platon-20100625.ebuild,v 1.1 2010/06/27 13:27:10 jlec Exp $ EAPI="3" -inherit flag-o-matic fortran multilib toolchain-funcs +inherit eutils flag-o-matic fortran multilib toolchain-funcs FORTRAN="g77 gfortran" @@ -38,14 +38,18 @@ pkg_nofetch() { src_unpack() { unpack ${A} cd "${S}" - gunzip platon.f.Z xdrvr.c.gz + gunzip platon.f.Z xdrvr.c.gz || die +} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-buffer-overflow.patch } src_compile() { # easy to ICE, at least on gcc 4.3 strip-flags - COMMAND="$(tc-getCC) -c ${CFLAGS} -O0 xdrvr.c" + COMMAND="$(tc-getCC) -c ${CFLAGS} xdrvr.c" echo ${COMMAND} ${COMMAND} || die "Compilation of xdrvr.c failed" COMMAND="${FORTRANC} -c ${FFLAGS:- -O2} -fno-second-underscore platon.f" |