Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 08:45:26 -0500 (EST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36613: [MAINTAINER UPDATE] Unbreak security/pam_ldap on -CURRENT
Message-ID:  <200204011345.g31DjQFt008457@gyros.marcuscom.com>

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

>Number:         36613
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] Unbreak security/pam_ldap on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 01 06:00:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joe Marcus Clarke
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
MarcusCom, Inc.
>Environment:
System: FreeBSD gyros.marcuscom.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Mar 31 16:39:30 EST 2002 marcus@gyros.marcuscom.com:/usr/obj/usr/src/sys/GYROS i386


	
>Description:
Unbreak pam_ldap on -CURRENT after the latest OpenPAM patch.
>How-To-Repeat:
	
>Fix:

ADDED FILE:
 files/patch-ac

	

--- pam_ldap.diff begins here ---
diff -ruN pam_ldap.orig/Makefile pam_ldap/Makefile
--- pam_ldap.orig/Makefile	Mon Apr  1 08:40:11 2002
+++ pam_ldap/Makefile	Mon Apr  1 08:41:53 2002
@@ -16,10 +16,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} > 500030
-BROKEN=	"Does not work correctly with OpenPAM"
-.endif
-
 .if defined(WITH_LDAP_V3)
 LIB_DEPENDS=	ldap.2:${PORTSDIR}/net/openldap2 \
 		lber.2:${PORTSDIR}/net/openldap2
diff -ruN pam_ldap.orig/files/patch-ac pam_ldap/files/patch-ac
--- pam_ldap.orig/files/patch-ac	Wed Dec 31 19:00:00 1969
+++ pam_ldap/files/patch-ac	Mon Apr  1 08:39:54 2002
@@ -0,0 +1,11 @@
+--- configure.orig	Sun Mar 31 16:31:53 2002
++++ configure	Sun Mar 31 16:32:13 2002
+@@ -1458,7 +1458,7 @@
+ CPPFLAGS="$CPPFLAGS -DLDAP_REFERRALS"
+ 
+ case "$target_os" in
+-freebsd*) CPPFLAGS="$CPPFLAGS -DPIC -D_REENTRANT" ;;
++freebsd*) CPPFLAGS="$CPPFLAGS -DPIC -D_REENTRANT $PTHREAD_CFLAGS" ;;
+ aix*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
+ *) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
+ esac
--- pam_ldap.diff ends here ---


>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?200204011345.g31DjQFt008457>