From b07c03e83ef832f04f0674762b7f6bd19d194a74 Mon Sep 17 00:00:00 2001 From: Masatomo Nakano Date: Mon, 16 May 2005 03:05:13 +0000 Subject: added two patches to fix bug (Portage version: 2.0.51.21-r1) --- dev-util/cvsspam/ChangeLog | 8 +++++- dev-util/cvsspam/cvsspam-0.2.11-r1.ebuild | 32 ++++++++++++++++++++++ dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch | 22 +++++++++++++++ dev-util/cvsspam/files/digest-cvsspam-0.2.11-r1 | 1 + 4 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 dev-util/cvsspam/cvsspam-0.2.11-r1.ebuild create mode 100644 dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch create mode 100644 dev-util/cvsspam/files/digest-cvsspam-0.2.11-r1 (limited to 'dev-util/cvsspam') diff --git a/dev-util/cvsspam/ChangeLog b/dev-util/cvsspam/ChangeLog index 302f94f406ba..aa5d70cf5906 100644 --- a/dev-util/cvsspam/ChangeLog +++ b/dev-util/cvsspam/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/cvsspam # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cvsspam/ChangeLog,v 1.6 2005/05/12 17:47:28 nakano Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cvsspam/ChangeLog,v 1.7 2005/05/16 03:05:13 nakano Exp $ + +*cvsspam-0.2.11-r1 (16 May 2005) + + 16 May 2005; Masatomo Nakano + +files/cvsspam-0.2.11-gentoo.patch, +cvsspam-0.2.11-r1.ebuild: + Added two bug fixing patches. (#63463) 12 May 2005; Masatomo Nakano cvsspam-0.2.11.ebuild: Fixed DESCRIPTION. diff --git a/dev-util/cvsspam/cvsspam-0.2.11-r1.ebuild b/dev-util/cvsspam/cvsspam-0.2.11-r1.ebuild new file mode 100644 index 000000000000..ae24343ccbfb --- /dev/null +++ b/dev-util/cvsspam/cvsspam-0.2.11-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cvsspam/cvsspam-0.2.11-r1.ebuild,v 1.1 2005/05/16 03:05:13 nakano Exp $ + +inherit eutils + +DESCRIPTION="Utility to send colored HTML CVS-mails" +SRC_URI="http://www.badgers-in-foil.co.uk/projects/cvsspam/${P}.tar.gz" +HOMEPAGE="http://www.badgers-in-foil.co.uk/projects/cvsspam/" +LICENSE="GPL-2" +DEPEND="virtual/libc" +RDEPEND="dev-lang/ruby" +KEYWORDS="~x86 ~ppc" +SLOT="0" +IUSE="" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_install() { + dobin collect_diffs.rb || die + dobin cvsspam.rb || die + dobin record_lastdir.rb || die + insinto /etc/cvsspam || die + doins cvsspam.conf || die + + dohtml cvsspam-doc.html + dodoc COPYING CREDITS TODO cvsspam-doc.pdf +} diff --git a/dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch b/dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch new file mode 100644 index 000000000000..2d91106f1c2c --- /dev/null +++ b/dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch @@ -0,0 +1,22 @@ +--- collect_diffs.rb.org 2004-12-11 21:38:10.000000000 +0100 ++++ collect_diffs.rb 2004-12-11 21:46:35.235302401 +0100 +@@ -100,7 +100,7 @@ + def collect_antique_style_args(cvs_info) + # remove leading slashes that may appear due to the user entering trailing + # slashes in their CVSROOT specification +- cvs_info.sub!(/^\/+/, "") ++ cvs_info = cvs_info.sub(/^\/+/, "") + + unless cvs_info.slice(0, $repository_path.length+1) == "#{$repository_path} " + fail "calculated repository path ('#{$repository_path}') doesn't match start of command line arg ('#{cvs_info}')" +--- cvsspam.rb 9 Dec 2004 23:51:31 -0000 1.61 ++++ cvsspam.rb 22 Jan 2005 23:58:44 -0000 +@@ -930,7 +930,7 @@ + + # start the diff output, using the given lines as the 'preamble' bit + def start_output(*lines) +- println("