From 3e4c2c1ba35135ac829bba0a4ea65b2383ce88c7 Mon Sep 17 00:00:00 2001 From: Tuan Van Date: Sat, 5 Mar 2005 06:11:49 +0000 Subject: New Release Candidate. Package-Manager: portage-2.0.51.19 --- mail-mta/postfix/ChangeLog | 7 +- mail-mta/postfix/Manifest | 10 +- mail-mta/postfix/files/digest-postfix-2.2.0_rc2 | 1 + mail-mta/postfix/postfix-2.2.0_rc2.ebuild | 317 ++++++++++++++++++++++++ 4 files changed, 330 insertions(+), 5 deletions(-) create mode 100644 mail-mta/postfix/files/digest-postfix-2.2.0_rc2 create mode 100644 mail-mta/postfix/postfix-2.2.0_rc2.ebuild (limited to 'mail-mta') diff --git a/mail-mta/postfix/ChangeLog b/mail-mta/postfix/ChangeLog index e8e62f726f3b..d5375a28dfaa 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.57 2005/02/28 18:14:40 langthang Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.58 2005/03/05 06:11:49 langthang Exp $ + +*postfix-2.2.0_rc2 (04 Mar 2005) + + 04 Mar 2005; Tuấn Văn +postfix-2.2.0_rc2.ebuild: + New official Release Candidate. *postfix-2.2.0_rc1 (28 Feb 2005) diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest index c2fd57508d39..955cab722884 100644 --- a/mail-mta/postfix/Manifest +++ b/mail-mta/postfix/Manifest @@ -3,14 +3,16 @@ Hash: SHA1 MD5 e60daa9a19e89197cf8ce7e34189d0d4 postfix-2.2_beta20050218.ebuild 9460 MD5 a52764b04b8ba78606b93723291828f8 postfix-2.1.5-r1.ebuild 7498 +MD5 8138a5161b7aee3a122cc1f4da242986 postfix-2.2.0_rc2.ebuild 9510 MD5 7411f29e36f03750a5b59735e547dfe0 postfix-2.2.0_rc1.ebuild 9510 -MD5 a746bbb23ab2345d016403cd179da296 ChangeLog 31340 +MD5 bb3d1ff376f709ce14a336517408b036 ChangeLog 31486 MD5 86c229fe394877d2c6a26aa5367bc697 metadata.xml 253 MD5 698c4f63deaf3e07e64ee709caf3fc26 postfix-2.1.5-r2.ebuild 7504 MD5 98872da0bd186c6e0d2b884b0fa28b78 files/postfix.rc6 610 MD5 889559c8b5d02597e9e7eec89e328360 files/smtp.pass 141 MD5 43e9368a07952c4aae9e370b59ce1450 files/smtp.sasl 131 MD5 8fc4390d33444ac69b80930498197714 files/digest-postfix-2.2.0_rc1 70 +MD5 40bc39b5cbb06ef93eda803d94864c4c files/digest-postfix-2.2.0_rc2 70 MD5 4b04975b0226f829d52aa891b2fb6caf files/digest-postfix-2.2_beta20050218 73 MD5 6ae48624e946756fb17572811abf8961 files/digest-postfix-2.1.5-r1 363 MD5 c2fd2c8cd7f31c4c876db365a98b972e files/digest-postfix-2.1.5-r2 363 @@ -20,7 +22,7 @@ MD5 502e444ec6b9d6fb9bbef3bb0f5e284a files/smtp.pam 254 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) -iD8DBQFCI2Om5FrxP71izLARApsXAKCr5dEey0971ttQ2iFkvcYyR42gIgCdGsOD -Rseolrh0w+sFeqJ/7xAHmKo= -=MId7 +iD8DBQFCKU225FrxP71izLARAngqAJ9rotIPhiy16DOsHst0A9w2xZNtIACfS2BE +jceE/844L33+fSK/5i7RHIk= +=y5yK -----END PGP SIGNATURE----- diff --git a/mail-mta/postfix/files/digest-postfix-2.2.0_rc2 b/mail-mta/postfix/files/digest-postfix-2.2.0_rc2 new file mode 100644 index 000000000000..57aadbec546c --- /dev/null +++ b/mail-mta/postfix/files/digest-postfix-2.2.0_rc2 @@ -0,0 +1 @@ +MD5 882a4411251e3d9931e8189e27549271 postfix-2.2.0-RC2.tar.gz 2393970 diff --git a/mail-mta/postfix/postfix-2.2.0_rc2.ebuild b/mail-mta/postfix/postfix-2.2.0_rc2.ebuild new file mode 100644 index 000000000000..5fb9fce13be1 --- /dev/null +++ b/mail-mta/postfix/postfix-2.2.0_rc2.ebuild @@ -0,0 +1,317 @@ +# 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.0_rc2.ebuild,v 1.1 2005/03/05 06:11:49 langthang Exp $ + +inherit eutils ssl-cert toolchain-funcs flag-o-matic fixheadtails +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/_rc/-RC} +MY_SRC=${PN}-${MY_PV} +DEV_SRC=${MY_SRC}-newdb-nonprod +#VDA_P="${PN}-2.1.5-trash" + +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" +# devel? ( ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/${DEV_SRC}.tar.gz ) " +# vda? ( http://web.onda.com.br/nadal/postfix/VDA/${VDA_P}.patch.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() { + # developmental realease warn + echo + ewarn "This is a experimental release. Do not use on production system." + ewarn "Read \"ftp://ftp.porcupine.org/mirrors/postfix-release/official/${MY_SRC}.RELEASE_NOTES\"" + ewarn "for incompatible changes before continue." + ewarn "\"vda\" has been removed as it isn't available for experimetal Postfix release." + ewarn "\"vda\" will be added as soon as it's available." + ewarn "Bugs should be filed at \"http://bugs.gentoo.org\"" + ewarn "assign to \"net-mail@gentoo.org\"." + echo + #epause 5 + + # put out warnings to work around bug #45764 + if has_version '<=mail-mta/postfix-2.0.18'; then + echo + ewarn "You are upgrading from postfix-2.0.18 or earlier, one of the empty queue" + ewarn "directory get deleted during unmerge the older version (#45764). Please run" + ewarn "\`etc/postfix/post-install upgrade-source\` to recreate them." + echo + #epause 5 + fi + + #TLS non-prod warn + if use ssl; then + echo + ewarn "you have \"ssl\" in your USE flags" + ewarn "TLS will be enabled. This is a work in progress." + ewarn "Visit http://www.postfix.org/TLS_README.html for more info." + echo + #epause 5 + fi + + # IPV6 non-prod warn + if use ipv6; then + echo + ewarn "you have \"ipv6\" in your USE flags" + ewarn "TLS will be enabled. This is a work in progress." + ewarn "Visit http://www.postfix.org/IPV6_README.html for more info." + echo + fi + + # VDA error + if use vda; then + eerror "VDA patch is not available yet for this snapshot" + eerror "If you still want to update to this snapshot" + eerror "please remove \"vda\" from your USE flags." + die "VDA support is not available at this time!" + fi + + # add postfix, postdrop user/group. Bug #77565. + group_user_check || die "failed to check/add needed user/group" + + # logic to fix bug #53324 + if [[ $(ps h -u postfix) ]]; then + if has_version '