From nobody@FreeBSD.org  Sun May 16 14:23:06 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 434941065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 May 2010 14:23:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 308518FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 May 2010 14:23:06 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4GEN5K7003611
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 May 2010 14:23:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o4GEN5Cd003610;
	Sun, 16 May 2010 14:23:05 GMT
	(envelope-from nobody)
Message-Id: <201005161423.o4GEN5Cd003610@www.freebsd.org>
Date: Sun, 16 May 2010 14:23:05 GMT
From: Joris Dedieu <joris.dedieu@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/openldap24-server does not install slap.h and portable.h
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146632
>Category:       ports
>Synopsis:       net/openldap24-server does not install slap.h and portable.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 16 14:30:02 UTC 2010
>Closed-Date:    Tue Jun 29 22:27:18 UTC 2010
>Last-Modified:  Tue Jun 29 22:27:18 UTC 2010
>Originator:     Joris Dedieu
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:
FreeBSD ladybug2.rmdir.fr 8.0-STABLE FreeBSD 8.0-STABLE #7: Fri May  7 13:07:07 CEST 2010     joris@ladybug2.rmdir.fr:/usr/obj/usr/src/sys/LADYBUG2  amd64

>Description:
openldap comes with some headers files that are needed to build third part loadable modules such has pwdCheckModule for password policy.

In most common case they include slap.h and portable.h but those headers have many dependencies

Default install target on openldap Makefile don't install them but they are  really usefull. If they are not present you must fetch the sources of your openldap version, configure with the same args and mangle CPPFLAGS ...

I think we almost need those headers in maybe something like /usr/local/include/openldap
./include/ac/alloca.h                                                              
./include/ac/assert.h                                                              
./include/ac/bytes.h                                                               
./include/ac/crypt.h                                                               
./include/ac/ctype.h                                                               
./include/ac/dirent.h                                                              
./include/ac/errno.h                                                               
./include/ac/fdset.h                                                               
./include/ac/localize.h                                                            
./include/ac/param.h                                                               
./include/ac/regex.h                                                               
./include/ac/setproctitle.h                                                        
./include/ac/signal.h                                                              
./include/ac/socket.h                                                              
./include/ac/stdarg.h                                                              
./include/ac/stdlib.h                                                              
./include/ac/string.h                                                              
./include/ac/sysexits.h                                                            
./include/ac/syslog.h                                                              
./include/ac/termios.h                                                             
./include/ac/time.h                                                                
./include/ac/unistd.h                                                              
./include/ac/wait.h                                                                
./include/avl.h                                                                    
./include/getopt-compat.h                                                          
./include/lber.h                                                                   
./include/lber_pvt.h                                                               
./include/ldap.h                                                                   
./include/ldap_cdefs.h                                                             
./include/ldap_defaults.h                                                          
./include/ldap_int_thread.h                                                        
./include/ldap_log.h                                                               
./include/ldap_pvt.h                                                               
./include/ldap_pvt_thread.h                                                        
./include/ldap_pvt_uc.h                                                            
./include/ldap_queue.h                                                             
./include/ldap_rq.h                                                                
./include/ldap_schema.h                                                            
./include/ldap_utf8.h                                                              
./include/ldif.h                                                                   
./include/lutil.h                                                                  
./include/lutil_hash.h                                                             
./include/lutil_ldap.h                                                             
./include/lutil_lockf.h                                                            
./include/lutil_md5.h                                                              
./include/lutil_meter.h                                                            
./include/lutil_sha1.h                                                             
./include/rewrite.h                                                                
./include/slapi-plugin.h                                                           
./include/sysexits-compat.h                                                        
./include/portable.h                                                               
./include/ldap_features.h                                                          
./include/lber_types.h                                                             
./include/ldap_config.h                                                            
./libraries/liblber/lber-int.h                                                     
./libraries/libldap/ldap-int.h                                                     
./libraries/libldap/ldap-tls.h                                                     
./libraries/libldap_r/ldap_thr_debug.h                                             
./libraries/liblunicode/ure/ure.h                                                  
./libraries/liblunicode/ucdata/ucdata.h                                            
./libraries/liblunicode/ucdata/ucpgba.h                                            
./libraries/liblunicode/ucdata/uctable.h                                           
./libraries/liblunicode/utbm/utbm.h
./libraries/liblunicode/ucdata.h
./libraries/liblunicode/ure.h
./libraries/liblunicode/uctable.h
./libraries/liblutil/slapdmsg.h
./libraries/librewrite/rewrite-int.h
./libraries/librewrite/rewrite-map.h
./servers/slapd/alock.h
./servers/slapd/component.h
./servers/slapd/config.h
./servers/slapd/proto-slap.h
./servers/slapd/sets.h
./servers/slapd/slap.h
./servers/slapd/slapcommon.h

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun May 16 14:30:15 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146632 
State-Changed-From-To: open->feedback 
State-Changed-By: delphij 
State-Changed-When: Mon May 17 07:44:08 UTC 2010 
State-Changed-Why:  
Dear submitter, 

In my opinion the header files are not meant for general consumption 
(i.e. one wants these files ONLY when they need to build a module, 
which is not the common case).  I'm open on creating a slave port 
that installs header files but am not convinced with the value on 
it...  (Not to mention these ac/ headers should be avoided wherever 
possible) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146632 
State-Changed-From-To: feedback->closed 
State-Changed-By: delphij 
State-Changed-When: Tue Jun 29 22:26:47 UTC 2010 
State-Changed-Why:  
Close this PR.  These headers should not be installed by default. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146632 
>Unformatted:
