summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-05-17 22:56:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-05-17 22:56:40 +0000
commitafbb0e402d6bba3a5d82d49bd0548c67bf0f4156 (patch)
tree8fe2fdb1218ba8496e5ad354591d283e8d949268 /dev-lang/nasm
parentsecurity fix for bug #92991 (diff)
downloadgentoo-2-afbb0e402d6bba3a5d82d49bd0548c67bf0f4156.tar.gz
gentoo-2-afbb0e402d6bba3a5d82d49bd0548c67bf0f4156.tar.bz2
gentoo-2-afbb0e402d6bba3a5d82d49bd0548c67bf0f4156.zip
rev bump to force out security fix (bug #92991)
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-lang/nasm')
-rw-r--r--dev-lang/nasm/ChangeLog8
-rw-r--r--dev-lang/nasm/Manifest2
-rw-r--r--dev-lang/nasm/files/digest-nasm-0.98.39-r11
-rw-r--r--dev-lang/nasm/nasm-0.98.39-r1.ebuild67
4 files changed, 77 insertions, 1 deletions
diff --git a/dev-lang/nasm/ChangeLog b/dev-lang/nasm/ChangeLog
index be3d2a5040ae..c320a0097af8 100644
--- a/dev-lang/nasm/ChangeLog
+++ b/dev-lang/nasm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/nasm
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.36 2005/05/17 22:55:31 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.37 2005/05/17 22:56:40 mr_bones_ Exp $
+
+*nasm-0.98.39-r1 (17 May 2005)
+
+ 17 May 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +nasm-0.98.39-r1.ebuild:
+ rev bump to force out security fix
17 May 2005; Michael Sterrett <mr_bones_@gentoo.org> nasm-0.98.39.ebuild:
security fix for bug #92991
diff --git a/dev-lang/nasm/Manifest b/dev-lang/nasm/Manifest
index dcd74ee30828..2b4d9f87ed73 100644
--- a/dev-lang/nasm/Manifest
+++ b/dev-lang/nasm/Manifest
@@ -1,4 +1,6 @@
MD5 8524fffd916a234a0fa40149506746ee metadata.xml 738
MD5 4009098bdb94781ec29be2d2547f61de nasm-0.98.39.ebuild 1489
MD5 710a83ab1264084275d560ca0b2d3703 ChangeLog 5208
+MD5 4009098bdb94781ec29be2d2547f61de nasm-0.98.39-r1.ebuild 1489
+MD5 98c253856c4823fdfe9095d900744ff6 files/digest-nasm-0.98.39-r1 65
MD5 98c253856c4823fdfe9095d900744ff6 files/digest-nasm-0.98.39 65
diff --git a/dev-lang/nasm/files/digest-nasm-0.98.39-r1 b/dev-lang/nasm/files/digest-nasm-0.98.39-r1
new file mode 100644
index 000000000000..6e9a89fbc65a
--- /dev/null
+++ b/dev-lang/nasm/files/digest-nasm-0.98.39-r1
@@ -0,0 +1 @@
+MD5 2032ad44c7359f7a9a166a40a633e772 nasm-0.98.39.tar.bz2 543976
diff --git a/dev-lang/nasm/nasm-0.98.39-r1.ebuild b/dev-lang/nasm/nasm-0.98.39-r1.ebuild
new file mode 100644
index 000000000000..01984e239a62
--- /dev/null
+++ b/dev-lang/nasm/nasm-0.98.39-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98.39-r1.ebuild,v 1.1 2005/05/17 22:56:40 mr_bones_ Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="groovy little assembler"
+HOMEPAGE="http://nasm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nasm/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE="doc build"
+
+DEPEND="!build? ( dev-lang/perl )
+ doc? ( virtual/ghostscript
+ sys-apps/texinfo )
+ sys-devel/gcc"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if [ "$(gcc-major-version)" -eq "2" ] ; then
+ sed -i \
+ -e 's:-std=c99::g' \
+ configure \
+ || die "sed failed"
+ fi
+ #security fix for bug #92991
+ sed -i \
+ -e '/vsprintf/c\ vsnprintf(buffer, sizeof(buffer), format, ap);
+ ' output/outieee.c \
+ || die "sed failed"
+}
+
+src_compile() {
+ econf || die
+
+ if use build; then
+ emake nasm || die "emake failed"
+ else
+ emake all || die "emake failed"
+ emake rdf || die "emake failed"
+ if use doc ; then
+ emake doc || die "emake failed"
+ fi
+ fi
+}
+
+src_install() {
+ if use build; then
+ dobin nasm || die "dobin failed"
+ else
+ dobin nasm ndisasm rdoff/{ldrdf,rdf2bin,rdf2ihx,rdfdump,rdflib,rdx} \
+ || die "dobin failed"
+ dosym /usr/bin/rdf2bin /usr/bin/rdf2com
+ doman nasm.1 ndisasm.1
+ dodoc AUTHORS CHANGES ChangeLog INSTALL README TODO
+ if use doc; then
+ doinfo doc/info/*
+ dohtml doc/html/*
+ dodoc doc/nasmdoc.*
+ fi
+ fi
+}