From 41d1185b6f3fbb00194df8abfa75a0f572fa355a Mon Sep 17 00:00:00 2001 From: "Fernando J. Pereda" Date: Wed, 4 May 2005 09:52:10 +0000 Subject: postfix-2.2.2-r2 is mailer.eclass aware and pmasked Package-Manager: portage-2.0.51.19 --- mail-mta/postfix/ChangeLog | 8 +- mail-mta/postfix/Manifest | 12 +- mail-mta/postfix/files/digest-postfix-2.2.2-r2 | 2 + mail-mta/postfix/files/mailer.conf | 44 +--- mail-mta/postfix/postfix-2.2.2-r2.ebuild | 323 +++++++++++++++++++++++++ 5 files changed, 340 insertions(+), 49 deletions(-) create mode 100644 mail-mta/postfix/files/digest-postfix-2.2.2-r2 create mode 100644 mail-mta/postfix/postfix-2.2.2-r2.ebuild (limited to 'mail-mta/postfix') diff --git a/mail-mta/postfix/ChangeLog b/mail-mta/postfix/ChangeLog index 139bee6bb40b..73fcdaee6e3f 100644 --- a/mail-mta/postfix/ChangeLog +++ b/mail-mta/postfix/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-mta/postfix # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.66 2005/04/27 17:36:59 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.67 2005/05/04 09:52:10 ferdy Exp $ + +*postfix-2.2.2-r2 (04 May 2005) + + 04 May 2005; Fernando J. Pereda files/mailer.conf, + +postfix-2.2.2-r2.ebuild: + postfix-2.2.2-r2 is mailer.eclass aware and pmasked 27 Apr 2005; Fernando J. Pereda postfix-2.1.5-r2.ebuild: diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest index 53b9c0d87b0e..4a575b90ed80 100644 --- a/mail-mta/postfix/Manifest +++ b/mail-mta/postfix/Manifest @@ -5,24 +5,26 @@ MD5 d2f97ac7ba19997b4e588b28009d684d postfix-2.2.1.ebuild 9296 MD5 ac642c2fcdc34d3e9b70b2357ce57ee8 postfix-2.2.2-r1.ebuild 9957 MD5 2372d5dbf4de3ed67393879f2338b052 postfix-2.2.1-r1.ebuild 9944 MD5 eb7d97dd738129a9917cf2f56860c134 postfix-2.2.2.ebuild 9941 -MD5 0e8eaf759b07b670badcd41403b7f658 ChangeLog 32928 +MD5 be54b3f8f1899c6d2e9930546625ebef ChangeLog 33116 MD5 86c229fe394877d2c6a26aa5367bc697 metadata.xml 253 MD5 2aa3c8bc49f3d08ab5f2ce9fc6a490a4 postfix-2.1.5-r2.ebuild 7517 +MD5 e644ca40560fbc46cafcf0319a0768e8 postfix-2.2.2-r2.ebuild 9698 MD5 98872da0bd186c6e0d2b884b0fa28b78 files/postfix.rc6 610 MD5 889559c8b5d02597e9e7eec89e328360 files/smtp.pass 141 MD5 43e9368a07952c4aae9e370b59ce1450 files/smtp.sasl 131 MD5 c2fd2c8cd7f31c4c876db365a98b972e files/digest-postfix-2.1.5-r2 363 MD5 ecc87f9acb3c2395d2d7fe1a673755aa files/digest-postfix-2.2.1-r1 135 MD5 02b7565b5fbc0a13418b4588da048882 files/digest-postfix-2.2.2-r1 135 +MD5 02b7565b5fbc0a13418b4588da048882 files/digest-postfix-2.2.2-r2 135 MD5 fd78f3c5211f280a77dc8c8acd3dd898 files/postfix-2.0.9-get-FQDN.patch 1057 MD5 ecc87f9acb3c2395d2d7fe1a673755aa files/digest-postfix-2.2.1 135 MD5 9419f5dcc490b61ca76278d744bd878f files/digest-postfix-2.2.2 135 -MD5 78c16ededccb206774194bfe05475a99 files/mailer.conf 1547 +MD5 fd01735093dde1691a849d9bf002bf5c files/mailer.conf 408 MD5 502e444ec6b9d6fb9bbef3bb0f5e284a files/smtp.pam 254 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCb83WViELBEf1JB0RAvnaAJwKHR51ylIebxGEviqQzT5Rqw8vcACcCVG+ -ZQqhDj0Y7p0FXJ7lO6iHkXs= -=2kJX +iD8DBQFCeJtoViELBEf1JB0RArRRAJ0YqI/gq1Lgg1avwXqJdIxsjOL2+gCfe3Or +Z3p2ADQ1As9D4rZQq3a2ZS0= +=R2Tg -----END PGP SIGNATURE----- diff --git a/mail-mta/postfix/files/digest-postfix-2.2.2-r2 b/mail-mta/postfix/files/digest-postfix-2.2.2-r2 new file mode 100644 index 000000000000..9fc1ad555441 --- /dev/null +++ b/mail-mta/postfix/files/digest-postfix-2.2.2-r2 @@ -0,0 +1,2 @@ +MD5 1f5f54ec8a832af7faaa71607475b19b postfix-2.2.2.tar.gz 2408375 +MD5 816fb00f211de8f8d3703ecd4ccf40a5 postfix-2.2.2-vda.patch.gz 7752 diff --git a/mail-mta/postfix/files/mailer.conf b/mail-mta/postfix/files/mailer.conf index a8f9dca4b20e..937cbfcfe263 100644 --- a/mail-mta/postfix/files/mailer.conf +++ b/mail-mta/postfix/files/mailer.conf @@ -1,4 +1,4 @@ -# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/mailer.conf,v 1.3 2004/07/18 03:26:56 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/mailer.conf,v 1.4 2005/05/04 09:52:10 ferdy Exp $ # $OpenBSD: mailer.conf,v 1.3 2000/04/06 18:24:19 millert Exp $ # Execute the "real" sendmail program from postfix, @@ -8,45 +8,3 @@ sendmail /usr/sbin/sendmail.postfix send-mail /usr/sbin/sendmail.postfix mailq /usr/sbin/sendmail.postfix newaliases /usr/sbin/sendmail.postfix - -# Execute the "real" sendmail program from exim, -# named /usr/sbin/exim -# -#sendmail /usr/sbin/exim -#send-mail /usr/sbin/exim -#mailq /usr/sbin/exim -#newaliases /usr/sbin/exim -#rsmtp /usr/sbin/exim -#rmail /usr/sbin/exim -#mail /usr/sbin/exim - -# Execute the "real" sendmail program from nullmailer -# named /usr/sbin/sendmail.nullmailer -#sendmail /usr/sbin/sendmail.nullmailer -#mailq /usr/bin/mailq.nullmailer - -# Execute the "real" sendmail program from postfix, -# named /usr/sbin/sendmail.postfix -# -#sendmail /usr/sbin/sendmail.postfix -#send-mail /usr/sbin/sendmail.postfix -#mailq /usr/sbin/sendmail.postfix -#newaliases /usr/sbin/sendmail.postfix - -# Execute the "real" sendmail program from ssmtp, -# named /usr/sbin/ssmtp -# -#sendmail /usr/sbin/ssmtp -#send-mail /usr/sbin/ssmtp -#mailq /usr/sbin/ssmtp -#newaliases /usr/sbin/ssmtp - -# Execute the "real" sendmail program, named /usr/sbin/sendmail -# -#sendmail /usr/sbin/sendmail.sendmail -#send-mail /usr/sbin/sendmail.sendmail -#mailq /usr/sbin/sendmail.sendmail -#newaliases /usr/sbin/sendmail.sendmail -#hoststat /usr/sbin/sendmail.sendmail -#purgestat /usr/sbin/sendmail.sendmail - diff --git a/mail-mta/postfix/postfix-2.2.2-r2.ebuild b/mail-mta/postfix/postfix-2.2.2-r2.ebuild new file mode 100644 index 000000000000..61cb67dc1762 --- /dev/null +++ b/mail-mta/postfix/postfix-2.2.2-r2.ebuild @@ -0,0 +1,323 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.2.2-r2.ebuild,v 1.1 2005/05/04 09:52:10 ferdy Exp $ + +inherit eutils ssl-cert toolchain-funcs flag-o-matic mailer +IUSE="ipv6 pam ldap mysql postgres ssl sasl mbox nis vda selinux hardened" +#IUSE="ipv6 pam ldap mysql postgres ssl sasl mbox nis vda selinux hardened devel" + +MY_PV=${PV} +MY_SRC=${PN}-${MY_PV} +#DEV_SRC=${MY_SRC}-newdb-nonprod +VDA_P="${PN}-2.2.2-vda" + +DESCRIPTION="A fast and secure drop-in replacement for sendmail." +HOMEPAGE="http://www.postfix.org/" +SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official/${MY_SRC}.tar.gz + vda? ( http://web.onda.com.br/nadal/postfix/VDA/${VDA_P}.patch.gz ) " +# devel? ( ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/${DEV_SRC}.tar.gz ) " + +LICENSE="IPL-1" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64 ~s390 ~mips ~hppa ~ppc64" + +PROVIDE="virtual/mda" +DEPEND=">=sys-libs/db-3.2 + >=dev-libs/libpcre-3.4 + >=sys-apps/sed-4 + ldap? ( >=net-nds/openldap-1.2 ) + mysql? ( >=dev-db/mysql-3.23.51 ) + postgres? ( >=dev-db/postgresql-7.1 ) + ssl? ( >=dev-libs/openssl-0.9.6g ) + sasl? ( >=dev-libs/cyrus-sasl-2 )" +RDEPEND="${DEPEND} + >=net-mail/mailbase-0.00 + selinux? ( sec-policy/selinux-postfix )" + +#if use devel; then +# MY_SRC=${DEV_SRC} +#fi + +S=${WORKDIR}/${MY_SRC} + +group_user_check() { + einfo "checking for postfix group... create if missing." + enewgroup postfix 207 + einfo "checking for postdrop group... create if missing." + enewgroup postdrop 208 + einfo "checking for postfix user... create if missing." + enewuser postfix 207 /bin/false /var/spool/postfix postfix +} + +pkg_setup() { + # do not upgrade from postfix-2.1. logic to fix bug #53324 + if [[ -f /var/lib/init.d/started/postfix ]] ; then + if has_version '