diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-06-09 15:27:29 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-06-09 15:27:29 +0000 |
commit | 16a057efa6d783fa58cda07cd7916470f872601b (patch) | |
tree | 9caa0ccfaef2c99d44db39e5d3d3607d303f53bd /mail-filter | |
parent | sys-apps/shadow is needed for useradd, etc, bug #94745 (diff) | |
download | historical-16a057efa6d783fa58cda07cd7916470f872601b.tar.gz historical-16a057efa6d783fa58cda07cd7916470f872601b.tar.bz2 historical-16a057efa6d783fa58cda07cd7916470f872601b.zip |
Cleaning. Next task: get mips bumped
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'mail-filter')
16 files changed, 17 insertions, 1135 deletions
diff --git a/mail-filter/spamassassin/ChangeLog b/mail-filter/spamassassin/ChangeLog index 9fd202b33af0..fdec40ee6396 100644 --- a/mail-filter/spamassassin/ChangeLog +++ b/mail-filter/spamassassin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for mail-filter/spamassassin # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/ChangeLog,v 1.58 2005/06/08 18:49:49 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/ChangeLog,v 1.59 2005/06/09 15:27:29 mcummings Exp $ + + 09 Jun 2005; Michael Cummings <mcummings@gentoo.org> + -spamassassin-2.63-r1.ebuild, -spamassassin-2.63.ebuild, + -spamassassin-2.64.ebuild, -spamassassin-3.0.0-r1.ebuild, + -spamassassin-3.0.0.ebuild, -spamassassin-3.0.1.ebuild, + -spamassassin-3.0.2.ebuild: + Cleaning. Next task: get mips bumped 08 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org> spamassassin-3.0.4.ebuild: diff --git a/mail-filter/spamassassin/Manifest b/mail-filter/spamassassin/Manifest index 314bf4f4c173..f392a57420b0 100644 --- a/mail-filter/spamassassin/Manifest +++ b/mail-filter/spamassassin/Manifest @@ -1,38 +1,24 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 55dceb720a1cdd1fff7ab3a8ccebf29e spamassassin-2.63.ebuild 2308 MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 -MD5 b2e1c1869a28e383f102d68857f260ff spamassassin-3.0.3.ebuild 5941 +MD5 3bfa04841c0f8c4c04e4e280593cdd48 ChangeLog 18522 MD5 c6b400456b9e96b064ff3d445034754e spamassassin-2.64-r1.ebuild 2524 -MD5 1aa696c74e1c8cb448a5cd7af7071199 spamassassin-3.0.0-r1.ebuild 5777 -MD5 d22de8249b4cf960a25f02b663fe452b spamassassin-3.0.0.ebuild 5974 -MD5 133d36d0294d99d90c5baa2c51fc35ab spamassassin-2.63-r1.ebuild 2419 -MD5 a2fbfccccf3511a3e8fe074652e7abe7 spamassassin-2.64.ebuild 2523 -MD5 f6a9c300f3f3d900174d2b6ac003839c spamassassin-3.0.2.ebuild 5779 -MD5 4eb1ac58a2dd63eaf3db02726a3a37e1 ChangeLog 18219 MD5 77ac0d7df7af55d62ddaa9ef4bbf90c2 spamassassin-3.0.2-r1.ebuild 5781 +MD5 b2e1c1869a28e383f102d68857f260ff spamassassin-3.0.3.ebuild 5941 MD5 2c3751bc9b3d8e498c2d7406f23aceef spamassassin-3.0.4.ebuild 5933 -MD5 020ebe77ab67a92f8ab6c28413d6a9ad spamassassin-3.0.1.ebuild 5782 +MD5 1951dd84955cce642d59c03780a5fb6f files/3.0.0-spamd.conf 932 MD5 4c6b90d2e998278228f4898f4066570f files/3.0.0-spamd.init 619 +MD5 6a161feb8320fadb55f440aab192d008 files/digest-spamassassin-2.64-r1 75 MD5 faa89d7205b3bde710ddc585969a3992 files/digest-spamassassin-3.0.2-r1 76 -MD5 1951dd84955cce642d59c03780a5fb6f files/3.0.0-spamd.conf 932 MD5 66f6531ea3b0a382b4d97bd1234c43a1 files/spamd.conf 604 -MD5 faa89d7205b3bde710ddc585969a3992 files/digest-spamassassin-3.0.2 76 -MD5 8bae43ab6b7e9fc82d663ebe76535484 files/digest-spamassassin-3.0.3 76 -MD5 7d4ce834279c9e36320d114a7118c127 files/digest-spamassassin-3.0.0 76 -MD5 6a161feb8320fadb55f440aab192d008 files/digest-spamassassin-2.64-r1 75 -MD5 6a161feb8320fadb55f440aab192d008 files/digest-spamassassin-2.64 75 -MD5 2bc962fe7cbd5fc24b6ca7703a498e83 files/digest-spamassassin-2.63 75 MD5 9ab5a9bd40752148b4cb0982dd1a5581 files/spamd.init 617 -MD5 37be9f25f104cf5e5ad47b37351c7900 files/digest-spamassassin-3.0.1 76 -MD5 7d4ce834279c9e36320d114a7118c127 files/digest-spamassassin-3.0.0-r1 76 -MD5 2bc962fe7cbd5fc24b6ca7703a498e83 files/digest-spamassassin-2.63-r1 75 +MD5 8bae43ab6b7e9fc82d663ebe76535484 files/digest-spamassassin-3.0.3 76 MD5 4783482f6c574067f3c8fa48e3202fae files/digest-spamassassin-3.0.4 76 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux) +Version: GnuPG v1.4.0 (GNU/Linux) -iD8DBQFCpz3UKRy60XGEcJIRAvQbAJ9oxv0kPHk5gTFJWxYu9BVQnG+3oACdHB9s -kWrLg80mFUl1qFejsANTk5w= -=8gqy +iD8DBQFCqF/9tG5z4I8BtQoRAlqhAJ94ioK+ghyJMmPj2hzSB93rUa44ZwCfZHlQ +JSaGomiI7coSmJYWx6f0Sm0= +=kXM0 -----END PGP SIGNATURE----- diff --git a/mail-filter/spamassassin/files/digest-spamassassin-2.63 b/mail-filter/spamassassin/files/digest-spamassassin-2.63 deleted file mode 100644 index 21c0f63f53f9..000000000000 --- a/mail-filter/spamassassin/files/digest-spamassassin-2.63 +++ /dev/null @@ -1 +0,0 @@ -MD5 215303794096bc66712381115adabb25 Mail-SpamAssassin-2.63.tar.bz2 738442 diff --git a/mail-filter/spamassassin/files/digest-spamassassin-2.63-r1 b/mail-filter/spamassassin/files/digest-spamassassin-2.63-r1 deleted file mode 100644 index 21c0f63f53f9..000000000000 --- a/mail-filter/spamassassin/files/digest-spamassassin-2.63-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 215303794096bc66712381115adabb25 Mail-SpamAssassin-2.63.tar.bz2 738442 diff --git a/mail-filter/spamassassin/files/digest-spamassassin-2.64 b/mail-filter/spamassassin/files/digest-spamassassin-2.64 deleted file mode 100644 index 6071f0182a89..000000000000 --- a/mail-filter/spamassassin/files/digest-spamassassin-2.64 +++ /dev/null @@ -1 +0,0 @@ -MD5 cd482160ddbe371bbf4fb58b715ebbdf Mail-SpamAssassin-2.64.tar.bz2 736911 diff --git a/mail-filter/spamassassin/files/digest-spamassassin-3.0.0 b/mail-filter/spamassassin/files/digest-spamassassin-3.0.0 deleted file mode 100644 index d7a506365f0d..000000000000 --- a/mail-filter/spamassassin/files/digest-spamassassin-3.0.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 b77c7b29ddc4283d597610bf540670d9 Mail-SpamAssassin-3.0.0.tar.bz2 897349 diff --git a/mail-filter/spamassassin/files/digest-spamassassin-3.0.0-r1 b/mail-filter/spamassassin/files/digest-spamassassin-3.0.0-r1 deleted file mode 100644 index d7a506365f0d..000000000000 --- a/mail-filter/spamassassin/files/digest-spamassassin-3.0.0-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b77c7b29ddc4283d597610bf540670d9 Mail-SpamAssassin-3.0.0.tar.bz2 897349 diff --git a/mail-filter/spamassassin/files/digest-spamassassin-3.0.1 b/mail-filter/spamassassin/files/digest-spamassassin-3.0.1 deleted file mode 100644 index b765ad453b96..000000000000 --- a/mail-filter/spamassassin/files/digest-spamassassin-3.0.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 83f60f97c823d9b8df19309247fe33eb Mail-SpamAssassin-3.0.1.tar.bz2 843720 diff --git a/mail-filter/spamassassin/files/digest-spamassassin-3.0.2 b/mail-filter/spamassassin/files/digest-spamassassin-3.0.2 deleted file mode 100644 index 0656c7638050..000000000000 --- a/mail-filter/spamassassin/files/digest-spamassassin-3.0.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 b373bc48c4f50b70cb784f40d88868bf Mail-SpamAssassin-3.0.2.tar.bz2 846410 diff --git a/mail-filter/spamassassin/spamassassin-2.63-r1.ebuild b/mail-filter/spamassassin/spamassassin-2.63-r1.ebuild deleted file mode 100644 index 049f24e3dced..000000000000 --- a/mail-filter/spamassassin/spamassassin-2.63-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-2.63-r1.ebuild,v 1.10 2005/05/25 16:52:30 mcummings 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 ppc64" -IUSE="berkdb ssl" - -DEPEND="|| ( >=dev-lang/perl-5.8.2-r1 - ( >=perl-core/ExtUtils-MakeMaker-6.11-r1 - >=perl-core/File-Spec-0.8 - perl-core/Time-Local - perl-core/Getopt-Long - ) ) - >=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? ( perl-core/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 - qmail/README.qmail-spamc" - -src_compile() { - perl-module_src_compile - perl-module_src_test - cd ${S} - make qmail/qmail-spamc -} - -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 - - into /usr - dobin qmail/qmail-spamc -} - -pkg_postinst() { - perl-module_pkg_postinst - - if [ -z "`best_version perl-core/DB_File`" ]; then - einfo "The Bayes backend requires the Berkeley DB to store its data. You" - einfo "need to emerge perl-core/DB_File to make it available." - fi - -} diff --git a/mail-filter/spamassassin/spamassassin-2.63.ebuild b/mail-filter/spamassassin/spamassassin-2.63.ebuild deleted file mode 100644 index 58e4b7907ae8..000000000000 --- a/mail-filter/spamassassin/spamassassin-2.63.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# 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.11 2005/05/25 16:52:50 mcummings 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-lang/perl-5.8.2-r1 - ( >=perl-core/ExtUtils-MakeMaker-6.11-r1 - >=perl-core/File-Spec-0.8 - perl-core/Time-Local - perl-core/Getopt-Long - ) ) - >=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? ( perl-core/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 perl-core/DB_File`" ]; then - einfo "The Bayes backend requires the Berkeley DB to store its data. You" - einfo "need to emerge perl-core/DB_File to make it available." - fi - -} diff --git a/mail-filter/spamassassin/spamassassin-2.64.ebuild b/mail-filter/spamassassin/spamassassin-2.64.ebuild deleted file mode 100644 index 8a2df875994e..000000000000 --- a/mail-filter/spamassassin/spamassassin-2.64.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-2.64.ebuild,v 1.15 2005/05/25 16:53:32 mcummings 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://old.spamassassin.org/released/${MY_P}.tar.bz2" - -LICENSE="|| ( GPL-2 Artistic )" -SLOT="0" -KEYWORDS="x86 ppc sparc ~mips alpha hppa amd64 ia64 ppc64" -IUSE="berkdb ssl" - -DEPEND="|| ( >=dev-lang/perl-5.8.2-r1 - ( >=perl-core/ExtUtils-MakeMaker-6.11-r1 - >=perl-core/File-Spec-0.8 - perl-core/Time-Local - perl-core/Getopt-Long - ) ) - >=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? ( perl-core/DB_File )" - -# 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 - qmail/README.qmail-spamc" - -src_compile() { - # If ssl is enabled, spamc can be built with ssl support - use ssl && myconf="${myconf} ENABLE_SSL=yes" - - # 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="" - - export PERL_MM_USE_DEFAULT=1 - perl-module_src_compile - - # without this check, portage .51 runs test suite twice for people - # with the maketest feature - - if ! hasq maketest $FEATURES; then - perl-module_src_test - fi - cd ${S} - make qmail/qmail-spamc -} - -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 - - into /usr - dobin qmail/qmail-spamc -} - -pkg_postinst() { - perl-module_pkg_postinst - - if [ -z "`best_version perl-core/DB_File`" ]; then - einfo "The Bayes backend requires the Berkeley DB to store its data. You" - einfo "need to emerge perl-core/DB_File to make it available." - fi - -} diff --git a/mail-filter/spamassassin/spamassassin-3.0.0-r1.ebuild b/mail-filter/spamassassin/spamassassin-3.0.0-r1.ebuild deleted file mode 100644 index a764f5858294..000000000000 --- a/mail-filter/spamassassin/spamassassin-3.0.0-r1.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-3.0.0-r1.ebuild,v 1.6 2005/05/24 14:48:18 mcummings Exp $ - -inherit perl-module - -DESCRIPTION="SpamAssassin is an extensible email filter which is used to identify spam." -HOMEPAGE="http://spamassassin.apache.org/" -LICENSE="Apache-2.0" - -MY_P=Mail-SpamAssassin-${PV//_/-} -S=${WORKDIR}/${MY_P} - -SRC_URI="http://www.apache.org/dist/spamassassin/${MY_P}.tar.bz2" - -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~ia64 ~amd64" -IUSE="berkdb qmail ssl doc" - -DEPEND=">=dev-lang/perl-5.8.2-r1 - >=dev-perl/PodParser-1.22 - >=dev-perl/HTML-Parser-3.31 - >=dev-perl/Net-DNS-0.34 - dev-perl/Digest-SHA1 - ssl? ( - dev-perl/IO-Socket-SSL - dev-libs/openssl - ) - berkdb? ( - perl-core/DB_File - )" - - -# - Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again -# (just to be sure, nobody knows how it could happen in the first place). -myconf="SYSCONFDIR=/etc DATADIR=/usr/share/spamassassin" - -# If ssl is enabled, spamc can be built with ssl support -if use ssl; then - myconf="${myconf} ENABLE_SSL=yes" -else - myconf="${myconf} ENABLE_SSL=no" -fi - -# Set the path to the Perl executable explictly. This will be used to -# create the initial sharpbang line in the scripts and might cause -# a versioned app name end in there, see -# <http://bugs.gentoo.org/show_bug.cgi?id=62276> -myconf="${myconf} PERL_BIN=/usr/bin/perl" - -# 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="NOTICE - TRADEMARK - LICENSE - CREDITS - INSTALL - UPGRADE - BUGS - USAGE - README.spamd - README.sql - README.ldap - procmailrc.example - sample-nonspam.txt - sample-spam.txt - STATISTICS.set0 - STATISTICS.set1 - STATISTICS.set2 - STATISTICS.set3" - -use qmail && mydoc="${mydoc} README.qmail" - - -src_move_doc() { - echo "Renaming $1 to $2" - mv $1 $2 || die failed to move documentation -} - -src_append_doc() { - echo "Appending $1 to $2" - cat $1 >> $2 || die failed to append documentation -} - -src_compile() { - # Add Gentoo tag to make it easier for the upstream devs to spot - # possible modifications or patches. - version_tag="g${PV/*_/}${PR/r0/}" - version_str="${PV//_/-}-${version_tag}" - - # Create the Gentoo config file before Makefile.PL is called so it - # is copied later on. - echo "version_tag ${version_tag}" > rules/11_gentoo.cf - - # Setting the following env var ensures that no questions are asked. - export PERL_MM_USE_DEFAULT=1 - perl-module_src_prep - # Run the autoconf stuff now, just to make the build sequence look more - # familiar to the user :) Plus feeding the VERSION_STRING skips some - # calls to Perl. - make spamc/Makefile VERSION_STRING="${version_str}" - - # Now compile all the stuff selected. - perl-module_src_compile - if use qmail; then - make spamc/qmail-spamc || die building qmail-spamc failed - fi - - # Rename some docu files so they don't clash with others - src_move_doc spamd/README README.spamd - src_move_doc spamc/README.qmail README.qmail - src_move_doc sql/README README.sql - src_append_doc sql/README.bayes README.sql - src_append_doc sql/README.awl README.sql - src_move_doc ldap/README README.ldap - src_move_doc rules/STATISTICS.txt STATISTICS.set0 - src_move_doc rules/STATISTICS-set1.txt STATISTICS.set1 - src_move_doc rules/STATISTICS-set2.txt STATISTICS.set2 - src_move_doc rules/STATISTICS-set3.txt STATISTICS.set3 - # Remove the MANIFEST files as they aren't docu files - rm -f MANIFEST* - - if use doc; then - make text_html_doc - fi - -} - -src_install () { - perl-module_src_install - - # Move spamd to sbin where it belongs. - dodir /usr/sbin - mv ${D}/usr/bin/spamd ${D}/usr/sbin/spamd || die - - if use qmail; then - into /usr - dobin spamc/qmail-spamc - fi - - # Add the init and config scripts. - dodir /etc/init.d /etc/conf.d - insinto /etc/init.d - newins ${FILESDIR}/3.0.0-spamd.init spamd - fperms 755 /etc/init.d/spamd - insinto /etc/conf.d - newins ${FILESDIR}/3.0.0-spamd.conf spamd - - if use doc; then - dodoc spamd/PROTOCOL - for f in doc/*.html; do - dodoc $f - done - fi -} - -pkg_postinst() { - perl-module_pkg_postinst - - if ! has_version "perl-core/DB_File"; then - einfo "The Bayes backend requires the Berkeley DB to store its data. You" - einfo "need to emerge perl-core/DB_File or USE=berkdb to make it available." - fi - - if has_version "mail-filter/razor"; then - if ! has_version "<=net-mail/razor-2.40"; then - ewarn "You have $(best_version mail-filter/razor) installed but SpamAssassin" - ewarn "requires at least version 2.40, version 2.61 or later is recommended." - elif ! has_version ">=net-mail/razor-2.61"; then - ewarn "You have $(best_version mail-filter/razor) installed but SpamAssassin" - ewarn "recommends at least version 2.61." - fi - fi - - einfo - einfo "Please read the file" - einfo " /usr/share/doc/${PF}/INSTALL.gz" - einfo "to find out which optional modules you need to install to enable" - einfo "additional features which depend on them." - einfo - einfo "If upgraded from 2.x, please read the file" - einfo " /usr/share/doc/${PF}/UPGRADE.gz" - einfo - ewarn - ewarn "spamd is not designed to listen to an untrusted network" - ewarn "and is vulnerable to DoS attacks (and eternal doom) if" - ewarn "configured to do so" - ewarn -} - diff --git a/mail-filter/spamassassin/spamassassin-3.0.0.ebuild b/mail-filter/spamassassin/spamassassin-3.0.0.ebuild deleted file mode 100644 index 8c44ed985776..000000000000 --- a/mail-filter/spamassassin/spamassassin-3.0.0.ebuild +++ /dev/null @@ -1,208 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-3.0.0.ebuild,v 1.7 2005/05/24 14:48:18 mcummings Exp $ - -inherit perl-module - -DESCRIPTION="SpamAssassin is an extensible email filter which is used to identify spam." -HOMEPAGE="http://spamassassin.apache.org/" -LICENSE="Apache-2.0" - -MY_P=Mail-SpamAssassin-${PV//_/-} -S=${WORKDIR}/${MY_P} - -SRC_URI="http://www.apache.org/dist/spamassassin/${MY_P}.tar.bz2" - -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~ia64 ~amd64" -IUSE="berkdb ssl doc" - -DEPEND=">=dev-lang/perl-5.8.2-r1 - >=dev-perl/PodParser-1.22 - >=dev-perl/HTML-Parser-3.31 - >=dev-perl/Net-DNS-0.34 - dev-perl/Digest-SHA1 - ssl? ( - dev-perl/IO-Socket-SSL - dev-libs/openssl - ) - berkdb? ( - perl-core/DB_File - )" - - -# - Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again -# (just to be sure, nobody knows how it could happen in the first place). -myconf="SYSCONFDIR=/etc DATADIR=/usr/share/spamassassin" - -# If ssl is enabled, spamc can be built with ssl support -if use ssl; then - myconf="${myconf} ENABLE_SSL=yes" -else - myconf="${myconf} ENABLE_SSL=no" -fi - -# Set the path to the Perl executable explictly. This will be used to -# create the initial sharpbang line in the scripts and might cause -# a versioned app name end in there, see -# <http://bugs.gentoo.org/show_bug.cgi?id=62276> -myconf="${myconf} PERL_BIN=/usr/bin/perl" - -# 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="NOTICE - TRADEMARK - LICENSE - CREDITS - INSTALL - UPGRADE - BUGS - USAGE - README.spamd - README.sql - README.ldap - procmailrc.example - sample-nonspam.txt - sample-spam.txt - STATISTICS.set0 - STATISTICS.set1 - STATISTICS.set2 - STATISTICS.set3" - -# Commented out until qmail is a valid keyword - mcummings -#use qmail && mydoc="${mydoc} README.qmail" - - -src_move_doc() { - echo "Renaming $1 to $2" - mv $1 $2 || die failed to move documentation -} - -src_append_doc() { - echo "Appending $1 to $2" - cat $1 >> $2 || die failed to append documentation -} - -src_compile() { - # Add Gentoo tag to make it easier for the upstream devs to spot - # possible modifications or patches. - version_tag="g${PV/*_/}${PR/r0/}" - version_str="${PV//_/-}-${version_tag}" - - # Create the Gentoo config file before Makefile.PL is called so it - # is copied later on. - echo "version_tag ${version_tag}" > rules/11_gentoo.cf - - # Setting the following env var ensures that no questions are asked. - export PERL_MM_USE_DEFAULT=1 - perl-module_src_prep - # Run the autoconf stuff now, just to make the build sequence look more - # familiar to the user :) Plus feeding the VERSION_STRING skips some - # calls to Perl. - make spamc/Makefile VERSION_STRING="${version_str}" - - # Now compile all the stuff selected. - perl-module_src_compile - if use qmail; then - make spamc/qmail-spamc || die building qmail-spamc failed - fi - - # Rename some docu files so they don't clash with others - src_move_doc spamd/README README.spamd - src_move_doc spamc/README.qmail README.qmail - src_move_doc sql/README README.sql - src_append_doc sql/README.bayes README.sql - src_append_doc sql/README.awl README.sql - src_move_doc ldap/README README.ldap - src_move_doc rules/STATISTICS.txt STATISTICS.set0 - src_move_doc rules/STATISTICS-set1.txt STATISTICS.set1 - src_move_doc rules/STATISTICS-set2.txt STATISTICS.set2 - src_move_doc rules/STATISTICS-set3.txt STATISTICS.set3 - # Remove the MANIFEST files as they aren't docu files - rm -f MANIFEST* - - if use doc; then - make text_html_doc - fi - - # FIXME: Remove the following block in the final ebuild. - if [ "${PV//[^_]/}" == _ ]; then - hasq maketest $FEATURES || perl-module_src_test - fi -} - -src_install () { - perl-module_src_install - - # Move spamd to sbin where it belongs. - dodir /usr/sbin - mv ${D}/usr/bin/spamd ${D}/usr/sbin/spamd || die - - if use qmail; then - into /usr - dobin spamc/qmail-spamc - fi - - # Add the init and config scripts. - dodir /etc/init.d /etc/conf.d - insinto /etc/init.d - newins ${FILESDIR}/3.0.0-spamd.init spamd - fperms 755 /etc/init.d/spamd - insinto /etc/conf.d - newins ${FILESDIR}/3.0.0-spamd.conf spamd - - if use doc; then - dodoc spamd/PROTOCOL - for f in doc/*.html; do - dodoc $f - done - fi -} - -pkg_postinst() { - perl-module_pkg_postinst - - if ! has_version "perl-core/DB_File"; then - einfo "The Bayes backend requires the Berkeley DB to store its data. You" - einfo "need to emerge perl-core/DB_File or USE=berkdb to make it available." - fi - - if has_version "mail-filter/razor"; then - if ! has_version "<=net-mail/razor-2.40"; then - ewarn "You have $(best_version mail-filter/razor) installed but SpamAssassin" - ewarn "requires at least version 2.40, version 2.61 or later is recommended." - elif ! has_version ">=net-mail/razor-2.61"; then - ewarn "You have $(best_version mail-filter/razor) installed but SpamAssassin" - ewarn "recommends at least version 2.61." - fi - fi - - einfo - einfo "Please read the file" - einfo " /usr/share/doc/${PF}/INSTALL.gz" - einfo "to find out which optional modules you need to install to enable" - einfo "additional features which depend on them." - einfo - einfo "If upgraded from 2.x, please read the file" - einfo " /usr/share/doc/${PF}/UPGRADE.gz" - einfo - ewarn - ewarn "spamd is not designed to listen to an untrusted network" - ewarn "and is vulnerable to DoS attacks (and eternal doom) if" - ewarn "configured to do so" - ewarn -} - diff --git a/mail-filter/spamassassin/spamassassin-3.0.1.ebuild b/mail-filter/spamassassin/spamassassin-3.0.1.ebuild deleted file mode 100644 index 217c7fa797fe..000000000000 --- a/mail-filter/spamassassin/spamassassin-3.0.1.ebuild +++ /dev/null @@ -1,206 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-3.0.1.ebuild,v 1.6 2005/05/25 14:23:49 mcummings Exp $ - -inherit perl-module - -DESCRIPTION="SpamAssassin is an extensible email filter which is used to identify spam." -HOMEPAGE="http://spamassassin.apache.org/" -LICENSE="Apache-2.0" - -MY_P=Mail-SpamAssassin-${PV//_/-} -S=${WORKDIR}/${MY_P} - -SRC_URI="http://www.apache.org/dist/spamassassin/${MY_P}.tar.bz2" - -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~ia64 ~amd64" -IUSE="berkdb qmail ssl doc" - -DEPEND=">=dev-lang/perl-5.8.2-r1 - >=dev-perl/PodParser-1.22 - perl-core/MIME-Base64 - >=dev-perl/HTML-Parser-3.31 - >=dev-perl/Net-DNS-0.34 - dev-perl/Digest-SHA1 - ssl? ( - dev-perl/IO-Socket-SSL - dev-libs/openssl - ) - berkdb? ( - perl-core/DB_File - )" - - -# - Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again -# (just to be sure, nobody knows how it could happen in the first place). -myconf="SYSCONFDIR=/etc DATADIR=/usr/share/spamassassin" - -# If ssl is enabled, spamc can be built with ssl support -if use ssl; then - myconf="${myconf} ENABLE_SSL=yes" -else - myconf="${myconf} ENABLE_SSL=no" -fi - -# Set the path to the Perl executable explictly. This will be used to -# create the initial sharpbang line in the scripts and might cause -# a versioned app name end in there, see -# <http://bugs.gentoo.org/show_bug.cgi?id=62276> -myconf="${myconf} PERL_BIN=/usr/bin/perl" - -# 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="NOTICE - TRADEMARK - LICENSE - CREDITS - INSTALL - UPGRADE - BUGS - USAGE - README.spamd - README.sql - README.ldap - procmailrc.example - sample-nonspam.txt - sample-spam.txt - STATISTICS.set0 - STATISTICS.set1 - STATISTICS.set2 - STATISTICS.set3" - -use qmail && mydoc="${mydoc} README.qmail" - - -src_move_doc() { - echo "Renaming $1 to $2" - mv $1 $2 || die failed to move documentation -} - -src_append_doc() { - echo "Appending $1 to $2" - cat $1 >> $2 || die failed to append documentation -} - -src_compile() { - # Add Gentoo tag to make it easier for the upstream devs to spot - # possible modifications or patches. - version_tag="g${PV:6}${PR}" - version_str="${PV//_/-}-${version_tag}" - - # Create the Gentoo config file before Makefile.PL is called so it - # is copied later on. - echo "version_tag ${version_tag}" > rules/11_gentoo.cf - - # Setting the following env var ensures that no questions are asked. - export PERL_MM_USE_DEFAULT=1 - perl-module_src_prep - # Run the autoconf stuff now, just to make the build sequence look more - # familiar to the user :) Plus feeding the VERSION_STRING skips some - # calls to Perl. - make spamc/Makefile VERSION_STRING="${version_str}" - - # Now compile all the stuff selected. - perl-module_src_compile - if use qmail; then - make spamc/qmail-spamc || die building qmail-spamc failed - fi - - # Rename some docu files so they don't clash with others - src_move_doc spamd/README README.spamd - src_move_doc spamc/README.qmail README.qmail - src_move_doc sql/README README.sql - src_append_doc sql/README.bayes README.sql - src_append_doc sql/README.awl README.sql - src_move_doc ldap/README README.ldap - src_move_doc rules/STATISTICS.txt STATISTICS.set0 - src_move_doc rules/STATISTICS-set1.txt STATISTICS.set1 - src_move_doc rules/STATISTICS-set2.txt STATISTICS.set2 - src_move_doc rules/STATISTICS-set3.txt STATISTICS.set3 - # Remove the MANIFEST files as they aren't docu files - rm -f MANIFEST* - - if use doc; then - make text_html_doc - fi - -} - -src_install () { - perl-module_src_install - - # Move spamd to sbin where it belongs. - dodir /usr/sbin - mv ${D}/usr/bin/spamd ${D}/usr/sbin/spamd || die - - if use qmail; then - into /usr - dobin spamc/qmail-spamc - fi - - # Add the init and config scripts. - dodir /etc/init.d /etc/conf.d - insinto /etc/init.d - newins ${FILESDIR}/3.0.0-spamd.init spamd - fperms 755 /etc/init.d/spamd - insinto /etc/conf.d - newins ${FILESDIR}/3.0.0-spamd.conf spamd - dosym /etc/mail/spamassassin /etc/spamassassin - - if use doc; then - dodoc spamd/PROTOCOL - for f in doc/*.html; do - dodoc $f - done - fi -} - -pkg_postinst() { - perl-module_pkg_postinst - - if ! has_version "perl-core/DB_File"; then - einfo "The Bayes backend requires the Berkeley DB to store its data. You" - einfo "need to emerge perl-core/DB_File or USE=berkdb to make it available." - fi - - if has_version "mail-filter/razor"; then - if ! has_version ">=mail-filter/razor-2.61"; then - ewarn "You have $(best_version mail-filter/razor) installed but SpamAssassin" - if has_version "<mail-filter/razor-2.40"; then - ewarn "requires at least version 2.40, version 2.61 or later is recommended." - else - ewarn "recommends at least version 2.61." - fi - fi - fi - - einfo - einfo "Please read the file" - einfo " /usr/share/doc/${PF}/INSTALL.gz" - einfo "to find out which optional modules you need to install to enable" - einfo "additional features which depend on them." - einfo - einfo "If upgraded from 2.x, please read the file" - einfo " /usr/share/doc/${PF}/UPGRADE.gz" - einfo - ewarn - ewarn "spamd is not designed to listen to an untrusted network" - ewarn "and is vulnerable to DoS attacks (and eternal doom) if" - ewarn "configured to do so" - ewarn -} - diff --git a/mail-filter/spamassassin/spamassassin-3.0.2.ebuild b/mail-filter/spamassassin/spamassassin-3.0.2.ebuild deleted file mode 100644 index faf55d74936e..000000000000 --- a/mail-filter/spamassassin/spamassassin-3.0.2.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-3.0.2.ebuild,v 1.11 2005/05/25 14:24:30 mcummings Exp $ - -inherit perl-module - -MY_P=Mail-SpamAssassin-${PV//_/-} -S=${WORKDIR}/${MY_P} -DESCRIPTION="SpamAssassin is an extensible email filter which is used to identify spam." -HOMEPAGE="http://spamassassin.apache.org/" -SRC_URI="http://www.apache.org/dist/spamassassin/${MY_P}.tar.bz2" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="x86 ppc sparc alpha hppa ia64 amd64 ppc64" -IUSE="berkdb qmail ssl doc" - -DEPEND=">=dev-lang/perl-5.8.2-r1 - >=dev-perl/PodParser-1.22 - perl-core/MIME-Base64 - >=dev-perl/HTML-Parser-3.31 - >=dev-perl/Net-DNS-0.34 - dev-perl/Digest-SHA1 - ssl? ( - dev-perl/IO-Socket-SSL - dev-libs/openssl - ) - berkdb? ( - perl-core/DB_File - )" - - -# - Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again -# (just to be sure, nobody knows how it could happen in the first place). -myconf="SYSCONFDIR=/etc DATADIR=/usr/share/spamassassin" - -# If ssl is enabled, spamc can be built with ssl support -if use ssl; then - myconf="${myconf} ENABLE_SSL=yes" -else - myconf="${myconf} ENABLE_SSL=no" -fi - -# Set the path to the Perl executable explictly. This will be used to -# create the initial sharpbang line in the scripts and might cause -# a versioned app name end in there, see -# <http://bugs.gentoo.org/show_bug.cgi?id=62276> -myconf="${myconf} PERL_BIN=/usr/bin/perl" - -# 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="NOTICE - TRADEMARK - LICENSE - CREDITS - INSTALL - UPGRADE - BUGS - USAGE - README.spamd - README.sql - README.ldap - procmailrc.example - sample-nonspam.txt - sample-spam.txt - STATISTICS.set0 - STATISTICS.set1 - STATISTICS.set2 - STATISTICS.set3" - -use qmail && mydoc="${mydoc} README.qmail" - - -src_move_doc() { - echo "Renaming $1 to $2" - mv $1 $2 || die failed to move documentation -} - -src_append_doc() { - echo "Appending $1 to $2" - cat $1 >> $2 || die failed to append documentation -} - -src_compile() { - # Add Gentoo tag to make it easier for the upstream devs to spot - # possible modifications or patches. - version_tag="g${PV:6}${PR}" - version_str="${PV//_/-}-${version_tag}" - - # Create the Gentoo config file before Makefile.PL is called so it - # is copied later on. - echo "version_tag ${version_tag}" > rules/11_gentoo.cf - - # Setting the following env var ensures that no questions are asked. - export PERL_MM_USE_DEFAULT=1 - perl-module_src_prep - # Run the autoconf stuff now, just to make the build sequence look more - # familiar to the user :) Plus feeding the VERSION_STRING skips some - # calls to Perl. - make spamc/Makefile VERSION_STRING="${version_str}" - - # Now compile all the stuff selected. - perl-module_src_compile - if use qmail; then - make spamc/qmail-spamc || die building qmail-spamc failed - fi - - # Rename some docu files so they don't clash with others - src_move_doc spamd/README README.spamd - src_move_doc spamc/README.qmail README.qmail - src_move_doc sql/README README.sql - src_append_doc sql/README.bayes README.sql - src_append_doc sql/README.awl README.sql - src_move_doc ldap/README README.ldap - src_move_doc rules/STATISTICS.txt STATISTICS.set0 - src_move_doc rules/STATISTICS-set1.txt STATISTICS.set1 - src_move_doc rules/STATISTICS-set2.txt STATISTICS.set2 - src_move_doc rules/STATISTICS-set3.txt STATISTICS.set3 - # Remove the MANIFEST files as they aren't docu files - rm -f MANIFEST* - - if use doc; then - make text_html_doc - fi - -} - -src_install () { - perl-module_src_install - - # Move spamd to sbin where it belongs. - dodir /usr/sbin - mv ${D}/usr/bin/spamd ${D}/usr/sbin/spamd || die - - if use qmail; then - into /usr - dobin spamc/qmail-spamc - fi - - # Add the init and config scripts. - dodir /etc/init.d /etc/conf.d - insinto /etc/init.d - newins ${FILESDIR}/3.0.0-spamd.init spamd - fperms 755 /etc/init.d/spamd - insinto /etc/conf.d - newins ${FILESDIR}/3.0.0-spamd.conf spamd - dosym /etc/mail/spamassassin /etc/spamassassin - - if use doc; then - dodoc spamd/PROTOCOL - for f in doc/*.html; do - dodoc $f - done - fi -} - -pkg_postinst() { - perl-module_pkg_postinst - - if ! has_version "perl-core/DB_File"; then - einfo "The Bayes backend requires the Berkeley DB to store its data. You" - einfo "need to emerge perl-core/DB_File or USE=berkdb to make it available." - fi - - if has_version "mail-filter/razor"; then - if ! has_version ">=mail-filter/razor-2.61"; then - ewarn "You have $(best_version mail-filter/razor) installed but SpamAssassin" - if has_version "<mail-filter/razor-2.40"; then - ewarn "requires at least version 2.40, version 2.61 or later is recommended." - else - ewarn "recommends at least version 2.61." - fi - fi - fi - - einfo - einfo "Please read the file" - einfo " /usr/share/doc/${PF}/INSTALL.gz" - einfo "to find out which optional modules you need to install to enable" - einfo "additional features which depend on them." - einfo - einfo "If upgraded from 2.x, please read the file" - einfo " /usr/share/doc/${PF}/UPGRADE.gz" - einfo - ewarn - ewarn "spamd is not designed to listen to an untrusted network" - ewarn "and is vulnerable to DoS attacks (and eternal doom) if" - ewarn "configured to do so" - ewarn -} |