summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2014-07-01 05:27:23 +0000
committerEray Aslan <eras@gentoo.org>2014-07-01 05:27:23 +0000
commit6426e2733c41a447d5815fb5e13df1e4a1e828f0 (patch)
treed80a3f5bed29c80a6690e7bd89448b302b4951a0 /mail-filter/amavisd-new
parentUpgrade iwl3160-7260-bt-ucode from 37.7.10 to 37.8.10. Delete the old 37.10.1... (diff)
downloadhistorical-6426e2733c41a447d5815fb5e13df1e4a1e828f0.tar.gz
historical-6426e2733c41a447d5815fb5e13df1e4a1e828f0.tar.bz2
historical-6426e2733c41a447d5815fb5e13df1e4a1e828f0.zip
Version bump
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/Manifest22
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.9.1.ebuild180
3 files changed, 203 insertions, 6 deletions
diff --git a/mail-filter/amavisd-new/ChangeLog b/mail-filter/amavisd-new/ChangeLog
index e1dd50dfb0dd..88e28fdec2bd 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.206 2014/06/24 02:08:53 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.207 2014/07/01 05:27:10 eras Exp $
+
+*amavisd-new-2.9.1 (01 Jul 2014)
+
+ 01 Jul 2014; Eray Aslan <eras@gentoo.org> +amavisd-new-2.9.1.ebuild:
+ Version bump
24 Jun 2014; Jeroen Roovers <jer@gentoo.org> amavisd-new-2.8.1-r1.ebuild:
Stable for HPPA (bug #473794).
diff --git a/mail-filter/amavisd-new/Manifest b/mail-filter/amavisd-new/Manifest
index 83f013705e43..97fe517054a4 100644
--- a/mail-filter/amavisd-new/Manifest
+++ b/mail-filter/amavisd-new/Manifest
@@ -9,17 +9,29 @@ DIST amavisd-new-2.7.2.tar.gz 945448 SHA256 4665e0fb9a71f483f1123113a006291e37f7
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
+DIST amavisd-new-2.9.1.tar.xz 753076 SHA256 442d6c185c19fd1d3288ee7eb2ac102a7d541c4d6e1724cdaf369df6ca629ba0 SHA512 6829a769f50498aaec4fd5c198059f828e9ba90223083e439caa9d2bd19006e0cff8ae7b1e2416009bd2514aae4428598142e86a63260b5292c15b515792a7af WHIRLPOOL 82c8630323e718b5fe9eccf38d592f6539cc56616f2eb0bea590e4d0b8ad70f30cfb2a7c13afddd1f838a26cd82cc6338199c3f9e2a402f1c67e1fe240deaed1
EBUILD amavisd-new-2.7.2.ebuild 4286 SHA256 24b423853175ccf57a2590cdbd914891360f149ae27abc93befb2178031b7b13 SHA512 e335f31e8620dbd770dc06c59380959da2cde0b4a197e2752a93ee711dce67beaf19b81ad7b7f5ba4aee659a43aaedc923ba3a9ccf45ee8b52f443bb8ea557b6 WHIRLPOOL ead181cc33f0629b5440786c1be3aacfbf17c269d1de0412dfbeba6c5bc4b1b14994ab4401cb5ce2097a972eacc20f14f834e8d6b1c12cd75753fbef16557781
EBUILD amavisd-new-2.8.0.ebuild 4629 SHA256 91f887a7a36852d866838bd09470936eea12196b74250e019cb0e3d57faa3064 SHA512 f5a452ec287c61e82b17d545eea6bfee9c9e862de3cf6aae47a2115b23e2b70707bf9f2085e798ab88ec55283ce111b811c122437513a3ace8905b4b81926867 WHIRLPOOL 6e57103138d4c61996b6e9c13b4fba98989c061d03246611876378b789dac40b20d55a9058a01ee190087c7c74d087c97357e1c44cbdf8622413c7f233d4b801
EBUILD amavisd-new-2.8.1-r1.ebuild 4918 SHA256 775190c561dc82578e06c258695b64778d4a8ec921685e3199de2eadb15efd09 SHA512 b526425fbf9910d4c8258e5d74b25bbec2c629170536f4c4e97766e07944ba9ff1ec7cd29cfa923ced843809c7e6f626e8804fcc05c475fe74aa5caa0a587d82 WHIRLPOOL db04263e4aede231b8d4d1bfae6704dee47b357ddb725e0c608fa197093aaa94a388423ffc1250bb2220a5f50e14fc1e091ff699a4c706af696396618a73b14d
EBUILD amavisd-new-2.8.1.ebuild 4630 SHA256 677ace999088447813b9ea475a7e2007cf1890250838f6e691520fee0976375b SHA512 cc14ba78ccb66e4c1e845ab97bdb1f8e247bb17fb12f36dd689ba904ea8efb2fdcf01961a804570a4c9f3a35b87d23de2f430dcfaa44308b521d1671c25b7792 WHIRLPOOL 554e629dc5eab9eca243ccd7fd4ff125eba786c3fe0684bca8dddb8ac7adb4ddd00cc2209bd3548be8e9cec62fc8371abc1e747ecaa9ca4392de4432423b6208
EBUILD amavisd-new-2.9.0.ebuild 4735 SHA256 4f6554228212bab5236140b67baa18e394c6db023df934922a998a7a5362d8f9 SHA512 391872beb41cee69035e74fecb1d481d87f223c9bb024f729ed80a931bc20f2640f0df95dffdd1bfdb2f1d47954f9952b7785fa59e182e26a46b5171b4d7cf40 WHIRLPOOL dce392ae038a60845f93fa962cfbcede07bf0318a168b4335df76cdaac3f0f37c1b16fa42e25e6562bc850abb93eca8806f057c294e577d2df1366b56e87cb7e
-MISC ChangeLog 37822 SHA256 7d0933303b33ed9818d73c7bbac53e37d174a71d56120b5e89805dd4e9fa88bc SHA512 45ce6393a2a2261f7ab2bc22fd597fbf3a05e2935254318f3a2359f9183400b7b07580b917b9de74dfa31ec58876f215c0c7237c87924740b126354a80e23e2f WHIRLPOOL f15256e17fadc495478746044e163da882165dbb7b63a32800b6681f4d716c4274f79175f116eb460fe093957b00368cfc030920d7fbdc21be202eae92861e03
+EBUILD amavisd-new-2.9.1.ebuild 4735 SHA256 f93635e9999cba481d728b71698171f52f9201077a80d57f95a525dc86ef390f SHA512 4cee113c243e61c89c8e7f8e83730ba42506bf956b8cdc8a9b7485629bc864371acdb7f8da985fe3fe93b81e45687413a6b1e284919d960d05611502692666e4 WHIRLPOOL d9f6bef9914fe1b662883231a2cad151142d3e9af94a9b04f3888af92867231e296c1d380da24424e06f4f80f2db81cea3cd456d23a1c1a3c6d5df090bf52b2e
+MISC ChangeLog 37944 SHA256 d088f4c7b45e6389bf075b8dc72cf63b29cb3caeac5561fc62dc1ff5c6f9e450 SHA512 86f2e6cf06924419d774f90d1085ae123cf3f71b8c61b657e2a8bd7c30b4e308cf80dc80fa0a1db9e0a9ff1f9ff2f4f597a2dc527dc91bc4511d4c3d7f0ef1dc WHIRLPOOL 4064180a86c50a785a5bce589afe4ca2c7eed08da412d774ff734ccc9d99b7c2a63065eb5d0519fa0b5c81d7f08ed7b14befd6ee5a2265c0ed94a89a134d9988
MISC metadata.xml 558 SHA256 d35f31e5c8a6d678fedb999a042c59eaa48a806558cf4e18f0f359ee64f7167b SHA512 af4c3ab95878fd14ad870c4364b3e4c03b863b2501ab2d899c4d6a8bc58e3d3d488f4fcba685939242d3690f490b9113af3675fdd14159eed8d8c873dd6f516c WHIRLPOOL a1dc324646fe6226f635030f825c25ed6e39cdc0a2c51f1a729f9225ff5e234d6c3f0ea297427d00a9ce3e5bbb64b8cac64fc49db78306bb0e5c077b9f1a437c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iEYEAREIAAYFAlOo3bYACgkQVWmRsqeSphNk4QCeLzmO3JX7aJCkw28jsqwuOpps
-bncAnR3Tb7KZZDFuSiBSJRQZVochIrA0
-=Ip6E
+iQIcBAEBCAAGBQJTska6AAoJEHfx8XVYajsf8zIP/2OAoFeMNnA93JkeN/MFB6pQ
+wP8cD3UR6sp22CaZrxXKyY4uidabCUfcGsQHN2LXafQ4xZrD136BYHxriWjqIRnc
+o74h87gYqlUjyXk0nOqfgxNAYWhelpauw/4EXEgnX+sRDhWJDlnmE+PtNJl62XTs
+FMZMZzYtXrEi0n24OwpOdvF+u0q3Vu8r2idfieAf9iCSBmbtjmj9mRB1w3mVSFnP
+y34dDq9MOSuM0d953WfByKnlLmBhQkbVNcFOP2WPcrgPaUpS/gS62547FM+aDbym
+hyQXkt1p4Uv5evXSAhLYbriMR7gBfdxQabL2umoJScQG7PpwGioMjRIQkYBqLKqo
+qLapUPRTjDZ0dGJ5Zzf3/M80+hPs21aNnnjzlUGW4HyR70fUaNtN3njOVCFt8f+E
+cxwXR2kWN9UAuDkAuz1Zr1JF+EQmJbgSLXFhEEwdHRsxT9ITDmAbZcirrMVBCnLR
+IjMV9bp3wOZJKUwO+zVCsVsuZ90wc/6khh6qhOx2qEmnIEEliz3iLjoSKmFILGO8
+/WqymkLfSejPML+J36tokcJtRjOOQ7+Yv17gi6GKQHzx3NdR5cTIWV+dNCu/7YW6
+k4/PoW3+kugyW2AXtyMN4qaJNPRxxpqm+/7RbfUcwzl3ALAGC3KvQ+nhat00ObE6
+VVsJKYaBvBGz1LSg+evX
+=xcjt
-----END PGP SIGNATURE-----
diff --git a/mail-filter/amavisd-new/amavisd-new-2.9.1.ebuild b/mail-filter/amavisd-new/amavisd-new-2.9.1.ebuild
new file mode 100644
index 000000000000..36b81ff26697
--- /dev/null
+++ b/mail-filter/amavisd-new/amavisd-new-2.9.1.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.1.ebuild,v 1.1 2014/07/01 05:27:10 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}"
+}