Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  7 May 2002 13:45:34 +0200 (CEST)
From:      Mathieu Arnold <mat@absolight.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        khera@kciLink.com
Subject:   ports/37823: Adding PostgreSQL map lookups to postfix-current
Message-ID:  <20020507114534.63EB1D7E2@aragorn.reaumur.absolight.net>

next in thread | raw e-mail | index | archive | help

>Number:         37823
>Category:       ports
>Synopsis:       Adding PostgreSQL map lookups to postfix-current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 07 04:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.5-RELEASE-p2 i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #3: Mon Apr 15 14:25:33 CEST 2002 root@aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386


>Description:
Adding PostgreSQL map lookups to postfix-current

>How-To-Repeat:
	
>Fix:

It's the same patch for both postfix versions as it applies cleanly

Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/postfix-current/distinfo,v
retrieving revision 1.37
diff -u -r1.37 distinfo
--- distinfo	1 Apr 2002 18:08:08 -0000	1.37
+++ distinfo	7 May 2002 11:42:44 -0000
@@ -1,2 +1,3 @@
 MD5 (postfix/postfix-1.1.7-20020331.tar.gz) = 1198606e529250dcfdfcd4544aa58b40
 MD5 (postfix/pfixtls-0.8.7-1.1.6-0.9.6c.tar.gz) = 578ade33d4d5475c55c31041857cc6f1
+MD5 (postfix/postfix-pg.postfix-1.1.8.patch) = e0f4d910a6d6648d9b48e2244f2764ba
Index: scripts/configure.postfix
===================================================================
RCS file: /home/ncvs/ports/mail/postfix-current/scripts/configure.postfix,v
retrieving revision 1.33
diff -u -r1.33 configure.postfix
--- scripts/configure.postfix	1 Apr 2002 18:08:08 -0000	1.33
+++ scripts/configure.postfix	7 May 2002 11:41:00 -0000
@@ -17,6 +17,7 @@
 SASL		"Cyrus SASLv1 (Simple Authentication and Security Layer)" OFF \
 DB3		"Berkeley DB3 (required if SASL also built with DB3)" OFF \
 MySQL		"MySQL map lookups" OFF \
+PgSQL		"PostgreSQL map lookups" OFF \
 OpenLDAP	"OpenLDAP map lookups" OFF \
 Test		"SMTP/LMTP test server and generator" OFF \
 TLS		"SSL and Transport Layer Security (CURRENTLY BROKEN)" OFF \
@@ -93,6 +94,15 @@
 			echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql323-client"
 			echo "POSTFIX_CCARGS+=	-DHAS_MYSQL -I\${LOCALBASE}/include/mysql"
 			echo "POSTFIX_AUXLIBS+=	\${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz"
+			;;
+		\"PgSQL\")
+			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/databases/postgresql7"
+			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include"
+			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -lpq -lcrypt"
+			echo "PGSQL_SUFFIX=	+pgsql"
+			echo "PATCH_SITES+=	http://mat.cc/postfix/"
+			echo "PATCHFILES+=	postfix-pg.postfix-1.1.8.patch"
+			echo "PATCH_DIST_STRIP= -p1"
 			;;
 		\"OpenLDAP\")
 			echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap"

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020507114534.63EB1D7E2>