From owner-freebsd-ports Mon Apr 1 6: 0:23 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1ACDA37B422 for ; Mon, 1 Apr 2002 06:00:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g31E04A36671; Mon, 1 Apr 2002 06:00:04 -0800 (PST) (envelope-from gnats) Received: from gyros.marcuscom.com (dhcp-64-102-60-43.cisco.com [64.102.60.43]) by hub.freebsd.org (Postfix) with ESMTP id 3C7F837B405 for ; Mon, 1 Apr 2002 05:59:00 -0800 (PST) Received: from gyros.marcuscom.com (localhost [127.0.0.1]) by gyros.marcuscom.com (8.12.2/8.12.2) with ESMTP id g31DjRI5008458 for ; Mon, 1 Apr 2002 08:47:57 -0500 (EST) (envelope-from marcus@gyros.marcuscom.com) Received: (from marcus@localhost) by gyros.marcuscom.com (8.12.2/8.12.2/Submit) id g31DjQFt008457; Mon, 1 Apr 2002 08:45:26 -0500 (EST) Message-Id: <200204011345.g31DjQFt008457@gyros.marcuscom.com> Date: Mon, 1 Apr 2002 08:45:26 -0500 (EST) From: Joe Marcus Clarke Reply-To: Joe Marcus Clarke To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36613: [MAINTAINER UPDATE] Unbreak security/pam_ldap on -CURRENT Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 -.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