Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 18257 Details for
Bug 29404
SpamAssassin 2.60 released (for real this time)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Mail-SpamAssassin-2.60-r1.ebuild
Mail-SpamAssassin-2.60-r1.ebuild (text/plain), 3.02 KB, created by
Malte S. Stretz
on 2003-09-24 04:24:59 UTC
(
hide
)
Description:
Mail-SpamAssassin-2.60-r1.ebuild
Filename:
MIME Type:
Creator:
Malte S. Stretz
Created:
2003-09-24 04:24:59 UTC
Size:
3.02 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit perl-module > >S=${WORKDIR}/${P} >DESCRIPTION="Perl Mail::SpamAssassin - A program to filter spam" >SRC_URI="http://spamassassin.org/released/${P}.tar.bz2" >HOMEPAGE="http://spamassassin.org" >IUSE="berkdb ssl" >SLOT="0" >LICENSE="GPL-2 | Artistic" >KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha" > >_DEPEND=" > >=dev-lang/perl-5.6.1 > 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 > " >DEPEND="${DEPEND} > >=dev-perl/ExtUtils-MakeMaker-6.11 > ${_DEPEND}" >RDEPEND="${_DEPEND} > dev-perl/Net-DNS > dev-perl/Digest-SHA1 > ssl? ( dev-perl/IO-Socket-SSL ) > berkdb? ( dev-perl/DB_File ) > " > >myconf="" > ># If ssl is enabled, spamc can be built with ssl support. >if [ -n "`use ssl`" ]; then > myconf="ENABLE_SSL=yes ${myconf}" >fi > ># Razor is not (yet) taint safe so disable taint mode if it is installed. >if [ -n "`best_version net-mail/razor`" ]; then > myconf="PERL_TAINT=no ${myconf}" >fi > ># 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 > " > ># We can't use the routines from perl-module here because it does some weird ># weird stuff to the PREFIX which isn't compatible to current versions of ># ExtUtils::MakeMaker. The SpamAssassin Makefile.PL backports parts of that ># logic (the DESTDIR stuff). That results in the wrong paths written to the ># apps and libraries :-( > >src_compile() { > > # The Makefile.PL from SpamAssassin 2.60-rc4 and later now use the well > # known DESTDIR variable. > # Feeding STDIN from the null device makes EU::MM accept the default > # values for all other questions. > perl Makefile.PL ${myconf} \ > PREFIX=/usr \ > DESTDIR=${D} \ > INSTALLDIRS=vendor \ > INSTALLVENDORMAN1DIR='$(INSTALLMAN1DIR)' \ > INSTALLVENDORMAN3DIR='$(INSTALLMAN3DIR)' \ > < /dev/null > > make || die compiling failed ># make test || die testing failed > >} > >src_install () { > > # Now run the install step manually. > make install || die > > # The module_src_install command does some magic I don't understand, so > # here comes a really nasty hack to make it ignore that we've already > # installed the stuff into the builddir: We add a dummy Makefile target > # which is then called by the routine. > mytargets="coffee" > echo -e "${mytargets}:\n\ttrue" >> Makefile > perl-module_src_install > > # Add the init and config scripts. > 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 > > 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 > >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 29404
:
18213
| 18257