summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Klimaszewski <steev@gentoo.org>2006-09-18 18:23:30 +0000
committerStephen Klimaszewski <steev@gentoo.org>2006-09-18 18:23:30 +0000
commit94e300bf1bc2837ba778be1eff496c9582d04d12 (patch)
tree23f335d85a37167085bbaaf1da6d520ceb740ff2 /app-text/crm114
parentAdd mew, mimencode and test to package.use.mask for app-text/crm114 (diff)
downloadhistorical-94e300bf1bc2837ba778be1eff496c9582d04d12.tar.gz
historical-94e300bf1bc2837ba778be1eff496c9582d04d12.tar.bz2
historical-94e300bf1bc2837ba778be1eff496c9582d04d12.zip
Version bump, seemant said I could. Also add ~x86-fbsd keyword, and closes bug #146762, thanks to Wolfram Schlich <wschlich@gentoo.org> for reporting.
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'app-text/crm114')
-rw-r--r--app-text/crm114/ChangeLog9
-rw-r--r--app-text/crm114/Manifest16
-rw-r--r--app-text/crm114/crm114-20060704a.ebuild106
-rw-r--r--app-text/crm114/files/digest-crm114-20060704a3
4 files changed, 129 insertions, 5 deletions
diff --git a/app-text/crm114/ChangeLog b/app-text/crm114/ChangeLog
index 955604503f35..975aab400672 100644
--- a/app-text/crm114/ChangeLog
+++ b/app-text/crm114/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/crm114
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.24 2006/09/16 14:22:40 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/crm114/ChangeLog,v 1.25 2006/09/18 18:23:30 steev Exp $
+
+*crm114-20060704a (18 Sep 2006)
+
+ 18 Sep 2006; Steev Klimaszewski <steev@gentoo.org>
+ +crm114-20060704a.ebuild:
+ Version bump, seemant said I could. Also add ~x86-fbsd keyword, and closes bug
+ #146762, Thanks to Wolfram Schlich <wschlich@gentoo.org> for reporting.
16 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
crm114-20041231.ebuild:
diff --git a/app-text/crm114/Manifest b/app-text/crm114/Manifest
index 712111babbe0..5d0025c05f4c 100644
--- a/app-text/crm114/Manifest
+++ b/app-text/crm114/Manifest
@@ -12,6 +12,7 @@ DIST crm114-20041231.BlameSanAndreas.src.tar.gz 856318 RMD160 865bc9e13f1b4321e6
DIST crm114-20050415.BlameTheIRS.src.tar.gz 904449
DIST crm114-20050518.BlameMercury.src.tar.gz 909636
DIST crm114-20060118-BlameTheReavers.src.tar.gz 935769 RMD160 6665fa1088093be9b534fe7ff79b0cda065aa414 SHA256 f5e4d3b8887d825a12102b39833332a13002498f3c3dd2bb83446fff11cdd0cb
+DIST crm114-20060704a-BlameRobert.src.tar.gz 1023938 RMD160 d949331fc8b65b36b09747c3a25b4e2b2f826d3a SHA1 76b0d2017c2e115cfcafd3fd03a9ec16d49209b5 SHA256 82e7474d218e479de984f3257b478c72b9ef2d7e78e4096eb481cf261bca816d
EBUILD crm114-20040601.ebuild 1819 RMD160 adc3161bec359b49ec9935d59e0090d91a52ca32 SHA1 4b8624483ab4d18b7eade44e4028245200590463 SHA256 154428f13c59b18ccb1b20c8533b6569f5190acc58298589ded146efd0feace4
MD5 47b9600c7ef17076f615712a31c89b73 crm114-20040601.ebuild 1819
RMD160 adc3161bec359b49ec9935d59e0090d91a52ca32 crm114-20040601.ebuild 1819
@@ -36,10 +37,14 @@ EBUILD crm114-20060118.ebuild 2554 RMD160 a66bfa58bcfa1c4e2b603acd476ee21cd08771
MD5 4b6ee2b4a753d80c90ea4b77bbdf83ea crm114-20060118.ebuild 2554
RMD160 a66bfa58bcfa1c4e2b603acd476ee21cd0877187 crm114-20060118.ebuild 2554
SHA256 d35609f1fe622790f0cf0e85cd4f825cdc5615e50616069fe89a3c24ec2e98a6 crm114-20060118.ebuild 2554
-MISC ChangeLog 4477 RMD160 a0f7a98b17466b5081f46e0e25f9d725a9798b2c SHA1 b7c29e0a5653c8a052ea4aeae19cf0f537ba1ceb SHA256 ce025869cb2a3a2ee3706a44f7b4d6c64969e634b6094b4c8cc4f48c1010c077
-MD5 2aedd9da737c259353b07e0e3a24ee38 ChangeLog 4477
-RMD160 a0f7a98b17466b5081f46e0e25f9d725a9798b2c ChangeLog 4477
-SHA256 ce025869cb2a3a2ee3706a44f7b4d6c64969e634b6094b4c8cc4f48c1010c077 ChangeLog 4477
+EBUILD crm114-20060704a.ebuild 2630 RMD160 f093a94c0155220058d02b0fa722959f0be9f426 SHA1 8ce21ce478bf068c2f468b5e890ea392ca06bc85 SHA256 eff81f23cace2171679b0206448ae03edb8654ab2dfebb5626d22fad8db41ab0
+MD5 1c4a7ce3a15871022ae73f4c3089fe74 crm114-20060704a.ebuild 2630
+RMD160 f093a94c0155220058d02b0fa722959f0be9f426 crm114-20060704a.ebuild 2630
+SHA256 eff81f23cace2171679b0206448ae03edb8654ab2dfebb5626d22fad8db41ab0 crm114-20060704a.ebuild 2630
+MISC ChangeLog 4743 RMD160 5940789f012671ea79b0986745bcb424fc68c29b SHA1 b55211feb57217b86212e0a45da8861b6bc4b27a SHA256 b4f20650f5af891a3dfad2c5686c2d5624b453f478d7fe30681d5febf7c00b32
+MD5 8010cc4ae4acdfaef227070234b728c5 ChangeLog 4743
+RMD160 5940789f012671ea79b0986745bcb424fc68c29b ChangeLog 4743
+SHA256 b4f20650f5af891a3dfad2c5686c2d5624b453f478d7fe30681d5febf7c00b32 ChangeLog 4743
MISC metadata.xml 546 RMD160 a4873ff93429b377125cac8761171db6422b4957 SHA1 2a351e4368421f75794adc53e5a7473cc469e502 SHA256 3101b358b2175ad609d862e05be67fe29cff5e84f283357a60b3b2fe0850bff3
MD5 30da451a6874a2d4bddc6390f02146e3 metadata.xml 546
RMD160 a4873ff93429b377125cac8761171db6422b4957 metadata.xml 546
@@ -62,3 +67,6 @@ SHA256 8433c2511e3adab44cec60ae3cec0d202914ee33e74546e313fb5acdc9e5fe6e files/di
MD5 b6a77d791b611d918cff536268dfc3f5 files/digest-crm114-20060118 307
RMD160 d620d85655c0f452fe43e42899c005a3a4f10835 files/digest-crm114-20060118 307
SHA256 f3a05f467815f3090c296cbe772649b7f7172d946ff1039a81a44488ab836ff2 files/digest-crm114-20060118 307
+MD5 4abddc41a0ed1de782ec4c2607a821a3 files/digest-crm114-20060704a 301
+RMD160 2468d1027c217f1bc615d6369a543b0a14705c30 files/digest-crm114-20060704a 301
+SHA256 d8933790885e56e4e40318c774ea0ec74d4a7f516ec652b722232085e3ccec93 files/digest-crm114-20060704a 301
diff --git a/app-text/crm114/crm114-20060704a.ebuild b/app-text/crm114/crm114-20060704a.ebuild
new file mode 100644
index 000000000000..84ee21545bbc
--- /dev/null
+++ b/app-text/crm114/crm114-20060704a.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2006 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.1 2006/09/18 18:23:30 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() {
+ einfo ""
+ einfo "The spam-filter CRM files are installed in /usr/share/${PN}."
+ einfo ""
+}
diff --git a/app-text/crm114/files/digest-crm114-20060704a b/app-text/crm114/files/digest-crm114-20060704a
new file mode 100644
index 000000000000..969012b3a569
--- /dev/null
+++ b/app-text/crm114/files/digest-crm114-20060704a
@@ -0,0 +1,3 @@
+MD5 d019c7ac882c27b6b843fb2d2e4db274 crm114-20060704a-BlameRobert.src.tar.gz 1023938
+RMD160 d949331fc8b65b36b09747c3a25b4e2b2f826d3a crm114-20060704a-BlameRobert.src.tar.gz 1023938
+SHA256 82e7474d218e479de984f3257b478c72b9ef2d7e78e4096eb481cf261bca816d crm114-20060704a-BlameRobert.src.tar.gz 1023938