summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-10-30 18:44:27 +0000
committerTom Martin <slarti@gentoo.org>2004-10-30 18:44:27 +0000
commit10835886a4d9cd5fea192c38b97b23c08c24a90e (patch)
tree1cee9701effd0822ee7471798933128c1e950247 /app-text/crm114
parentMoving to kde-misc/komics (diff)
downloadgentoo-2-10835886a4d9cd5fea192c38b97b23c08c24a90e.tar.gz
gentoo-2-10835886a4d9cd5fea192c38b97b23c08c24a90e.tar.bz2
gentoo-2-10835886a4d9cd5fea192c38b97b23c08c24a90e.zip
Version bump, see #63388.
Diffstat (limited to 'app-text/crm114')
-rw-r--r--app-text/crm114/ChangeLog8
-rw-r--r--app-text/crm114/Manifest12
-rw-r--r--app-text/crm114/crm114-20040924.ebuild98
-rw-r--r--app-text/crm114/files/digest-crm114-200409241
4 files changed, 108 insertions, 11 deletions
diff --git a/app-text/crm114/ChangeLog b/app-text/crm114/ChangeLog
index 49d1960cd1a7..ec955a54ee45 100644
--- a/app-text/crm114/ChangeLog
+++ b/app-text/crm114/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/crm114
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.13 2004/10/13 20:26:41 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.14 2004/10/30 18:44:27 slarti Exp $
+
+*crm114-20040924 (30 Oct 2004)
+
+ 30 Oct 2004; Tom Martin <slarti@gentoo.org> +crm114-20040924.ebuild:
+ Version bump. Thanks to Antonio Dolcetta <zagarna@yahoo.com> and John
+ Hampton <pacopablo@pacopablo.com> for reporting in bug 66522.
13 Oct 2004; Tom Martin <slarti@gentoo.org> metadata.xml:
Added to shell-tools herd, thanks Seemant.
diff --git a/app-text/crm114/Manifest b/app-text/crm114/Manifest
index 9b9a8c3300f1..6523b923ea0d 100644
--- a/app-text/crm114/Manifest
+++ b/app-text/crm114/Manifest
@@ -1,6 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 3ef6d162936709ec621d407e3dae31ac crm114-20040924.ebuild 2163
MD5 db1b1c8dce8a7f77b610a50c83787f3f crm114-20040627.ebuild 1835
MD5 01d11d0d2cf242f7095b9c8392adbd0c crm114-20040601.ebuild 1821
MD5 67beb8988829b28db016fca94b8397e1 crm114-20040820.ebuild 1940
@@ -13,10 +11,4 @@ MD5 f99ce07e865639c39ccc81d817470035 files/digest-crm114-20040627-r1 84
MD5 0fc29953d2967ddbdf87912a44176a3f files/digest-crm114-20040601 82
MD5 f99ce07e865639c39ccc81d817470035 files/digest-crm114-20040627 84
MD5 b60ec2ffdc2282169af84338cd194420 files/digest-crm114-20040820 92
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBbY+uCHk4+ZoBpvsRApdaAKC9SogTxgEXxuvFzIdTOBKJ2zywggCfX5/+
-yv9WGE+LFk+h8jsVJmVfcDY=
-=aGGY
------END PGP SIGNATURE-----
+MD5 065e158a2a5962aec93322b621d27b1c files/digest-crm114-20040924 91
diff --git a/app-text/crm114/crm114-20040924.ebuild b/app-text/crm114/crm114-20040924.ebuild
new file mode 100644
index 000000000000..e21e74fc94eb
--- /dev/null
+++ b/app-text/crm114/crm114-20040924.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20040924.ebuild,v 1.1 2004/10/30 18:44:27 slarti Exp $
+
+inherit eutils
+
+IUSE="nls static normalizemime mew mimencode"
+
+MY_P="${P}.BlameResidentWeasel.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.0"
+
+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 mew ; then
+ sed -i 's%:mime_decoder: /mewdecode/%:mime_decoder: /mewdecode/%' \
+ mailfilter.cf
+ elif use normalizemime ; then
+ sed -i 's%#:mime_decoder /normalizemime/%:mime_decoder: /normalizemime/%' \
+ 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
+
+# mkdir ${D}/usr/share/${PN}
+# cp -a *.crm ${D}/usr/share/${PN}
+# cp -a *.cf ${D}/usr/share/${PN}
+# cp -a *.mfp ${D}/usr/share/${PN}
+
+ 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-20040924 b/app-text/crm114/files/digest-crm114-20040924
new file mode 100644
index 000000000000..dec3cc95480c
--- /dev/null
+++ b/app-text/crm114/files/digest-crm114-20040924
@@ -0,0 +1 @@
+MD5 854404a8d043d0282d364d94f623ab48 crm114-20040924.BlameResidentWeasel.src.tar.gz 809042