Would it make sense to add an svn use flag to the cvsspam package to install a patched cvsspam.rb as well as the commit-SVNspam.pl script, as found at: http://lists.badgers-in-foil.co.uk/pipermail/svnspam-dev/2004-May/000002.html I've tested these scripts manually (no ebuild) with cvsspam-0.2.12 and they seem to be working great. I'm attaching all the relevant files. If someone gives me the okay to add this use flag, then I can try to create an ebuild (cvsspam-0.2.12-r1 ?) and post it here.
*** Bug 157015 has been marked as a duplicate of this bug. ***
Created attachment 103290 [details, diff] patch to cvsspam.rb for svn These are the same changes as the patch at http://lists.badgers-in-foil.co.uk/pipermail/svnspam-dev/2004-May/000002.html
Created attachment 103292 [details] svn post commit hook script for cvs spam From http://lists.badgers-in-foil.co.uk/pipermail/svnspam-dev/2004-May/000002.html but updated with gentoo's paths (/usr/bin/cvsspam.rb and /usr/bin/svnlook -- maybe these shouldn't be hardcoded?) This script acts as an svn frontend to cvsspam.rb This script can then be called from the post-commit hook file.
Created attachment 103374 [details, diff] proposed patch to cvsspam ebuild to add svn use flag This will patch the current 0.2.12 ebuild in portage to add the svn use flag. It relies on the second file being in the files subdir and named cvsspam-0.2.12-commit-SVNspam.pl I have the following in my post-commit hook script that uses svnspam: REPOS="$1" REV="$2" /usr/bin/commit-SVNspam.pl "$REPOS" "$REV" \ --from me@here.com me@here.com \ -m '^subproject/.*' --from me@here.com me@here.com,you@there.com
Reassigning since nakano has retired from Gentoo.
Fixed removed old ebuilds -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/cvsspam/ChangeLog,v 1.13 2009/09/23 17:43:19 patrick Exp $ + 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 +
A global "subversion" USE flag exists, therefore I've changed it to this. Package was moved to dev-vcs/cvsspam, see bug 56967.