Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39807 Details for
Bug 64462
New ebuild for amavisd-new 2.2.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
the ebuild
amavisd-new-20040906.ebuild (text/plain), 4.23 KB, created by
D-Bugger
on 2004-09-17 15:08:04 UTC
(
hide
)
Description:
the ebuild
Filename:
MIME Type:
Creator:
D-Bugger
Created:
2004-09-17 15:08:04 UTC
Size:
4.23 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-20040701.ebuild,v 1.4 2004/08/15 22:12:18 weeve Exp $ > >inherit eutils >VER="2.1.2" >DESCRIPTION="High-performance interface between the MTA and content checkers." >HOMEPAGE="http://www.ijs.si/software/amavisd/" >SRC_URI="http://www.ijs.si/software/amavisd/${PN}-${VER}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~ppc ~amd64 ~sparc" >IUSE="ldap mysql postgres milter" > >DEPEND=">=sys-apps/sed-4 > >=dev-lang/perl-5.8.2" > >RDEPEND="${DEPEND} > >=sys-apps/coreutils-5.0-r3 > app-arch/gzip > app-arch/bzip2 > app-arch/arc > app-arch/freeze > app-arch/lha > app-arch/unarj > app-arch/unrar > app-arch/zoo > dev-perl/Archive-Tar > dev-perl/Archive-Zip > dev-perl/Compress-Zlib > dev-perl/Convert-TNEF > dev-perl/Convert-UUlib > dev-perl/MIME-Base64 > >=dev-perl/MIME-tools-6.2 > >=dev-perl/MailTools-1.58 > dev-perl/net-server > dev-perl/libnet > dev-perl/Digest-MD5 > dev-perl/IO-stringy > >=dev-perl/Time-HiRes-1.49 > dev-perl/Unix-Syslog > >=sys-libs/db-3.1 > dev-perl/BerkeleyDB > virtual/mta > virtual/antivirus > ldap? ( dev-perl/perl-ldap ) > mysql? ( dev-perl/DBD-mysql ) > postgres? ( dev-perl/DBD-Pg ) > milter? ( >=mail-mta/sendmail-8.12 )" > >S="${WORKDIR}/${PN}-${VER}" > >AMAVIS_ROOT=/var/amavis > >src_compile() { > epatch "${FILESDIR}/amavisd-conf.diff" > mv -f amavisd.conf-sample amavisd.conf > if use milter ; then > cd "${S}/helper-progs" > > econf --with-runtime-dir=${AMAVIS_ROOT} \ > --with-sockname=${AMAVIS_ROOT}/amavisd.sock \ > --with-user=amavis || die "helper-progs econf failed" > emake || die "helper-progs compile problem" > > cd "${S}" > fi >} > >src_install() { > enewgroup amavis > enewuser amavis -1 /bin/false ${AMAVIS_ROOT} amavis > > dosbin amavisd amavisd-nanny amavisd-agent > > insinto /etc > doins amavisd.conf > dosed "s:^#\\?\\\$MYHOME[^;]*;:\$MYHOME = '$AMAVIS_ROOT';:" \ > /etc/amavisd.conf > if [ "$(domainname)" = "(none)" ] ; then > dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(hostname)';:" \ > /etc/amavisd.conf > else > dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(domainname)';:" \ > /etc/amavisd.conf > fi > if ! `has_version mail-filter/spamassassin` ; then > einfo "Disabling anti-spam code in amavisd.conf..." > > dosed "s:^#[\t ]*@bypass_spam_checks_maps[\t ]*=[\t ]*(1);:\@bypass_spam_checks_maps = (1);:" \ > /etc/amavisd.conf > fi > > exeinto /etc/init.d > newexe "${FILESDIR}/amavisd.rc6" amavisd > dosed "s:/var/run/amavis/:$AMAVIS_ROOT/:g" /etc/init.d/amavisd > > keepdir ${AMAVIS_ROOT} > fowners amavis:amavis ${AMAVIS_ROOT} > fperms 0750 ${AMAVIS_ROOT} > > keepdir ${AMAVIS_ROOT}/db > fowners amavis:amavis ${AMAVIS_ROOT}/db > > keepdir ${AMAVIS_ROOT}/quarantine > fowners amavis:amavis ${AMAVIS_ROOT}/quarantine > > keepdir ${AMAVIS_ROOT}/tmp > fowners amavis:amavis ${AMAVIS_ROOT}/tmp > for i in whitelist blacklist spam_lovers; do > touch ${D}${AMAVIS_ROOT}/${i} > fowners amavis:amavis ${AMAVIS_ROOT}/${i} > done > > newdoc test-messages/README README.samples > dodoc AAAREADME.first INSTALL LDAP.schema LICENSE MANIFEST RELEASE_NOTES \ > README_FILES/* test-messages/sample-* amavisd.conf-default amavisd-agent > > if use milter ; then > cd "${S}/helper-progs" > einstall > fi >} > >pkg_postinst() { > if `has_version mail-filter/razor` ; then > einfo "Setting up initial razor config files..." > > razor-admin -create -home=${ROOT}${AMAVIS_ROOT}/.razor > sed -i -e "s:debuglevel\([ ]*\)= .:debuglevel\1= 0:g" \ > ${ROOT}${AMAVIS_ROOT}/.razor/razor-agent.conf > chown -R amavis:amavis ${ROOT}${AMAVIS_ROOT}/.razor > fi > > if ! `has_version mail-filter/spamassassin` ; then > echo > einfo "Amavisd-new no longer requires SpamAssassin, but no anti-spam checking" > einfo "will be performed without it. Since you do not have SpamAssassin installed," > einfo "all spam checks have been disabled. To enable them, install SpamAssassin" > einfo "and comment out line 160 of /etc/amavisd.conf." > fi > > echo > ewarn > ewarn "This version of amavisd-new has a different layout from older" > ewarn "versions (<=20030616_p9). The socket, pid, and lock file," > ewarn "as well as the temporary, razor, and spamassassin configuration" > ewarn "directories have all moved to:" > ewarn > ewarn "${AMAVIS_ROOT}" > ewarn > ewarn "It may be necessary to reconfigure any helper applications." > ewarn >}
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 64462
:
39807
|
39808
|
40216
|
43721
|
44578
|
44604
|
45587
|
45932
|
45978
|
45980
|
45981
|
46020
|
46062
|
46081