diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2004-06-09 08:09:08 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2004-06-09 08:09:08 +0000 |
commit | 1d6d08522d1bdd76f0ab087d45a6833824cb47b5 (patch) | |
tree | f8a463fe9db0942260fa9dd02da88ffd5c0f8849 /app-text/crm114 | |
parent | oops, correct xml now (diff) | |
download | historical-1d6d08522d1bdd76f0ab087d45a6833824cb47b5.tar.gz historical-1d6d08522d1bdd76f0ab087d45a6833824cb47b5.tar.bz2 historical-1d6d08522d1bdd76f0ab087d45a6833824cb47b5.zip |
Version bump with a compile fix patch, thanks to: John Hampton <pacopablo@pacopablo.com> in bug #53252
Diffstat (limited to 'app-text/crm114')
-rw-r--r-- | app-text/crm114/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/crm114/Manifest | 6 | ||||
-rw-r--r-- | app-text/crm114/crm114-20040601.ebuild | 83 | ||||
-rw-r--r-- | app-text/crm114/files/crm114-20040601-mailfilter.patch | 16 | ||||
-rw-r--r-- | app-text/crm114/files/digest-crm114-20040601 | 1 | ||||
-rw-r--r-- | app-text/crm114/metadata.xml | 16 |
6 files changed, 129 insertions, 2 deletions
diff --git a/app-text/crm114/ChangeLog b/app-text/crm114/ChangeLog index 8b11e09c098d..9d1ba3a747b0 100644 --- a/app-text/crm114/ChangeLog +++ b/app-text/crm114/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/crm114 # 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 $ +# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.3 2004/06/09 08:09:08 seemant Exp $ + +*crm114-20040601 (09 Jun 2004) + + 09 Jun 2004; Seemant Kulleen <seemant@gentoo.org> + +files/crm114-20040601-mailfilter.patch, +crm114-20040601.ebuild: + Version bump with a compile fix patch, thanks to: John Hampton + <pacopablo@pacopablo.com> in bug #53252 *crm114-20040212 (22 Mar 2004) diff --git a/app-text/crm114/Manifest b/app-text/crm114/Manifest index 224b2365b4a6..48ab860c7d60 100644 --- a/app-text/crm114/Manifest +++ b/app-text/crm114/Manifest @@ -1,5 +1,9 @@ +MD5 c9edd429646e143c5d3bde4a8e0e7aa0 crm114-20040601.ebuild 1816 MD5 8877bb8b07060e98c4fb15d2203ab654 crm114-20040212.ebuild 1476 MD5 55f5752130ee0b4a812c97db62853e3d crm114-20030920.ebuild 1264 -MD5 a669e52f9fa97cd25c5826825bf8bb34 ChangeLog 710 +MD5 d9c57f9909b789554df889ad9bacad22 ChangeLog 969 +MD5 7ac2597dc19a6e74bca4bef3951e3ac0 metadata.xml 542 +MD5 4abb78bb7c3987fa2a351ee89da2e1a6 files/crm114-20040601-mailfilter.patch 455 MD5 c5cef02a365e58428d4105209f11e91e files/digest-crm114-20030920 78 MD5 5fad30dc44cc5f8d740f897017592956 files/digest-crm114-20040212 83 +MD5 0fc29953d2967ddbdf87912a44176a3f files/digest-crm114-20040601 82 diff --git a/app-text/crm114/crm114-20040601.ebuild b/app-text/crm114/crm114-20040601.ebuild new file mode 100644 index 000000000000..902eec1e69cb --- /dev/null +++ b/app-text/crm114/crm114-20040601.ebuild @@ -0,0 +1,83 @@ +# 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-20040601.ebuild,v 1.1 2004/06/09 08:09:08 seemant Exp $ + +IUSE="nls static" + +MY_P=${P}-BlameKyoto.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" + +TREVERS="0.6.8" + +DEPEND=">=sys-apps/sed-4 + virtual/glibc + mail-filter/procmail + emacs? ( app-emacs/mew ) + !emacs? ( 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 + + epatch ${FILESDIR}/${P}-mailfilter.patch + + 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 cssutil cssdiff cssmerge + dosym crm114 /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} +} + +pkg_postinst() { + echo + einfo "The spam-filter CRM files are installed in /usr/share/${PN}." + echo +} diff --git a/app-text/crm114/files/crm114-20040601-mailfilter.patch b/app-text/crm114/files/crm114-20040601-mailfilter.patch new file mode 100644 index 000000000000..17eee4d71af2 --- /dev/null +++ b/app-text/crm114/files/crm114-20040601-mailfilter.patch @@ -0,0 +1,16 @@ +--- old/mailfilter.crm 2004-06-07 11:56:04.701302534 -0700 ++++ new/mailfilter.crm 2004-06-07 11:57:49.645986881 -0700 +@@ -108,6 +108,13 @@ + { + match [:config:] /.+/ + input [:*:config:] (:option_txt:) ++ { ++ match [:config:] /^\/.+/ ++ } ++ alius ++ { ++ input [:*:fileprefix::*:config:] (:option_txt:) ++ } + } + alius + { diff --git a/app-text/crm114/files/digest-crm114-20040601 b/app-text/crm114/files/digest-crm114-20040601 new file mode 100644 index 000000000000..8d158ba0996c --- /dev/null +++ b/app-text/crm114/files/digest-crm114-20040601 @@ -0,0 +1 @@ +MD5 3dff1601f8bf2c42e8c767900fca2a56 crm114-20040601-BlameKyoto.src.tar.gz 760489 diff --git a/app-text/crm114/metadata.xml b/app-text/crm114/metadata.xml new file mode 100644 index 000000000000..e24c4d7fcd7b --- /dev/null +++ b/app-text/crm114/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>seemant@gentoo.org</email> + <name>Seemant Kulleen</name> + <description>Temporary Maintainer</description> +</maintainer> +<maintainer> + <email>pacopablo@pacopablo.com</email> + <name>John Hampton</name> + <description>Consider him the user-maintainer of this package, and please + CC him on bug reports (if he's not the reporter).</description> +</maintainer> +</pkgmetadata> |