summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2005-05-16 03:05:13 +0000
committerMasatomo Nakano <nakano@gentoo.org>2005-05-16 03:05:13 +0000
commitb07c03e83ef832f04f0674762b7f6bd19d194a74 (patch)
tree3ae250271f2d9947a3ace1be975b561d1de05081 /dev-util/cvsspam
parentdont run iconv when cross-compiling #92695 (diff)
downloadgentoo-2-b07c03e83ef832f04f0674762b7f6bd19d194a74.tar.gz
gentoo-2-b07c03e83ef832f04f0674762b7f6bd19d194a74.tar.bz2
gentoo-2-b07c03e83ef832f04f0674762b7f6bd19d194a74.zip
added two patches to fix bug
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'dev-util/cvsspam')
-rw-r--r--dev-util/cvsspam/ChangeLog8
-rw-r--r--dev-util/cvsspam/cvsspam-0.2.11-r1.ebuild32
-rw-r--r--dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch22
-rw-r--r--dev-util/cvsspam/files/digest-cvsspam-0.2.11-r11
4 files changed, 62 insertions, 1 deletions
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 <nakano@gentoo.org>
+ +files/cvsspam-0.2.11-gentoo.patch, +cvsspam-0.2.11-r1.ebuild:
+ Added two bug fixing patches. (#63463)
12 May 2005; Masatomo Nakano <nakano@gentoo.org> 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("<hr /><a name=\"file#{$fileEntries.size+1}\" /><div class=\"file\">")
++ println("<hr /><a name=\"file#{$fileEntries.size}\" /><div class=\"file\">")
+ case $file.type
+ when "A"
+ print("<span class=\"pathname\" id=\"added\">")
diff --git a/dev-util/cvsspam/files/digest-cvsspam-0.2.11-r1 b/dev-util/cvsspam/files/digest-cvsspam-0.2.11-r1
new file mode 100644
index 000000000000..8f270a2f5236
--- /dev/null
+++ b/dev-util/cvsspam/files/digest-cvsspam-0.2.11-r1
@@ -0,0 +1 @@
+MD5 e2fe350b845ad1d2ff935f623a0f543a cvsspam-0.2.11.tar.gz 63366