summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Maitin-Shepard <jbms@gentoo.org>2004-07-29 01:11:41 +0000
committerJeremy Maitin-Shepard <jbms@gentoo.org>2004-07-29 01:11:41 +0000
commit7705a1c17689938d65d3018a372167455594b132 (patch)
tree0e02805119a45f201aa0829ab8816ae7b8d4b32b
parentadd macos keyword bug 58103 (Manifest recommit) (diff)
downloadgentoo-2-7705a1c17689938d65d3018a372167455594b132.tar.gz
gentoo-2-7705a1c17689938d65d3018a372167455594b132.tar.bz2
gentoo-2-7705a1c17689938d65d3018a372167455594b132.zip
Fixed sandbox violation
-rw-r--r--dev-lang/gforth/ChangeLog8
-rw-r--r--dev-lang/gforth/Manifest12
-rw-r--r--dev-lang/gforth/files/digest-gforth-0.5.0-r11
-rw-r--r--dev-lang/gforth/gforth-0.5.0-r1.ebuild71
4 files changed, 86 insertions, 6 deletions
diff --git a/dev-lang/gforth/ChangeLog b/dev-lang/gforth/ChangeLog
index 7ccdb18b37bc..379b7eef8208 100644
--- a/dev-lang/gforth/ChangeLog
+++ b/dev-lang/gforth/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/gforth
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/ChangeLog,v 1.9 2004/07/02 04:26:05 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/ChangeLog,v 1.10 2004/07/29 01:11:41 jbms Exp $
+
+*gforth-0.5.0-r1 (28 Jul 2004)
+
+ 28 Jul 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> gforth-0.5.0-r1.ebuild:
+ Fixed sandbox violation, and added proper handling for Emacs support
+ Resolves Bug #54084
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> gforth-0.5.0.ebuild,
gforth-0.6.1-r1.ebuild, gforth-0.6.1.ebuild, gforth-0.6.2.ebuild:
diff --git a/dev-lang/gforth/Manifest b/dev-lang/gforth/Manifest
index 9cbf090717ea..a6eaabf6802c 100644
--- a/dev-lang/gforth/Manifest
+++ b/dev-lang/gforth/Manifest
@@ -1,11 +1,13 @@
-MD5 e1ed78363e0d9a75d4c74b5e3dc4e65e ChangeLog 1749
MD5 f537a3e10675a041c1ee3ddadfa396b7 gforth-0.5.0.ebuild 1356
+MD5 7adb9459b8ded5b6ada4b2a583b88d0f gforth-0.6.2.ebuild 1341
+MD5 587017ab8efcdbce41bef845c6b3ea0c ChangeLog 1954
MD5 4243f6706be50354c7907bd6d14e616b gforth-0.6.1-r1.ebuild 1366
+MD5 47c5c8ad8be64690158be0beb711b7b1 gforth-0.5.0-r1.ebuild 1753
MD5 29948c4ed93e349d4a553450436bb304 gforth-0.6.1.ebuild 1365
-MD5 7adb9459b8ded5b6ada4b2a583b88d0f gforth-0.6.2.ebuild 1341
-MD5 74edc6d12c9a8d2858070dc09e2c264c files/50gforth-gentoo.el 200
+MD5 7a30c3b5440bf0523287414f644ce1db files/digest-gforth-0.5.0-r1 65
+MD5 a046426efcf946fd34d9ad1f22311bc9 files/digest-gforth-0.6.1-r1 65
+MD5 eaf0babab3dec9a6b74e876829e1a68a files/gforth.el-gentoo.patch 1518
MD5 7a30c3b5440bf0523287414f644ce1db files/digest-gforth-0.5.0 65
MD5 a046426efcf946fd34d9ad1f22311bc9 files/digest-gforth-0.6.1 65
-MD5 a046426efcf946fd34d9ad1f22311bc9 files/digest-gforth-0.6.1-r1 65
MD5 288a9f927bbcb355499af2795baa6248 files/digest-gforth-0.6.2 65
-MD5 eaf0babab3dec9a6b74e876829e1a68a files/gforth.el-gentoo.patch 1518
+MD5 74edc6d12c9a8d2858070dc09e2c264c files/50gforth-gentoo.el 200
diff --git a/dev-lang/gforth/files/digest-gforth-0.5.0-r1 b/dev-lang/gforth/files/digest-gforth-0.5.0-r1
new file mode 100644
index 000000000000..88f8603923f9
--- /dev/null
+++ b/dev-lang/gforth/files/digest-gforth-0.5.0-r1
@@ -0,0 +1 @@
+MD5 db16b64e9d63934bc4455e9b2aebbe13 gforth-0.5.0.tar.gz 1472986
diff --git a/dev-lang/gforth/gforth-0.5.0-r1.ebuild b/dev-lang/gforth/gforth-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..d3c983db5472
--- /dev/null
+++ b/dev-lang/gforth/gforth-0.5.0-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/gforth-0.5.0-r1.ebuild,v 1.1 2004/07/29 01:11:41 jbms Exp $
+
+IUSE="emacs"
+
+inherit flag-o-matic elisp-common
+
+DESCRIPTION="GNU Forth is a fast and portable implementation of the ANS Forth language"
+HOMEPAGE="http://www.gnu.org/software/gforth"
+SRC_URI="http://www.complang.tuwien.ac.at/forth/gforth/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+# Admittedly this should be UNSTABLE
+KEYWORDS="~x86"
+
+DEPEND="virtual/libc
+ emacs? ( virtual/emacs )"
+
+SITEFILE=50gforth-gentoo.el
+
+src_compile() {
+ # A lot of trouble with gcc3 and heavy opt flags, so let's try to dial
+ # it down to -O1 at the most.
+ strip-flags
+ export CFLAGS="${CFLAGS//-O?} -O"
+
+ econf --enable-force-reg --without-debug || die "./configure failed"
+ # some configure flags that trip up gcc3.x are
+ # built into the thing. Get rid of the things.
+ cp Makefile Makefile.orig
+ sed -e "s:-O3::" Makefile.orig >Makefile
+ cp engine/Makefile engine/Makefile.orig
+ sed -e "s:-O3::" engine/Makefile.orig >engine/Makefile
+ emake XCFLAGS="" ENGINE_FLAGS="" || die
+
+ if use emacs; then
+ elisp-comp *.el || die
+ fi
+}
+
+src_install () {
+ make install \
+ prefix=${D}/usr \
+ libdir=${D}/usr/lib \
+ infodir=${D}/usr/share/info \
+ mandir=${D}/usr/share/man \
+ datadir=${D}/usr/share \
+ bindir=${D}/usr/bin \
+ install || die
+
+ dodoc AUTHORS README INSTALL NEWS doc/glossaries.doc gforth.ps || die
+
+ if use emacs; then
+ elisp-install ${PN} *.el *.elc || die
+ elisp-site-file-install ${FILESDIR}/${SITEFILE} || die
+ fi
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elisp-site-regen
+ fi
+}
+
+pkg_postrm() {
+ if use emacs; then
+ elisp-site-regen
+ fi
+}