summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2008-09-03 13:31:24 +0000
committerDoug Goldstein <cardoe@gentoo.org>2008-09-03 13:31:24 +0000
commit2263fc86a3be796d471c272f5c3cc63b2e40670f (patch)
tree89d92631a4849147c7dc0e562701200cccb1094a /sys-apps/ed
parentFix Emacs support, bug 187332. Other small fixes. (diff)
downloadgentoo-2-2263fc86a3be796d471c272f5c3cc63b2e40670f.tar.gz
gentoo-2-2263fc86a3be796d471c272f5c3cc63b2e40670f.tar.bz2
gentoo-2-2263fc86a3be796d471c272f5c3cc63b2e40670f.zip
version bump. fixes buffer overflow in strip_escapes(). bug #236521
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r8 x86_64)
Diffstat (limited to 'sys-apps/ed')
-rw-r--r--sys-apps/ed/ChangeLog7
-rw-r--r--sys-apps/ed/ed-1.0.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/sys-apps/ed/ChangeLog b/sys-apps/ed/ChangeLog
index 84b6f14af270..38c3baa17627 100644
--- a/sys-apps/ed/ChangeLog
+++ b/sys-apps/ed/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/ed
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ChangeLog,v 1.65 2008/06/16 03:52:20 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ChangeLog,v 1.66 2008/09/03 13:31:24 cardoe Exp $
+
+*ed-1.0 (03 Sep 2008)
+
+ 03 Sep 2008; Doug Goldstein <cardoe@gentoo.org> +ed-1.0.ebuild:
+ version bump. fixes buffer overflow in strip_escapes(). bug #236521
16 Jun 2008; Joseph Jezak <josejx@gentoo.org> ed-0.9.ebuild:
Marked ppc/ppc64 stable.
diff --git a/sys-apps/ed/ed-1.0.ebuild b/sys-apps/ed/ed-1.0.ebuild
new file mode 100644
index 000000000000..e23e0cf246e2
--- /dev/null
+++ b/sys-apps/ed/ed-1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-1.0.ebuild,v 1.1 2008/09/03 13:31:24 cardoe Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Your basic line editor"
+HOMEPAGE="http://www.gnu.org/software/ed/"
+SRC_URI="mirror://gnu/ed/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="sys-apps/texinfo"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.5-build.patch
+}
+
+src_compile() {
+ tc-export CC CXX
+ # custom configure script ... econf wont work
+ ./configure \
+ --prefix=/ \
+ --datadir=/usr/share \
+ ${EXTRA_ECONF} \
+ || die
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ doman doc/ed.1
+ dosym ed.1 /usr/share/man/man1/red.1
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}