summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-06-04 04:26:45 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-06-04 04:26:45 +0000
commita07255ce0361eefd9604737818a64ade8a49d4c3 (patch)
tree08c22f39cbef44e2e7dc676441af2d1ae603055a /mail-filter/spamassassin
parentStable on mips. (Manifest recommit) (diff)
downloadgentoo-2-a07255ce0361eefd9604737818a64ade8a49d4c3.tar.gz
gentoo-2-a07255ce0361eefd9604737818a64ade8a49d4c3.tar.bz2
gentoo-2-a07255ce0361eefd9604737818a64ade8a49d4c3.zip
Change category from dev-perl to mail-filter, and change package name from Mail-SpamAssassin to just plain old spamassassin
Diffstat (limited to 'mail-filter/spamassassin')
-rw-r--r--mail-filter/spamassassin/ChangeLog247
-rw-r--r--mail-filter/spamassassin/Manifest6
-rw-r--r--mail-filter/spamassassin/files/digest-spamassassin-2.631
-rw-r--r--mail-filter/spamassassin/files/spamd.conf12
-rw-r--r--mail-filter/spamassassin/files/spamd.init27
-rw-r--r--mail-filter/spamassassin/metadata.xml10
-rw-r--r--mail-filter/spamassassin/spamassassin-2.63.ebuild88
7 files changed, 391 insertions, 0 deletions
diff --git a/mail-filter/spamassassin/ChangeLog b/mail-filter/spamassassin/ChangeLog
new file mode 100644
index 000000000000..2faf6437b812
--- /dev/null
+++ b/mail-filter/spamassassin/ChangeLog
@@ -0,0 +1,247 @@
+# ChangeLog for dev-perl/Mail-SpamAssassin
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/ChangeLog,v 1.1 2004/06/04 04:26:45 seemant Exp $
+
+*spamassassin-2.63 (03 Jun 2004)
+
+ 03 Jun 2004; Seemant Kulleen <seemant@gentoo.org> +metadata.xml,
+ +files/spamd.conf, +files/spamd.init, +spamassassin-2.63.ebuild:
+ Change category from dev-perl to mail-filter, and change package name from
+ Mail-SpamAssassin to just plain old spamassassin
+
+ 16 Apr 2004; Michael Cummings <mcummings@gentoo.org>
+ Mail-SpamAssassin-2.60-r1.ebuild, Mail-SpamAssassin-2.60-r2.ebuild,
+ Mail-SpamAssassin-2.61.ebuild, Mail-SpamAssassin-2.62.ebuild:
+ Syntax fix for newdepend, bug 29064
+
+ 25 Feb 2004; Sven Blumenstein <bazik@gentoo.org>
+ Mail-SpamAssassin-2.63.ebuild:
+ Stable on sparc, thanks to Josh Grebe <josh@brokedown.net> for testing!
+
+ 20 Feb 2004; Aron Griffis <agriffis@gentoo.org>
+ Mail-SpamAssassin-2.63.ebuild:
+ stable on alpha and ia64
+
+ 18 Feb 2004; Eric Sammer <esammer@gentoo.org> Mail-SpamAssassin-2.63.ebuild:
+ Mark stable on x86 and amd64. This fixes bug #41801 and bug #40828.
+
+ 09 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org>
+ Mail-SpamAssassin-2.63.ebuild:
+ set ppc in keywords
+
+*Mail-SpamAssassin-2.63 (23 Jan 2004)
+
+ 23 Jan 2004; Robin H. Johnson <robbat2@gentoo.org>
+ Mail-SpamAssassin-2.63.ebuild:
+ bug #38844, version bump
+
+ 19 Jan 2004; <tuxus@gentoo.org> Mail-SpamAssassin-2.62.ebuild:
+ Added ~mips to KEYWORDS.
+
+ 18 Jan 2004; <tuxus@gentoo.org> Mail-SpamAssassin-2.61.ebuild:
+ Added ~mips to KEYWORDS.
+
+*Mail-SpamAssassin-2.62 (18 Jan 2004)
+
+ 18 Jan 2004; Eric Sammer <esammer@gentoo.org> Mail-SpamAssassin-2.62.ebuild:
+ Version bump. Closes bug 38559
+
+ 10 Jan 2004; <gustavoz@gentoo.org> Mail-SpamAssassin-2.61.ebuild:
+ marked stable for sparc and hppa
+
+*Mail-SpamAssassin-2.61 (18 Dec 2003)
+
+ 18 Dec 2003; <rac@gentoo.org> Mail-SpamAssassin-2.55-r1.ebuild,
+ Mail-SpamAssassin-2.55-r2.ebuild, Mail-SpamAssassin-2.55.ebuild,
+ Mail-SpamAssassin-2.60.ebuild, Mail-SpamAssassin-2.61.ebuild:
+ Add 2.61, clean house. Address bug 35423
+
+*Mail-SpamAssassin-2.60-r2 (28 Oct 2003)
+
+ 28 Oct 2003; Robin H. Johnson <robbat2@gentoo.org>
+ Mail-SpamAssassin-2.60-r2.ebuild, files/spamd.init:
+ improve spamd.init as per bug #22833 so it starts in the correct place, and
+ bump revision with slight ebuild cleanup
+
+ 15 Oct 2003; Michael Cummings <mcummings@gentoo.org>
+ Mail-SpamAssassin-2.60-r1.ebuild:
+ Unmasking for x86, now stable
+
+*Mail-SpamAssassin-2.60-r1 (26 Sep 2003)
+
+ 26 Sep 2003; <rac@gentoo.org> Mail-SpamAssassin-2.60-r1.ebuild:
+ New ebuild that uses final 2.60. Much thanks to Malte S. Stretz in bug 29404
+ and elsewhere.
+
+*Mail-SpamAssassin-2.55-r2 (24 Sep 2003)
+
+ 24 Sep 2003; <rac@gentoo.org> Mail-SpamAssassin-2.55-r2.ebuild:
+ Fix sandbox problem with rules files
+
+ 12 Sep 2003; Rajiv Aaron Manglani <rajiv@gentoo.org>
+ Mail-SpamAssassin-2.60.ebuild:
+ marked unstable as 2.60 is still changing upstream.
+
+ 08 Sep 2003; Michael Cummings <mcummings@gentoo.org> files/spamd.conf:
+ Added note to spamd.conf for running as non root user - thanks to Joe
+ <ptlame@core.com> in bug 24070 for pointing this out
+
+ 08 Sep 2003; Michael Cummings <mcummings@gentoo.org>
+ Mail-SpamAssassin-2.60.ebuild:
+ Put forward again upstream
+
+ 26 Aug 2003; Michael Cummings <mcummings@gentoo.org>
+ Mail-SpamAssassin-2.60.ebuild:
+ Pulled back upstream. Leaving the ebuild because 2.60 is forthcoming, but it
+ has been pulled back for now.
+
+*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:
+ New version of the ebuild for 2.55-r1 submitted by Wayne Davison
+ (gentoo@blorf.net) is a cleaner build using the config vars that SpamAssassis
+ is looking for (vs our sed's of the resulting files). This should close bug
+ 21349.
+
+*Mail-SpamAssassin-2.55-r1 (18 Jun 2003)
+
+ 18 Jun 2003; Michael Cummings <mcummings@gentoo.org>
+ Mail-SpamAssassin-2.55-r1.ebuild:
+ This update is to address an inacurate DEPEND; bad strips in cf files, etc.
+
+*Mail-SpamAssassin-2.55 (20 May 2003)
+
+ 20 May 2003; Daniel Ahlberg <aliz@gentoo.org> Mail-SpamAssassin-2.55.ebuild :
+ Version bump.
+
+*Mail-SpamAssassin-2.54 (12 May 2003)
+
+ 12 May 2003; Jon Portnoy <avenj@gentoo.org> Mail-SpamAssassin-2.54.ebuild :
+ Version bump.
+
+*Mail-SpamAssassin-2.53 (10 Apr 2003)
+
+ 16 Apr 2003; <rac@gentoo.org> Mail-SpamAssassin-2.53.ebuild:
+ disable razor tests to avoid interactivity in build, again thanks to Wayne
+ Davison <gentoo@blorf.net> in bug #17988
+
+ 15 Apr 2003; <rac@gentoo.org> Mail-SpamAssassin-2.53.ebuild:
+ remove TODO from docs list, thanks to Wayne Davison <gentoo@blorf.net> in bug
+ #17988
+
+ 10 Apr 2003; Daniel Ahlberg <aliz@gentoo.org> Mail-SpamAssassin-2.53.ebuild :
+ Version bump.
+
+*Mail-SpamAssassin-2.52 (28 Mar 2003)
+
+ 28 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> Mail-SpamAssassin-2.52.ebuild :
+ Version bump.
+
+*Mail-SpamAssassin-2.50 (26 Feb 2003)
+
+ 26 Feb 2003; Hanno Boeck <hanno@gentoo.org> Mail-SpamAssassin-2.50.ebuild :
+ New version. Just copied the old ebuild.
+
+*Mail-SpamAssassin-2.44 (02 Feb 2003)
+
+ 02 Feb 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Security update.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*Mail-SpamAssassin-2.43-r3 (01 Dec 2002)
+
+ 02 Jan 2002; Nick Hadaway <raker@gentoo.org>
+ Mail-SpamAssassin-2.43-r3.ebuild :
+ Marked stable.
+
+ 01 Dec 2002; Nick Hadaway <raker@gentoo.org>
+ Mail-SpamAssassin-2.43-r3.ebuild,
+ files/digest-Mail-SpamAssassin-2.43-r3 :
+ Version bump with changes suggested in bug #9756
+
+*Mail-SpamAssassin-2.43-r2 (29 Oct 2002)
+
+ 29 Oct 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog :
+ forced version bump to install into correct locations
+
+*Mail-SpamAssassin-2.43-r1 (27 Oct 2002)
+
+ 27 Oct 2002; <mcummings@gentoo.org> Mail-SpamAssassin-2.43-r1.ebuild :
+ Adds better options to config to avoid sandbox violations
+
+*Mail-SpamAssassin-2.43 (24 Oct 2002)
+
+ 24 Oct 2002; <mcummings@gentoo.org> Mail-SpamAssassin-2.43.ebuild :
+ corrects problems with mail filtering adding extra chars to the from field
+
+*Mail-SpamAssassin-2.31-r3 (05 Jul 2002)
+
+ 31 Jul 2002; Calum Selkirk <cselkirk@gentoo.org>
+ Mail-SpamAssassin-2.31-r3.ebuild :
+
+ Added ppc to KEYWORDS.
+
+ 05 Jul 2002; Seemant Kulleen <seemant@gentoo.org>
+ Mail-SpamAssassin-2.31-r3.ebuild files/digest-Mail-SpamAssassin-2.31-r3 :
+
+ Fixed the way the install process went for this.
+
+*Mail-SpamAssassin-2.31-r2 (04 Jul 2002)
+
+ 04 Jul 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog :
+
+ Adding spamd init stuff (thanks to Marcelo Fontenele S Santos); removing
+ old versions
+
+*Mail-SpamAssassin-2.31-r1 (02 Jul 2002)
+
+ 02 Jul 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog :
+
+ added Time-HiRes dep
+
+*Mail-SpamAssassin-2.31 (28 Jun 2002)
+
+ 28 Jun 2002; Bruce A. Locke <blocke@shivan.org> Mail-SpamAssassin-2.31.ebuild:
+
+ Version Bump
+
+*Mail-SpamAssassin-2.20 (2 Jun 2002)
+
+ 2 Jun 2002; Preston A. Elder <prez@gentoo.org> Mail-SpamAssassin-2.20.ebuild:
+
+ new ebuild
+
+*spamassassin-2.20 (21 May 2002)
+
+ 21 May 2002; Grant Goodyear <g2boojum@gentoo.org> :
+
+ Version bump. Also dodoc'd some useful files.
+
+*spamassassin-2.11-r1 (12 Apr 2002)
+
+ 12 Apr 2002; Grant Goodyear <g2boojum@gentoo.org> :
+
+ Fixed sandbox violation.
+
+*spamassassin-2.11 (15 Mar 2002)
+
+ 15 Mar 2002; Bruce A. Locke <blocke@shivan.org> spamassassin-2.11.ebuild :
+
+ Update to 2.11
+
+*spamassassin-2.01 (24 Feb 2002)
+
+ 24 Feb 2002; Bruce A. Locke <blocke@shivan.org> spamassassin-2.01.ebuild :
+
+ Ebuild contributed by Marc Soda <marc@aspre.net>
+
diff --git a/mail-filter/spamassassin/Manifest b/mail-filter/spamassassin/Manifest
new file mode 100644
index 000000000000..3b309eb65521
--- /dev/null
+++ b/mail-filter/spamassassin/Manifest
@@ -0,0 +1,6 @@
+MD5 c9b6d634917143374b4e67b20c672cfd spamassassin-2.63.ebuild 2247
+MD5 ae29227b0948f91a381fa20f06b53cec ChangeLog 7871
+MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+MD5 1ed9c6ddcb224ed5d2ad37aab7c0cce9 files/spamd.conf 265
+MD5 609fc206db4c8a3bee6f93075443f359 files/spamd.init 654
+MD5 2bc962fe7cbd5fc24b6ca7703a498e83 files/digest-spamassassin-2.63 75
diff --git a/mail-filter/spamassassin/files/digest-spamassassin-2.63 b/mail-filter/spamassassin/files/digest-spamassassin-2.63
new file mode 100644
index 000000000000..21c0f63f53f9
--- /dev/null
+++ b/mail-filter/spamassassin/files/digest-spamassassin-2.63
@@ -0,0 +1 @@
+MD5 215303794096bc66712381115adabb25 Mail-SpamAssassin-2.63.tar.bz2 738442
diff --git a/mail-filter/spamassassin/files/spamd.conf b/mail-filter/spamassassin/files/spamd.conf
new file mode 100644
index 000000000000..c953bcb64d3b
--- /dev/null
+++ b/mail-filter/spamassassin/files/spamd.conf
@@ -0,0 +1,12 @@
+# Config file for /etc/init.d/spamd
+
+# Some options:
+#
+# -a for auto-white-list
+# -c to create a per user configuration file
+# -L if you want to suppress DNS lookup
+# -u USER to run as a user other than root
+#
+# for more help look in man spamd
+
+SPAMD_OPTS="-a -c"
diff --git a/mail-filter/spamassassin/files/spamd.init b/mail-filter/spamassassin/files/spamd.init
new file mode 100644
index 000000000000..f67e215ad9d1
--- /dev/null
+++ b/mail-filter/spamassassin/files/spamd.init
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/files/spamd.init,v 1.1 2004/06/04 04:26:45 seemant Exp $
+
+# NB: Config is in /etc/conf.d/spamd.conf
+
+depend() {
+ need net
+ before mta
+}
+
+pidfile=/var/run/spamd.pid
+
+start() {
+ ebegin "Starting spamd"
+ start-stop-daemon --start --quiet \
+ --exec /usr/bin/spamd -- -d -r ${pidfile} \
+ ${SPAMD_OPTS}
+ eend $? "Failed to start spamd"
+}
+
+stop() {
+ ebegin "Stopping spamd"
+ start-stop-daemon --stop --quiet --pidfile ${pidfile}
+ eend $? "Failed to stop spamd"
+}
diff --git a/mail-filter/spamassassin/metadata.xml b/mail-filter/spamassassin/metadata.xml
new file mode 100644
index 000000000000..86672fe64c10
--- /dev/null
+++ b/mail-filter/spamassassin/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+ <maintainer>
+ <email>perl@gentoo.org</email>
+ <description>Primary Maintainer</description>
+ </maintainer>
+ <longdescription></longdescription>
+</pkgmetadata>
diff --git a/mail-filter/spamassassin/spamassassin-2.63.ebuild b/mail-filter/spamassassin/spamassassin-2.63.ebuild
new file mode 100644
index 000000000000..da3ec4fb1938
--- /dev/null
+++ b/mail-filter/spamassassin/spamassassin-2.63.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-2.63.ebuild,v 1.1 2004/06/04 04:26:45 seemant Exp $
+
+inherit perl-module
+
+MY_P=Mail-SpamAssassin-${PV}
+
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Perl Mail::SpamAssassin - A program to filter spam"
+HOMEPAGE="http://spamassassin.org/"
+SRC_URI="http://spamassassin.org/released/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 | Artistic"
+SLOT="0"
+KEYWORDS="x86 ppc sparc alpha hppa ~mips ia64 amd64"
+IUSE="berkdb ssl"
+
+DEPEND=">=dev-perl/ExtUtils-MakeMaker-6.11-r1
+ dev-perl/Time-Local
+ dev-perl/Getopt-Long
+ >=dev-perl/File-Spec-0.8
+ >=dev-perl/PodParser-1.22
+ >=dev-perl/HTML-Parser-3.24
+ dev-perl/Net-DNS
+ dev-perl/Digest-SHA1
+ ssl? ( dev-perl/IO-Socket-SSL )
+ berkdb? ( dev-perl/DB_File )"
+
+myconf="CONTACT_ADDRESS=root@localhost RUN_RAZOR_TESTS=0"
+
+# If ssl is enabled, spamc can be built with ssl support
+if use ssl; then
+ myconf="${myconf} ENABLE_SSL=yes"
+fi
+
+# if you are going to enable taint mode, make sure that the bug where
+# spamd doesn't start when the PATH contains . is addressed, and make
+# sure you deal with versions of razor <2.36-r1 not being taint-safe.
+# <http://bugzilla.spamassassin.org/show_bug.cgi?id=2511> and
+# <http://spamassassin.org/released/Razor2.patch>.
+
+myconf="${myconf} PERL_TAINT=no"
+
+# No settings needed for 'make all'.
+mymake=""
+
+# Neither for 'make install'.
+myinst=""
+
+# Some more files to be installed (README* and Changes are already
+# included per default)
+mydoc="License
+ COPYRIGHT
+ TRADEMARK
+ CONTRIB_CERT
+ BUGS
+ USAGE
+ procmailrc.example
+ sample-nonspam.txt
+ sample-spam.txt "
+
+src_compile() {
+ perl-module_src_compile
+ perl-module_src_test
+}
+
+src_install () {
+ perl-module_src_install
+
+ # Add the init and config scripts.
+ dodir /etc/init.d /etc/conf.d
+ insinto /etc/init.d
+ newins ${FILESDIR}/spamd.init spamd
+ fperms 755 /etc/init.d/spamd
+ insinto /etc/conf.d
+ newins ${FILESDIR}/spamd.conf spamd
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+
+ if [ -z "`best_version dev-perl/DB_File`" ]; then
+ einfo "The Bayes backend requires the Berkeley DB to store its data. You"
+ einfo "need to emerge dev-perl/DB_File to make it available."
+ fi
+
+}