From 3a5d81de180634287de062583d1f2e64f40e5f23 Mon Sep 17 00:00:00 2001 From: Tuan Van Date: Wed, 22 Dec 2004 18:49:23 +0000 Subject: [PATCH] 2.2 developmental release. Hardmask. --- mail-mta/postfix/ChangeLog | 8 +- mail-mta/postfix/Manifest | 14 +- .../postfix/files/digest-postfix-2.2.20041221 | 2 + mail-mta/postfix/postfix-2.2.20041221.ebuild | 308 ++++++++++++++++++ 4 files changed, 330 insertions(+), 2 deletions(-) create mode 100644 mail-mta/postfix/files/digest-postfix-2.2.20041221 create mode 100644 mail-mta/postfix/postfix-2.2.20041221.ebuild diff --git a/mail-mta/postfix/ChangeLog b/mail-mta/postfix/ChangeLog index dc988c95fbd7..1ebac9f1301b 100644 --- a/mail-mta/postfix/ChangeLog +++ b/mail-mta/postfix/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-mta/postfix # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.36 2004/11/24 12:16:46 hardave Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.37 2004/12/22 18:49:23 langthang Exp $ + +*postfix-2.2.20041221 (22 Dec 2004) + + 22 Dec 2004; Tuan Van +postfix-2.2.20041221.ebuild: + 2.2 development release with TLS support. + add "nis" USE flag to support uclibc env. Bug #61509. 24 Nov 2004; Hardave Riar postfix-2.1.5-r1.ebuild: Stable on mips, bug #56088. diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest index f5b16c046cc3..18c58aed5172 100644 --- a/mail-mta/postfix/Manifest +++ b/mail-mta/postfix/Manifest @@ -1,7 +1,11 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 d110a93a706899b833b47734415399a0 postfix-2.1.3.ebuild 7356 +MD5 371bbcb4078dc0d652c2bd4827a522d7 postfix-2.2.20041221.ebuild 9164 MD5 1848be83c993ea8bd86525076793970b postfix-2.1.5-r1.ebuild 7450 MD5 a37e17b30106fd73993b70a6ec3db9af postfix-2.0.19.ebuild 6715 -MD5 f3fffe64c15616444de7834b4125b9b4 ChangeLog 28356 +MD5 d7908252a82a6617fcaf6d51a7001dac ChangeLog 28573 MD5 86c229fe394877d2c6a26aa5367bc697 metadata.xml 253 MD5 f4fb1c0bcd39fe4ead34ade333819389 files/postfix.rc6 592 MD5 889559c8b5d02597e9e7eec89e328360 files/smtp.pass 141 @@ -10,5 +14,13 @@ MD5 20fa9d533a75c392127160b6b83d4229 files/digest-postfix-2.0.19 445 MD5 6ae48624e946756fb17572811abf8961 files/digest-postfix-2.1.5-r1 363 MD5 fd78f3c5211f280a77dc8c8acd3dd898 files/postfix-2.0.9-get-FQDN.patch 1057 MD5 7923292c13473118323ceff84e770a1d files/digest-postfix-2.1.3 357 +MD5 25ae89f7a830c8358a449198a69d703d files/digest-postfix-2.2.20041221 158 MD5 78c16ededccb206774194bfe05475a99 files/mailer.conf 1547 MD5 502e444ec6b9d6fb9bbef3bb0f5e284a files/smtp.pam 254 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFByb8d5FrxP71izLARAnv8AJ9QQn9U/oftGpluCwnsJ+Oqqck4CQCgiyWa +fDIQTL18MJAM/ZH5WeJcI4g= +=kPBs +-----END PGP SIGNATURE----- diff --git a/mail-mta/postfix/files/digest-postfix-2.2.20041221 b/mail-mta/postfix/files/digest-postfix-2.2.20041221 new file mode 100644 index 000000000000..18079729ce78 --- /dev/null +++ b/mail-mta/postfix/files/digest-postfix-2.2.20041221 @@ -0,0 +1,2 @@ +MD5 07be26ad748e9e08939d2a9dcf69bc60 postfix-2.2-20041221.tar.gz 2127245 +MD5 0b141e5dd14abe0725b31f937c5af35c postfix-2.2-20041221+tls-nonprod.tar.gz 2293763 diff --git a/mail-mta/postfix/postfix-2.2.20041221.ebuild b/mail-mta/postfix/postfix-2.2.20041221.ebuild new file mode 100644 index 000000000000..afb608b25804 --- /dev/null +++ b/mail-mta/postfix/postfix-2.2.20041221.ebuild @@ -0,0 +1,308 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.2.20041221.ebuild,v 1.1 2004/12/22 18:49:23 langthang Exp $ + +inherit eutils ssl-cert toolchain-funcs +IUSE="ipv6 pam ldap mysql postgres ssl sasl mailwrapper mbox nis vda" + +MY_PV=${PV%.*}-${PV##*.} +PROD_PV=${MY_PV} +TLS_SRC=${PN}-${MY_PV}+tls-nonprod +PROD_SRC=${PN}-${PROD_PV} +#VDA_P="${PN}-2.1.5-trash" +#TLS_P="pfixtls-0.8.18-2.1.3-0.9.7d" +#IPV6="1.25" +#IPV6_P="ipv6-${IPV6}-pf-2.1.5" +#IPV6_TLS_P="tls+${IPV6_P}" +#PGSQL_P="postfix-pg.postfix-2.0.0.2" + +DESCRIPTION="A fast and secure drop-in replacement for sendmail." +HOMEPAGE="http://www.postfix.org/" +SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/${PROD_SRC}.tar.gz + ssl? ( ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/${TLS_SRC}.tar.gz )" +# vda? ( http://web.onda.com.br/nadal/postfix/VDA/${VDA_P}.patch.gz ) +# ipv6? ( ftp://ftp.stack.nl/pub/postfix/tls+ipv6/${IPV6}/${IPV6_P}.patch.gz ) +# ipv6? ( ftp://ftp.stack.nl/pub/postfix/tls+ipv6/${IPV6}/${IPV6_TLS_P}.patch.gz )" + +LICENSE="IPL-1" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64 ~s390 ~mips ~hppa" +#IUSE="ipv6 pam ldap mysql postgres ssl sasl vda mailwrapper mbox" + +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 + !mailwrapper? ( !virtual/mta ) + mailwrapper? ( >=net-mail/mailwrapper-0.2 )" +if use ssl; then + BASE_SRC=${TLS_SRC} +else + BASE_SRC=${PROD_SRC} +fi + +S=${WORKDIR}/${BASE_SRC} + +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/experimental/${TLS_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\"." + einfo "Thanks for testing." + 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." + ewarn "You have been warned. Thanks for testing." + echo + epause 5 + 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!" + fi + + # logic to fix bug #53324 + if [[ $(ps h -u postfix) ]]; then + if has_version '