From edwin@mavetju.org  Sat Mar 17 04:40:31 2007
Return-Path: <edwin@mavetju.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 97F1116A400
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 17 Mar 2007 04:40:31 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: from mail4out.barnet.com.au (mail4.barnet.com.au [202.83.178.125])
	by mx1.freebsd.org (Postfix) with ESMTP id 5AB8813C448
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 17 Mar 2007 04:40:31 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: by mail4out.barnet.com.au (Postfix, from userid 1001)
	id 4F60837BBF5; Sat, 17 Mar 2007 15:40:30 +1100 (EST)
Received: from mail4auth.barnet.com.au (mail4.barnet.com.au [202.83.178.125])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mail4.barnet.com.au (Postfix) with ESMTP id 23E9F4224AC
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 17 Mar 2007 15:40:30 +1100 (EST)
Received: from k7.mavetju (k7.mavetju.org [10.251.1.18])
	by mail4auth.barnet.com.au (Postfix) with ESMTP id 2C3FC37BBEB
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 17 Mar 2007 15:40:28 +1100 (EST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id C28BD126; Sat, 17 Mar 2007 15:40:21 +1100 (EST)
Message-Id: <20070317044021.C28BD126@k7.mavetju>
Date: Sat, 17 Mar 2007 15:40:21 +1100 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: net/openldap23-server - fix USE_LDCONFIG
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         110424
>Category:       ports
>Synopsis:       net/openldap23-server - fix USE_LDCONFIG
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 17 04:50:04 GMT 2007
>Closed-Date:    Tue Mar 20 14:06:55 GMT 2007
>Last-Modified:  Tue Mar 20 14:20:03 GMT 2007
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386

>Description:

net/openldap23-server installs libraries in libexec/openldap.

By startup, it fails for me because the cache of ldconfig is cleared
(maybe this is a jail only issue, maybe this is a normal issue).

Running "ldconfig -m /usr/local/libexec/openldap/" will resolve
this.

But setting "USE_LDCONFIG=${PREFIX}/libexec/openldap" in the ports
Makefile will create a small file in /usr/local/libdata/ldconfig
which will be used at startup to do the ldconfig command.

See multimedia/mplayer for use of it.

>How-To-Repeat:
>Fix:

replace USE_LDCONFIG=yes with USE_LDCONFIG=${PREFIX}/libexec/openldap
in the ports makefile(s).
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Mar 17 04:50:14 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110424 
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Tue Mar 20 14:05:10 UTC 2007 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=110424 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/110424: commit references a PR
Date: Tue, 20 Mar 2007 14:10:52 +0000 (UTC)

 delphij     2007-03-20 14:10:41 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/openldap23-server Makefile 
     net/openldap24-server Makefile 
   Log:
   Use USE_LDCONFIG correctly upon successful server installation
   in order to make backend shared objects to be recognized
   correctly.
   
   Requested by:   edwin
   PR:             ports/110424
   
   Revision  Changes    Path
   1.150     +2 -1      ports/net/openldap23-server/Makefile
   1.138     +2 -1      ports/net/openldap24-server/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
