diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-vcs/cvsspam | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-vcs/cvsspam')
-rw-r--r-- | dev-vcs/cvsspam/Manifest | 4 | ||||
-rw-r--r-- | dev-vcs/cvsspam/cvsspam-0.2.12.ebuild | 34 | ||||
-rw-r--r-- | dev-vcs/cvsspam/files/cvsspam-0.2.12-svn.patch | 30 | ||||
-rw-r--r-- | dev-vcs/cvsspam/metadata.xml | 5 |
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-vcs/cvsspam/Manifest b/dev-vcs/cvsspam/Manifest new file mode 100644 index 000000000000..0476924f3cf6 --- /dev/null +++ b/dev-vcs/cvsspam/Manifest @@ -0,0 +1,4 @@ +AUX cvsspam-0.2.12-svn.patch 806 BLAKE2B 228b320f9e02d8d756d8b191be7f38d39be7ebe88f6da7f4956cd3ee6d5312bb750e4884b63535ba4f1a3e54fdc78ca55c23ee414d3e0f92022c77c77bed20cc SHA512 ee3092a73edae7f5ca85800206f520653dda8334ceeef745c6d0390bba747ad4a7fd8e03b39188ac2e0bf76315fa8178e9106a7ac8b68083a2a610733b5ae03c +DIST cvsspam-0.2.12.tar.gz 83714 BLAKE2B 4c71f76a489da136fefaaf4c6735bd074f7439b709bb2b3872ccbf3dea80c366be3de3dfd3ff3c8a59162ad97a6d81a2b6b5fdc0f59562dcef78fb9cf45c146f SHA512 80786f980fe5070fff90de8e7a470cdf91ee8ddbd4c37fb1d98d0ddc042d157f2f74998962eaab1a24503b9147fae2129db35f1d505b557a8c75325d1e101bec +EBUILD cvsspam-0.2.12.ebuild 726 BLAKE2B 846efd5036996f91c0583b2e19af9b22320b08d772661cebec6a6d1861450a385cdfdeadce9ee504de63058050fa891b0712f82a6bbc0693f0be08334ef6fc27 SHA512 820242b0488eec151d7b83b5d9adeee28c01adab12e39763df16c5f4e5ecb28418629878b2448308d89b19b68e175069f6e70fbc3c2c47bc5c77caf194ff9bb5 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 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..dfded9ed2600 --- /dev/null +++ b/dev-vcs/cvsspam/cvsspam-0.2.12.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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-vcs/subversion ) +" + +src_prepare() { + use subversion && epatch "${FILESDIR}/${P}-svn.patch" +} + +src_install() { + dobin collect_diffs.rb + dobin cvsspam.rb + dobin record_lastdir.rb + insinto /etc/cvsspam + doins cvsspam.conf + + 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..6f49eba8f496 --- /dev/null +++ b/dev-vcs/cvsspam/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |