ChangeLog

# ChangeLog for app-text/crm114
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.32 2008/01/23 03:26:03 steev Exp $

*crm114-20070810 (23 Jan 2008)

23 Jan 2008; Steev Klimaszewski
-files/crm114-20040601-mailfilter.patch,
-files/crm114-20060118-fataltraptest.patch, -crm114-20040601.ebuild,
-crm114-20041110.ebuild, crm114-20041231.ebuild, -crm114-20050415.ebuild,
-crm114-20050518.ebuild, -crm114-20060118.ebuild, crm114-20060704a.ebuild,
+crm114-20070810.ebuild:
A bunch of cleanups... fixed quoting issues, removed old builds,
unfortunately, amd64 doesn't have a recent copy stable, need to file a
bug about that. Add the latest release as well. Hopefully we can get
this stable in ~30 days. This should fix bug #170127, as well as bug
#190240

06 May 2007; Tobias Scherbaum
crm114-20060704a.ebuild:
ppc stable

12 Mar 2007; Raúl Porcel crm114-20060704a.ebuild:
x86 stable

04 Mar 2007; Marius Mauch crm114-20040601.ebuild,
crm114-20041110.ebuild, crm114-20041231.ebuild, crm114-20050415.ebuild,
crm114-20050518.ebuild, crm114-20060118.ebuild, crm114-20060704a.ebuild:
Replacing einfo with elog

21 Feb 2007; Piotr Jaroszyński ChangeLog:
Transition to Manifest2.

19 Sep 2006; Steev Klimaszewski
+files/crm114-20060704a-fataltraptest.patch:
Add the patch that I forgot...

18 Sep 2006; Steev Klimaszewski metadata.xml:
Take over as maintainer from Seemant - also, I have left Paco as User
Maintainer, until I hear from him that he doesn't want to be any longer.

*crm114-20060704a (18 Sep 2006)

18 Sep 2006; Steev Klimaszewski
+crm114-20060704a.ebuild:
Version bump, seemant said I could. Also add ~x86-fbsd keyword, and closes bug
#146762, Thanks to Wolfram Schlich for reporting.

16 Sep 2006; Tobias Scherbaum
crm114-20041231.ebuild:
ppc stable

*crm114-20060118 (17 Apr 2006)

17 Apr 2006; Tom Martin
+files/crm114-20060118-fataltraptest.patch, +crm114-20060118.ebuild:
Version bump. Include a src_test this time; ${P}-fataltraptest.patch is
there to fix sandbox violations and a misleading diff at the end of the
test.

*crm114-20050518 (21 May 2005)

21 May 2005; Tom Martin +crm114-20050518.ebuild:
Version bump.

24 Apr 2005; Michael Hanselmann
crm114-20040601.ebuild:
Stable on ppc.

*crm114-20050415 (21 Apr 2005)

21 Apr 2005; Tom Martin
-files/crm114-20040627-loopfix.patch, -crm114-20040627.ebuild,
-crm114-20040627-r1.ebuild, -crm114-20040820.ebuild,
-crm114-20040924.ebuild, crm114-20041231.ebuild, +crm114-20050415.ebuild:
Version bump, resolves bug 89851 (no more procmail dependency now, so this
also resolves bug 69358). Mark 20041231 stable on amd64, and purge a few old
ebuilds.

12 Jan 2005; Tom Martin crm114-20041110.ebuild:
Stabilising on amd64.

12 Jan 2005; Tom Martin crm114-20041231.ebuild:
Install osbf-util, resolving bug 77600. Thanks to John Hampton
for reporting.

*crm114-20041231 (11 Jan 2005)

11 Jan 2005; Tom Martin +crm114-20041231.ebuild:
Version bump, resolves bug 76811. Thanks to John Hampton
for the report.

*crm114-20041110 (20 Nov 2004)

20 Nov 2004; Tom Martin +crm114-20041110.ebuild:
Version bump, resolves bug 70899. Thanks to John Hampton
for the revised ebuild.

*crm114-20040924 (30 Oct 2004)

30 Oct 2004; Tom Martin +crm114-20040924.ebuild:
Version bump. Thanks to Antonio Dolcetta and John
Hampton for reporting in bug 66522.

13 Oct 2004; Tom Martin metadata.xml:
Added to shell-tools herd, thanks Seemant.

03 Sep 2004; Tom Martin crm114-20040820.ebuild:
Marked ~amd64, resolves #58524. Thanks to Gabriel Ebner
for reporting.

*crm114-20040820 (31 Aug 2004)

31 Aug 2004; Seemant Kulleen crm114-20040601.ebuild,
+crm114-20040820.ebuild:
move 20040601 to stable

*crm114-20040820 (31 Aug 2004)

31 Aug 2004; Seemant Kulleen +crm114-20040820.ebuild:
version bump, thanks to: John Hampton in bug #62452

*crm114-20040627-r1 (17 Jul 2004)

17 Jul 2004; Seemant Kulleen
+files/crm114-20040627-loopfix.patch, +crm114-20040627-r1.ebuild:
add a patch to fix the infinite loop bug. Patch by: John Hampton
in bug #57313

*crm114-20040627 (12 Jul 2004)

12 Jul 2004; Seemant Kulleen -crm114-20030920.ebuild,
-crm114-20040212.ebuild, +crm114-20040627.ebuild:
version bump thanks to: Peter Simons and John Hampton
in bug #55221

01 Jul 2004; Jeremy Huddleston
crm114-20030920.ebuild, crm114-20040212.ebuild, crm114-20040601.ebuild:
virtual/glibc -> virtual/libc

10 Jun 2004; Aron Griffis crm114-20040601.ebuild:
Fix use invocation

10 Jun 2004; David Holm crm114-20040601.ebuild:
Added to ~ppc.

*crm114-20040601 (09 Jun 2004)

09 Jun 2004; Seemant Kulleen
+files/crm114-20040601-mailfilter.patch, +crm114-20040601.ebuild:
Version bump with a compile fix patch, thanks to: John Hampton
in bug #53252

*crm114-20040212 (22 Mar 2004)

22 Mar 2004; Seemant Kulleen crm114-20040212.ebuild:
Updated the ebuild to use the latest version.
The spam-filter *.crm files are now installed in /usr/share/crm114.
CFLAGS set by the user will now be used.

*crm114-20030920 (24 Sep 2003)

24 Sep 2003; Seemant Kulleen crm114-20030920.ebuild:
Controllable Reg-ex Mutilator. Ebuild submission by the venerable Peter Simons
in bug #29126

Manifest

AUX crm114-20060704a-fataltraptest.patch 1244 RMD160 ba85bd456316dd6740d60153a4b07e578962c644 SHA1 e9cd71af6ec3f6d18bf81fe75e2ca8f017fa12e0 SHA256 c289589cccf6ab488f894d1169886a568172020c7cb0d10bf3ade9b52e931563
DIST crm114-20041231.BlameSanAndreas.src.tar.gz 856318 RMD160 865bc9e13f1b4321e600d1464c64811ef6ce3a2f SHA1 0148c0e3d873f286167221c239c3b0eb6be66b3f SHA256 8b54a8c1a3375bf1ebc0c3dc7de0398384824cd18c6e29dacbb9276930bb905b
DIST crm114-20060704a-BlameRobert.src.tar.gz 1023938 RMD160 d949331fc8b65b36b09747c3a25b4e2b2f826d3a SHA1 76b0d2017c2e115cfcafd3fd03a9ec16d49209b5 SHA256 82e7474d218e479de984f3257b478c72b9ef2d7e78e4096eb481cf261bca816d
DIST crm114-20070810-BlameTheSegfault.src.tar.gz 562532 RMD160 f855ae7e63715d961d58fd84e3fa3d313c2befd8 SHA1 51fb06c8524d3581860aea27d071ee9353daffe3 SHA256 9137644e2a534131d5a215098a32b7b9c60f35b08151337d90b9894ff6642bac
EBUILD crm114-20041231.ebuild 2488 RMD160 978389f419d35f29a5291774d5bccf830012bf5b SHA1 50d0047a9a90f0425cb86b4e3d6e663dd6346233 SHA256 0cb0a4adc2a645561b5f53db03a86d6b95725b9b5c1d5d4525b498e147b031ff
EBUILD crm114-20060704a.ebuild 2633 RMD160 049de9aa924c9dc19603ab272ade1566552b84e2 SHA1 86e705f942577739c809f949201f13c20e15f9ca SHA256 254e16e1d2c247d537e3cd0a1f1d04d7495e3e3bc4325a4c5c4b05e3db152083
EBUILD crm114-20070810.ebuild 2231 RMD160 1273cc439c0eabc9ea9e6fbe3be3fd4545215f6c SHA1 1ed62157f8fff41aa2507dd308e645068772c52b SHA256 8b411eb406ce43a0ee70cbc564efe97f1c107f8907d2a7171ef19748316fc82c
MISC ChangeLog 6298 RMD160 b664f65ff5e5343c9a44cb3a9c56023cf4adc428 SHA1 bfa898eaa3fe9a2d6679938ea9966842c08f9123 SHA256 c8219126b39805d0536444e11e44ecd9f13981682d66ccd1988ec65d1da0ed04
MISC metadata.xml 537 RMD160 860d42c48db185823abf203789a70e535372ade8 SHA1 0692ba2cc8b6bc85db5ca288fa9ac0f13854ada3 SHA256 f62459b1a400afef2be2dc450b190e5853cb372b0d2cf2de1445b9035f93e683

crm114-20041231.ebuild

# Copyright 1999-2008 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.7 2008/01/23 03:26:03 steev Exp $

inherit eutils

IUSE="nls static normalizemime mew mimencode"

MY_P="${P}.BlameSanAndreas.src"
S=${WORKDIR}/${MY_P}
DESCRIPTION="A powerful text processing tool, 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="amd64 ppc ~x86"

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() {
dobin crm114_tre cssutil cssdiff cssmerge
dobin osbf-util
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
elog "The spam-filter CRM files are installed in /usr/share/${PN}."
echo
}

crm114-20060704a.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20060704a.ebuild,v 1.5 2008/01/23 03:26:03 steev Exp $

inherit eutils
#http://crm114.sourceforge.net/crm114-20060704a-BlameRobert.src.tar.gz
IUSE="nls static normalizemime mew mimencode test"

MY_P="${P}-BlameRobert.src"
S=${WORKDIR}/${MY_P}
DESCRIPTION="A powerful text processing tool, 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="~amd64 ppc x86 ~x86-fbsd"

TREVERS="0.7.4"

DEPEND=">=sys-apps/sed-4
virtual/libc
normalizemime? ( mail-filter/normalizemime )
mew? ( app-emacs/mew )
mimencode? ( net-mail/metamail )
!static? ( >=dev-libs/tre-${TREVERS} )
test? ( sys-apps/miscfiles )"

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}"/${P}-fataltraptest.patch

sed -i "s#^CFLAGS.*#CFLAGS+=${CFLAGS}#" Makefile

if use static ; then
sed -i "s#-ltre#-L${S}/tre-${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
emake -j1 || die
}

src_install() {
dobin crm114_tre cssutil cssdiff cssmerge
dobin osbf-util
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

insinto /usr/share/${PN}
doins *.crm
doins *.cf
doins *.mfp
}

src_test() {
make megatest
}

pkg_postinst() {
elog ""
elog "The spam-filter CRM files are installed in /usr/share/${PN}."
elog ""
}

crm114-20070810.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20070810.ebuild,v 1.2 2008/01/23 18:25:23 mr_bones_ Exp $

inherit eutils
IUSE="nls static normalizemime mew mimencode test"

MY_P="${P}-BlameTheSegfault.src"
S=${WORKDIR}/${MY_P}
DESCRIPTION="A powerful text processing tool, mainly used for spam filtering"
HOMEPAGE="http://crm114.sourceforge.net/"
SRC_URI="http://crm114.sourceforge.net/tarballs/${MY_P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"

TREVERS="0.7.5"

DEPEND=">=sys-apps/sed-4
virtual/libc
normalizemime? ( mail-filter/normalizemime )
mew? ( app-emacs/mew )
mimencode? ( net-mail/metamail )
>=dev-libs/tre-${TREVERS}
test? ( sys-apps/miscfiles )"

src_unpack() {
unpack ${A}
cd "${S}"

sed -i "s#^CFLAGS.*#CFLAGS+=${CFLAGS}#" Makefile
sed -i "s#^LDFLAGS.*#LDFLAGS+=${LDFLAGS}#" Makefile
if use static ; then
sed -i "s#-ltre#-L${S}/tre-${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

}

src_compile() {
emake -j1 || die
}

src_install() {
dobin crm114 cssutil cssdiff cssmerge
dobin cssutil cssdiff cssmerge
dobin osbf-util

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

insinto /usr/share/${PN}
doins *.crm
doins *.cf
doins *.mfp
}

src_test() {
make megatest
}

pkg_postinst() {
einfo ""
einfo "The spam-filter CRM files are installed in /usr/share/${PN}."
einfo ""
}

files

metadata.xml




shell-tools

steev@gentoo.org
Steev Klimaszewski
Maintainer


pacopablo@pacopablo.com
John Hampton
Consider him the user-maintainer of this package, and please
CC him on bug reports (if he's not the reporter).