diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-10 02:23:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-10 02:23:45 +0000 |
commit | 6a4e924f89aac400093cb24bb3e19b9caf1cf6ce (patch) | |
tree | c99a607e6166fcbb01a2c4fd034cdd255df322a4 | |
parent | old (diff) | |
download | gentoo-2-6a4e924f89aac400093cb24bb3e19b9caf1cf6ce.tar.gz gentoo-2-6a4e924f89aac400093cb24bb3e19b9caf1cf6ce.tar.bz2 gentoo-2-6a4e924f89aac400093cb24bb3e19b9caf1cf6ce.zip |
Fix by solar to prevent stack overflow in build util #99487.
(Portage version: 2.0.51.22-r2)
-rw-r--r-- | dev-libs/libtomcrypt/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libtomcrypt/files/digest-libtomcrypt-1.06 | 3 | ||||
-rw-r--r-- | dev-libs/libtomcrypt/libtomcrypt-1.06.ebuild | 46 |
3 files changed, 55 insertions, 1 deletions
diff --git a/dev-libs/libtomcrypt/ChangeLog b/dev-libs/libtomcrypt/ChangeLog index 4414b9de257d..1cdafd6ad7a9 100644 --- a/dev-libs/libtomcrypt/ChangeLog +++ b/dev-libs/libtomcrypt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libtomcrypt # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.23 2005/06/10 23:52:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.24 2005/08/10 02:23:45 vapier Exp $ + +*libtomcrypt-1.06 (10 Aug 2005) + + 10 Aug 2005; Mike Frysinger <vapier@gentoo.org> +libtomcrypt-1.06.ebuild: + Fix by solar to prevent stack overflow in build util #99487. *libtomcrypt-1.03 (10 Jun 2005) diff --git a/dev-libs/libtomcrypt/files/digest-libtomcrypt-1.06 b/dev-libs/libtomcrypt/files/digest-libtomcrypt-1.06 new file mode 100644 index 000000000000..e12e011dc1f2 --- /dev/null +++ b/dev-libs/libtomcrypt/files/digest-libtomcrypt-1.06 @@ -0,0 +1,3 @@ +MD5 f7b5fd2a5d4b2917576da7885f27e4a0 crypt-1.06.tar.bz2 1160330 +MD5 76b18782400494589c35e12e6cdd081d makefile.diff 1372 +MD5 20e390f346da46574a8d32966f438410 makefile.shared.diff 1147 diff --git a/dev-libs/libtomcrypt/libtomcrypt-1.06.ebuild b/dev-libs/libtomcrypt/libtomcrypt-1.06.ebuild new file mode 100644 index 000000000000..fef8e262f69a --- /dev/null +++ b/dev-libs/libtomcrypt/libtomcrypt-1.06.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/libtomcrypt-1.06.ebuild,v 1.1 2005/08/10 02:23:45 vapier Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="modular and portable cryptographic toolkit" +HOMEPAGE="http://libtomcrypt.org/" +SRC_URI="http://libtomcrypt.org/files/crypt-${PV}.tar.bz2 + http://libtomcrypt.org/files/patch-1.06/makefile.diff + http://libtomcrypt.org/files/patch-1.06/makefile.shared.diff" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc libtommath tomsfastmath" + +RDEPEND="libtommath? ( dev-libs/libtommath ) + tomsfastmath? ( dev-libs/tomsfastmath ) + !libtommath? ( !tomsfastmath? ( dev-libs/libtommath ) )" +DEPEND="${RDEPEND} + doc? ( virtual/tetex app-text/ghostscript )" + +src_unpack() { + unpack crypt-${PV}.tar.bz2 + cd "${S}" + epatch "${DISTDIR}"/makefile{,.shared}.diff + use doc || sed -i '/^install:/s:docs::' makefile +} + +src_compile() { + use libtommath && append-flags -DLTM_DESC + use tomsfastmath && append-flags -DTFM_DESC + ! use libtommath && ! use tomsfastmath && append-flags -DLTM_DESC + emake IGNORE_SPEED=1 || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc TODO changes + if use doc ; then + dodoc doc/* + docinto notes ; dodoc notes/* + docinto demos ; dodoc demos/* + fi +} |