summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2014-05-16 19:07:47 +0000
committerEray Aslan <eras@gentoo.org>2014-05-16 19:07:47 +0000
commit7df8f14799d6ea8889264f9e4bb0029b86c5d8a0 (patch)
tree603b4f10d371bfd3988522e4b8ad59a2d9e5327e /mail-filter/amavisd-new
parentFix bug #509740 - Add USE=selinux dependency to sec-policy/selinux-ifplugd (diff)
downloadhistorical-7df8f14799d6ea8889264f9e4bb0029b86c5d8a0.tar.gz
historical-7df8f14799d6ea8889264f9e4bb0029b86c5d8a0.tar.bz2
historical-7df8f14799d6ea8889264f9e4bb0029b86c5d8a0.zip
Version bump - bug #510436
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x77F1F175586A3B1F
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.9.0.ebuild180
3 files changed, 209 insertions, 2 deletions
diff --git a/mail-filter/amavisd-new/ChangeLog b/mail-filter/amavisd-new/ChangeLog
index da56a2073b33..38903fd7a0b2 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-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.202 2014/02/15 23:50:32 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.203 2014/05/16 19:07:41 eras Exp $
+
+*amavisd-new-2.9.0 (16 May 2014)
+
+ 16 May 2014; Eray Aslan <eras@gentoo.org> +amavisd-new-2.9.0.ebuild:
+ Version bump - bug #510436
15 Feb 2014; Patrick Lauer <patrick@gentoo.org> amavisd-new-2.8.1-r1.ebuild:
Whitespace
diff --git a/mail-filter/amavisd-new/Manifest b/mail-filter/amavisd-new/Manifest
index bea2e8fe42f6..a4e1392c8b91 100644
--- a/mail-filter/amavisd-new/Manifest
+++ b/mail-filter/amavisd-new/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX amavis-mc.initd 546 SHA256 083abfb37dbdad32b9d75b2667701cde291f3c8793e0bd829910d334eddaed63 SHA512 389f09e092d71efdbd06617947b4ab002714fb2a1471573dccf2ab35490f81648d8f28471c48254aba076b538a63253e090e19128bd7117c7119359a120a95f6 WHIRLPOOL 9bbec76cb41ecc657b22d1441a052908cbfa454cd33a5e9c1c192339b1745da917db59e9926aab6f1dea0c2597d39677d7b8ea2be12edb2e6cf6878654ea9018
AUX amavisd.initd 832 SHA256 b1d40ea4a25cf6f03ccd1b5f02adbfd2203944944077e2906b978e48ff6fd80b SHA512 f6aeb51fff579f233a387b43f2bb1f9396ba7d2d3bb058d74cca5aa22b5b8914e30bd1f95a674bafdc81c191bbff5077d7a6682894e6f9f57c99d81006920138 WHIRLPOOL 8f4e863fe2eb4f5c44b202f2c500713273de6d43ec410d953e18f45b12956c2b67775daf79a0c6830405ab857feaa652722c63783e0b5a3a0adc9b67fd1b2578
AUX amavisd.initd-r1 828 SHA256 0176e34bbc0261bd3c50ae99174af623fe1aa8e8413c3f6196958c02c37d9f1e SHA512 c9fa8c967026a29e486ffb79a10578efa28ba868985a0e83f88ab04987bc0a80a17613e9c92a3c7e03676ab2ee27f07e79cf7b21069161f73c6e517226b7e40f WHIRLPOOL 48958a935e3a79ab44315969b69ff7223241a60a52b14bbbc64daf2363dfb259da8a141c5617f13f7fca6bce2a0b636ac36a4f503f384bdbc5d2c5bc04332306
@@ -5,9 +8,28 @@ AUX amavisd.service 290 SHA256 4e99da77c6d466d03e149470168f1674d3b81c6c0aceb1c22
DIST amavisd-new-2.7.2.tar.gz 945448 SHA256 4665e0fb9a71f483f1123113a006291e37f744a5880f945ccf9fd34d51cb9275 SHA512 f707a5ac9d6acee2f9d144fda86fed92bbf33693858262ab0a95663da50f78a023102d9d50dd5a6a256ef6302a241f9c28d2b190e3efe2110c0eea15557ae756 WHIRLPOOL c0422d80b9dc11a7a2e9cb10092b7c97c02536aa852f70c566ab6e2e6a865b901ad24caf626b8b02ee64979bced7c25f03888827fd47ffbc4e733bb733e08c9e
DIST amavisd-new-2.8.0.tar.xz 716556 SHA256 c21df73b4ba12322b67779fa5f6f23f57757240568f57d81e94702f0f7c1ce8c SHA512 4c927a6956027d8c953b455d37c0c152950ad392c50de992ecbd1f3525d13c11bc29b845496a2a51713fafbf62b6d589435d385b3bccaa34829049890cf56635 WHIRLPOOL c82d58a4d4337b3b42dcdd2e8b80060bdf288db51bdb5e69a8a1351733b4661d79a52d257f18cd26cf9a334f1195db0d8d9a0e3bf28a1043a49e5946817fba62
DIST amavisd-new-2.8.1.tar.xz 731816 SHA256 6e333a70adbd24ec52202700059fbf133e20b3c3bf5ec6f4bb10f9a2f25ea82e SHA512 a840b57513b8a7b18e15085016c273ba2fba5cceb76ef52c52aa2ca34e9257be78f8bb8ea350dbdac3b26d2aba8f5aae821c1c45f2d37bc6be04ff2efb9f3ade WHIRLPOOL 0d0ce9a1e8adae101d0aace45251c02118c8f4481e67ab1af7fb32843010ac9e0b9f8ab88f0769a27c1e74e297507efe53c3a6e8ce84c616e1beeaf281027044
+DIST amavisd-new-2.9.0.tar.xz 752344 SHA256 a33b1bbb9a4ae9d00340291081e22dc7be00e60cd2dac6a93c17785cbc517fdd SHA512 490f249b47638368c4e39b1e90a0654c965ed0c3102495c152c1f365a2fb962078a2bcfb57dccbf0fa8008494d85414734a6cde2aeded7aeda6bf4c1201de59d WHIRLPOOL 31a979bc573b051217101fa317894dabbe5ad75f0d636ae3c720f9c184c9295cddc3acc532950e524348103596113cefd2660cf12753f08837cc9ef931f44f16
EBUILD amavisd-new-2.7.2.ebuild 4291 SHA256 3b9f9cae6315d49734d83299524da54af123d0f72f28ba97a34937a3e314eaaa SHA512 d9ab58dec4466f5a56f0c93a5c88e574f45cef76cc632ef5415ad9c378a6233c17f09750b2d704cb394c15872fcee5d9707e6fd343e082522eb28b5e81808ae7 WHIRLPOOL 8e76512b761b193af2010739907977de0a14ca3970f94609e2c0d3014ce741738144fd15973f95b2174963ac942419cde8b40134ffb1e6b29f095b8ea1bc2fb0
EBUILD amavisd-new-2.8.0.ebuild 4629 SHA256 91f887a7a36852d866838bd09470936eea12196b74250e019cb0e3d57faa3064 SHA512 f5a452ec287c61e82b17d545eea6bfee9c9e862de3cf6aae47a2115b23e2b70707bf9f2085e798ab88ec55283ce111b811c122437513a3ace8905b4b81926867 WHIRLPOOL 6e57103138d4c61996b6e9c13b4fba98989c061d03246611876378b789dac40b20d55a9058a01ee190087c7c74d087c97357e1c44cbdf8622413c7f233d4b801
EBUILD amavisd-new-2.8.1-r1.ebuild 4921 SHA256 120ecf97fb64bc92e128f92e6d32e2556d5976cc4f18924f7c03633afb0ccda5 SHA512 0260805c54f22eeca14517ef3f6188d9c69ee12562581bc337733c5cfce6b7ae5c8533f97f30139c29a1cd8647ace4759dda39fa95373c2e2636eb878a664c4b WHIRLPOOL 09f5b5c51b05b8af6bd60947b991524cca1b1a716b1f97cb8b1916d6fcc7a98fe40dba06cd18c63403c9223ae8b2e1e2493c4203da20abb420c9abd3766f6b37
EBUILD amavisd-new-2.8.1.ebuild 4630 SHA256 677ace999088447813b9ea475a7e2007cf1890250838f6e691520fee0976375b SHA512 cc14ba78ccb66e4c1e845ab97bdb1f8e247bb17fb12f36dd689ba904ea8efb2fdcf01961a804570a4c9f3a35b87d23de2f430dcfaa44308b521d1671c25b7792 WHIRLPOOL 554e629dc5eab9eca243ccd7fd4ff125eba786c3fe0684bca8dddb8ac7adb4ddd00cc2209bd3548be8e9cec62fc8371abc1e747ecaa9ca4392de4432423b6208
-MISC ChangeLog 37378 SHA256 c3a4baad25b82e6d83700980a7c3616091b03cca0b61818c3560d25647253762 SHA512 528b4b643d01f4efa4ed4c4e326017746e2355a90700ed1cf64c20d28ffe6df81c122d56c3c3980a69ee097e57b35a273f379368c031764559fdee636ef451ea WHIRLPOOL 7326ddf11141692cddb71df888b03a78e55ab488f385dea02e7f71128a9fc4e4abb0268f6397da7159155912456136ba918602e6ffae16b50bb4cdf6ee781cd2
+EBUILD amavisd-new-2.9.0.ebuild 4735 SHA256 4f6554228212bab5236140b67baa18e394c6db023df934922a998a7a5362d8f9 SHA512 391872beb41cee69035e74fecb1d481d87f223c9bb024f729ed80a931bc20f2640f0df95dffdd1bfdb2f1d47954f9952b7785fa59e182e26a46b5171b4d7cf40 WHIRLPOOL dce392ae038a60845f93fa962cfbcede07bf0318a168b4335df76cdaac3f0f37c1b16fa42e25e6562bc850abb93eca8806f057c294e577d2df1366b56e87cb7e
+MISC ChangeLog 37510 SHA256 188fe3a5239da8167c77b47f5bf64ad443d73d3c63995d50a1c32e4e42c7ffa4 SHA512 10d07406575cf2356a93aed26ba889b7336fbf50894b9b3ad582b0ea81cf4b84dcdad1baa4a640db0c6e80bdf2714f28f8d14357711d446cebaadf98d8cf2500 WHIRLPOOL 01c7bf6165e50a5d4f35df725238320bd24b6c9baae628f92296e67183ccb6fefc6a296dcea68cdeb6d84d5921564838e8e3d9c668d712437723815ea137e174
MISC metadata.xml 558 SHA256 d35f31e5c8a6d678fedb999a042c59eaa48a806558cf4e18f0f359ee64f7167b SHA512 af4c3ab95878fd14ad870c4364b3e4c03b863b2501ab2d899c4d6a8bc58e3d3d488f4fcba685939242d3690f490b9113af3675fdd14159eed8d8c873dd6f516c WHIRLPOOL a1dc324646fe6226f635030f825c25ed6e39cdc0a2c51f1a729f9225ff5e234d6c3f0ea297427d00a9ce3e5bbb64b8cac64fc49db78306bb0e5c077b9f1a437c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQIcBAEBCAAGBQJTdmICAAoJEHfx8XVYajsfETMP/i92XINdPjscjJqMX3kM9bOw
+tzTYdu8vxhzshZp5SJ/QDpdvZC31pZmio7iT9NmPApL22q31x/Gib6GHJYMA0wGt
+sq0oLgK4M5hu+WojaBMLsnI5QfN8vNxmd/02Wqa8J2FiEz1Wt9k11CoMNh1pGWzT
+gc66wMjL/7k2rGsM+Z7umljCdM1PiahMACI0eRX0ic8LY4asPE/mZWsWork3ZY3f
+rWW/Q7feNn81F5TRoCDvqjCbpajds7RtRQ2LiqD3QzqEXRfENNnxZdraQnebcst4
+zzlmypili1YSe31Z1cwVRavAYp5afnbeEN5lue3vTYuqS0j1g6Vq4M7D1mZkXhcm
+8oTYHNcE5GmfVU+4GIiO6vO+eA4lk9V0t+UNc4jODIwPqG1TtZPWa8kA63nN53/6
+L1EbJrZip+InkgTZrEs6/3Cu5cVmxa7MjXR3qkSOTkRZ031uZX8BMYoTh/6J+Rr1
+0ug09VuKRz2AfzZONH+Zm4FAHljOym1I6jzLvAxjAx9kh+W/7pSACHKPpTarFu+a
+ZPRmDlko41HH/LqMQupwbSTSU4aH99hQTymmEZkuUQZMG7h1rQSDGF1gCqnRVgQ6
+qvFWs/3q7y6YxiTnWHPL5RWcRqRJE+YGAhYdPxRDCWYZC6+9mAsWoD0RR1ERRS9q
+KNc2zYtWGPCZHR7av3+J
+=P5q+
+-----END PGP SIGNATURE-----
diff --git a/mail-filter/amavisd-new/amavisd-new-2.9.0.ebuild b/mail-filter/amavisd-new/amavisd-new-2.9.0.ebuild
new file mode 100644
index 000000000000..0972baf96ba4
--- /dev/null
+++ b/mail-filter/amavisd-new/amavisd-new-2.9.0.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2014 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.9.0.ebuild,v 1.1 2014/05/16 19:07:41 eras Exp $
+
+EAPI=5
+inherit eutils systemd 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.xz"
+
+LICENSE="GPL-2 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="clamav courier dkim ldap mysql postgres qmail razor snmp spamassassin zmq"
+
+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/lrzip
+ app-arch/lzop
+ app-arch/ncompress
+ app-arch/p7zip
+ app-arch/pax
+ app-arch/unarj
+ app-arch/unrar
+ app-arch/xz-utils
+ app-arch/zoo
+ net-mail/ripole
+ >=dev-perl/Archive-Zip-1.14
+ >=virtual/perl-IO-Compress-1.35
+ >=virtual/perl-Compress-Raw-Zlib-2.017
+ net-mail/tnef
+ 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
+ dev-perl/IO-Socket-IP
+ >=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
+ clamav? ( app-antivirus/clamav )
+ 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 )
+ zmq? ( dev-perl/ZMQ-LibZMQ2 )"
+
+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" "${S}/amavis-mc" || die "missing conf file"
+
+ if ! use dkim ; then
+ sed -i -e '/enable_dkim/s/1/0/' "${S}/amavisd.conf" \
+ || die "missing conf file - dkim"
+ fi
+
+ if use zmq ; then
+ sed -i -e '/enable_zmq/s/# //' "${S}/amavisd.conf" \
+ || die "missing conf file - zmq"
+ fi
+
+ if ! use spamassassin ; then
+ sed -i -e \
+ "/^#[[:space:]]*@bypass_spam_checks_maps[[:space:]]*=[[:space:]]*(1)/s/^#//" \
+ "${S}/amavisd.conf" || die "missing conf file - sa"
+ fi
+}
+
+src_install() {
+ dosbin amavisd amavisd-agent amavisd-nanny amavisd-release \
+ amavisd-signer amavisd-status
+ dobin p0f-analyzer.pl amavisd-submit
+
+ if use snmp ; then
+ dosbin amavisd-snmp-subagent
+ use zmq && dosbin amavisd-snmp-subagent-zmq
+ dodoc AMAVIS-MIB.txt
+ fi
+
+ if use zmq ; then
+ dosbin amavis-services amavis-mc
+ newinitd "${FILESDIR}"/amavis-mc.initd amavis-mc
+ fi
+
+ insinto /etc
+ insopts -m0640
+ doins amavisd.conf
+
+ newinitd "${FILESDIR}/amavisd.initd-r1" amavisd
+
+ systemd_dounit "${FILESDIR}/amavisd.service"
+ use clamav || sed -i -e '/Wants=clamd/d' "${ED}"/usr/lib/systemd/system/amavisd.service
+ use spamassassin || sed -i -e '/Wants=spamassassin/d' "${ED}"/usr/lib/systemd/system/amavisd.service
+
+ 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
+
+ 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" || die
+ fi
+ 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}"
+}