23050318 Remove libldap5 tool mediator from OpenLDAP (libldap5 EOF helper)
authorzihao.zhu@oracle.com <zihao.zhu@oracle.com>
Tue, 17 May 2016 08:39:00 -0700
changeset 5996 091ceb6b3249
parent 5995 a107a73db207
child 5997 72695892327b
23050318 Remove libldap5 tool mediator from OpenLDAP (libldap5 EOF helper) 23252362 OpenLDAP should point LDAP headers in /usr/include to /usr/include/openldap
components/openldap/openldap-client.p5m
components/openldap/openldap-server.p5m
--- a/components/openldap/openldap-client.p5m	Mon May 16 17:05:06 2016 -0700
+++ b/components/openldap/openldap-client.p5m	Tue May 17 08:39:00 2016 -0700
@@ -46,16 +46,11 @@
 file path=etc/openldap/ldap.conf owner=root group=openldap mode=0644 \
     overlay=allow preserve=true
 file path=etc/openldap/ldap.conf.default
-link path=usr/bin/ldapadd target=openldapmodify mediator=ldap \
-    mediator-implementation=openldap
-link path=usr/bin/ldapdelete target=openldapdelete mediator=ldap \
-    mediator-implementation=openldap
-link path=usr/bin/ldapmodify target=openldapmodify mediator=ldap \
-    mediator-implementation=openldap
-link path=usr/bin/ldapmodrdn target=openldapmodrdn mediator=ldap \
-    mediator-implementation=openldap
-link path=usr/bin/ldapsearch target=openldapsearch mediator=ldap \
-    mediator-implementation=openldap
+link path=usr/bin/ldapadd target=openldapmodify
+link path=usr/bin/ldapdelete target=openldapdelete
+link path=usr/bin/ldapmodify target=openldapmodify
+link path=usr/bin/ldapmodrdn target=openldapmodrdn
+link path=usr/bin/ldapsearch target=openldapsearch
 link path=usr/bin/openldapadd target=openldapmodify
 # The bypasses (and manual dependency on libsasl at the end of the file)
 # are required for building with the cyrus-sasl proto area because of
@@ -77,6 +72,14 @@
 file usr/bin/ldapurl path=usr/bin/openldapurl
 file usr/bin/ldapwhoami path=usr/bin/openldapwhoami \
     pkg.depend.bypass-generate=libsasl2.so.3
+link path=usr/include/lber.h target=openldap/lber.h
+link path=usr/include/lber_types.h target=openldap/lber_types.h
+link path=usr/include/ldap.h target=openldap/ldap.h
+link path=usr/include/ldap_cdefs.h target=openldap/ldap_cdefs.h
+link path=usr/include/ldap_features.h target=openldap/ldap_features.h
+link path=usr/include/ldap_schema.h target=openldap/ldap_schema.h
+link path=usr/include/ldap_utf8.h target=openldap/ldap_utf8.h
+link path=usr/include/ldif.h target=openldap/ldif.h
 file path=usr/include/openldap/lber.h
 file path=usr/include/openldap/lber_types.h
 file path=usr/include/openldap/ldap.h
@@ -93,6 +96,7 @@
 link path=usr/lib/$(MACH64)/libldap-2.4.so.2 target=libldap-2.4.so.2.10.7
 file path=usr/lib/$(MACH64)/libldap-2.4.so.2.10.7 \
     pkg.depend.bypass-generate=libsasl2.so.3
+link path=usr/lib/$(MACH64)/libldap.so target=libldap_r-2.4.so.2.10.7
 link path=usr/lib/$(MACH64)/libldap_r-2.4.so target=libldap_r-2.4.so.2.10.7
 link path=usr/lib/$(MACH64)/libldap_r-2.4.so.2 target=libldap_r-2.4.so.2.10.7
 file path=usr/lib/$(MACH64)/libldap_r-2.4.so.2.10.7 \
@@ -105,6 +109,7 @@
 link path=usr/lib/libldap-2.4.so target=libldap-2.4.so.2.10.7
 link path=usr/lib/libldap-2.4.so.2 target=libldap-2.4.so.2.10.7
 file path=usr/lib/libldap-2.4.so.2.10.7 pkg.depend.bypass-generate=libsasl2.so.3
+link path=usr/lib/libldap.so target=libldap_r-2.4.so.2.10.7
 link path=usr/lib/libldap_r-2.4.so target=libldap_r-2.4.so.2.10.7
 link path=usr/lib/libldap_r-2.4.so.2 target=libldap_r-2.4.so.2.10.7
 file path=usr/lib/libldap_r-2.4.so.2.10.7 \
@@ -120,20 +125,11 @@
 link path=usr/lib/openldap/bin/ldapsearch target=../../../bin/openldapsearch
 link path=usr/lib/openldap/bin/ldapurl target=../../../bin/openldapurl
 link path=usr/lib/openldap/bin/ldapwhoami target=../../../bin/openldapwhoami
-link path=usr/share/man/man1/ldapadd.1 target=../man1oldap/ldapadd.1oldap \
-    mediator=ldap mediator-implementation=openldap
-link path=usr/share/man/man1/ldapdelete.1 \
-    target=../man1oldap/ldapdelete.1oldap mediator=ldap \
-    mediator-implementation=openldap
-link path=usr/share/man/man1/ldapmodify.1 \
-    target=../man1oldap/ldapmodify.1oldap mediator=ldap \
-    mediator-implementation=openldap
-link path=usr/share/man/man1/ldapmodrdn.1 \
-    target=../man1oldap/ldapmodrdn.1oldap mediator=ldap \
-    mediator-implementation=openldap
-link path=usr/share/man/man1/ldapsearch.1 \
-    target=../man1oldap/ldapsearch.1oldap mediator=ldap \
-    mediator-implementation=openldap
+link path=usr/share/man/man1/ldapadd.1 target=../man1oldap/ldapadd.1oldap
+link path=usr/share/man/man1/ldapdelete.1 target=../man1oldap/ldapdelete.1oldap
+link path=usr/share/man/man1/ldapmodify.1 target=../man1oldap/ldapmodify.1oldap
+link path=usr/share/man/man1/ldapmodrdn.1 target=../man1oldap/ldapmodrdn.1oldap
+link path=usr/share/man/man1/ldapsearch.1 target=../man1oldap/ldapsearch.1oldap
 link path=usr/share/man/man1/openldapadd.1 target=../man1oldap/ldapadd.1oldap
 link path=usr/share/man/man1/openldapcompare.1 \
     target=../man1oldap/ldapcompare.1oldap
--- a/components/openldap/openldap-server.p5m	Mon May 16 17:05:06 2016 -0700
+++ b/components/openldap/openldap-server.p5m	Tue May 17 08:39:00 2016 -0700
@@ -75,6 +75,7 @@
     path=lib/svc/manifest/network/ldap/ldap-olslapd.xml
 file Solaris/ldap-olslapd path=lib/svc/method/ldap-olslapd
 file path=usr/include/openldap/slapi-plugin.h
+link path=usr/include/slapi-plugin.h target=openldap/slapi-plugin.h
 file usr/lib/$(MACH64)/slapd path=usr/lib/slapd mode=0555 \
     pkg.depend.bypass-generate=libsasl2.so.3
 link path=usr/sbin/slapacl target=../lib/slapd