/[gentoo-x86]/mail-filter/spamassassin/spamassassin-2.63-r1.ebuild
Gentoo

Diff of /mail-filter/spamassassin/spamassassin-2.63-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.10
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/Attic/spamassassin-2.63-r1.ebuild,v 1.1 2004/07/05 01:37:44 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/Attic/spamassassin-2.63-r1.ebuild,v 1.10 2005/05/25 16:52:30 mcummings Exp $
4 4
5inherit perl-module 5inherit perl-module
6 6
7MY_P=Mail-SpamAssassin-${PV} 7MY_P=Mail-SpamAssassin-${PV}
8 8
9S=${WORKDIR}/${MY_P} 9S=${WORKDIR}/${MY_P}
10DESCRIPTION="Perl Mail::SpamAssassin - A program to filter spam" 10DESCRIPTION="Perl Mail::SpamAssassin - A program to filter spam"
11HOMEPAGE="http://spamassassin.org/" 11HOMEPAGE="http://spamassassin.org/"
12SRC_URI="http://spamassassin.org/released/${MY_P}.tar.bz2" 12SRC_URI="http://spamassassin.org/released/${MY_P}.tar.bz2"
13 13
14LICENSE="GPL-2 | Artistic" 14LICENSE="|| ( GPL-2 Artistic )"
15SLOT="0" 15SLOT="0"
16KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~ia64 ~amd64" 16KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~ia64 ~amd64 ppc64"
17IUSE="berkdb ssl" 17IUSE="berkdb ssl"
18 18
19DEPEND="|| ( >=dev-lang/perl-5.8.2-r1 19DEPEND="|| ( >=dev-lang/perl-5.8.2-r1
20 ( >=dev-perl/ExtUtils-MakeMaker-6.11-r1 20 ( >=perl-core/ExtUtils-MakeMaker-6.11-r1
21 >=dev-perl/File-Spec-0.8 21 >=perl-core/File-Spec-0.8
22 dev-perl/Time-Local 22 perl-core/Time-Local
23 dev-perl/Getopt-Long 23 perl-core/Getopt-Long
24 ) ) 24 ) )
25 >=dev-perl/PodParser-1.22 25 >=dev-perl/PodParser-1.22
26 >=dev-perl/HTML-Parser-3.24 26 >=dev-perl/HTML-Parser-3.24
27 dev-perl/Net-DNS 27 dev-perl/Net-DNS
28 dev-perl/Digest-SHA1 28 dev-perl/Digest-SHA1
29 ssl? ( dev-perl/IO-Socket-SSL ) 29 ssl? ( dev-perl/IO-Socket-SSL )
30 berkdb? ( dev-perl/DB_File )" 30 berkdb? ( perl-core/DB_File )"
31 31
32myconf="CONTACT_ADDRESS=root@localhost RUN_RAZOR_TESTS=0" 32myconf="CONTACT_ADDRESS=root@localhost RUN_RAZOR_TESTS=0"
33 33
34# If ssl is enabled, spamc can be built with ssl support 34# If ssl is enabled, spamc can be built with ssl support
35if use ssl; then 35if use ssl; then
58 CONTRIB_CERT 58 CONTRIB_CERT
59 BUGS 59 BUGS
60 USAGE 60 USAGE
61 procmailrc.example 61 procmailrc.example
62 sample-nonspam.txt 62 sample-nonspam.txt
63 sample-spam.txt 63 sample-spam.txt
64 qmail/README.qmail-spamc" 64 qmail/README.qmail-spamc"
65 65
66src_compile() { 66src_compile() {
67 perl-module_src_compile 67 perl-module_src_compile
68 perl-module_src_test 68 perl-module_src_test
78 insinto /etc/init.d 78 insinto /etc/init.d
79 newins ${FILESDIR}/spamd.init spamd 79 newins ${FILESDIR}/spamd.init spamd
80 fperms 755 /etc/init.d/spamd 80 fperms 755 /etc/init.d/spamd
81 insinto /etc/conf.d 81 insinto /etc/conf.d
82 newins ${FILESDIR}/spamd.conf spamd 82 newins ${FILESDIR}/spamd.conf spamd
83 83
84 into /usr 84 into /usr
85 dobin qmail/qmail-spamc 85 dobin qmail/qmail-spamc
86} 86}
87 87
88pkg_postinst() { 88pkg_postinst() {
89 perl-module_pkg_postinst 89 perl-module_pkg_postinst
90 90
91 if [ -z "`best_version dev-perl/DB_File`" ]; then 91 if [ -z "`best_version perl-core/DB_File`" ]; then
92 einfo "The Bayes backend requires the Berkeley DB to store its data. You" 92 einfo "The Bayes backend requires the Berkeley DB to store its data. You"
93 einfo "need to emerge dev-perl/DB_File to make it available." 93 einfo "need to emerge perl-core/DB_File to make it available."
94 fi 94 fi
95 95
96} 96}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20