From 2ab83425048ba6487ed4f0a4abd84807992e5dc8 Mon Sep 17 00:00:00 2001 From: Tuan Van Date: Mon, 4 Apr 2005 17:00:50 +0000 Subject: postfix-2.2 patch 02 Package-Manager: portage-2.0.51.19 --- mail-mta/postfix/ChangeLog | 7 +- mail-mta/postfix/Manifest | 12 +- mail-mta/postfix/files/digest-postfix-2.2.2 | 2 + mail-mta/postfix/postfix-2.2.2.ebuild | 328 ++++++++++++++++++++++++++++ 4 files changed, 343 insertions(+), 6 deletions(-) create mode 100644 mail-mta/postfix/files/digest-postfix-2.2.2 create mode 100644 mail-mta/postfix/postfix-2.2.2.ebuild (limited to 'mail-mta/postfix') diff --git a/mail-mta/postfix/ChangeLog b/mail-mta/postfix/ChangeLog index 4d65c86bb5c4..d158d4dc913c 100644 --- a/mail-mta/postfix/ChangeLog +++ b/mail-mta/postfix/ChangeLog @@ -1,6 +1,11 @@ # 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.62 2005/03/22 18:51:12 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.63 2005/04/04 17:00:50 langthang Exp $ + +*postfix-2.2.2 (04 Apr 2005) + + 04 Apr 2005; Tuấn Văn +postfix-2.2.2.ebuild: + Postfix 2.2 patch 02. 22 Mar 2005; Markus Rothe postfix-2.1.5-r2.ebuild: Stable on ppc64 diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest index 7480c8f5ad7d..feafc9659064 100644 --- a/mail-mta/postfix/Manifest +++ b/mail-mta/postfix/Manifest @@ -3,7 +3,8 @@ Hash: SHA1 MD5 d2f97ac7ba19997b4e588b28009d684d postfix-2.2.1.ebuild 9296 MD5 2372d5dbf4de3ed67393879f2338b052 postfix-2.2.1-r1.ebuild 9944 -MD5 1ec412e4c92a9b8bcada81f5c4a65429 ChangeLog 32420 +MD5 eb7d97dd738129a9917cf2f56860c134 postfix-2.2.2.ebuild 9941 +MD5 5179e8c1affd5bd1f47f04cc5ff5322e ChangeLog 32550 MD5 86c229fe394877d2c6a26aa5367bc697 metadata.xml 253 MD5 8f911d8de74724ebf56c8c1a0f4f39fa postfix-2.1.5-r2.ebuild 7503 MD5 98872da0bd186c6e0d2b884b0fa28b78 files/postfix.rc6 610 @@ -13,12 +14,13 @@ MD5 c2fd2c8cd7f31c4c876db365a98b972e files/digest-postfix-2.1.5-r2 363 MD5 ecc87f9acb3c2395d2d7fe1a673755aa files/digest-postfix-2.2.1-r1 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 502e444ec6b9d6fb9bbef3bb0f5e284a files/smtp.pam 254 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCQGqF5FrxP71izLARAnjwAKCkhVdmppwhUtU+lp7yRRph2XhhygCfXK3X -ReWEJxpdzY+T0z1iz62gl3E= -=fQNE +iD8DBQFCUXLn5FrxP71izLARAhS6AKDJBQpKor8/5Qgv3c9bLq0cD46n/wCfRE3M +AQdcUPNzc3FmcyBzs4pZ/Gc= +=5qbn -----END PGP SIGNATURE----- diff --git a/mail-mta/postfix/files/digest-postfix-2.2.2 b/mail-mta/postfix/files/digest-postfix-2.2.2 new file mode 100644 index 000000000000..b0648c72b048 --- /dev/null +++ b/mail-mta/postfix/files/digest-postfix-2.2.2 @@ -0,0 +1,2 @@ +MD5 1f5f54ec8a832af7faaa71607475b19b postfix-2.2.2.tar.gz 2408375 +MD5 d4ee910876119dde7635d0d6ae27351d postfix-2.2.1-vda.patch.gz 7798 diff --git a/mail-mta/postfix/postfix-2.2.2.ebuild b/mail-mta/postfix/postfix-2.2.2.ebuild new file mode 100644 index 000000000000..7a1b6d6561ce --- /dev/null +++ b/mail-mta/postfix/postfix-2.2.2.ebuild @@ -0,0 +1,328 @@ +# 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.ebuild,v 1.1 2005/04/04 17:00:50 langthang Exp $ + +inherit eutils ssl-cert toolchain-funcs flag-o-matic +IUSE="ipv6 pam ldap mysql postgres ssl sasl mailwrapper mbox nis vda selinux hardened" +#IUSE="ipv6 pam ldap mysql postgres ssl sasl mailwrapper 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.1-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/mta 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 ) + !mailwrapper? ( !virtual/mta ) + mailwrapper? ( >=net-mail/mailwrapper-0.2 )" + +#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 [[ $(ps h -u postfix) ]]; then + if has_version '