diff options
author | Michael Cummings <mcummings@gentoo.org> | 2003-08-22 10:43:14 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2003-08-22 10:43:14 +0000 |
commit | cdf20c1dfcb3587f5adce693920b8d2ea9c84415 (patch) | |
tree | 92d3a2d595045482070cb004f715a1a7f2ecad88 /dev-perl/Mail-SpamAssassin | |
parent | Added bitkeeper-3.0.2 ebuild. (diff) | |
download | historical-cdf20c1dfcb3587f5adce693920b8d2ea9c84415.tar.gz historical-cdf20c1dfcb3587f5adce693920b8d2ea9c84415.tar.bz2 historical-cdf20c1dfcb3587f5adce693920b8d2ea9c84415.zip |
new version, ebuild updates
Diffstat (limited to 'dev-perl/Mail-SpamAssassin')
-rw-r--r-- | dev-perl/Mail-SpamAssassin/ChangeLog | 12 | ||||
-rw-r--r-- | dev-perl/Mail-SpamAssassin/Mail-SpamAssassin-2.60.ebuild | 77 | ||||
-rw-r--r-- | dev-perl/Mail-SpamAssassin/Manifest | 2 |
3 files changed, 90 insertions, 1 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 b9bdf77083d8..3d4930f2b369 100644 --- a/dev-perl/Mail-SpamAssassin/Manifest +++ b/dev-perl/Mail-SpamAssassin/Manifest @@ -1,7 +1,9 @@ MD5 7b4e6f9a3db907aa50702ec4bafd40ff ChangeLog 4353 +MD5 15dc0d94ec82f40421ab547b644250fc Mail-SpamAssassin-2.60.ebuild 1161 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 +MD5 aa8db426d67f90c5c540c2c9429b7d78 files/digest-Mail-SpamAssassin-2.60 74 MD5 1e2dfc5372ad24097799c70e896fe8c4 files/digest-Mail-SpamAssassin-2.44 74 MD5 c698f2d5a26c38caf3c9e5593004a484 files/digest-Mail-SpamAssassin-2.55 74 MD5 d90bc34d0df583654e35976bbdfe135f files/spamd.conf 222 |