Subject: pkg/23788: PATCH postfix + pgsql patch
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: netbsd-bugs
Date: 12/18/2003 16:18:08
>Number: 23788
>Category: pkg
>Synopsis: PATCH postfix + pgsql patch
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Dec 18 05:19:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: SunOS 5.9
>Organization:
>Environment:
System: SunOS stdin 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-2
Architecture: sun4
>Description:
this patch adds support for the unofficial postgres patch that everyone uses from mat.cc
>How-To-Repeat:
>Fix:
--- Makefile.orig Thu Dec 18 15:15:48 2003
+++ Makefile Thu Dec 18 15:16:40 2003
@@ -65,6 +65,21 @@
BUILD_DEFS+= POSTFIX_USE_LDAP
.endif
+.if defined(POSTFIX_USE_PGSQL) && ${POSTFIX_USE_PGSQL} == "YES"
+. include "../../databases/postgresql-lib/buildlink2.mk"
+. include "../../security/openssl/buildlink2.mk"
+PATCHFILES+= postfix-pg.postfix-2.0.0.2.patch
+PATCH_SITES+= http://www.mat.cc/postfix/
+PATCH_DIST_STRIP= -p1
+BUILD_DEFS+= POSTFIX_USE_PGSQL
+CCARGS+= -DHAS_PGSQL -I${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql
+CCARGS+= -DHAS_SSL
+AUXLIBS+= -L${BUILDLINK_PREFIX.openssl}/lib \
+ -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib \
+ -lssl -lcrypto
+AUXLIBS+= ${BUILDLINK_PREFIX.postgresql-lib}/lib/libpq.a
+.endif
+
.if defined(POSTFIX_USE_MYSQL) && ${POSTFIX_USE_MYSQL} == "YES"
. include "../../databases/mysql-client/buildlink2.mk"
CCARGS+= -DHAS_MYSQL -I${BUILDLINK_PREFIX.mysql-client}/include/mysql
--- distinfo.orig Thu Dec 18 15:17:31 2003
+++ distinfo Wed Dec 17 00:02:27 2003
@@ -4,6 +4,8 @@
Size (postfix/postfix-2.0.16.tar.gz) = 1353520 bytes
SHA1 (postfix/tls+ipv6-1.18a-pf-2.0.16.patch.gz) = c974934914aac2ec4fae1c20ad937713fac1ccc7
Size (postfix/tls+ipv6-1.18a-pf-2.0.16.patch.gz) = 253429 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-ad) = 2f83cc6108eea4a1c401fe9e549d93430166f7fa
SHA1 (patch-ae) = daa160ef54d725ca156f29322d45efcf4af6c02a
>Release-Note:
>Audit-Trail:
>Unformatted: