summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/postfix/ChangeLog7
-rw-r--r--net-mail/postfix/Manifest3
-rw-r--r--net-mail/postfix/files/postfix-pg.postfix-2.0.0.2.patch.bz2bin0 -> 7526 bytes
-rw-r--r--net-mail/postfix/postfix-2.0.13.ebuild22
4 files changed, 27 insertions, 5 deletions
diff --git a/net-mail/postfix/ChangeLog b/net-mail/postfix/ChangeLog
index 1e380a2eaefa..3a0f98a9c83f 100644
--- a/net-mail/postfix/ChangeLog
+++ b/net-mail/postfix/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/postfix
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/ChangeLog,v 1.76 2003/06/30 19:27:05 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/ChangeLog,v 1.77 2003/07/11 06:30:06 raker Exp $
+
+ 11 Jul 2003; Nick Hadaway <raker@gentoo.org> postfix-2.0.13.ebuild,
+ files/postfix-pg.postfix-2.0.0.2.patch.bz2:
+ Added postgres support and associated patch. Also installs a
+ PGSQL_README. Closes bug #23996
*postfix-2.0.13 (30 Jun 2003)
diff --git a/net-mail/postfix/Manifest b/net-mail/postfix/Manifest
index 732d3fa1041c..3dea5edce070 100644
--- a/net-mail/postfix/Manifest
+++ b/net-mail/postfix/Manifest
@@ -1,5 +1,5 @@
MD5 fc71783cead215556a8c40bddbf69700 postfix-2.0.10-r1.ebuild 6164
-MD5 c473e90bf3969b57f48103c8c11d88b9 postfix-2.0.13.ebuild 6014
+MD5 333ac9a0e8650ab673a79b1c34a2df5e postfix-2.0.13.ebuild 6179
MD5 656396a2cf9d1d2c05cd6b55dc9e988d postfix-2.0.9.ebuild 6242
MD5 76726846989c0b6a5fc643d06b804e45 postfix-1.1.11.20020917-r1.ebuild 4945
MD5 356407d3452ad6a17e6c196d26e60dbd postfix-2.0.12-r1.ebuild 6015
@@ -19,6 +19,7 @@ MD5 ff6584c14212d383b742fe5fc0aceed5 files/postfix-2.0.9-get-FQDN.patch 993
MD5 e17b09d7df6537631ef2263b83fe0d38 files/master.cf 4421
MD5 6775371821db3139dd2470c794a1e01f files/digest-postfix-1.1.11.20020917 166
MD5 e126c8295dad90d20bf2d6a47086ab0e files/digest-postfix-2.0.9 220
+MD5 61fc23026a194c592078961b7da6455c files/postfix-pg.postfix-2.0.0.2.patch.bz2 7526
MD5 798b43d4f63482e4eae84941d5b4f40e files/smtp.pam 206
MD5 3004148a32063214f57f0316b9f46116 files/postfix 517
MD5 499f6d9f2295ba6e359ce568842d050c files/digest-postfix-2.0.10-r1 295
diff --git a/net-mail/postfix/files/postfix-pg.postfix-2.0.0.2.patch.bz2 b/net-mail/postfix/files/postfix-pg.postfix-2.0.0.2.patch.bz2
new file mode 100644
index 000000000000..91d3ddcefe64
--- /dev/null
+++ b/net-mail/postfix/files/postfix-pg.postfix-2.0.0.2.patch.bz2
Binary files differ
diff --git a/net-mail/postfix/postfix-2.0.13.ebuild b/net-mail/postfix/postfix-2.0.13.ebuild
index b45857383740..6bc3a780b287 100644
--- a/net-mail/postfix/postfix-2.0.13.ebuild
+++ b/net-mail/postfix/postfix-2.0.13.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-2.0.13.ebuild,v 1.1 2003/06/30 19:27:05 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-2.0.13.ebuild,v 1.2 2003/07/11 06:30:06 raker Exp $
-IUSE="ssl mysql sasl ldap ipv6 maildir mbox"
+IUSE="ssl mysql sasl ldap ipv6 maildir mbox postgres"
inherit eutils
@@ -10,6 +10,7 @@ TLS_P="pfixtls-0.8.14-2.0.12-0.9.7b"
IPV6="1.15"
IPV6_P="ipv6-${IPV6}-pf-2.0.13"
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"
@@ -31,7 +32,8 @@ DEPEND=">=sys-libs/db-3.2
ldap? ( >=net-nds/openldap-1.2 )
mysql? ( >=dev-db/mysql-3.23.51 )
ssl? ( >=dev-libs/openssl-0.9.6g )
- sasl? ( dev-libs/cyrus-sasl )"
+ sasl? ( dev-libs/cyrus-sasl )
+ postgres? ( >=dev-db/postgresql-7.1 )"
RDEPEND="${DEPEND}
>=net-mail/mailbase-0.00
@@ -90,6 +92,7 @@ pkg_setup() {
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
+
if [ "`use ssl`" ]; then
if [ "`use ipv6`" ]; then
epatch ${DISTDIR}/${IPV6_TLS_P}.patch.gz
@@ -102,6 +105,13 @@ src_unpack() {
elif [ "`use ipv6`" ]; then
epatch ${DISTDIR}/${IPV6_P}.patch.gz
fi
+
+ if [ "`use postgres`" ]; then
+ epatch ${FILESDIR}/${PGSQL_P}.patch.bz2
+ CCARGS="${CCARGS} -DHAS_PGSQL -I/usr/include/postgresql"
+ AUXLIBS="${AUXLIBS} -lpq"
+ fi
+
cd ${S}/conf
sed -i -e "s:/usr/libexec/postfix:/usr/lib/postfix:" main.cf
@@ -220,6 +230,12 @@ src_install () {
#install an rmail for UUCP, closing bug #19127
cd ${S}/auxiliary/rmail
dobin rmail
+
+ if [ "`use postgres`" ]; then
+ cd ${S}/README_FILES
+ dodoc PGSQL_README
+ cd ${S}
+ fi
}
pkg_postinst() {