summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-07-01 17:25:48 +0000
committerEray Aslan <eras@gentoo.org>2012-07-01 17:25:48 +0000
commitb88130d5a373138e1ae73b11537de6a7f5b31f08 (patch)
tree0d04b42cbbd1e0c7468c2623fdb98214235ece7d /mail-filter/amavisd-new
parentWorkaround build failure when test failure occurs. Rerun tests in src_test().... (diff)
downloadhistorical-b88130d5a373138e1ae73b11537de6a7f5b31f08.tar.gz
historical-b88130d5a373138e1ae73b11537de6a7f5b31f08.tar.bz2
historical-b88130d5a373138e1ae73b11537de6a7f5b31f08.zip
version bump
Package-Manager: portage-2.1.11.3/cvs/Linux x86_64
Diffstat (limited to 'mail-filter/amavisd-new')
-rw-r--r--mail-filter/amavisd-new/ChangeLog7
-rw-r--r--mail-filter/amavisd-new/Manifest24
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.7.2.ebuild168
3 files changed, 192 insertions, 7 deletions
diff --git a/mail-filter/amavisd-new/ChangeLog b/mail-filter/amavisd-new/ChangeLog
index 12c5f1919f19..86c8d34ae281 100644
--- a/mail-filter/amavisd-new/ChangeLog
+++ b/mail-filter/amavisd-new/ChangeLog
@@ -1,6 +1,11 @@
# 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.183 2012/06/08 11:40:18 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.184 2012/07/01 17:25:48 eras Exp $
+
+*amavisd-new-2.7.2 (01 Jul 2012)
+
+ 01 Jul 2012; Eray Aslan <eras@gentoo.org> +amavisd-new-2.7.2.ebuild:
+ version bump
08 Jun 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
amavisd-new-2.7.1.ebuild:
diff --git a/mail-filter/amavisd-new/Manifest b/mail-filter/amavisd-new/Manifest
index 9ea36c78e378..412c7bd2ed65 100644
--- a/mail-filter/amavisd-new/Manifest
+++ b/mail-filter/amavisd-new/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX amavisd-new-2.4.4-amavisd.conf-gentoo.patch 4878 RMD160 bf7faec0c54aa24bd689db9d1d22cccbdcff47b3 SHA1 18a44d7cf4e155206b26582abf4e3b92682275ea SHA256 b9db712af97ec836f1177fbeeaa284a4eb254f0a4eea1783606553273078fee3
AUX amavisd-new-2.6.3-amavisd.conf-gentoo.patch 4882 RMD160 0d6b26e68128f021fb6869e4a1804dd60c9dae28 SHA1 0127b60d376fffacafcc20db1a82e9be2114ae77 SHA256 f928336035c432e1358fef2a494ae3727b789f4eb8847ca8c7ac816c622a184e
@@ -14,18 +14,30 @@ DIST amavisd-new-2.6.5.tar.gz 951684 RMD160 c28d9c9fc11ac8d942f82874981b6d9889b8
DIST amavisd-new-2.6.6.tar.gz 952177 RMD160 e8c27c5c236665a373fc29b2f48d47e9c8eac89b SHA1 c350253b51f912fe3aaa88cdbda72ad031078210 SHA256 4d3ce005f63dce8ce474e07bec001dac545871e2bf5641c1ffebff6b979e33d5
DIST amavisd-new-2.7.0.tar.gz 941811 RMD160 b869dd41cfd56b1855a42edc285276016f663c5c SHA1 b4ba0a4e9d3fbbfc6a790e81837a8b7eb9480f47 SHA256 534b3d91c31e0e87a73602c84dfeb4b30b4ea64dee99fcceabd59b1bc0082b0b
DIST amavisd-new-2.7.1.tar.gz 948909 RMD160 5741c426cc4a4455c0ff9c9c6c320af457d71546 SHA1 ada44f02da370d4f0004fc81dfe37d2d3871dbe7 SHA256 033d67fa3ebb8e865409a3b48c12bdddd227f66a1fcc7e987100a64a2658401c
+DIST amavisd-new-2.7.2.tar.gz 945448 RMD160 22f57e4bd3e0717d62d5b17dcfdfc4027a017cae SHA1 560096c85babb3b01ecb1d08090a28b67c857044 SHA256 4665e0fb9a71f483f1123113a006291e37f744a5880f945ccf9fd34d51cb9275
EBUILD amavisd-new-2.6.3-r2.ebuild 5484 RMD160 35f6cd938ebb846ce941d0cf488f86167324241f SHA1 d2106a0b9fca4724680a59bc0d14b1dde2b46033 SHA256 7521feff6769511f2d19e3b041dab59fdaa436e8f73f335795a6d8669eecd3d6
EBUILD amavisd-new-2.6.4.ebuild 5459 RMD160 d7bbc5adfaffd9e5540879e6abc90607c13491b2 SHA1 b4a9d5d9f1517d360767d4ae4661c3da0961389f SHA256 cbc84db455cb3af50877526b61c259e805980ef0379f2ccd23a87824fc7411aa
EBUILD amavisd-new-2.6.5.ebuild 5511 RMD160 8a3d2333c36b7b8bfdf8b55d21e396e98bae4265 SHA1 95eaf1d039cbb0ef0b00cf9ece9556c85b2783d4 SHA256 21e62fbcb507e24cc2a108134d8dbb2b66091c8d1de4948ce192ffc13030e536
EBUILD amavisd-new-2.6.6.ebuild 5511 RMD160 a57b5231e9e8201224b457f7a6a23fb9def800bb SHA1 8f903e6743b52afebf9c0f1abe2795433c5bf7b5 SHA256 0fc3cd18182676e90ec6d6b61a0998ba70aee7d369187f6ea40be48807a32ae9
EBUILD amavisd-new-2.7.0.ebuild 4292 RMD160 6a9e75e1908e4083e301eedda24a10f92b9eea8d SHA1 173c308cc4980642e624a0faa16bd69419726133 SHA256 21385f792e9088f227fda38ff8d4f51b23b6f277aab4a03d94f933f978e2c075
EBUILD amavisd-new-2.7.1.ebuild 4298 RMD160 95988e1e25a9b84a149aad2ae3144d084264688a SHA1 fe8588ad54ce031138d8ab9b95657e877aa0cc06 SHA256 dd8937c68dc4c5cdf4aa469656031fc64d446e85a65490e5ac566d509e0d6f56
-MISC ChangeLog 34897 RMD160 c6143a4d0b7a42c7bce6ea5d6e9d4f34885b443b SHA1 92c2254d15a384623754f6fe1da303240d79733b SHA256 b30b289e73f896e13cbe46bfba1575f6aa409b6d525a290c396d2c4037859e3e
+EBUILD amavisd-new-2.7.2.ebuild 4293 RMD160 55a365ada4e19db98ab1f8946df08c48e635cb97 SHA1 3edae2e5bbf8247c183051dab033f3c65705614a SHA256 beb06016f8ec13bdb05436208591a23c15d0e18e85aa352c80a5aa4dec711456
+MISC ChangeLog 35012 RMD160 b7de7b26042a0d7bdd83cbe9dc53f452060205c5 SHA1 b140fc210169aa7b1d9e842e88c1628d02e92811 SHA256 1cf271ab038f26b0b2bbbbcf6d3485d87e5a3fd070806d7c0e2b73fd737be070
MISC metadata.xml 492 RMD160 5cc972a4e9a4a4d988864d3860c14faaab49b486 SHA1 2ba196114139a71488d3561cebb5634603f4e6f1 SHA256 9210f93fc9ec4b70f4fc79c08f43bb50f29e02aa33bad7061c0047ac8781d190
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREKAAYFAk/R5KgACgkQuUQtlDBCeQJ1cgCfYvMkbJVmssEYxZoHro/ZaR47
-OCcAn1yzOljFSe7/MmXuY4LFoqnqCmnC
-=0XoM
+iQIcBAEBCAAGBQJP8IgtAAoJEHfx8XVYajsfyiYP/24r/M6QJ/d+QFfstoC7yRmL
+rQLPsL5HYPLNi/veRkceIaTAJRettrmZIVtSip1m4LaEjZ2Mw/x/nWbfwlq3D3ML
+BPBOYpgRrFM6zPVfMy/9GoBS3cEtjIT6js6tsOwJe/t353mUiOGGtU2LjCWlT5lJ
+/TQQmwKmwSv2Vuc77jXWbHXBi2PNCTARk0FbrT2Rga/gWFbgfS3D7XDWpyyc/Lv/
+GYz/tPv84hpDyn8jsdjpLB+e/tRx2NAH2KCHssT2rLAn3tHQv/NjjGEvuQjBdDkB
+U3IQ0y3Je8wCtF6TaM60rL9BL9O/s19DjQzcsQcyFsyMv6YcqtkmnMdIvFk+F2Uu
+6HJuWKV0BqCWFLDiGD/Gsjt7bJXTQ9m+Hy0IHqehkrhoDH5HL30FD4o5zFxOEmk+
+xDYKD3Sw20DGouYVURgzY5tHyraxlL4Z00JHApEJV7VyPuFVKJGp+uIHlMMGHb+Q
+oCFi3gxkkZ8893DEAh8RBFh9JxPxCieVG7w+Bwu2bETjjG4aJtyGxEuz8k57IZS/
+xpwVZBhtlpVQNGLkRqqE9mSMojKj5MY0M6kXtJ7cPI67Cbs6KXiMixW8rSbF7bI7
+g9/hAY7xo2d+iV3mEsyZbjNn13bDHsN8gIl4vN3eH7yJOIXNh+Gb2p7Q9DZeQ8ur
+QKPCjRawjW7gl+r2h2DG
+=PSSu
-----END PGP SIGNATURE-----
diff --git a/mail-filter/amavisd-new/amavisd-new-2.7.2.ebuild b/mail-filter/amavisd-new/amavisd-new-2.7.2.ebuild
new file mode 100644
index 000000000000..654d7baf1b91
--- /dev/null
+++ b/mail-filter/amavisd-new/amavisd-new-2.7.2.ebuild
@@ -0,0 +1,168 @@
+# 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.7.2.ebuild,v 1.1 2012/07/01 17:25:48 eras Exp $
+
+EAPI=4
+inherit eutils user
+
+MY_P="${P/_/-}"
+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/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="courier dkim ldap mysql postgres qmail razor snmp spamassassin"
+
+DEPEND=">=sys-apps/sed-4
+ >=dev-lang/perl-5.8.2"
+
+RDEPEND="${DEPEND}
+ >=sys-apps/coreutils-5.0-r3
+ app-arch/cpio
+ app-arch/gzip
+ app-arch/bzip2
+ app-arch/arc
+ app-arch/cabextract
+ app-arch/freeze
+ app-arch/lha
+ app-arch/ncompress
+ app-arch/pax
+ app-arch/unarj
+ app-arch/xz-utils
+ || ( app-arch/unrar app-arch/rar )
+ app-arch/zoo
+ >=dev-perl/Archive-Zip-1.14
+ >=virtual/perl-IO-Compress-1.35
+ >=virtual/perl-Compress-Raw-Zlib-2.017
+ 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-apps/file
+ >=sys-libs/db-4.4.20
+ 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 )
+ snmp? ( net-analyzer/net-snmp[perl] )
+ spamassassin? ( mail-filter/spamassassin )"
+
+AMAVIS_ROOT="/var/amavis"
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ if use courier ; then
+ epatch amavisd-new-courier.patch
+ fi
+
+ if use qmail ; then
+ epatch amavisd-new-qmqpqq.patch
+ fi
+
+ sed -i \
+ -e '/daemon/s/vscan/amavis/' \
+ -e "s:'/var/virusmails':\"\$MYHOME/quarantine\":" \
+ "${S}/amavisd.conf" || die "missing conf file"
+
+ if ! use dkim ; then
+ sed -i -e '/enable_dkim/s/1/0/' "${S}/amavisd.conf" \
+ || die "missing conf file"
+ fi
+}
+
+src_install() {
+ dosbin amavisd amavisd-agent amavisd-nanny amavisd-release \
+ amavisd-signer
+ dobin p0f-analyzer.pl amavisd-submit
+
+ if use snmp ; then
+ dosbin amavisd-snmp-subagent
+ dodoc AMAVIS-MIB.txt
+ fi
+
+ insinto /etc
+ insopts -m0640
+ doins amavisd.conf
+
+ newinitd "${FILESDIR}/amavisd.initd" amavisd
+
+ keepdir "${AMAVIS_ROOT}"
+ keepdir "${AMAVIS_ROOT}/db"
+ keepdir "${AMAVIS_ROOT}/quarantine"
+ keepdir "${AMAVIS_ROOT}/tmp"
+ keepdir "${AMAVIS_ROOT}/var"
+
+ dodoc AAAREADME.first INSTALL MANIFEST RELEASE_NOTES TODO \
+ amavisd.conf-default amavisd-custom.conf
+
+ docinto README_FILES
+ dodoc README_FILES/README*
+ dohtml README_FILES/*.{html,css}
+ docinto README_FILES/images
+ dodoc README_FILES/images/*.png
+ docinto README_FILES/images/callouts
+ dodoc README_FILES/images/callouts/*.png
+
+ docinto test-messages
+ dodoc test-messages/README
+ dodoc test-messages/sample.tar.gz.compl
+
+ #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
+ dodir /etc/openldap/schema
+ insinto /etc/openldap/schema
+ insopts -o root -g root -m 644
+ newins LDAP.schema ${PN}.schema || die
+ fi
+}
+
+pkg_preinst() {
+ enewgroup amavis
+ enewuser amavis -1 -1 "${AMAVIS_ROOT}" amavis
+ if use razor ; then
+ if [ ! -d "${ROOT}${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
+ elog "Disabling anti-spam code in amavisd.conf..."
+ sed -i -e \
+ "/^#[[:space:]]*@bypass_spam_checks_maps[[:space:]]*=[[:space:]]*(1)/s/^#//" \
+ "${D}/etc/amavisd.conf"
+ fi
+
+ if has_version "<${CATEGORY}/${PN}-2.7.0" ; then
+ elog "Amavisd-new ships with a short and condensed config file now."
+ elog "Transferring your current settings to the new format is"
+ elog "recommended for ease of future upgrades."
+ fi
+}
+
+pkg_postinst() {
+ chown root:amavis "${ROOT}/etc/amavisd.conf"
+ chown -R amavis:amavis "${ROOT}/${AMAVIS_ROOT}"
+}