NetBSD Problem Report #19173

Received: (qmail 9253 invoked by uid 605); 26 Nov 2002 03:15:19 -0000
Message-Id: <20021126031518.42C2B11124@narn.netbsd.org>
Date: Mon, 25 Nov 2002 19:15:18 -0800 (PST)
From: roskens@elfin.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: roskens@elfin.net
To: gnats-bugs@gnats.netbsd.org
Subject: postfix does not include a way to enable ldap support
X-Send-Pr-Version: www-1.0

>Number:         19173
>Category:       pkg
>Synopsis:       postfix does not include a way to enable ldap support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 26 03:16:01 +0000 2002
>Closed-Date:    Tue Nov 26 07:21:40 +0000 2002
>Last-Modified:  Tue Nov 26 07:22:00 +0000 2002
>Originator:     Ron Roskens
>Release:        NetBSD-1.6
>Organization:
>Environment:
>Description:
Postfix 1.1.11 (and 1.1.12) include support for ldap during the build. The current pkgsrc files do not have a way to enable it.
>How-To-Repeat:

>Fix:
Apply this patch:
There isn't a need to adjust the PLIST since postfix already installs the LDAP_README into share/doc/postfix/

diff -b -u -r1.69 Makefile
--- Makefile    2002/10/25 12:09:33     1.69
+++ Makefile    2002/11/26 03:11:54
@@ -72,6 +72,13 @@
 BUILD_DEFS+=   POSTFIX_USE_TLS
 .endif

+.if defined(POSTFIX_USE_LDAP) && ${POSTFIX_USE_LDAP} == "YES"
+.include "../../databases/openldap/buildlink2.mk"
+CCARGS+=       -DHAS_LDAP
+AUXLIBS+=      -lldap -llber
+BUILD_DEFS+=   POSTFIX_USE_LDAP
+.endif
+
 MESSAGE_SRC+=  ${PKGDIR}/MESSAGE
 PLIST_SRC+=    ${PKGDIR}/PLIST
 ALL_TARGET=    #empty
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: martti 
State-Changed-When: Mon Nov 25 23:20:41 PST 2002 
State-Changed-Why:  
Commited, thanks! 

From: Martti Kuparinen <martti@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/19173 CVS commit: pkgsrc/mail/postfix
Date: Tue, 26 Nov 2002 09:20:08 +0200 (EET)

 Module Name:	pkgsrc
 Committed By:	martti
 Date:		Tue Nov 26 07:20:07 UTC 2002

 Modified Files:
 	pkgsrc/mail/postfix: Makefile

 Log Message:
 - Added support for LDAP (provided by Ron Roskens in PR#19173, minor path
   fixes by me)
 - Sorted POSTFIX_USE_xxx options


 To generate a diff of this commit:
 cvs rdiff -r1.70 -r1.71 pkgsrc/mail/postfix/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.