summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-04-30 10:40:20 +0000
committerEray Aslan <eras@gentoo.org>2012-04-30 10:40:20 +0000
commiteed31cb42f7a348459f43826cfc49893b16f193a (patch)
treed7fe93c1f1b64c6435f40f6da054ea0588b0ae61 /mail-filter/amavisd-new
parentVersion bump. (diff)
downloadhistorical-eed31cb42f7a348459f43826cfc49893b16f193a.tar.gz
historical-eed31cb42f7a348459f43826cfc49893b16f193a.tar.bz2
historical-eed31cb42f7a348459f43826cfc49893b16f193a.zip
version bump
Package-Manager: portage-2.1.10.57/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.1.ebuild169
3 files changed, 193 insertions, 7 deletions
diff --git a/mail-filter/amavisd-new/ChangeLog b/mail-filter/amavisd-new/ChangeLog
index a79ec74ed4ed..228f5a041e6a 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.179 2012/03/17 17:58:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.180 2012/04/30 10:40:20 eras Exp $
+
+*amavisd-new-2.7.1 (30 Apr 2012)
+
+ 30 Apr 2012; Eray Aslan <eras@gentoo.org> +amavisd-new-2.7.1.ebuild:
+ version bump
17 Mar 2012; Raúl Porcel <armin76@gentoo.org> amavisd-new-2.7.0.ebuild:
sparc stable wrt #381977
diff --git a/mail-filter/amavisd-new/Manifest b/mail-filter/amavisd-new/Manifest
index 278556c52788..f45d74fcbcd3 100644
--- a/mail-filter/amavisd-new/Manifest
+++ b/mail-filter/amavisd-new/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+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
@@ -13,17 +13,29 @@ DIST amavisd-new-2.6.4.tar.gz 947596 RMD160 010dd9bf49a3c7553996c49553fd0fa84ca7
DIST amavisd-new-2.6.5.tar.gz 951684 RMD160 c28d9c9fc11ac8d942f82874981b6d9889b8c167 SHA1 1f76196653e19886ee8352815c3f4d80f4984876 SHA256 fe438fb215c6e333de1a82044d954f5e69f85614f40444851ed3959f3e5cf8b2
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
EBUILD amavisd-new-2.6.3-r2.ebuild 5479 RMD160 24f3a5212242c020ef7840fca2f16689c95dd8bc SHA1 98b63cf591fa5fa3e1df3c95866c18de99f2ff1a SHA256 e817d8618adc12a0836045075337ae58dfc6e1b57d8ba5171100e0ffd0c891b0
EBUILD amavisd-new-2.6.4.ebuild 5451 RMD160 7b2d69e9319e59cb14736697267a72272c0e920e SHA1 70c75582ce88c0def3486300e5186069d80ff637 SHA256 06faa3973c35a1e8cde576d9b6d02d0b485cb50ff882377098d7d4b8d7b31a7c
EBUILD amavisd-new-2.6.5.ebuild 5503 RMD160 bfef5fdefcb1d871ca6f7931df33733dd6c5d265 SHA1 4dcdbd03b4c6c4faa697f88c0b4d79521ac1476b SHA256 8396b23e232a890851b0056bc57351fc1e5629856bd6ba7174eebcc812e77116
EBUILD amavisd-new-2.6.6.ebuild 5503 RMD160 a6bd6c4f1139e248763e38fcba3200eb9405bfeb SHA1 b388ba11ab05edcc379b5b76ecf3c7714f13984d SHA256 f8a9cb437a966b50147898f62b448de800855ab8301dea0dbf673873a86ebbf5
EBUILD amavisd-new-2.7.0.ebuild 4287 RMD160 f19ab9454dfa3533fcca97419ea29b36972927ca SHA1 aa0353e8bf2564e6017389be64648f96e8fc3bd6 SHA256 36443d7da67a694b699a8c93aec2725f1f0c625a8b368db8ba011229badaffa6
-MISC ChangeLog 34295 RMD160 258bac7aca6706e18c45171fd168d8569f66e698 SHA1 d39e1c7f9b36cb5c329ee2ed3e367a8081706d1d SHA256 e0e470cbdd9ebaabfd20bd8ea604fd6a9464e116bdf23f9050b52590f00521af
+EBUILD amavisd-new-2.7.1.ebuild 4289 RMD160 0e5edc609a5a83c06a7e0a6314f85453c12871f0 SHA1 f3c043984866a15fef763a20f7cf7f0b4e15dd51 SHA256 1d3cf75ce7a4c175c0b986214f758cf5179618ac7453637b3651ea7aa1dafc35
+MISC ChangeLog 34413 RMD160 826bf573ffb134ec6e4590e496bb7d2606d4b50f SHA1 40ba961c9d9c33c77637acbc1de503b4c63b4360 SHA256 3f68b873da1b0853ee98fdb3558920ce310a6a01c1a2284a9dc2a0716d478023
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)
-iEYEARECAAYFAk9k0MwACgkQuQc30/atMkAS4wCeNpY0kzAw+3uQW8V6LpwgSYaO
-enAAnjVN7viwTCZjVuGyTEOswqVKskNw
-=aG7e
+iQIcBAEBCAAGBQJPnmwjAAoJEHfx8XVYajsfe9MP/2eJ1MvntGRGyoa34DyzgwdA
+CkzerYHtzBoBwGyFuyXFo7OMhXUj2jZDpNSwiifggl8oiNZZ9AKrqunF4GTOCT2R
+jSL4UzRvzkSCgKlulljNaKxiZ5YRGVcfQr6QrrhzYvnbPswaW4BOkWIfFR05yZGz
+pfUTPsKLvA40K8cO4tkSqzYitDTYPP42lT4G3GkmkRJnoVp2drkrq10d+XqhPOtq
+BK1xNTgWDnH62J/sQ+towbwnHlASwY6njd80hmNRNZZq7KjYJy8wXcLhGjh6w0tb
+n0BTrOcc6D+dup4UoSUn1twas+wnrkwpLgDIKu5WlStit3PPFpASc4sVOO26Tpl3
+1+XTq/09lPkKsictzXSg52SDWrgM7UW8FcNPmcKMakkpHIrqnNGYX7PnuHZCcDop
+j+WeyXqMCXYKOAZslHCTEN0eMyl6SjMls2NIZv+kWQF4oAPBHsvRt/uwBSRkxgpL
+a4xsjiW0gzmnRhNbQw7Yt/zqLs0fY1WEkRvn3NgcEPUkYfSqdivCTshP1ZVrrsMn
+nprn4RCe8bgEuuns5r8euhN3AMdadP9ANMX62ZHQkJnf5vj+6+0QFu8cCQrgVpD7
+qV1EWwMZTX0XOwzIClgI8zqoYrZqRMsE5E7qqkppTkSWlTpA0IKLEQ+Qs2/Ig7rT
+rXwt2JOUBTyUDpQt5klu
+=Qgr/
-----END PGP SIGNATURE-----
diff --git a/mail-filter/amavisd-new/amavisd-new-2.7.1.ebuild b/mail-filter/amavisd-new/amavisd-new-2.7.1.ebuild
new file mode 100644
index 000000000000..950a30eadaaf
--- /dev/null
+++ b/mail-filter/amavisd-new/amavisd-new-2.7.1.ebuild
@@ -0,0 +1,169 @@
+# 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.1.ebuild,v 1.1 2012/04/30 10:40:20 eras Exp $
+
+EAPI=4
+
+inherit eutils
+
+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}"
+}