summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/cvsspam')
-rw-r--r--dev-vcs/cvsspam/ChangeLog69
-rw-r--r--dev-vcs/cvsspam/cvsspam-0.2.12.ebuild34
-rw-r--r--dev-vcs/cvsspam/files/cvsspam-0.2.12-svn.patch30
-rw-r--r--dev-vcs/cvsspam/metadata.xml8
4 files changed, 141 insertions, 0 deletions
diff --git a/dev-vcs/cvsspam/ChangeLog b/dev-vcs/cvsspam/ChangeLog
new file mode 100644
index 000000000000..3866f969b009
--- /dev/null
+++ b/dev-vcs/cvsspam/ChangeLog
@@ -0,0 +1,69 @@
+# ChangeLog for dev-vcs/cvsspam
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvsspam/ChangeLog,v 1.1 2010/03/06 21:11:33 ulm Exp $
+
+ 06 Mar 2010; Ulrich Mueller <ulm@gentoo.org> +cvsspam-0.2.12.ebuild,
+ +files/cvsspam-0.2.12-svn.patch, +metadata.xml:
+ Move cvsspam from dev-util to dev-vcs, bug 56967. Use global subversion
+ USE flag instead of local svn flag. Remove stale patch.
+
+ 03 Mar 2010; Markos Chandras <hwoarang@gentoo.org> -cvsspam-0.2.11.ebuild,
+ -cvsspam-0.2.11-r1.ebuild, cvsspam-0.2.12.ebuild,
+ +files/cvsspam-0.2.12-svn.patch:
+ Add svn use flag. Include patch from Ben Taitelbaum
+ <btaitelb@cs.oberlin.edu>. EAPI2fy it and keyworded for amd64. Fixes bug
+ #157014
+
+ 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> cvsspam-0.2.11.ebuild,
+ cvsspam-0.2.11-r1.ebuild, cvsspam-0.2.12.ebuild:
+ Remove virtual/libc
+
+ 14 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml,
+ cvsspam-0.2.11.ebuild, cvsspam-0.2.11-r1.ebuild, cvsspam-0.2.12.ebuild:
+ Removing Masatomo Nakano (nakano, #200340) from metadata.xml. Fixing the
+ minor syntax errors.
+
+ 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
+ Regenerate digest in Manifest2 format.
+
+ 13 Aug 2005; Michael Hanselmann <hansmi@gentoo.org>
+ cvsspam-0.2.11-r1.ebuild:
+ Stable on ppc.
+
+*cvsspam-0.2.12 (13 Jul 2005)
+
+ 13 Jul 2005; Masatomo Nakano <nakano@gentoo.org> +cvsspam-0.2.12.ebuild:
+ Version bump.
+
+ 24 Jun 2005; Masatomo Nakano <nakano@gentoo.org> cvsspam-0.2.11-r1.ebuild:
+ Marked stable on x86.
+
+*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.
+
+ 24 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> cvsspam-0.2.11.ebuild:
+ Stable on ppc.
+
+ 26 Dec 2004; Masatomo Nakano <nakano@gentoo.org> -cvsspam-0.2.10.ebuild,
+ cvsspam-0.2.11.ebuild:
+ Marked stable on x86.
+
+*cvsspam-0.2.11 (13 Dec 2004)
+
+ 13 Dec 2004; Masatomo Nakano <nakano@gentoo.org> +cvsspam-0.2.11.ebuild:
+ Version bump.
+
+ 03 Sep 2004; David Holm <dholm@gentoo.org> cvsspam-0.2.10.ebuild:
+ Added to ~ppc.
+
+*cvsspam-0.2.10 (27 Aug 2004)
+
+ 27 Aug 2004; Masatomo Nakano <nakano@gentoo.org> +metadata.xml,
+ +cvsspam-0.2.10.ebuild:
+ Initial import.
diff --git a/dev-vcs/cvsspam/cvsspam-0.2.12.ebuild b/dev-vcs/cvsspam/cvsspam-0.2.12.ebuild
new file mode 100644
index 000000000000..7414594a9acf
--- /dev/null
+++ b/dev-vcs/cvsspam/cvsspam-0.2.12.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvsspam/cvsspam-0.2.12.ebuild,v 1.1 2010/03/06 21:11:33 ulm Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="Utility to send colored HTML CVS-mails"
+HOMEPAGE="http://www.badgers-in-foil.co.uk/projects/cvsspam/"
+SRC_URI="http://www.badgers-in-foil.co.uk/projects/cvsspam/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="subversion"
+
+RDEPEND="dev-lang/ruby
+ subversion? ( dev-util/subversion )"
+
+src_prepare() {
+ use subversion && epatch "${FILESDIR}/${P}-svn.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 CREDITS TODO cvsspam-doc.pdf
+}
diff --git a/dev-vcs/cvsspam/files/cvsspam-0.2.12-svn.patch b/dev-vcs/cvsspam/files/cvsspam-0.2.12-svn.patch
new file mode 100644
index 000000000000..3278f94bc005
--- /dev/null
+++ b/dev-vcs/cvsspam/files/cvsspam-0.2.12-svn.patch
@@ -0,0 +1,30 @@
+--- cvsspam.rb.old 2006-12-02 13:36:48.000000000 -0500
++++ cvsspam.rb 2006-12-02 13:38:28.000000000 -0500
+@@ -1386,12 +1386,10 @@
+ $allTags = Hash.new
+
+ File.open("#{$logfile}.emailtmp", File::RDWR|File::CREAT|File::TRUNC) do |mail|
++ reader = LogReader.new($stdin)
+
+ $diff_output_limiter = OutputSizeLimiter.new(mail, $mail_size_limit)
+
+- File.open($logfile) do |log|
+- reader = LogReader.new(log)
+-
+ until reader.eof
+ handler = $handlers[reader.currentLineCode]
+ if handler == nil
+@@ -1399,12 +1397,11 @@
+ end
+ handler.handleLines(reader.getLines, $diff_output_limiter)
+ end
+- end
+
+ end
+
+ if $subjectPrefix == nil
+- $subjectPrefix = "[CVS #{Repository.array.join(',')}]"
++ $subjectPrefix = "[SVN #{Repository.array.join(',')}]"
+ end
+
+ if $files_in_subject
diff --git a/dev-vcs/cvsspam/metadata.xml b/dev-vcs/cvsspam/metadata.xml
new file mode 100644
index 000000000000..73420b6cf0f0
--- /dev/null
+++ b/dev-vcs/cvsspam/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+</maintainer>
+</pkgmetadata>