ports/110424: net/openldap23-server - fix USE_LDCONFIG

Edwin Groothuis edwin at mavetju.org
Sat Mar 17 04:50:05 UTC 2007


>Number:         110424
>Category:       ports
>Synopsis:       net/openldap23-server - fix USE_LDCONFIG
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 17 04:50:04 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list