summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-03-22 10:29:09 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-03-22 10:29:09 +0000
commitde58aed801440f7ff8edd278192efd099855ba53 (patch)
treebc4558d2b9fc75c797136b7dd22f076b8a9dbc5d /app-text/crm114
parentSet IUSE= to null (Manifest recommit) (diff)
downloadgentoo-2-de58aed801440f7ff8edd278192efd099855ba53.tar.gz
gentoo-2-de58aed801440f7ff8edd278192efd099855ba53.tar.bz2
gentoo-2-de58aed801440f7ff8edd278192efd099855ba53.zip
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.
Diffstat (limited to 'app-text/crm114')
-rw-r--r--app-text/crm114/ChangeLog13
-rw-r--r--app-text/crm114/Manifest4
-rw-r--r--app-text/crm114/crm114-20030920.ebuild4
-rw-r--r--app-text/crm114/crm114-20040212.ebuild68
-rw-r--r--app-text/crm114/files/digest-crm114-200402121
5 files changed, 84 insertions, 6 deletions
diff --git a/app-text/crm114/ChangeLog b/app-text/crm114/ChangeLog
index a7a991216833..8b11e09c098d 100644
--- a/app-text/crm114/ChangeLog
+++ b/app-text/crm114/ChangeLog
@@ -1,10 +1,17 @@
# ChangeLog for app-text/crm114
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.1 2003/09/24 21:54:53 seemant Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.2 2004/03/22 10:29:09 seemant Exp $
+
+*crm114-20040212 (22 Mar 2004)
+
+ 22 Mar 2004; Seemant Kulleen <seemant@gentoo.org> 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 <seemant@gentoo.org> crm114-20030920.ebuild:
Controllable Reg-ex Mutilator. Ebuild submission by the venerable Peter Simons
- <simons+gentoo@cryp.to> in bug #29126
+ <simons@cryp.to> in bug #29126
diff --git a/app-text/crm114/Manifest b/app-text/crm114/Manifest
index 3947a2081e22..aeb97acf511c 100644
--- a/app-text/crm114/Manifest
+++ b/app-text/crm114/Manifest
@@ -1,3 +1,5 @@
-MD5 340bfa1ab50a06063589159461182373 ChangeLog 443
+MD5 c334f80208fdcb11dce1b00e62204ae6 crm114-20040212.ebuild 1525
MD5 c0537fdcef45a7042e753e965ca6106b crm114-20030920.ebuild 1310
+MD5 47ede99e5978aac1e29cef7257dd5de9 ChangeLog 710
MD5 c5cef02a365e58428d4105209f11e91e files/digest-crm114-20030920 78
+MD5 5fad30dc44cc5f8d740f897017592956 files/digest-crm114-20040212 83
diff --git a/app-text/crm114/crm114-20030920.ebuild b/app-text/crm114/crm114-20030920.ebuild
index e19708536ba7..3007501c067b 100644
--- a/app-text/crm114/crm114-20030920.ebuild
+++ b/app-text/crm114/crm114-20030920.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20030920.ebuild,v 1.2 2004/02/22 07:24:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20030920.ebuild,v 1.3 2004/03/22 10:29:09 seemant Exp $
IUSE="nls"
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/crm114/${MY_P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~amd64 ~ia64"
+KEYWORDS="~x86"
DEPEND=">=sys-apps/sed-4
virtual/glibc"
diff --git a/app-text/crm114/crm114-20040212.ebuild b/app-text/crm114/crm114-20040212.ebuild
new file mode 100644
index 000000000000..1ed2f69252b7
--- /dev/null
+++ b/app-text/crm114/crm114-20040212.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20040212.ebuild,v 1.1 2004/03/22 10:29:09 seemant Exp $
+
+IUSE="nls"
+
+MY_P=${PN}-20040212-BlameJetlag.src
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="A powerful text processing tools, mainly used for spam filtering"
+HOMEPAGE="http://crm114.sourceforge.net/"
+SRC_URI="mirror://sourceforge/crm114/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND=">=sys-apps/sed-4
+ virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ ln -s ${S}/tre-0.6.4/lib tre
+ sed -i \
+ -e "s#^CFLAGS.*#CFLAGS+=${CFLAGS} -I.#" \
+ -e "s#-ltre#-Ltre-0.6.4/lib/.libs -ltre#g" \
+ -e "s#-static##g" \
+ Makefile
+
+ cd ${S}/tre-0.6.4
+ chmod +x configure
+}
+
+src_compile() {
+ # Build TRE library.
+ cd ${S}/tre-0.6.4
+ econf `use_enable nls` \
+ --disable-profile \
+ --disable-agrep \
+ --enable-system-abi \
+ --disable-shared \
+ --disable-debug \
+ --enable-static || die
+ emake || die
+
+ # Build crm114
+ cd ${S}
+ emake || die
+}
+
+src_install() {
+ cd ${S}
+ dobin crm114 cssutil cssdiff cssmerge
+
+ 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}
+}
+
+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-20040212 b/app-text/crm114/files/digest-crm114-20040212
new file mode 100644
index 000000000000..bd9b2268b300
--- /dev/null
+++ b/app-text/crm114/files/digest-crm114-20040212
@@ -0,0 +1 @@
+MD5 1124fb9c18161bf4306a162e6b9fd974 crm114-20040212-BlameJetlag.src.tar.gz 760719