Gentoo Archives: gentoo-commits

From: "Kevin McCarthy (signals)" <signals@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/dav: ChangeLog dav-0.8.5-r1.ebuild
Date: Tue, 05 Apr 2011 18:21:01
Message-Id: 20110405182051.7532820054@flycatcher.gentoo.org
signals     11/04/05 18:20:51

  Modified:             ChangeLog
  Added:                dav-0.8.5-r1.ebuild
  Log:
  Fix buffer overflow in rc parse routine. #340905
  
  (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

Revision  Changes    Path
1.14                 app-editors/dav/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/dav/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	5 Apr 2010 04:06:56 -0000	1.13
+++ ChangeLog	5 Apr 2011 18:20:51 -0000	1.14
@@ -1,6 +1,12 @@
 # ChangeLog for app-editors/dav
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/dav/ChangeLog,v 1.13 2010/04/05 04:06:56 abcd Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/dav/ChangeLog,v 1.14 2011/04/05 18:20:51 signals Exp $
+
+*dav-0.8.5-r1 (05 Apr 2011)
+
+  05 Apr 2011; Kevin McCarthy <signals@g.o> +dav-0.8.5-r1.ebuild,
+  +files/dav-0.8.5-davrc-buffer-overflow.patch:
+  Fix buffer overflow in rc parse routine. #340905
 
   05 Apr 2010; Jonathan Callen <abcd@g.o> dav-0.8.5.ebuild:
   Bump to EAPI=3, add prefix keywords



1.1                  app-editors/dav/dav-0.8.5-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild?rev=1.1&content-type=text/plain

Index: dav-0.8.5-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild,v 1.1 2011/04/05 18:20:51 signals Exp $

EAPI="3"

inherit eutils toolchain-funcs

DESCRIPTION="A minimal console text editor"
HOMEPAGE="http://dav-text.sourceforge.net/"

# The maintainer does not keep sourceforge's mirrors up-to-date,
# so we point to the website's store of files.
SRC_URI="http://dav-text.sourceforge.net/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""

DEPEND="sys-libs/ncurses"
RDEPEND="${DEPEND}"

src_prepare() {
	epatch "${FILESDIR}"/${P}-asneeded.patch \
		"${FILESDIR}"/${P}-davrc-buffer-overflow.patch
}

src_configure() { :; }

src_compile() {
	emake CFLAGS="${CFLAGS}" \
		LDFLAGS="${LDFLAGS} -lncurses" \
		CC="$(tc-getCC)" \
		|| die "emake failed"
}

src_install() {
	# no ./configure and doesn't hardcode /usr, so ED is fine
	emake DESTDIR="${ED}" install || die
	dodoc README
}