pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/postfix Added optional postgresql support
details: https://anonhg.NetBSD.org/pkgsrc/rev/12c6d0dc38ce
branches: trunk
changeset: 468702:12c6d0dc38ce
user: martti <martti%pkgsrc.org@localhost>
date: Mon Feb 16 09:31:06 2004 +0000
description:
Added optional postgresql support
diffstat:
mail/postfix/Makefile | 15 ++++++++++++++-
mail/postfix/distinfo | 4 +++-
2 files changed, 17 insertions(+), 2 deletions(-)
diffs (45 lines):
diff -r 884db8913411 -r 12c6d0dc38ce mail/postfix/Makefile
--- a/mail/postfix/Makefile Mon Feb 16 09:27:20 2004 +0000
+++ b/mail/postfix/Makefile Mon Feb 16 09:31:06 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.116 2004/01/28 16:03:02 martti Exp $
+# $NetBSD: Makefile,v 1.117 2004/02/16 09:31:06 martti Exp $
DISTNAME= postfix-2.0.18
CATEGORIES= mail
@@ -77,6 +77,19 @@
BUILD_DEFS+= POSTFIX_USE_MYSQL
.endif
+.if defined(POSTFIX_USE_PGSQL) && ${POSTFIX_USE_PGSQL} == "YES"
+. include "../../databases/postgresql-lib/buildlink3.mk"
+. include "../../security/openssl/buildlink3.mk"
+PATCHFILES+= postfix-pg.postfix-2.0.0.2.patch
+PATCH_SITES+= http://www.mat.cc/postfix/
+PATCH_DIST_STRIP= -p1
+
+CCARGS+= -DHAS_PGSQL -I${BUILDLINK_PREFIX.postgresql-lib}/include/pgsql
+AUXLIBS+= -L${BUILDLINK_PREFIX.postgresql-lib}/lib -lpq \
+ -L${BUILDLINK_PREFIX.openssl}/lib -lcrypt
+BUILD_DEFS+= POSTFIX_USE_PGSQL
+.endif
+
.if defined(USE_SASL2) && ${USE_SASL2} == "YES"
USING_SASL=YES
. include "../../security/cyrus-sasl2/buildlink3.mk"
diff -r 884db8913411 -r 12c6d0dc38ce mail/postfix/distinfo
--- a/mail/postfix/distinfo Mon Feb 16 09:27:20 2004 +0000
+++ b/mail/postfix/distinfo Mon Feb 16 09:31:06 2004 +0000
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.53 2004/01/28 16:03:03 martti Exp $
+$NetBSD: distinfo,v 1.54 2004/02/16 09:31:06 martti Exp $
SHA1 (postfix/postfix-2.0.18.tar.gz) = 7abf546d2756978caddb37f4203602412e277f51
Size (postfix/postfix-2.0.18.tar.gz) = 1353649 bytes
SHA1 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = e2c29b3e6a00eb53120661d7e411d8e786a0bae6
Size (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 254862 bytes
+SHA1 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 51498e624f9fc68f33384c2355803f0b181ca64a
+Size (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27419 bytes
SHA1 (patch-aa) = 39a89a28cec3fd264dbda97633e34695eaad01e9
SHA1 (patch-ab) = ac4c75fb7a36491edf03b54915c7a47461748b4d
SHA1 (patch-ac) = b0d26742fe8496b2fd4729a41fecadc275e71cf2
Home |
Main Index |
Thread Index |
Old Index