summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2005-01-11 22:45:06 +0000
committerTom Martin <slarti@gentoo.org>2005-01-11 22:45:06 +0000
commitb7b7152aeaaf949cd29473f539c1284692133912 (patch)
tree66405629e8daeca3f65219c4759649f4de9aa007 /app-text/crm114
parentInitial import. The ebuild was contributed by Alexander Holler. (Manifest rec... (diff)
downloadgentoo-2-b7b7152aeaaf949cd29473f539c1284692133912.tar.gz
gentoo-2-b7b7152aeaaf949cd29473f539c1284692133912.tar.bz2
gentoo-2-b7b7152aeaaf949cd29473f539c1284692133912.zip
version bump, #76811
Diffstat (limited to 'app-text/crm114')
-rw-r--r--app-text/crm114/ChangeLog8
-rw-r--r--app-text/crm114/Manifest20
-rw-r--r--app-text/crm114/crm114-20041231.ebuild102
-rw-r--r--app-text/crm114/files/digest-crm114-200412311
4 files changed, 121 insertions, 10 deletions
diff --git a/app-text/crm114/ChangeLog b/app-text/crm114/ChangeLog
index a3e1beb8c64c..dc05cb22add4 100644
--- a/app-text/crm114/ChangeLog
+++ b/app-text/crm114/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/crm114
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.16 2005/01/01 16:07:04 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.17 2005/01/11 22:45:06 slarti Exp $
+
+*crm114-20041231 (11 Jan 2005)
+
+ 11 Jan 2005; Tom Martin <slarti@gentoo.org> +crm114-20041231.ebuild:
+ Version bump, resolves bug 76811. Thanks to John Hampton
+ <pacopablo@pacopablo.com> for the report.
*crm114-20041110 (20 Nov 2004)
diff --git a/app-text/crm114/Manifest b/app-text/crm114/Manifest
index 61eb7ac71d54..27896b92e5fd 100644
--- a/app-text/crm114/Manifest
+++ b/app-text/crm114/Manifest
@@ -1,16 +1,18 @@
-MD5 442b8d48be98ffa6c3dab8acbc8e63f5 ChangeLog 2934
-MD5 0a3a24167e47d6943ab27f3176ef650b crm114-20040627.ebuild 1837
+MD5 594fd0fe05968b8fbe601e36e7dfaf9c crm114-20040820.ebuild 1944
+MD5 07aa984171ebdd49ace8652d5ef9d2b4 ChangeLog 3141
+MD5 6c5a9a0c77fcb41511d8fbbd2c66fe0e crm114-20040627-r1.ebuild 1889
+MD5 96d6424b9b9f67c3d8989ece7b7df415 crm114-20041110.ebuild 2424
MD5 528e1f9f078b36a5bab55bebf79ba287 crm114-20040601.ebuild 1824
+MD5 92452ef78e11b57cc9c125c9c101dfbd crm114-20041231.ebuild 2477
+MD5 0a3a24167e47d6943ab27f3176ef650b crm114-20040627.ebuild 1837
MD5 30da451a6874a2d4bddc6390f02146e3 metadata.xml 546
-MD5 6c5a9a0c77fcb41511d8fbbd2c66fe0e crm114-20040627-r1.ebuild 1889
-MD5 594fd0fe05968b8fbe601e36e7dfaf9c crm114-20040820.ebuild 1944
MD5 791d022e8d005da663b84d1bc9474868 crm114-20040924.ebuild 2265
-MD5 96d6424b9b9f67c3d8989ece7b7df415 crm114-20041110.ebuild 2424
+MD5 065e158a2a5962aec93322b621d27b1c files/digest-crm114-20040924 91
MD5 4abb78bb7c3987fa2a351ee89da2e1a6 files/crm114-20040601-mailfilter.patch 455
-MD5 f99ce07e865639c39ccc81d817470035 files/digest-crm114-20040627 84
-MD5 b60ec2ffdc2282169af84338cd194420 files/digest-crm114-20040820 92
MD5 0fc29953d2967ddbdf87912a44176a3f files/digest-crm114-20040601 82
-MD5 1a7caa636b940f27ee5cb832bcfdbdf8 files/crm114-20040627-loopfix.patch 604
+MD5 b60ec2ffdc2282169af84338cd194420 files/digest-crm114-20040820 92
MD5 f99ce07e865639c39ccc81d817470035 files/digest-crm114-20040627-r1 84
-MD5 065e158a2a5962aec93322b621d27b1c files/digest-crm114-20040924 91
MD5 ceddac5321febaa45361fc0023780212 files/digest-crm114-20041110 89
+MD5 1a7caa636b940f27ee5cb832bcfdbdf8 files/crm114-20040627-loopfix.patch 604
+MD5 1072e0ff99ef1c84163d04ea38f2b083 files/digest-crm114-20041231 87
+MD5 f99ce07e865639c39ccc81d817470035 files/digest-crm114-20040627 84
diff --git a/app-text/crm114/crm114-20041231.ebuild b/app-text/crm114/crm114-20041231.ebuild
new file mode 100644
index 000000000000..928f8e5fd221
--- /dev/null
+++ b/app-text/crm114/crm114-20041231.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20041231.ebuild,v 1.1 2005/01/11 22:45:06 slarti Exp $
+
+inherit eutils
+
+IUSE="nls static normalizemime mew mimencode"
+
+MY_P="${P}.BlameSanAndreas.src"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="A powerful text processing tools, mainly used for spam filtering"
+HOMEPAGE="http://crm114.sourceforge.net/"
+SRC_URI="http://crm114.sourceforge.net/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+TREVERS="0.7.2"
+
+DEPEND=">=sys-apps/sed-4
+ virtual/libc
+ mail-filter/procmail
+ normalizemime? ( mail-filter/normalizemime )
+ mew? ( app-emacs/mew )
+ mimencode? ( net-mail/metamail )
+ !static? ( >=dev-libs/tre-${TREVERS} )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i "s#^CFLAGS.*#CFLAGS+=${CFLAGS} -I.#" Makefile
+
+ if use static ; then
+ sed -i "s#-ltre#-L${S}/${TREVERS}/lib/.libs/ -ltre#g" Makefile
+ else
+ sed -i "s#-static##g" Makefile
+ fi
+ sed -i "s#ln -f -s crm114_tre crm114##" Makefile
+
+ if use mimencode ; then
+ einfo "Using mimencode -- adjusting mailfilter.cf"
+ sed -i 's%#:mime_decoder: /mimencode -u/%:mime_decoder: /mimencode -u/%' \
+ mailfilter.cf
+ sed -i 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
+ mailfilter.cf
+ elif use normalizemime ; then
+ einfo "Using normalizemime -- adjusting mailfilter.cf"
+ sed -i 's%#:mime_decoder: /normalizemime/%:mime_decoder: /normalizemime/%' mailfilter.cf
+
+ sed -i 's%:mime_decoder: /mewdecode/%#:mime_decoder: /mewdecode/%' \
+ mailfilter.cf
+ fi
+
+ cd ${S}/tre-${TREVERS}
+ chmod +x configure
+}
+
+src_compile() {
+ # Build TRE library.
+ if use static ; then
+ cd ${S}/tre-${TREVERS}
+ econf \
+ $(use_enable nls) \
+ $(use_enable static) \
+ --enable-system-abi \
+ --disable-profile \
+ --disable-agrep \
+ --disable-debug || die
+ emake || die
+ fi
+
+ # Build crm114
+ cd ${S}
+ emake || die
+}
+
+src_install() {
+ cd ${S}
+ dobin crm114_tre cssutil cssdiff cssmerge
+ dosym crm114_tre /usr/bin/crm114
+ dosym crm114_tre /usr/bin/crm
+
+ dodoc COLOPHON.txt CRM114_Mailfilter_HOWTO.txt FAQ.txt INTRO.txt
+ dodoc QUICKREF.txt classify_details.txt inoc_passwd.txt
+ dodoc knownbugs.txt things_to_do.txt README
+ docinto examples
+ dodoc *.example
+ dodoc procmail.recipe
+
+ insinto /usr/share/${PN}
+ doins *.crm
+ doins *.cf
+ doins *.mfp
+}
+
+pkg_postinst() {
+ echo
+ einfo "The spam-filter CRM files are installed in /usr/share/${PN}."
+ echo
+}
diff --git a/app-text/crm114/files/digest-crm114-20041231 b/app-text/crm114/files/digest-crm114-20041231
new file mode 100644
index 000000000000..05f9981fa8ac
--- /dev/null
+++ b/app-text/crm114/files/digest-crm114-20041231
@@ -0,0 +1 @@
+MD5 51ad227f8e7d356d25ce12b6dbee0399 crm114-20041231.BlameSanAndreas.src.tar.gz 856318