diff options
author | Eray Aslan <eras@gentoo.org> | 2012-07-31 14:15:20 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2012-07-31 14:15:20 +0000 |
commit | 8a24cf33f1a046793957e21eecdbc81e11bf731d (patch) | |
tree | 015f451bc8c98c9aab59e510233eaf9cd8b24737 /mail-filter | |
parent | Stable on amd64 and ppc wrt bug#427098. Remove older. (diff) | |
download | historical-8a24cf33f1a046793957e21eecdbc81e11bf731d.tar.gz historical-8a24cf33f1a046793957e21eecdbc81e11bf731d.tar.bz2 historical-8a24cf33f1a046793957e21eecdbc81e11bf731d.zip |
Remove old
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/amavisd-new/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/amavisd-new/Manifest | 31 | ||||
-rw-r--r-- | mail-filter/amavisd-new/amavisd-new-2.6.4.ebuild | 196 | ||||
-rw-r--r-- | mail-filter/amavisd-new/amavisd-new-2.6.5.ebuild | 197 | ||||
-rw-r--r-- | mail-filter/amavisd-new/amavisd-new-2.6.6.ebuild | 197 | ||||
-rw-r--r-- | mail-filter/amavisd-new/files/amavisd-new-2.4.4-amavisd.conf-gentoo.patch | 115 |
6 files changed, 24 insertions, 720 deletions
diff --git a/mail-filter/amavisd-new/ChangeLog b/mail-filter/amavisd-new/ChangeLog index 084f7c5a7480..75ac6e8b602c 100644 --- a/mail-filter/amavisd-new/ChangeLog +++ b/mail-filter/amavisd-new/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/amavisd-new # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.186 2012/07/29 18:47:48 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.187 2012/07/31 14:15:19 eras Exp $ + + 31 Jul 2012; Eray Aslan <eras@gentoo.org> + -files/amavisd-new-2.4.4-amavisd.conf-gentoo.patch, + -amavisd-new-2.6.4.ebuild, -amavisd-new-2.6.5.ebuild, + -amavisd-new-2.6.6.ebuild: + Remove old 29 Jul 2012; Raúl Porcel <armin76@gentoo.org> amavisd-new-2.7.1.ebuild: alpha/sparc stable wrt #419013 diff --git a/mail-filter/amavisd-new/Manifest b/mail-filter/amavisd-new/Manifest index c5130bd12470..5ab33e86b81e 100644 --- a/mail-filter/amavisd-new/Manifest +++ b/mail-filter/amavisd-new/Manifest @@ -1,7 +1,6 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 -AUX amavisd-new-2.4.4-amavisd.conf-gentoo.patch 4878 SHA256 b9db712af97ec836f1177fbeeaa284a4eb254f0a4eea1783606553273078fee3 SHA512 39244d25b676f0269cc697f89d4f79b75d7a7fb5ab911ab7b7186d9ff53d0e8e9b3d26cf23c800663699e8d665d40712709aa88744c7781870389b1a8bc2a157 WHIRLPOOL 4ea4e67c38c0caeb51e5d4661973aec61a147b0b1680687b1cd8b25067e7d1d9861eaaf38984206acd3bbdeb30c723aea7f3060ac50c23ea2843aae7d7e8935f AUX amavisd-new-2.6.3-amavisd.conf-gentoo.patch 4882 SHA256 f928336035c432e1358fef2a494ae3727b789f4eb8847ca8c7ac816c622a184e SHA512 be21600fc4b1f75f419c7bf8dacce82a0cd6ceebdf68d69b83ef3f206f74fb6c675574f61c81131d766a02769e102c234cd829b57abefc786f22020f482da3b1 WHIRLPOOL acaaa5c69a96f7778d943310262ac3fe0883d747a08355411c865e4962318d54559fe7756e6c197166a78347ea451c1fcf82ac97b01bc20562459fa13b358a1b AUX amavisd-new-2.6.3-dkimconf.patch 735 SHA256 1d0489bfd14d794617c12ec797404373a632b2c26e381d9e09c364cbfa2ae248 SHA512 111630148607d59bb1112dab829f87f4f53eb75c83030ebb2b80bdcce61329e417aa18c36180f354423f1fe11714094b658da4ef505019d770ced875df41185c WHIRLPOOL 8f2e06b4e42c81ead59f108413065a9c470bae27b6e85c16307f70ac93ce56ddc5294a19df260f2cc610087f26f412bb51ca0f8a841c39ce5b443bd4a8fd2168 AUX amavisd-new-2.6.3-startup.patch 522 SHA256 ebc531320945ab009da3b59d829d7f6dd938647063ec495ed85d96833eee0647 SHA512 d18fd29eca8b827567963cd5c75a53b267ab9443a854e6d0ecd433b2418829404900b17d22200a55d59ce003720ae7836362edaf5b8c8791bd0dfc3dc13e5a69 WHIRLPOOL 8e21a602b916ed19507833c5be8322787622a9b9eca8029a3bf4daf9b59512590e4d9bcab9e3c81c57df548ddd51d2d855afb88a350502c68fa0e7afc3eba56d @@ -9,25 +8,29 @@ AUX amavisd-new-dkimconf.patch 735 SHA256 033f6758dc3f62d19f8a269c8ba1e3960f8b55 AUX amavisd.initd 918 SHA256 6843671c58cca1fb1df954b85f40c587838519d4b359a054f0619cad5592877d SHA512 0bdc842bf6c5613ef049dee90579e5635338989ae20683ee5aff183a183fa795eb9636fc5d5671b1f6c155ad7f68e5aac0749520f8ba477103ae9dd50da7cb57 WHIRLPOOL 65e56a9d4f752dd3e993b5adce96e1872103c251fd77a7243267e3242a359a3dc4452f6c90cc3a191d1a43f7dd0030ceda1d7b1d15aa9cf061921ba55fe5dcae AUX amavisd.rc6 371 SHA256 f2010650d3ef408359f41e3a84173c2b27300e9d6d2e4f7558ef39858e01da9d SHA512 4d709775bbe4fd0671da21ee43d69d88332716140eeed5f5000ccaf6d08170feeb252b1ae7d6587771ee766be0fc77dff823c2f79a544998df97971978c15fce WHIRLPOOL 6ceaaf289fd7cc8c16fbc0c8314ed5d794a76a8fe81218e87469cc874fba18a96910ccf1d92b9b5f8298fd092e222b528953781030f87258e1a9b21b3af9aa54 DIST amavisd-new-2.6.3.tar.gz 918888 SHA256 47e774579fdab1e1c10ef2295d49cb511b13e05431a7955c73f07e98025d788e -DIST amavisd-new-2.6.4.tar.gz 947596 SHA256 40fe1b655deb934c7a655a6b5b430df268ec9ac80754b120795bc45d4ae769ef -DIST amavisd-new-2.6.5.tar.gz 951684 SHA256 fe438fb215c6e333de1a82044d954f5e69f85614f40444851ed3959f3e5cf8b2 -DIST amavisd-new-2.6.6.tar.gz 952177 SHA256 4d3ce005f63dce8ce474e07bec001dac545871e2bf5641c1ffebff6b979e33d5 DIST amavisd-new-2.7.0.tar.gz 941811 SHA256 534b3d91c31e0e87a73602c84dfeb4b30b4ea64dee99fcceabd59b1bc0082b0b DIST amavisd-new-2.7.1.tar.gz 948909 SHA256 033d67fa3ebb8e865409a3b48c12bdddd227f66a1fcc7e987100a64a2658401c -DIST amavisd-new-2.7.2.tar.gz 945448 SHA256 4665e0fb9a71f483f1123113a006291e37f744a5880f945ccf9fd34d51cb9275 +DIST amavisd-new-2.7.2.tar.gz 945448 SHA256 4665e0fb9a71f483f1123113a006291e37f744a5880f945ccf9fd34d51cb9275 SHA512 f707a5ac9d6acee2f9d144fda86fed92bbf33693858262ab0a95663da50f78a023102d9d50dd5a6a256ef6302a241f9c28d2b190e3efe2110c0eea15557ae756 WHIRLPOOL c0422d80b9dc11a7a2e9cb10092b7c97c02536aa852f70c566ab6e2e6a865b901ad24caf626b8b02ee64979bced7c25f03888827fd47ffbc4e733bb733e08c9e EBUILD amavisd-new-2.6.3-r2.ebuild 5484 SHA256 7521feff6769511f2d19e3b041dab59fdaa436e8f73f335795a6d8669eecd3d6 SHA512 601e7d4c7eb2bf1057faf9abd2ee40f8a189a586309960143d959b6da144ed23c6d0a30dce190b3e3b37c942159e879d85675cb38249fd0d56681197ee5a24dc WHIRLPOOL 468de71c9e6f02ad14196fd9fe341e77107318ac7abc8bee81bcea8b8cab7ebfbc1ee1beb0ffb3ddb27ac28d3cd568744c46974f2df9ac9007f4288a003b9af3 -EBUILD amavisd-new-2.6.4.ebuild 5459 SHA256 cbc84db455cb3af50877526b61c259e805980ef0379f2ccd23a87824fc7411aa SHA512 752a975ed9e4aa27eba08c782f126a70670ad20ec65466e10cebe7d2decf40337479893a7e41baaeea024acfecbedd0536cfa013c43d5f379d97af5793528631 WHIRLPOOL f057a8eb8531960ca9d28b7d6b8b71f1cd58a81f6c60593eb683a7009db5d68ce935da1a8b502ab9bc7754f5206bf29556af49bdb58cc22c120dd220a950cf92 -EBUILD amavisd-new-2.6.5.ebuild 5511 SHA256 21e62fbcb507e24cc2a108134d8dbb2b66091c8d1de4948ce192ffc13030e536 SHA512 84292e378ce9ecb375ad4e2ee0c7fce116d1ef65f5b0ee6cecac52873a56192230f66004003d3172cca7ac7812df04b180483a95b48a741620b1c40ad7c36b5c WHIRLPOOL 9c78db7bc1b2b19cba592046b7cc9408375ae986fce5a1774ff74e4520b779c1ceedd8df357b4e7913f0c8c08d4e8d798dd2d585a58c0860a061c5f71ab74cdb -EBUILD amavisd-new-2.6.6.ebuild 5511 SHA256 0fc3cd18182676e90ec6d6b61a0998ba70aee7d369187f6ea40be48807a32ae9 SHA512 52ec5d93dc0ca2ce6d568c37349fa60d470890ec7ee84e4006d8051a9afcbb5996070c0ebbfc18e55123fce50ff22bbb16c432183afb5c4c9f85794fed2d3dac WHIRLPOOL 285042f208468e7e7dbeaec7c07589110189ac136624e529903d7c0214ab36b5965ec554d80ae10f0b0362372c37e0e075f46c05c43c37d06071ca8aae0350eb EBUILD amavisd-new-2.7.0.ebuild 4292 SHA256 21385f792e9088f227fda38ff8d4f51b23b6f277aab4a03d94f933f978e2c075 SHA512 20b1caa972d9f1946aad4bc7621c3a3c1c2a078dbc2fc25f2a03aa212b492e552e4cc0b32230a79a023cc63eb8822d0a11bb422e8b57c5d542fdef41a64f4d9c WHIRLPOOL 1744bb4b6a4521b2c513c9fec6d230acecf09428fb84dc50a1da0d47fc5f349c902bc2ed28186ebbbbf9c099344a7ce7faf72a508d5a5b554c7466063fb1adeb EBUILD amavisd-new-2.7.1.ebuild 4292 SHA256 a7290d473ad9faacd66161add119bba96e673b92f33822607c5bf33f969b1f38 SHA512 659e4935b711d6b3f1e491d30c7980e086f5c76378cf7c212708d005adccfc8998d50d5f8340b2e1e018e39d6226e6c0cc3bcdfc027ad469c107e4e88db21e30 WHIRLPOOL 71e2e30ca19cd1c41a87c273604d22cc747e6ca72527a2c66e936df540c2ab2b93cb69d215053d2ee5576575cb99892646193cbe9e42c8bf4425ac2fa1ea513f EBUILD amavisd-new-2.7.2.ebuild 4293 SHA256 beb06016f8ec13bdb05436208591a23c15d0e18e85aa352c80a5aa4dec711456 SHA512 082c68bdf70374f5ee9e6519dbc7e729a2ff2c8d8edaaa4f7940353de0fda2e7a2ec67b54b5465642ea84c9125a1b0fbcfc1f50449840a4daf7bf07cc7772413 WHIRLPOOL c4c8aa274c58e17c01149334acb6409dfa3d62ea4eab0cb6d2c2fff417ba8c1d7e24afbe0cbef9b2048ae3cc0e50f239bfd060763acca20746e07f5f194b3009 -MISC ChangeLog 35231 SHA256 8b7ff76d48674ef80c6bbe411f978949f59170ad9f9ecb79e0dff563adc338c7 SHA512 bf944bf2a1952a6e8f5dbb24e48f57c04509704d737ea8447e391c036615da960f637059e543439caa5b4bd5b08b0b73d62b7edf66b8b27fbb74cef82770199b WHIRLPOOL 97e1352e2a5cf4c5ff717741b290a126414cad55ceb3f8e812e688c1344773796a6c32407b3ab2ae987408fec20490efbaf8d82d0b452f9ebdc1bf292a8b2c57 +MISC ChangeLog 35425 SHA256 be29cfd09bdeb15c5cc9f354dd2750671059e9558f61e0fb50731372d88c2e36 SHA512 b06fceb9a5d173f2485ee2b83ee8bdad74580e3c510a088a22f0f1ca66e14a28bee3a0035ad36baf6ab4f992c7546640ddad0463255a428b1b1262e8ffa243b3 WHIRLPOOL e304138edf1ae45a7be2d49a8db3d8763acef75a10d9841a3f67ad86ff17ba5cf5063ef4d0c6306b65fb22f88da5d91c7ae2dd427f9c81326a683e0872ddbfcb MISC metadata.xml 492 SHA256 9210f93fc9ec4b70f4fc79c08f43bb50f29e02aa33bad7061c0047ac8781d190 SHA512 ba69b22152269a0e655e556066515a59852cadcf06169be9155a856ae86241c089f2fd475fe182c2272c68eea71e6cd53b44e4e822f897fdf8917ecdb7c7f8a4 WHIRLPOOL 310f048d1ed9363ee890644829c4bf4aed66cc1d44930ff4dc1512b2877f9d996ecb08b05e39f2ba29bcb22b738c62d43e905cbdd11e5ea3059db4e30a088da0 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAlAVhVoACgkQuQc30/atMkAYAgCeI2+Mq0JrHo7hTapQpLgd/Q91 -UhoAnRRCxYTTWnul/BIVJVSTa4nmeFjc -=vlH0 +iQIcBAEBCAAGBQJQF+iFAAoJEHfx8XVYajsfGsgQAJBwuSR87ENynCNksi0bAzpk +fPfxqfjBJ6/uJyJS5BRO/T7/hbMCCoZECHGrJxZL38lC9zNDgpVlRed19D4l1I9i +v64LdVj7luVHUV1LKxKkwxU7XcSX8a2IDhqo2+qlU3rpe4c3Le70dhhFkAvNl/Vz +YgobaOyXIcFaDu/FvQH3bhLY4vDI83wy/DutyC7QMuDq4spJmCvPU+ZQrJYsIKqI +UL2Na6G8iGeMQoSxiRTiZ5aBGGpFAQu3oiTbNElKnswOKUstmrNFwtgipFL0ocU7 +6SsnoW9conqOUdf1F0PYgQ/OMcSo9SIFBJVz6fEzaQXqBLLyGokR/S5KzPqmlURA +NXKddnc7PJdTxfpWjDJwSVLTfjv6WBgUIjIjRYJ0/P+JZS8Wrr8qQBMlak5RKbDU +qidbkH2W8NANaNLLsotOPUZ2K8xFogP16xNdPFbBWbVPfKLFxFlbIBpfgKy/JbAO +lk0QeiSP+Q+WOckxWabMmI5/Qrxu7B64js0bKXiIAYaltQTDVNeLWGEZyp7Wog86 +7uKbduaZ+jFDNjZ8RbscX7PVrInZeUsdwsAhZO9UadivN8vYc254HslVuDV/XuVQ +Gq1FWzcVWY9bvAFuQwi5kIn9IVjFWbnSh2ST8ToK1m2RvGcKskfQ62gVcjGpR9x9 +WMwSq6FDC/Fqp5WzqVoV +=Az3t -----END PGP SIGNATURE----- diff --git a/mail-filter/amavisd-new/amavisd-new-2.6.4.ebuild b/mail-filter/amavisd-new/amavisd-new-2.6.4.ebuild deleted file mode 100644 index a1774ff294d9..000000000000 --- a/mail-filter/amavisd-new/amavisd-new-2.6.4.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.6.4.ebuild,v 1.3 2012/06/04 21:00:17 zmedico Exp $ - -inherit eutils user - -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/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="courier dkim ldap milter mysql postgres qmail razor spamassassin" - -DEPEND=">=sys-apps/sed-4 - >=dev-lang/perl-5.8.2 - milter? ( || ( mail-filter/libmilter >=mail-mta/sendmail-8.12 ) )" - -RDEPEND="${DEPEND} - >=sys-apps/coreutils-5.0-r3 - app-arch/gzip - app-arch/bzip2 - app-arch/arc - app-arch/cabextract - app-arch/freeze - app-arch/lha - app-arch/unarj - || ( app-arch/unrar app-arch/rar ) - app-arch/zoo - >=dev-perl/Archive-Zip-1.14 - >=virtual/perl-IO-Compress-1.35 - dev-perl/Convert-TNEF - >=dev-perl/Convert-UUlib-1.08 - virtual/perl-MIME-Base64 - >=dev-perl/MIME-tools-5.415 - >=dev-perl/MailTools-1.58 - >=dev-perl/net-server-0.91 - virtual/perl-Digest-MD5 - dev-perl/IO-stringy - >=virtual/perl-Time-HiRes-1.49 - dev-perl/Unix-Syslog - >=sys-libs/db-3.2 - dev-perl/BerkeleyDB - dev-perl/Convert-BinHex - >=dev-perl/Mail-DKIM-0.31 - virtual/mta - ldap? ( >=dev-perl/perl-ldap-0.33 ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - razor? ( mail-filter/razor ) - spamassassin? ( mail-filter/spamassassin )" - -AMAVIS_ROOT="/var/amavis" - -src_unpack() { - unpack ${A} - cd "${S}" - - if use courier ; then - epatch amavisd-new-courier.patch - fi - - if use qmail ; then - epatch amavisd-new-qmqpqq.patch - fi - - epatch "${FILESDIR}/${PN}-2.6.3-amavisd.conf-gentoo.patch" - - if ! use dkim ; then - epatch "${FILESDIR}/${PN}-2.6.3-dkimconf.patch" - fi -} - -src_compile() { - 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() { - dosbin amavisd amavisd-agent amavisd-nanny amavisd-release - dobin p0f-analyzer.pl - - insinto /etc - insopts -m0640 - newins amavisd.conf-sample amavisd.conf - - dosed "s:^#\\?\\\$MYHOME[^;]*;:\$MYHOME = '$AMAVIS_ROOT';:" \ - /etc/amavisd.conf - - newinitd "${FILESDIR}/amavisd.rc6" amavisd - dosed "s:/var/run/amavis/:$AMAVIS_ROOT/:g" /etc/init.d/amavisd - - keepdir ${AMAVIS_ROOT} - keepdir ${AMAVIS_ROOT}/db - keepdir ${AMAVIS_ROOT}/quarantine - keepdir ${AMAVIS_ROOT}/tmp - - newdoc test-messages/README README.samples - dodoc AAAREADME.first INSTALL MANIFEST RELEASE_NOTES README_FILES/README.* \ - test-messages/sample* amavisd.conf-default amavisd-agent \ - amavisd-custom.conf - - dodir /usr/share/doc/${PF}/html - insinto /usr/share/doc/${PF}/html - doins README_FILES/*.{html,css} - dodir /usr/share/doc/${PF}/html/images - insinto /usr/share/doc/${PF}/html/images - doins README_FILES/images/* - - if use milter ; then - cd "${S}/helper-progs" - einstall - cd "${S}" - fi - - for i in whitelist blacklist spam_lovers; do - if [ -f ${AMAVIS_ROOT}/${i} ]; then - cp "${AMAVIS_ROOT}/${i}" "${D}/${AMAVIS_ROOT}" - else - touch "${D}"/${AMAVIS_ROOT}/${i} - fi - done - - if use ldap ; then - elog "Adding ${P} schema to openldap schema dir." - dodir /etc/openldap/schema - insinto /etc/openldap/schema - insopts -o root -g root -m 644 - newins LDAP.schema ${PN}.schema || die - newins LDAP.schema ${PN}.schema.default || die - fi - - find "${D}"/${AMAVIS_ROOT} -name "*" -type d -exec chmod 0750 \{\} \; - find "${D}"/${AMAVIS_ROOT} -name "*" -type f -exec chmod 0640 \{\} \; -} - -pkg_preinst() { - enewgroup amavis - enewuser amavis -1 -1 ${AMAVIS_ROOT} amavis - - if [ -z "$(dnsdomainname)" ] ; then - dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(hostname)';:" \ - /etc/amavisd.conf - else - dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(dnsdomainname)';:" \ - /etc/amavisd.conf - fi - - if use razor ; then - if [ ! -d ${AMAVIS_ROOT}/.razor ] ; then - elog "Setting up initial razor config files..." - - razor-admin -create -home="${D}"/${AMAVIS_ROOT}/.razor - sed -i -e "s:debuglevel\([ ]*\)= .:debuglevel\1= 0:g" \ - "${D}"/${AMAVIS_ROOT}/.razor/razor-agent.conf - fi - fi - - if ! use 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 -} - -pkg_postinst() { - if ! use spamassassin ; then - echo - elog "Amavisd-new no longer requires SpamAssassin, but no anti-spam checking" - elog "will be performed without it. Since you do not have SpamAssassin installed," - elog "all spam checks have been disabled. To enable them, install SpamAssassin" - elog "and comment out the line containing: " - elog "@bypass_spam_checks_maps = (1); in /etc/amavisd.conf." - fi - echo - ewarn "As of amavisd-new-2.4.5 p0f-analyzer.pl only binds to the loopback interface" - ewarn "by default instead of to all interfaces. You will need to change $bind_addr" - ewarn "in p0f-analyzer.pl to '0.0.0.0' if p0f-analyzer.pl is running on a different" - ewarn "host from amavisd or from other querying clients." - echo - ewarn "Adjusting permissions for /etc/amavisd.conf (0 for world, owner root:amavis)" - echo - chmod o-rwx /etc/amavisd.conf - chown root:amavis /etc/amavisd.conf - chown -R amavis:amavis ${AMAVIS_ROOT} -} diff --git a/mail-filter/amavisd-new/amavisd-new-2.6.5.ebuild b/mail-filter/amavisd-new/amavisd-new-2.6.5.ebuild deleted file mode 100644 index b276883d5a94..000000000000 --- a/mail-filter/amavisd-new/amavisd-new-2.6.5.ebuild +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.6.5.ebuild,v 1.3 2012/06/04 21:00:17 zmedico Exp $ - -inherit eutils multilib user - -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/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="courier dkim ldap milter mysql postgres qmail razor spamassassin" - -DEPEND=">=sys-apps/sed-4 - >=dev-lang/perl-5.8.2 - milter? ( || ( mail-filter/libmilter >=mail-mta/sendmail-8.12 ) )" - -RDEPEND="${DEPEND} - >=sys-apps/coreutils-5.0-r3 - app-arch/gzip - app-arch/bzip2 - app-arch/arc - app-arch/cabextract - app-arch/freeze - app-arch/lha - app-arch/unarj - || ( app-arch/unrar app-arch/rar ) - app-arch/zoo - >=dev-perl/Archive-Zip-1.14 - >=virtual/perl-IO-Compress-1.35 - dev-perl/Convert-TNEF - >=dev-perl/Convert-UUlib-1.08 - virtual/perl-MIME-Base64 - >=dev-perl/MIME-tools-5.415 - >=dev-perl/MailTools-1.58 - >=dev-perl/net-server-0.91 - virtual/perl-Digest-MD5 - dev-perl/IO-stringy - >=virtual/perl-Time-HiRes-1.49 - dev-perl/Unix-Syslog - >=sys-libs/db-3.2 - dev-perl/BerkeleyDB - dev-perl/Convert-BinHex - >=dev-perl/Mail-DKIM-0.31 - virtual/mta - ldap? ( >=dev-perl/perl-ldap-0.33 ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - razor? ( mail-filter/razor ) - spamassassin? ( mail-filter/spamassassin )" - -AMAVIS_ROOT="/var/amavis" - -src_unpack() { - unpack ${A} - cd "${S}" - - if use courier ; then - epatch amavisd-new-courier.patch - fi - - if use qmail ; then - epatch amavisd-new-qmqpqq.patch - fi - - epatch "${FILESDIR}/${PN}-2.6.3-amavisd.conf-gentoo.patch" - - if ! use dkim ; then - epatch "${FILESDIR}/${PN}-2.6.3-dkimconf.patch" - fi -} - -src_compile() { - if use milter ; then - cd "${S}/helper-progs" - - econf --with-runtime-dir=${AMAVIS_ROOT} \ - --with-sockname=${AMAVIS_ROOT}/amavisd.sock \ - --with-user=amavis \ - --with-milterlib="/usr/$(get_libdir)" || die "helper-progs econf failed" - emake || die "helper-progs compile problem" - - cd "${S}" - fi -} - -src_install() { - dosbin amavisd amavisd-agent amavisd-nanny amavisd-release - dobin p0f-analyzer.pl - - insinto /etc - insopts -m0640 - newins amavisd.conf-sample amavisd.conf - - dosed "s:^#\\?\\\$MYHOME[^;]*;:\$MYHOME = '$AMAVIS_ROOT';:" \ - /etc/amavisd.conf - - newinitd "${FILESDIR}/amavisd.rc6" amavisd - dosed "s:/var/run/amavis/:$AMAVIS_ROOT/:g" /etc/init.d/amavisd - - keepdir ${AMAVIS_ROOT} - keepdir ${AMAVIS_ROOT}/db - keepdir ${AMAVIS_ROOT}/quarantine - keepdir ${AMAVIS_ROOT}/tmp - - newdoc test-messages/README README.samples - dodoc AAAREADME.first INSTALL MANIFEST RELEASE_NOTES README_FILES/README.* \ - test-messages/sample* amavisd.conf-default amavisd-agent \ - amavisd-custom.conf - - dodir /usr/share/doc/${PF}/html - insinto /usr/share/doc/${PF}/html - doins README_FILES/*.{html,css} - dodir /usr/share/doc/${PF}/html/images - insinto /usr/share/doc/${PF}/html/images - doins README_FILES/images/* - - if use milter ; then - cd "${S}/helper-progs" - einstall - cd "${S}" - fi - - for i in whitelist blacklist spam_lovers; do - if [ -f ${AMAVIS_ROOT}/${i} ]; then - cp "${AMAVIS_ROOT}/${i}" "${D}/${AMAVIS_ROOT}" - else - touch "${D}"/${AMAVIS_ROOT}/${i} - fi - done - - if use ldap ; then - elog "Adding ${P} schema to openldap schema dir." - dodir /etc/openldap/schema - insinto /etc/openldap/schema - insopts -o root -g root -m 644 - newins LDAP.schema ${PN}.schema || die - newins LDAP.schema ${PN}.schema.default || die - fi - - find "${D}"/${AMAVIS_ROOT} -name "*" -type d -exec chmod 0750 \{\} \; - find "${D}"/${AMAVIS_ROOT} -name "*" -type f -exec chmod 0640 \{\} \; -} - -pkg_preinst() { - enewgroup amavis - enewuser amavis -1 -1 ${AMAVIS_ROOT} amavis - - if [ -z "$(dnsdomainname)" ] ; then - dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(hostname)';:" \ - /etc/amavisd.conf - else - dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(dnsdomainname)';:" \ - /etc/amavisd.conf - fi - - if use razor ; then - if [ ! -d ${AMAVIS_ROOT}/.razor ] ; then - elog "Setting up initial razor config files..." - - razor-admin -create -home="${D}"/${AMAVIS_ROOT}/.razor - sed -i -e "s:debuglevel\([ ]*\)= .:debuglevel\1= 0:g" \ - "${D}"/${AMAVIS_ROOT}/.razor/razor-agent.conf - fi - fi - - if ! use 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 -} - -pkg_postinst() { - if ! use spamassassin ; then - echo - elog "Amavisd-new no longer requires SpamAssassin, but no anti-spam checking" - elog "will be performed without it. Since you do not have SpamAssassin installed," - elog "all spam checks have been disabled. To enable them, install SpamAssassin" - elog "and comment out the line containing: " - elog "@bypass_spam_checks_maps = (1); in /etc/amavisd.conf." - fi - echo - ewarn "As of amavisd-new-2.4.5 p0f-analyzer.pl only binds to the loopback interface" - ewarn "by default instead of to all interfaces. You will need to change $bind_addr" - ewarn "in p0f-analyzer.pl to '0.0.0.0' if p0f-analyzer.pl is running on a different" - ewarn "host from amavisd or from other querying clients." - echo - ewarn "Adjusting permissions for /etc/amavisd.conf (0 for world, owner root:amavis)" - echo - chmod o-rwx /etc/amavisd.conf - chown root:amavis /etc/amavisd.conf - chown -R amavis:amavis ${AMAVIS_ROOT} -} diff --git a/mail-filter/amavisd-new/amavisd-new-2.6.6.ebuild b/mail-filter/amavisd-new/amavisd-new-2.6.6.ebuild deleted file mode 100644 index 1a8212e17684..000000000000 --- a/mail-filter/amavisd-new/amavisd-new-2.6.6.ebuild +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.6.6.ebuild,v 1.2 2012/06/04 21:00:17 zmedico Exp $ - -inherit eutils multilib user - -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/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="courier dkim ldap milter mysql postgres qmail razor spamassassin" - -DEPEND=">=sys-apps/sed-4 - >=dev-lang/perl-5.8.2 - milter? ( || ( mail-filter/libmilter >=mail-mta/sendmail-8.12 ) )" - -RDEPEND="${DEPEND} - >=sys-apps/coreutils-5.0-r3 - app-arch/gzip - app-arch/bzip2 - app-arch/arc - app-arch/cabextract - app-arch/freeze - app-arch/lha - app-arch/unarj - || ( app-arch/unrar app-arch/rar ) - app-arch/zoo - >=dev-perl/Archive-Zip-1.14 - >=virtual/perl-IO-Compress-1.35 - dev-perl/Convert-TNEF - >=dev-perl/Convert-UUlib-1.08 - virtual/perl-MIME-Base64 - >=dev-perl/MIME-tools-5.415 - >=dev-perl/MailTools-1.58 - >=dev-perl/net-server-0.91 - virtual/perl-Digest-MD5 - dev-perl/IO-stringy - >=virtual/perl-Time-HiRes-1.49 - dev-perl/Unix-Syslog - >=sys-libs/db-3.2 - dev-perl/BerkeleyDB - dev-perl/Convert-BinHex - >=dev-perl/Mail-DKIM-0.31 - virtual/mta - ldap? ( >=dev-perl/perl-ldap-0.33 ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - razor? ( mail-filter/razor ) - spamassassin? ( mail-filter/spamassassin )" - -AMAVIS_ROOT="/var/amavis" - -src_unpack() { - unpack ${A} - cd "${S}" - - if use courier ; then - epatch amavisd-new-courier.patch - fi - - if use qmail ; then - epatch amavisd-new-qmqpqq.patch - fi - - epatch "${FILESDIR}/${PN}-2.6.3-amavisd.conf-gentoo.patch" - - if ! use dkim ; then - epatch "${FILESDIR}/${PN}-2.6.3-dkimconf.patch" - fi -} - -src_compile() { - if use milter ; then - cd "${S}/helper-progs" - - econf --with-runtime-dir=${AMAVIS_ROOT} \ - --with-sockname=${AMAVIS_ROOT}/amavisd.sock \ - --with-user=amavis \ - --with-milterlib="/usr/$(get_libdir)" || die "helper-progs econf failed" - emake || die "helper-progs compile problem" - - cd "${S}" - fi -} - -src_install() { - dosbin amavisd amavisd-agent amavisd-nanny amavisd-release - dobin p0f-analyzer.pl - - insinto /etc - insopts -m0640 - newins amavisd.conf-sample amavisd.conf - - dosed "s:^#\\?\\\$MYHOME[^;]*;:\$MYHOME = '$AMAVIS_ROOT';:" \ - /etc/amavisd.conf - - newinitd "${FILESDIR}/amavisd.rc6" amavisd - dosed "s:/var/run/amavis/:$AMAVIS_ROOT/:g" /etc/init.d/amavisd - - keepdir ${AMAVIS_ROOT} - keepdir ${AMAVIS_ROOT}/db - keepdir ${AMAVIS_ROOT}/quarantine - keepdir ${AMAVIS_ROOT}/tmp - - newdoc test-messages/README README.samples - dodoc AAAREADME.first INSTALL MANIFEST RELEASE_NOTES README_FILES/README.* \ - test-messages/sample* amavisd.conf-default amavisd-agent \ - amavisd-custom.conf - - dodir /usr/share/doc/${PF}/html - insinto /usr/share/doc/${PF}/html - doins README_FILES/*.{html,css} - dodir /usr/share/doc/${PF}/html/images - insinto /usr/share/doc/${PF}/html/images - doins README_FILES/images/* - - if use milter ; then - cd "${S}/helper-progs" - einstall - cd "${S}" - fi - - for i in whitelist blacklist spam_lovers; do - if [ -f ${AMAVIS_ROOT}/${i} ]; then - cp "${AMAVIS_ROOT}/${i}" "${D}/${AMAVIS_ROOT}" - else - touch "${D}"/${AMAVIS_ROOT}/${i} - fi - done - - if use ldap ; then - elog "Adding ${P} schema to openldap schema dir." - dodir /etc/openldap/schema - insinto /etc/openldap/schema - insopts -o root -g root -m 644 - newins LDAP.schema ${PN}.schema || die - newins LDAP.schema ${PN}.schema.default || die - fi - - find "${D}"/${AMAVIS_ROOT} -name "*" -type d -exec chmod 0750 \{\} \; - find "${D}"/${AMAVIS_ROOT} -name "*" -type f -exec chmod 0640 \{\} \; -} - -pkg_preinst() { - enewgroup amavis - enewuser amavis -1 -1 ${AMAVIS_ROOT} amavis - - if [ -z "$(dnsdomainname)" ] ; then - dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(hostname)';:" \ - /etc/amavisd.conf - else - dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(dnsdomainname)';:" \ - /etc/amavisd.conf - fi - - if use razor ; then - if [ ! -d ${AMAVIS_ROOT}/.razor ] ; then - elog "Setting up initial razor config files..." - - razor-admin -create -home="${D}"/${AMAVIS_ROOT}/.razor - sed -i -e "s:debuglevel\([ ]*\)= .:debuglevel\1= 0:g" \ - "${D}"/${AMAVIS_ROOT}/.razor/razor-agent.conf - fi - fi - - if ! use 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 -} - -pkg_postinst() { - if ! use spamassassin ; then - echo - elog "Amavisd-new no longer requires SpamAssassin, but no anti-spam checking" - elog "will be performed without it. Since you do not have SpamAssassin installed," - elog "all spam checks have been disabled. To enable them, install SpamAssassin" - elog "and comment out the line containing: " - elog "@bypass_spam_checks_maps = (1); in /etc/amavisd.conf." - fi - echo - ewarn "As of amavisd-new-2.4.5 p0f-analyzer.pl only binds to the loopback interface" - ewarn "by default instead of to all interfaces. You will need to change $bind_addr" - ewarn "in p0f-analyzer.pl to '0.0.0.0' if p0f-analyzer.pl is running on a different" - ewarn "host from amavisd or from other querying clients." - echo - ewarn "Adjusting permissions for /etc/amavisd.conf (0 for world, owner root:amavis)" - echo - chmod o-rwx /etc/amavisd.conf - chown root:amavis /etc/amavisd.conf - chown -R amavis:amavis ${AMAVIS_ROOT} -} diff --git a/mail-filter/amavisd-new/files/amavisd-new-2.4.4-amavisd.conf-gentoo.patch b/mail-filter/amavisd-new/files/amavisd-new-2.4.4-amavisd.conf-gentoo.patch deleted file mode 100644 index 02b1e4e17549..000000000000 --- a/mail-filter/amavisd-new/files/amavisd-new-2.4.4-amavisd.conf-gentoo.patch +++ /dev/null @@ -1,115 +0,0 @@ ---- amavisd.conf-sample.orig 2006-12-18 17:14:43.000000000 +0100 -+++ amavisd.conf-sample 2006-12-18 17:19:46.000000000 +0100 -@@ -74,14 +74,14 @@ - - # Set the user and group to which the daemon will change if started as root - # (otherwise just keeps the UID unchanged, and these settings have no effect): --$daemon_user = 'vscan'; # (no default; customary: vscan or amavis), -u --$daemon_group = 'vscan'; # (no default; customary: vscan or amavis), -g -+$daemon_user = 'amavis'; # (no default; customary: vscan or amavis), -u -+$daemon_group = 'amavis'; # (no default; customary: vscan or amavis), -g - - # Runtime working directory (cwd), and a place where - # temporary directories for unpacking mail are created. - # (no trailing slash, may be a scratch file system) --$TEMPBASE = $MYHOME; # (must be set if other config vars use is), -T --#$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir /var/amavis clean? -+#$TEMPBASE = $MYHOME; # (must be set if other config vars use is), -T -+$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir /var/amavis clean? - - #$db_home = "$MYHOME/db"; # DB databases directory, default "$MYHOME/db", -D - -@@ -492,22 +492,43 @@ - # default setting of an associative array %final_destiny_by_ccat which is - # backwards compatible and contains references to these traditional variables: - # --$final_virus_destiny = D_DISCARD; # (defaults to D_DISCARD) --$final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE) --$final_spam_destiny = D_BOUNCE; # (defaults to D_BOUNCE) --$final_bad_header_destiny = D_PASS; # (defaults to D_PASS) -+#$final_virus_destiny = D_DISCARD; # (defaults to D_DISCARD) -+#$final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE) -+#$final_spam_destiny = D_BOUNCE; # (defaults to D_BOUNCE) -+#$final_bad_header_destiny = D_PASS; # (defaults to D_PASS) -+ -+######## -+# -+# Please think about what you are doing when you set these options. -+# If necessary, question your origanization's e-mail policies: -+# -+# D_BOUNCE contributes to the overall spread of virii and spam on the -+# internet. Both the envelope and header from addresses can be forged -+# accurately with no effort, causing the bounces to go to innocent parties, -+# whose addresses have been forged. -+# -+# D_DISCARD breaks internet mail specifications. However, with a -+# properly implemented Quaratine system, the concern for breaking the -+# specification is addressed to some extent. -+# -+# D_PASS is the safest way to handle e-mails. You must implement -+# client-side filtering to handle this method. -+# -+# -Cory Visi <merlin@gentoo.org> 07/28/04 -+# -+####### - - # to explicitly list all (or most) possible contents category (ccat) keys: --#%final_destiny_by_ccat = ( --# CC_VIRUS, D_DISCARD, --# CC_BANNED, D_BOUNCE, --# CC_UNCHECKED, D_PASS, --# CC_SPAM, D_BOUNCE, --# CC_BADH, D_PASS, --# CC_OVERSIZED, D_BOUNCE, --# CC_CLEAN, D_PASS, --# CC_CATCHALL, D_PASS, --#); -+%final_destiny_by_ccat = ( -+ CC_VIRUS, D_DISCARD, -+ CC_BANNED, D_BOUNCE, -+ CC_UNCHECKED, D_PASS, -+ CC_SPAM, D_DISCARD, -+ CC_BADH, D_PASS, -+ CC_OVERSIZED, D_BOUNCE, -+ CC_CLEAN, D_PASS, -+ CC_CATCHALL, D_PASS, -+); - - # to rely on a catchall ccat key and only list exceptions (alternative 1): - #%final_destiny_by_ccat = ( -@@ -689,7 +710,7 @@ - # or a directory (no trailing slash) - # (the default value is undef, meaning no quarantine) - # --$QUARANTINEDIR = '/var/virusmails'; # -Q -+$QUARANTINEDIR = "$MYHOME/quarantine"; - - #$quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine - -@@ -1658,7 +1679,7 @@ - # NOTE: if $daemon_chroot_dir is nonempty, the directories will be - # relative to the chroot directory specified; - --$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin'; -+$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin:/opt/bin'; - - # For external programs specify one string or a search list of strings (first - # match wins). The string (or: each string in a list) may be an absolute path, -@@ -2124,7 +2145,7 @@ - - ### http://www.nai.com/ - ['NAI McAfee AntiVirus (uvscan)', 'uvscan', -- '--secure -rv --mime --summary --noboot - {}', [0], [13], -+ '--secure -rv --mime --summary --noboot --mailbox --program --timeout 180 - {}', [0], [13], - qr/(?x) Found (?: - \ the\ (.+)\ (?:virus|trojan) | - \ (?:virus|trojan)\ or\ variant\ ([^ ]+) | -@@ -2246,7 +2267,7 @@ - - ### http://www.f-prot.com/ - backs up F-Prot Daemon - ['FRISK F-Prot Antivirus', ['f-prot','f-prot.sh'], -- '-dumb -archive -packed {}', [0,8], [3,6], # or: [0], [3,6,8], -+ '-dumb -ai -archive -packed -server {}', [0,8], [3,6], # or: [0], [3,6,8], - qr/(?:Infection:|security risk named) (.+)|\s+contains\s+(.+)$/ ], - - ### http://www.trendmicro.com/ - backs up Trophie |