summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2003-08-22 10:43:19 +0000
committerMichael Cummings <mcummings@gentoo.org>2003-08-22 10:43:19 +0000
commit54a9762704627aa20fc00ef24bed72394ac473fa (patch)
tree955fd6b12b604f516f794c87aabba6c963f26cc8 /dev-perl/Mail-SpamAssassin
parentnew version, ebuild updates (diff)
downloadgentoo-2-54a9762704627aa20fc00ef24bed72394ac473fa.tar.gz
gentoo-2-54a9762704627aa20fc00ef24bed72394ac473fa.tar.bz2
gentoo-2-54a9762704627aa20fc00ef24bed72394ac473fa.zip
new version, ebuild updates
Diffstat (limited to 'dev-perl/Mail-SpamAssassin')
-rw-r--r--dev-perl/Mail-SpamAssassin/ChangeLog12
-rw-r--r--dev-perl/Mail-SpamAssassin/Mail-SpamAssassin-2.60.ebuild77
-rw-r--r--dev-perl/Mail-SpamAssassin/Manifest4
-rw-r--r--dev-perl/Mail-SpamAssassin/files/digest-Mail-SpamAssassin-2.601
4 files changed, 91 insertions, 3 deletions
diff --git a/dev-perl/Mail-SpamAssassin/ChangeLog b/dev-perl/Mail-SpamAssassin/ChangeLog
index 85cd27b2d3b3..e2ae0a751c22 100644
--- a/dev-perl/Mail-SpamAssassin/ChangeLog
+++ b/dev-perl/Mail-SpamAssassin/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-perl/Mail-SpamAssassin
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-SpamAssassin/ChangeLog,v 1.26 2003/06/18 17:24:29 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-SpamAssassin/ChangeLog,v 1.27 2003/08/22 10:43:14 mcummings Exp $
+
+*Mail-SpamAssassin-2.60 (22 Aug 2003)
+
+ 22 Aug 2003; Michael Cummings <mcummings@gentoo.org>
+ Mail-SpamAssassin-2.60.ebuild:
+ New version of spamassasin - bug 27037 by Pol <blenderman@wanadoo.be> brought
+ this to our attention. New ebuild now has better support for ssl, removes
+ legacy call for razor1 (no longer supported by spamassassin), and adds support
+ for DB_File. Also added note for perl 5.8 users to the end regarding
+ localization support in spamassasin.
18 Jun 2003; Michael Cummings <mcummings@gentoo.org>
Mail-SpamAssassin-2.55-r1.ebuild:
diff --git a/dev-perl/Mail-SpamAssassin/Mail-SpamAssassin-2.60.ebuild b/dev-perl/Mail-SpamAssassin/Mail-SpamAssassin-2.60.ebuild
new file mode 100644
index 000000000000..0b93674c6f09
--- /dev/null
+++ b/dev-perl/Mail-SpamAssassin/Mail-SpamAssassin-2.60.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-SpamAssassin/Mail-SpamAssassin-2.60.ebuild,v 1.1 2003/08/22 10:43:14 mcummings Exp $
+
+inherit perl-module
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Perl Mail::SpamAssassin - A program to filter spam"
+SRC_URI="http://www.spamassassin.org/released/${P}.tar.gz"
+HOMEPAGE="http://www.spamassassin.org"
+IUSE=""
+SLOT="0"
+LICENSE="GPL-2 | Artistic"
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha"
+
+DEPEND="dev-perl/Net-DNS
+ dev-perl/HTML-Parser
+ dev-perl/PodParser
+ dev-perl/Time-Local
+ berkdb? ( dev-perl/DB_File ) "
+
+RAZORVERINS=`best_version net-mail/razor`
+
+myconf="INST_PREFIX=/usr SITEPREFIX=\$(PREFIX) INST_SYSCONFDIR=/etc SYSCONFDIR=${D}/etc CONTACT_ADDRESS=root@localhost"
+
+# If ssl is enabled, spamc can be built with ssl support
+if [ "`use ssl`" ];
+then
+ myconf="${myconf} ENABLE_SSL=yes"
+fi
+
+if [ ! -z "${RAZORVERINS}" ];
+then
+ myconf="${myconf} RUN_RAZOR2_TESTS=n"
+fi
+
+mymake="PREFIX=/usr SYSCONFDIR=/etc"
+mydoc="License Changes procmailrc.example sample-nonspam.txt sample-spam.txt"
+
+
+
+src_compile() {
+
+ perl-module_src_compile
+ dodir /etc/mail/spamassassin
+
+}
+
+src_install () {
+
+ perl-module_src_install
+
+ dodir /etc/init.d /etc/conf.d
+ cp ${FILESDIR}/spamd.init ${D}/etc/init.d/spamd
+ chmod +x ${D}/etc/init.d/spamd
+ cp ${FILESDIR}/spamd.conf ${D}/etc/conf.d/spamd
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+
+ ewarn "Message from the author of SpamAssassin:"
+ einfo ""
+ einfo "Perl 5.8 now uses Unicode internally by default, "
+ einfo "which causes trouble for SpamAssassin (and almost"
+ einfo "all other reasonably complex pieces of perl code!)."
+ einfo ""
+ einfo "Setting the LANG environment variable before any "
+ einfo "invocation of SpamAssassin sometimes seems to help"
+ einfo "fix it, like so:"
+ einfo ""
+ ewarn " export LANG=en_US"
+ einfo ""
+ einfo "Notably, the LANG setting must not include utf8. "
+ einfo "However, some folks have reported that this makes"
+ einfo "no difference. ;)"
+}
diff --git a/dev-perl/Mail-SpamAssassin/Manifest b/dev-perl/Mail-SpamAssassin/Manifest
index 3d4930f2b369..b79d05eea576 100644
--- a/dev-perl/Mail-SpamAssassin/Manifest
+++ b/dev-perl/Mail-SpamAssassin/Manifest
@@ -1,5 +1,5 @@
-MD5 7b4e6f9a3db907aa50702ec4bafd40ff ChangeLog 4353
-MD5 15dc0d94ec82f40421ab547b644250fc Mail-SpamAssassin-2.60.ebuild 1161
+MD5 546f8a8500d61b49665a277bc4614479 ChangeLog 4828
+MD5 c468aba692234a5f5f7e87f611a052d6 Mail-SpamAssassin-2.60.ebuild 2060
MD5 d2620eff2ee30f501bf521e4acb5f7db Mail-SpamAssassin-2.44.ebuild 1345
MD5 173979729e799b1396e69c8fb4ebe706 Mail-SpamAssassin-2.55.ebuild 1386
MD5 15dc0d94ec82f40421ab547b644250fc Mail-SpamAssassin-2.55-r1.ebuild 1161
diff --git a/dev-perl/Mail-SpamAssassin/files/digest-Mail-SpamAssassin-2.60 b/dev-perl/Mail-SpamAssassin/files/digest-Mail-SpamAssassin-2.60
new file mode 100644
index 000000000000..74e4c25c58e0
--- /dev/null
+++ b/dev-perl/Mail-SpamAssassin/files/digest-Mail-SpamAssassin-2.60
@@ -0,0 +1 @@
+MD5 5d23aa5ddb1c5381281cd88bf734341f Mail-SpamAssassin-2.60.tar.gz 945512