Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Import OpenLDAP version 2.4.39. The list of changes since version 2.4.23

is too long to put here (over 650 lines of changelog).
  • Loading branch information...
commit 2f6d8c47fd54b4fdaf95dbd3182e1289a2ac6409 1 parent e7cfed6
tron authored
Showing with 37,338 additions and 41,692 deletions.
  1. +1 −1  external/bsd/openldap/dist/ANNOUNCEMENT
  2. +676 −0 external/bsd/openldap/dist/CHANGES
  3. +4 −4 external/bsd/openldap/dist/COPYRIGHT
  4. +12 −12 external/bsd/openldap/dist/INSTALL
  5. +3 −3 external/bsd/openldap/dist/Makefile.in
  6. +5 −5 external/bsd/openldap/dist/README
  7. +485 −399 external/bsd/openldap/dist/build/config.guess
  8. +318 −98 external/bsd/openldap/dist/build/config.sub
  9. +2 −2 external/bsd/openldap/dist/build/dir.mk
  10. +2 −2 external/bsd/openldap/dist/build/info.mk
  11. +2 −2 external/bsd/openldap/dist/build/lib-shared.mk
  12. +2 −2 external/bsd/openldap/dist/build/lib-static.mk
  13. +2 −2 external/bsd/openldap/dist/build/lib.mk
  14. +1 −1  external/bsd/openldap/dist/build/ltmain.sh
  15. +2 −2 external/bsd/openldap/dist/build/man.mk
  16. +1 −1  external/bsd/openldap/dist/build/missing
  17. +2 −2 external/bsd/openldap/dist/build/mkdep
  18. +1 −1  external/bsd/openldap/dist/build/mkdep.aix
  19. +10 −10 external/bsd/openldap/dist/build/mkrelease
  20. +2 −2 external/bsd/openldap/dist/build/mkvers.bat
  21. +4 −4 external/bsd/openldap/dist/build/mkversion
  22. +2 −2 external/bsd/openldap/dist/build/mod.mk
  23. +11 −4 external/bsd/openldap/dist/build/openldap.m4
  24. +2 −2 external/bsd/openldap/dist/build/rules.mk
  25. +2 −2 external/bsd/openldap/dist/build/srv.mk
  26. +2 −2 external/bsd/openldap/dist/build/top.mk
  27. +3 −3 external/bsd/openldap/dist/build/version.h
  28. +2 −2 external/bsd/openldap/dist/build/version.sh
  29. +8 −8 external/bsd/openldap/dist/build/version.var
  30. +2 −2 external/bsd/openldap/dist/clients/Makefile.in
  31. +2 −2 external/bsd/openldap/dist/clients/tools/Makefile.in
  32. +163 −68 external/bsd/openldap/dist/clients/tools/common.c
  33. +5 −3 external/bsd/openldap/dist/clients/tools/common.h
  34. +4 −6 external/bsd/openldap/dist/clients/tools/ldapcompare.c
  35. +4 −6 external/bsd/openldap/dist/clients/tools/ldapdelete.c
  36. +12 −12 external/bsd/openldap/dist/clients/tools/ldapexop.c
  37. +49 −37 external/bsd/openldap/dist/clients/tools/ldapmodify.c
  38. +5 −7 external/bsd/openldap/dist/clients/tools/ldapmodrdn.c
  39. +7 −14 external/bsd/openldap/dist/clients/tools/ldappasswd.c
  40. +95 −76 external/bsd/openldap/dist/clients/tools/ldapsearch.c
  41. +3 −3 external/bsd/openldap/dist/clients/tools/ldapurl.c
  42. +17 −21 external/bsd/openldap/dist/clients/tools/ldapwhoami.c
  43. +19,787 −33,700 external/bsd/openldap/dist/configure
  44. +80 −37 external/bsd/openldap/dist/configure.in
  45. +1 −0  external/bsd/openldap/dist/contrib/ConfigOIDs
  46. +1 −1  external/bsd/openldap/dist/contrib/README
  47. +4 −35 external/bsd/openldap/dist/contrib/ldapc++/COPYRIGHT
  48. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/Makefile.am
  49. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/Makefile.in
  50. +3,341 −4,526 external/bsd/openldap/dist/contrib/ldapc++/configure
  51. +4 −4 external/bsd/openldap/dist/contrib/ldapc++/configure.in
  52. +1 −1  external/bsd/openldap/dist/contrib/ldapc++/doxygen.rc
  53. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/examples/Makefile.am
  54. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/examples/Makefile.in
  55. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/examples/main.cpp
  56. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/examples/readSchema.cpp
  57. +9 −9 external/bsd/openldap/dist/contrib/ldapc++/examples/startTls.cpp
  58. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/examples/urlTest.cpp
  59. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAddRequest.cpp
  60. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAddRequest.h
  61. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAsynConnection.cpp
  62. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAsynConnection.h
  63. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAttrType.cpp
  64. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAttrType.h
  65. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAttribute.cpp
  66. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAttribute.h
  67. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAttributeList.cpp
  68. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAttributeList.h
  69. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPBindRequest.cpp
  70. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPBindRequest.h
  71. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPCompareRequest.cpp
  72. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPCompareRequest.h
  73. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPConnection.cpp
  74. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPConnection.h
  75. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPConstraints.cpp
  76. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPConstraints.h
  77. +3 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPControl.cpp
  78. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPControl.h
  79. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPControlSet.cpp
  80. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPControlSet.h
  81. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPDeleteRequest.cpp
  82. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPDeleteRequest.h
  83. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPEntry.cpp
  84. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPEntry.h
  85. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPEntryList.cpp
  86. +4 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPEntryList.h
  87. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPException.cpp
  88. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPException.h
  89. +1 −1  external/bsd/openldap/dist/contrib/ldapc++/src/LDAPExtRequest.cpp
  90. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPExtRequest.h
  91. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPExtResult.cpp
  92. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPExtResult.h
  93. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPMessage.cpp
  94. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPMessage.h
  95. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPMessageQueue.cpp
  96. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPMessageQueue.h
  97. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModDNRequest.cpp
  98. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModDNRequest.h
  99. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModList.cpp
  100. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModList.h
  101. +10 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModification.cpp
  102. +6 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModification.h
  103. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModifyRequest.cpp
  104. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPModifyRequest.h
  105. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPObjClass.cpp
  106. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPObjClass.h
  107. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPRebind.cpp
  108. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPRebind.h
  109. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPRebindAuth.cpp
  110. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPRebindAuth.h
  111. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPReferenceList.cpp
  112. +4 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPReferenceList.h
  113. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPRequest.cpp
  114. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPRequest.h
  115. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPResult.cpp
  116. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPResult.h
  117. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSaslBindResult.cpp
  118. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSaslBindResult.h
  119. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSchema.cpp
  120. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSchema.h
  121. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchReference.cpp
  122. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchReference.h
  123. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchRequest.cpp
  124. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchRequest.h
  125. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchResult.cpp
  126. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchResult.h
  127. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchResults.cpp
  128. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPSearchResults.h
  129. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPUrl.cpp
  130. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPUrl.h
  131. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPUrlList.cpp
  132. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LDAPUrlList.h
  133. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LdifReader.cpp
  134. +3 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LdifReader.h
  135. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/LdifWriter.cpp
  136. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/LdifWriter.h
  137. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/Makefile.am
  138. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/Makefile.in
  139. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/SaslInteraction.cpp
  140. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/SaslInteraction.h
  141. +3 −2 external/bsd/openldap/dist/contrib/ldapc++/src/SaslInteractionHandler.cpp
  142. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/SaslInteractionHandler.h
  143. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/src/StringList.cpp
  144. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/StringList.h
  145. +47 −6 external/bsd/openldap/dist/contrib/ldapc++/src/TlsOptions.cpp
  146. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/TlsOptions.h
  147. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/ac/time.h
  148. +3 −3 external/bsd/openldap/dist/contrib/ldapc++/src/debug.h
  149. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/version.sh
  150. +2 −2 external/bsd/openldap/dist/contrib/ldapc++/version.var
  151. +8 −0 external/bsd/openldap/dist/contrib/ldaptcl/COPYRIGHT
  152. +1 −1  external/bsd/openldap/dist/contrib/ldaptcl/Makefile.in
  153. +3,497 −762 external/bsd/openldap/dist/contrib/ldaptcl/configure
  154. +3 −1 external/bsd/openldap/dist/contrib/ldaptcl/configure.in
  155. +2 −2 external/bsd/openldap/dist/contrib/ldaptcl/neoXldap.c
  156. +2 −2 external/bsd/openldap/dist/contrib/ldaptcl/tkAppInit.c
  157. +5 −2 external/bsd/openldap/dist/contrib/slapd-modules/README
  158. +50 −0 external/bsd/openldap/dist/contrib/slapd-modules/acl/Makefile
  159. +32 −0 external/bsd/openldap/dist/contrib/slapd-modules/acl/README.gssacl
  160. +2 −4 external/bsd/openldap/dist/contrib/slapd-modules/acl/README.posixgroup
  161. +318 −0 external/bsd/openldap/dist/contrib/slapd-modules/acl/gssacl.c
  162. +12 −8 external/bsd/openldap/dist/contrib/slapd-modules/acl/posixgroup.c
  163. +42 −9 external/bsd/openldap/dist/contrib/slapd-modules/addpartial/Makefile
  164. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/addpartial/README
  165. +4 −10 external/bsd/openldap/dist/contrib/slapd-modules/addpartial/addpartial-overlay.c
  166. +46 −0 external/bsd/openldap/dist/contrib/slapd-modules/allop/Makefile
  167. +2 −4 external/bsd/openldap/dist/contrib/slapd-modules/allop/README
  168. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/allop/allop.c
  169. +2 −2 external/bsd/openldap/dist/contrib/slapd-modules/allop/slapo-allop.5
  170. +35 −23 external/bsd/openldap/dist/contrib/slapd-modules/allowed/Makefile
  171. +2 −4 external/bsd/openldap/dist/contrib/slapd-modules/allowed/README
  172. +21 −9 external/bsd/openldap/dist/contrib/slapd-modules/allowed/allowed.c
  173. +39 −13 external/bsd/openldap/dist/contrib/slapd-modules/autogroup/Makefile
  174. +39 −4 external/bsd/openldap/dist/contrib/slapd-modules/autogroup/README
  175. +590 −143 external/bsd/openldap/dist/contrib/slapd-modules/autogroup/autogroup.c
  176. +41 −11 external/bsd/openldap/dist/contrib/slapd-modules/cloak/Makefile
  177. +40 −21 external/bsd/openldap/dist/contrib/slapd-modules/cloak/cloak.c
  178. +2 −2 external/bsd/openldap/dist/contrib/slapd-modules/cloak/slapo-cloak.5
  179. +41 −38 external/bsd/openldap/dist/contrib/slapd-modules/comp_match/Makefile
  180. +46 −0 external/bsd/openldap/dist/contrib/slapd-modules/denyop/Makefile
  181. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/denyop/denyop.c
  182. +46 −0 external/bsd/openldap/dist/contrib/slapd-modules/dsaschema/Makefile
  183. +4 −6 external/bsd/openldap/dist/contrib/slapd-modules/dsaschema/README
  184. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/dsaschema/dsaschema.c
  185. +58 −0 external/bsd/openldap/dist/contrib/slapd-modules/dupent/Makefile
  186. +559 −0 external/bsd/openldap/dist/contrib/slapd-modules/dupent/dupent.c
  187. +46 −0 external/bsd/openldap/dist/contrib/slapd-modules/kinit/Makefile
  188. +36 −0 external/bsd/openldap/dist/contrib/slapd-modules/kinit/README
  189. +297 −0 external/bsd/openldap/dist/contrib/slapd-modules/kinit/kinit.c
  190. +56 −0 external/bsd/openldap/dist/contrib/slapd-modules/lastbind/Makefile
  191. +277 −0 external/bsd/openldap/dist/contrib/slapd-modules/lastbind/lastbind.c
  192. +97 −0 external/bsd/openldap/dist/contrib/slapd-modules/lastbind/slapo-lastbind.5
  193. +47 −0 external/bsd/openldap/dist/contrib/slapd-modules/lastmod/Makefile
  194. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/lastmod/lastmod.c
  195. +1 −1  external/bsd/openldap/dist/contrib/slapd-modules/lastmod/slapo-lastmod.5
  196. +58 −0 external/bsd/openldap/dist/contrib/slapd-modules/noopsrch/Makefile
  197. +257 −0 external/bsd/openldap/dist/contrib/slapd-modules/noopsrch/noopsrch.c
  198. +41 −18 external/bsd/openldap/dist/contrib/slapd-modules/nops/Makefile
  199. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nops/nops.c
  200. +1 −1  external/bsd/openldap/dist/contrib/slapd-modules/nops/slapo-nops.5
  201. +13 −11 external/bsd/openldap/dist/contrib/slapd-modules/nssov/Makefile
  202. +1 −1  external/bsd/openldap/dist/contrib/slapd-modules/nssov/README
  203. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/alias.c
  204. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/ether.c
  205. +4 −4 external/bsd/openldap/dist/contrib/slapd-modules/nssov/group.c
  206. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/host.c
  207. +2 −2 external/bsd/openldap/dist/contrib/slapd-modules/nssov/ldapns.schema
  208. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/netgroup.c
  209. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/network.c
  210. +9 −1 external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/README
  211. +4 −4 external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/attrs.h
  212. +8 −6 external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/nslcd-prot.h
  213. +18 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/nslcd.h
  214. +93 −73 external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/tio.c
  215. +10 −8 external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/tio.h
  216. +95 −25 external/bsd/openldap/dist/contrib/slapd-modules/nssov/nssov.c
  217. +7 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/nssov.h
  218. +229 −67 external/bsd/openldap/dist/contrib/slapd-modules/nssov/pam.c
  219. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/passwd.c
  220. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/protocol.c
  221. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/rpc.c
  222. +4 −4 external/bsd/openldap/dist/contrib/slapd-modules/nssov/service.c
  223. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/nssov/shadow.c
  224. +22 −9 external/bsd/openldap/dist/contrib/slapd-modules/nssov/slapo-nssov.5
  225. +48 −27 external/bsd/openldap/dist/contrib/slapd-modules/passwd/Makefile
  226. +17 −6 external/bsd/openldap/dist/contrib/slapd-modules/passwd/README
  227. +235 −0 external/bsd/openldap/dist/contrib/slapd-modules/passwd/apr1.c
  228. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/passwd/kerberos.c
  229. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/passwd/netscape.c
  230. +8 −3 external/bsd/openldap/dist/contrib/slapd-modules/passwd/radius.c
  231. +41 −9 external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/Makefile
  232. +28 −32 external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/README
  233. +9 −9 external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/sha2.c
  234. +23 −4 external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/sha2.h
  235. +387 −160 external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/slapd-sha2.c
  236. +38 −24 external/bsd/openldap/dist/contrib/slapd-modules/proxyOld/Makefile
  237. +1 −1  external/bsd/openldap/dist/contrib/slapd-modules/proxyOld/README
  238. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/proxyOld/proxyOld.c
  239. +29 −37 external/bsd/openldap/dist/contrib/slapd-modules/samba4/Makefile
  240. +3 −2 external/bsd/openldap/dist/contrib/slapd-modules/samba4/README
  241. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/samba4/pguid.c
  242. +6 −9 external/bsd/openldap/dist/contrib/slapd-modules/samba4/rdnval.c
  243. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/samba4/vernum.c
  244. +32 −22 external/bsd/openldap/dist/contrib/slapd-modules/smbk5pwd/Makefile
  245. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/smbk5pwd/README
  246. +100 −8 external/bsd/openldap/dist/contrib/slapd-modules/smbk5pwd/smbk5pwd.c
  247. +46 −0 external/bsd/openldap/dist/contrib/slapd-modules/trace/Makefile
  248. +3 −3 external/bsd/openldap/dist/contrib/slapd-modules/trace/trace.c
  249. +1 −1  external/bsd/openldap/dist/contrib/slapd-tools/README
  250. +2 −2 external/bsd/openldap/dist/contrib/slapd-tools/statslog
  251. +1 −1  external/bsd/openldap/dist/contrib/slapi-plugins/addrdnvalues/README
  252. +3 −3 external/bsd/openldap/dist/contrib/slapi-plugins/addrdnvalues/addrdnvalues.c
  253. +2 −2 external/bsd/openldap/dist/doc/Makefile.in
  254. +1 −1  external/bsd/openldap/dist/doc/devel/README
  255. +2 −2 external/bsd/openldap/dist/doc/devel/args
  256. +2 −2 external/bsd/openldap/dist/doc/devel/template.c
  257. +2 −2 external/bsd/openldap/dist/doc/devel/todo
  258. +1 −1  external/bsd/openldap/dist/doc/devel/toolargs
  259. +1 −1  external/bsd/openldap/dist/doc/drafts/README
  260. +728 −0 external/bsd/openldap/dist/doc/drafts/draft-chu-ldap-ldapi-xx.txt
  261. +952 −0 external/bsd/openldap/dist/doc/drafts/draft-chu-ldap-xordered-xx.txt
  262. +714 −0 external/bsd/openldap/dist/doc/drafts/draft-zeilenga-ldap-c-api-concurrency-xx.txt
  263. +0 −1  external/bsd/openldap/dist/doc/guide/README
  264. +6 −2 external/bsd/openldap/dist/doc/guide/admin/Makefile
  265. +2 −2 external/bsd/openldap/dist/doc/guide/admin/README.spellcheck
  266. +2 −2 external/bsd/openldap/dist/doc/guide/admin/abstract.sdf
  267. +125 −124 external/bsd/openldap/dist/doc/guide/admin/access-control.sdf
  268. +2 −2 external/bsd/openldap/dist/doc/guide/admin/admin.sdf
  269. +3 −3 external/bsd/openldap/dist/doc/guide/admin/appendix-changes.sdf
  270. +8 −7 external/bsd/openldap/dist/doc/guide/admin/appendix-common-errors.sdf
  271. +2 −2 external/bsd/openldap/dist/doc/guide/admin/appendix-configs.sdf
  272. +2 −2 external/bsd/openldap/dist/doc/guide/admin/appendix-contrib.sdf
  273. +2 −2 external/bsd/openldap/dist/doc/guide/admin/appendix-deployments.sdf
  274. +2 −2 external/bsd/openldap/dist/doc/guide/admin/appendix-ldap-result-codes.sdf
  275. +6 −2 external/bsd/openldap/dist/doc/guide/admin/appendix-recommended-versions.sdf
  276. +2 −2 external/bsd/openldap/dist/doc/guide/admin/appendix-upgrading.sdf
  277. +4 −2 external/bsd/openldap/dist/doc/guide/admin/aspell.en.pws
  278. +48 −7 external/bsd/openldap/dist/doc/guide/admin/backends.sdf
  279. +2 −2 external/bsd/openldap/dist/doc/guide/admin/config.sdf
  280. +2 −2 external/bsd/openldap/dist/doc/guide/admin/dbtools.sdf
  281. +2 −2 external/bsd/openldap/dist/doc/guide/admin/glossary.sdf
  282. +487 −200 external/bsd/openldap/dist/doc/guide/admin/guide.html
  283. +2 −2 external/bsd/openldap/dist/doc/guide/admin/guide.sdf
  284. +2 −2 external/bsd/openldap/dist/doc/guide/admin/index.sdf
  285. +18 −20 external/bsd/openldap/dist/doc/guide/admin/install.sdf
  286. +4 −3 external/bsd/openldap/dist/doc/guide/admin/intro.sdf
  287. +2 −2 external/bsd/openldap/dist/doc/guide/admin/limits.sdf
  288. +2 −2 external/bsd/openldap/dist/doc/guide/admin/maintenance.sdf
  289. +2 −2 external/bsd/openldap/dist/doc/guide/admin/master.sdf
  290. +2 −2 external/bsd/openldap/dist/doc/guide/admin/monitoringslapd.sdf
  291. +55 −20 external/bsd/openldap/dist/doc/guide/admin/overlays.sdf
  292. +10 −3 external/bsd/openldap/dist/doc/guide/admin/preface.sdf
  293. +2 −2 external/bsd/openldap/dist/doc/guide/admin/quickstart.sdf
  294. +2 −2 external/bsd/openldap/dist/doc/guide/admin/referrals.sdf
  295. +11 −11 external/bsd/openldap/dist/doc/guide/admin/replication.sdf
  296. +24 −3 external/bsd/openldap/dist/doc/guide/admin/runningslapd.sdf
  297. +43 −5 external/bsd/openldap/dist/doc/guide/admin/sasl.sdf
  298. +2 −2 external/bsd/openldap/dist/doc/guide/admin/schema.sdf
  299. +2 −18 external/bsd/openldap/dist/doc/guide/admin/security.sdf
  300. +124 −67 external/bsd/openldap/dist/doc/guide/admin/slapdconf2.sdf
Sorry, we could not display the entire diff because too many files (1,268) changed.
2  external/bsd/openldap/dist/ANNOUNCEMENT
View
@@ -106,6 +106,6 @@ SUPPORTED PLATFORMS
---
OpenLDAP is a registered trademark of the OpenLDAP Foundation.
-Copyright 1999-2010 The OpenLDAP Foundation, Redwood City,
+Copyright 1999-2014 The OpenLDAP Foundation, Redwood City,
California, USA. All Rights Reserved. Permission to copy and
distribute verbatim copies of this document is granted.
676 external/bsd/openldap/dist/CHANGES
View
@@ -1,5 +1,681 @@
OpenLDAP 2.4 Change Log
+OpenLDAP 2.4.39 Release (2014/01/26)
+ Fixed libldap MozNSS crash (ITS#7783)
+ Fixed libldap memory leak with SASL (ITS#7757)
+ Fixed libldap assert in parse_passwdpolicy_control (ITS#7759)
+ Fixed libldap shortcut NULL RDNs (ITS#7762)
+ Fixed libldap deref to use correct control
+ Fixed liblmdb keysizes with mdb_update_key (ITS#7756)
+ Fixed slapd cn=config olcDbConfig modification (ITS#7750)
+ Fixed slapd-bdb/hdb to bail out of search if config is paused (ITS#7761)
+ Fixed slapd-bdb/hdb indexing issue with derived attributes (ITS#7778)
+ Fixed slapd-mdb to bail out of search if config is paused (ITS#7761)
+ Fixed slapd-mdb indexing issue with derived attributes (ITS#7778)
+ Fixed slapd-perl to bail out of search if config is paused (ITS#7761)
+ Fixed slapd-sql to bail out of search if config is paused (ITS#7761)
+ Fixed slapo-constraint handling of softadd/softdel (ITS#7773)
+ Fixed slapo-syncprov assert with findbase (ITS#7749)
+ Build Environment
+ Test suite: Use $(MAKE) for tests (ITS#7753)
+ Documentation
+ admin24 fix TLSDHParamFile to be correct (ITS#7684)
+
+OpenLDAP 2.4.38 Release (2013/11/16)
+ Fixed liblmdb nordahead flag (ITS#7734)
+ Fixed liblmdb to check cursor index before cursor_del (ITS#7733)
+ Fixed liblmdb wasted space on split (ITS#7589)
+ Fixed slapd for certs with a NULL issuerDN (ITS#7746)
+ Fixed slapd cn=config with empty nested includes (ITS#7739)
+ Fixed slapd syncrepl memory leak with delta-sync MMR (ITS#7735)
+ Fixed slapd-bdb/hdb to stop processing on dn not found (ITS#7741)
+ Fixed slapd-bdb/hdb with indexed ANDed filters (ITS#7743)
+ Fixed slapd-mdb to stop processing on dn not found (ITS#7741)
+ Fixed slapd-mdb dangling reader (ITS#7662)
+ Fixed slapd-mdb matching rule for OlcDbEnvFlags (ITS#7737)
+ Fixed slapd-mdb with indexed ANDed filters (ITS#7743)
+ Fixed slapd-meta from blocking other threads (ITS#7740)
+ Fixed slapo-syncprov assert with findbase (ITS#7749)
+
+OpenLDAP 2.4.37 Release (2013/10/27)
+ Added liblmdb nordahead environment flag (ITS#7725)
+ Fixed client tools CLDAP with IPv6 (ITS#7695)
+ Fixed libldap CLDAP with IPv6 (ITS#7695)
+ Fixed libldap lock ordering with abandon op (ITS#7712)
+ Fixed liblmdb segfault with mdb_cursor_del (ITS#7718)
+ Fixed liblmdb when converting to writemap (ITS#7715)
+ Fixed liblmdb assert on MDB_NEXT with delete (ITS#7722)
+ Fixed liblmdb wasted space on split (ITS#7589)
+ Fixed slapd cn=config with olcTLSProtocolMin (ITS#7685)
+ Fixed slapd-bdb/hdb optimize index updates (ITS#7329)
+ Fixed slapd-ldap chaining with cn=config (ITS#7381, ITS#7434)
+ Fixed slapd-ldap chaning with controls (ITS#7687)
+ Fixed slapd-mdb optimize index updates (ITS#7329)
+ Fixed slapd-meta chaining with cn=config (ITS#7381, ITS#7434)
+ Fixed slapo-constraint to no-op on nonexistent entries (ITS#7692)
+ Fixed slapo-dds assert on startup (ITS#7699)
+ Fixed slapo-memberof to not replicate internal ops (ITS#7710)
+ Fixed slapo-refint to not replicate internal ops (ITS#7710)
+ Build Environment
+ Fixed slapd-mdb ptr arithmetic on void *s (ITS#7720)
+ Documentation
+ ldapsearch(1) minor typo fix (ITS#7680)
+ slapd-passwd(5) minor typo fix (ITS#7680)
+
+OpenLDAP 2.4.36 Release (2013/08/17)
+ Added back-meta target filter patterns (ITS#7609)
+ Added liblmdb mdb_txn_env to API (ITS#7660)
+ Fixed libldap CLDAP with uninit'd memory (ITS#7582)
+ Fixed libldap with UDP (ITS#7583)
+ Fixed libldap OpenSSL TLS versions (ITS#7645)
+ Fixed liblmdb MDB_PREV behavior (ITS#7556)
+ Fixed liblmdb transaction issues (ITS#7515)
+ Fixed liblmdb mdb_drop overflow page return (ITS#7561)
+ Fixed liblmdb nested split (ITS#7592)
+ Fixed liblmdb overflow page behavior (ITS#7620)
+ Fixed liblmdb race condition with read and write txns (ITS#7635)
+ Fixed liblmdb mdb_del behavior with MDB_DUPSORT and mdb_del (ITS#7658)
+ Fixed slapd cn=config with unknown schema elements (ITS#7608)
+ Fixed slapd cn=config with loglevel 0 (ITS#7611)
+ Fixed slapd slapi filterlist free behavior (ITS#7636)
+ Fixed slapd slapi control free behavior (ITS#7641)
+ Fixed slapd schema countryString as directoryString (ITS#7659)
+ Fixed slapd schema telephoneNumber as directoryString (ITS#7659)
+ Fixed slapd-bdb/hdb to wait for read locks in tool mode (ITS#6365)
+ Fixed slapd-mdb behavior with alias dereferencing (ITS#7577)
+ Fixed slapd-mdb modrdn and base-scoped searches (ITS#7604)
+ Fixed slapd-mdb refcount behavior (ITS#7628)
+ Fixed slapd-meta binding flag is set (ITS#7524)
+ Fixed slapd-meta with minimal config (ITS#7581)
+ Fixed slapd-meta missing results messages (ITS#7591)
+ Added slapd-meta TCP keepalive support (ITS#7513)
+ Fixed slapo-sssvlv double free (ITS#7588)
+ Fixed slaptest to list -Q option (ITS#7568)
+ Build Environment
+ Fixed slapd-meta declaration warnings (ITS#7654)
+ Contrib
+ Fixed nssov group enumeration bug (ITS#7569)
+ Fixed autogroup when URI has no attrs (ITS#7580)
+ Documentation
+ admin24 Update database backend notes (ITS#7590)
+ ldap.conf(5) fixed typos (ITS#7568)
+ ldapmodify(1) remove replog reference (ITS#7562)
+ ldif(5) remove replog reference (ITS#7562)
+ slapd-config(5) remove replog reference (ITS#7562)
+ slapd.conf(5) remove replog reference (ITS#7562)
+ slapd-config(5) document TLSProtocolMin (ITS#5655,ITS#7645)
+ slapd.conf(5) document TLSProtocolMin (ITS#5655,ITS#7645)
+
+OpenLDAP 2.4.35 Release (2013/03/31)
+ Fixed liblmdb mdb_cursor_put with MDB_MULTIPLE (ITS#7551)
+ Fixed liblmdb page rebalance (ITS#7536)
+ Fixed liblmdb missing parens (ITS#7377)
+ Fixed liblmdb mdb_cursor_del crash (ITS#7553)
+ Fixed slapd syncrepl updateCookie status (ITS#7531)
+ Fixed slapd connection logging (ITS#7543)
+ Fixed slapd segfault on modify (ITS#7542, ITS#7432)
+ Fixed slapd-mdb to reject undefined attrs (ITS#7540)
+ Fixed slapo-pcache with +/- attrsets (ITS#7552)
+ Build Environment
+ don't install DB_CONFIG if no BDB backends (ITS#7533)
+ Documentation
+ slapschema(8) fix tool name (ITS#7534)
+ admin24 fixed pcache example (ITS#7546)
+ admin24 fixed config examples (ITS#7522)
+
+OpenLDAP 2.4.34 Release (2013/03/01)
+ Fixed libldap connections with EINTR (ITS#7476)
+ Fixed libldap lineno overflow in ldif_read_record (ITS#7497)
+ Fixed liblmdb mdb_env_open flag handling (ITS#7453)
+ Fixed liblmdb mdb_midl_sort array optimization (ITS#7432)
+ Fixed liblmdb freelist with large entries (ITS#7455)
+ Fixed liblmdb to check for filled dirty page list (ITS#7491)
+ Fixed liblmdb to validate data limits (ITS#7485)
+ Fixed liblmdb mdb_update_key for large keys (ITS#7505)
+ Fixed ldapmodify to not core dump with invalid LDIF (ITS#7477)
+ Fixed slapd syncrepl for old entries in MMR setup (ITS#7427)
+ Fixed slapd signedness for index_substr_any_* (ITS#7449)
+ Fixed slapd enforce SLAPD_MAX_DAEMON_THREADS (ITS#7450)
+ Fixed slapd mutex in send_ldap_ber (ITS#6164)
+ Added slapd-ldap onerr option (ITS#7492)
+ Added slapd-ldap keepalive support (ITS#7501)
+ Fixed slapd-ldif with empty dir (ITS#7451)
+ Fixed slapd-mdb to reopen attr DBs after env reopen (ITS#7416)
+ Fixed slapd-mdb handling of missing entries (ITS#7483,7496)
+ Fixed slapd-mdb environment flag setting (ITS#7452)
+ Fixed slapd-mdb with sub db slapcat (ITS#7469)
+ Fixed slapd-mdb to correctly work with toolthreads > 2 (ITS#7488,ITS#7527)
+ Fixed slapd-mdb subtree search speed (ITS#7473)
+ Fixed slapd-meta conversion to cn=config (ITS#7525)
+ Fixed slapd-meta segfault when modifying olcDbUri (ITS#7526)
+ Fixed slapd-sql back-config support (ITS#7499)
+ Fixed slapo-constraint handle uri and restrict correctly (ITS#7418)
+ Fixed slapo-constraint with multi-master replication (ITS#7426)
+ Fixed slapo-constraint segfault (ITS#7431)
+ Fixed slapo-deref control initialization (ITS#7436)
+ Fixed slapo-deref control exposure (ITS#7445)
+ Fixed slapo-memberof with internal ops (ITS#7487)
+ Fixed slapo-pcache matching rules for config db (ITS#7459)
+ Fixed slapo-rwm modrdn cleanup (ITS#7414)
+ Fixed slapo-sssvlv maxperconn parameter (ITS#7484)
+ Build Environment
+ Fixed slapo-constraint test suite (ITS#7423)
+ Contrib
+ Added nssov nssov_config support (ITS#7518)
+ Added nssov password_prohibit_message (ITS#7518)
+ Fixed ldapc++ with gcc-4.7 (ITS#7281,ITS#7304)
+ Fixed nssov olcNssPamSession handling (ITS#7481)
+ Fixed nssov connection DN (ITS#7518)
+ Add missing Makefile for various modules (ITS#7308)
+ Unify Makefile structure for modules (ITS#7309)
+ Fixed slapo-allowed attribute replication (ITS#7493)
+ Fixed slapo-passwd SHA2 to correctly zero buffer (ITS#7490)
+ Documentation
+ ldapurl(1) fix example usage (ITS#7454)
+ ldap_get_option(3) fixed trailing whitespace (ITS#7411)
+ slapd-config(5) olcExtraAttrs is per db (ITS#7421)
+ slapd-overlays(5) update manpage index (ITS#7489)
+ slapo-dynlist(5) Search behavior notes (ITS#7486)
+ slapo-valsort(5) Document valsort control syntax (ITS#7523)
+
+OpenLDAP 2.4.33 Release (2012/10/10)
+ Added slapd-meta cn=config support
+ Fixed libldap MozNSS slot picking (ITS#7359)
+ Fixed libldap MozNSS with tokenname:certnickname format (ITS#7360)
+ Fixed liblmdb POSIX semaphore cleanup on environment close (ITS#7364)
+ Fixed liblmdb mdb_page_split (ITS#7385, ITS#7229)
+ Fixed slapd alock handling on Windows (ITS#7361)
+ Fixed slapd acl handling with zero-length values (ITS#7350)
+ Fixed slapd syncprov to not reference ops inside a lock (ITS#7172)
+ Fixed slapd delta-syncrepl MMR with large attribute values (ITS#7354)
+ Fixed slapd slapd_rw_destroy function (ITS#7390)
+ Fixed slapd-ldap idassert bind handling (ITS#7403)
+ Fixed slapd-mdb slapadd -q -w double free (ITS#7356)
+ Fixed slapd-mdb to close read txn in reindex commit (ITS#7386)
+ Fixed slapo-constraint with multiple modifications (ITS#7168)
+ Build Environment
+ Fixed build with Visual Studio (ITS#7358)
+ Fixed liblmdb posix semaphore use on BSD system (ITS#7363)
+ Add slapo-constraint test suite (ITS#7344, ITS#7366)
+ Contrib
+ Updated radius passwd module for NAS-Identifier (ITS#7357)
+ Documentation
+ slapo-refint(5) Note that refint is not replicated (ITS#7405)
+
+OpenLDAP 2.4.32 Release (2012/07/31)
+ Added slappasswd loadable module support (ITS#7284)
+ Fixed tools to not clobber SASL_NOCANON (ITS#7271)
+ Fixed libldap function declarations (ITS#7293)
+ Fixed libldap double free (ITS#7270)
+ Fixed libldap debug level setting (ITS#7290)
+ Fixed libldap MozNSS PEM/certdb handling (ITS#7276)
+ Fixed libldap MozNSS cipher suite selection (ITS#7285)
+ Fixed libldap MozNSS error handling (ITS#7287)
+ Fixed libldap MozNSS cipher suite being ignored (ITS#7289)
+ Fixed libldap MozNSS infinite loop (ITS#7291)
+ Fixed libldap MozNSS context token for certdb (ITS#7312)
+ Fixed libldap MozNSS store certificate object (ITS#7313)
+ Fixed libldap MozNSS fix init and cleanup (ITS#7314)
+ Fixed libldap MozNSS slot and pin usage (ITS#7315)
+ Fixed libldap MozNSS to avoid infinite loop (ITS#7316)
+ Fixed libldap MozNSS untrusted issuer error (ITS#7331)
+ Fixed libldap gettime() regression (ITS#6262)
+ Fixed libldap sasl handling (ITS#7118, ITS#7133)
+ Fixed libldap to correctly free socket with TLS (ITS#7241)
+ Fixed liblmdb leaf node handling (ITS#7266)
+ Fixed liblmdb mutexes on Apple/Windows (ITS#7251)
+ Fixed slapd config index renumbering (ITS#6987)
+ Fixed slapd duplicate error response (ITS#7076)
+ Fixed slapd parsing of PermissiveModify control (ITS#7298)
+ Fixed slapd-bdb/hdb cache hang under high load (ITS#7222)
+ Fixed slapd-bdb/hdb alias checking (ITS#7303)
+ Fixed slapd-bdb/hdb olcDbConfig changes work immediately (ITS#7338)
+ Fixed slapd-ldap to encode user DN during password change (ITS#7319)
+ Fixed slapd-ldap assertion when proxying to MS AD (ITS#6851)
+ Fixed slapd-ldap monitoring (ITS#7182, ITS#7225)
+ Fixed slapd-mdb with tool mode (ITS#7255)
+ Fixed slapd-mdb with approx indexing (ITS#7279)
+ Fixed slapd-mdb dn2id delete (ITS#7302)
+ Fixed slapd-mdb memory leak in online indexer (ITS#7323)
+ Fixed slapd-mdb db corruption when hitting maxsize (ITS#7337)
+ Fixed slapd-mdb aborts with online indexing (ITS#7339)
+ Fixed slapd-perl panic (ITS#7325)
+ Fixed slapo-accesslog memory leaks with sync replication (ITS#7292)
+ Fixed slapo-syncprov memory leaks with sync replication (ITS#7292)
+ Fixed contrib/smbk5pwd to not compile with MozNSS (ITS#7327)
+ Fixed contrib/sha2 portability (ITS#7267)
+ Fixed contrib/sha2 thread safety (ITS#7269)
+ Added contrib/sha2 {SSHA256}, {SSHA384}, {SSHA512} support (ITS#7278)
+ Build Environment
+ Fixed test057 timing issues (ITS#7317)
+ Fixed compilation with MS Visual Studio (ITS#7332)
+ Contrib
+ Added slapi_[get|free]_client_ip() (ITS#7305)
+ Documentation
+ slapo-sssvlv Added note about criticality (ITS#7253)
+ admin24 Fix peername.regex typo (ITS#7282)
+ Fixed slapd-config file include example (ITS#7318)
+ slapd-ldap(5) Reference RFC4526 (ITS#7294)
+ slapd-meta(5) Reference RFC4526 (ITS#7294)
+
+OpenLDAP 2.4.31 Release (2012/04/21)
+ Added slapo-accesslog support for reqEntryUUID (ITS#6656)
+ Fixed libldap IPv6 URL detection (ITS#7194)
+ Fixed libldap rebinding on failed connection (ITS#7207)
+ Fixed liblmdb alignment of MDB_db members (ITS#7191)
+ Fixed liblmdb branch page merging on deletes (ITS#7190)
+ Fixed liblmdb page split with MDB_APPEND (ITS#7213)
+ Fixed liblmdb free page usage with entry deletion (ITS#7210)
+ Fixed liblmdb to use IOV_MAX if it is defined and small (ITS#7196)
+ Fixed liblmdb key alignment (ITS#7219)
+ Fixed liblmdb mdb_page_split (ITS#7229)
+ Fixed liblmdb with zero length IDLs (ITS#7230)
+ Fixed slapd listener initialization (ITS#7233)
+ Fixed slapd cn=config with olcTLSVerifyClient (ITS#7197)
+ Fixed slapd delta-syncrepl fallback on non-leaf error (ITS#7195)
+ Fixed slapd to reject MMR setups with bad serverID setting (ITS#7200)
+ Fixed slapd approxIndexer key generation (ITS#7203)
+ Fixed slapd modification of olcSuffix (ITS#7205)
+ Fixed slapd schema validation with missing definitions (ITS#7224)
+ Fixed slapd syncrepl -c with supplied CSN values (ITS#7245)
+ Fixed slapd-bdb/hdb idlcache with only one element (ITS#7231)
+ Fixed slapd-perl modify with binary values (ITS#7149)
+ Fixed slapd-shell cn=config support (ITS#7201)
+ Fixed slapd-shell modify with binary values (ITS#7149)
+ Fixed slapo-accesslog deadlock with non-logged write ops (ITS#7088)
+ Fixed slapo-syncprov sessionlog check (ITS#7218)
+ Fixed slapo-syncprov entry leak (ITS#7234)
+ Fixed slapo-syncprov startup initialization (ITS#7235)
+ Build Environment
+ Fixed test022 to check ldapsearch results (ITS#7228)
+ Fixed test044 when back-monitor is disabled (ITS#7204)
+ Documentation
+ Fixed slapschema(8) formatting (ITS#7188)
+ Fixed limdb functionality documentation (ITS#7238)
+ Fixed ldap_get_option(3) note inheritance behavior (ITS#7240)
+
+OpenLDAP 2.4.30 Release (2012/02/29)
+ Fixed libldap socket polling for writes (ITS#7167)
+ Fixed liblutil string modifications (ITS#7174)
+ Fixed slapd crash when attrsOnly is true (ITS#7143)
+ Fixed slapd syncrepl delete handling (ITS#7052,ITS#7162)
+ Fixed slapd-mdb slapadd with -q (ITS#7170)
+ Fixed slapd-mdb slapadd with -w (ITS#7180)
+ Fixed slapd-mdb slapindex with -q and -t (ITS#7176)
+ Fixed slapo-pcache time-to-refesh handling (ITS#7178)
+ Fixed slapo-syncprov loop detection (ITS#6024)
+ Build Environment
+ Fixed POSIX make support (ITS#7160)
+ Fixed slapd-mdb build on POSIX (ITS#7160)
+ Documentation
+ Added option "-o" to ldap*(1) pages (ITS#7152)
+ Fixed ldap*(1) page cleanup (ITS#7177)
+ Fixed ldap_modify(3) prototypes (ITS#7173)
+
+OpenLDAP 2.4.29 Release (2012/02/12)
+ Fixed libldap MozNSS deferred initialization handling (ITS#7136)
+ Fixed libldap MozNSS with TLSCertificateKeyFile not set (ITS#7135)
+ Fixed slapd cn=config modification of first schema element (ITS#7098)
+ Fixed slapd operation reuse (ITS#7107)
+ Fixed slapd blocked writers to not interfere with pool pause (ITS#7115)
+ Fixed slapd connection loop connindex usage (ITS#7131)
+ Fixed slapd double mutex unlock via connection_done (ITS#7125)
+ Fixed slapd check order in connection_write (ITS#7113)
+ Fixed slapd slapadd to exit on failure (ITS#7142)
+ Fixed slapd syncrepl reference to freed memory (ITS#7127,ITS#7132)
+ Fixed slapd syncrepl to ignore some errors on delete (ITS#7052)
+ Fixed slapd syncrepl to handle missing oldRDN (ITS#7144)
+ Fixed slapd-mdb to handle overlays in tool mode (ITS#7099)
+ Fixed slapd-mdb segfaults with page splits (ITS#7121)
+ Fixed slapd-mdb cleanup on transaction abort (ITS#7140)
+ Fixed slapd-mdb with attribute descriptions (ITS#7146)
+ Fixed slapd-meta to correctly handle multiple targets (ITS#7050)
+ Fixed slapd-monitor compare op to update cached entry (ITS#7123)
+ Fixed slapd-perl initialization (ITS#7075)
+ Fixed slapd-sql to properly initialize be_cf_ocs (ITS#7158)
+ Fixed slapo-dds to properly exit when in tool mode (ITS#7099)
+ Fixed slapo-rwm not leave empty lots with normalized attrs (ITS#7143)
+ Fixed slapo-syncprov with already abandoned operation (ITS#7150)
+ Fixed contrib/smbk5pwd uninitialized keys in shadowLastChange (ITS#7138)
+ Build Environment
+ Fixed ldapsearch build on windows (ITS#7156)
+ Fixed test001 to skip back-ldif (ITS#7101)
+ Documentation
+ admin24 Fix typo (ITS#7117)
+
+OpenLDAP 2.4.28 Release (2011/11/26)
+ Fixed back-mdb out of order slapadd (ITS#7090)
+
+OpenLDAP 2.4.27 Release (2011/11/24)
+ Added libldap support for draft-wahl-ldap-session (ITS#6984)
+ Added slapd support for draft-wahl-ldap-session (ITS#6984)
+ Added slapadd pipelining capability (ITS#7078)
+ Added slapd Add-if-not-present (ITS#6561)
+ Added slapd delta-syncrepl MMR (ITS#6734,ITS#7029,ITS#7031)
+ Added slapd-mdb experimental backend (ITS#7079)
+ Added slapd-passwd dynamic config support
+ Added slapd-perl dynamic config support
+ Added slapd-shell dynamic config support
+ Added slapd-sock support as an overlay (ITS#6666)
+ Added slapd-sql dynamic config support
+ Added contrib/passwd APR1 support (ITS#6826)
+ Fixed slapi linking on AIX (ITS#3272)
+ Fixed ldapmodify crash with LDIF controls (ITS#7039)
+ Fixed ldapsearch to honor timeout and timelimit (ITS#7009)
+ Fixed libldap endless looping (ITS#7035)
+ Fixed libldap TLS to not check hostname when using 'allow' (ITS#7014)
+ Fixed libldap GnuTLS cert dn parse (ITS#7051)
+ Fixed libldap MozNSS correctly destroy SSL_PeerCertificate (ITS#6980)
+ Fixed libldap MozNSS with issuer expiration and verify never (ITS#6998)
+ Fixed libldap MozNSS memory leak (ITS#7001)
+ Fixed libldap MozNSS allow/try behavior (ITS#7002)
+ Fixed libldap MozNSS to be thread safe (ITS#7022)
+ Fixed libldap MozNSS SSL_ForceHandshake to use a mutex (ITS#7034)
+ Fixed libldap MozNSS with wildcard certs (ITS#7006)
+ Fixed liblutil MD5 initialization (ITS#6982)
+ Fixed slapadd common code into slapcommon (ITS#6737)
+ Fixed slapd backend connection initialization (ITS#6993)
+ Fixed slapd frontend DB parsing in cn=config (ITS#7016)
+ Fixed slapd hang with {numbered} overlay insertion (ITS#7030)
+ Fixed slapd inet_ntop usage (ITS#6925)
+ Fixed slapd cn=config deletion of bitmasks (ITS#7083)
+ Fixed slapd cn=config modify replace/delete crash (ITS#7065)
+ Fixed slapd schema UTF8StringNormalize with 0 length values (ITS#7059)
+ Fixed slapd with dynamic acls for cn=config (ITS#7066)
+ Fixed slapd response callbacks (ITS#6059,ITS#7062)
+ Fixed slapd no_connection warnings with ldapi (ITS#6548,ITS#7092)
+ Fixed slapd return code processing (ITS#7060)
+ Fixed slapd sl_malloc various issues (ITS#6437)
+ Fixed slapd startup behavior (ITS#6848)
+ Fixed slapd syncrepl crash with non-replicated ops (ITS#6892)
+ Fixed slapd syncrepl with modrdn (ITS#7000,ITS#6472)
+ Fixed slapd syncrepl timeout when using refreshAndPersist (ITS#6999)
+ Fixed slapd syncrepl deletes need a non-empty CSN (ITS#7052)
+ Fixed slapd syncrepl glue for empty suffix (ITS#7037)
+ Fixed slapd results cleanup (ITS#6763,ITS#7053)
+ Fixed slapd validation of args for TLSCertificateFile (ITS#7012)
+ Fixed slapd-bdb/hdb to build entry DN based on parent DN (ITS#5326)
+ Fixed slapd-hdb with zero-length entries (ITS#7073)
+ Fixed slapd-hdb duplicate entries in subtree IDL cache (ITS#6983)
+ Fixed slapo-constraint conversion to back-config (ITS#6986)
+ Fixed slapo-dds tag in refresh response (ITS#6886)
+ Fixed slapo-dds TTL tolerance (ITS#7017)
+ Fixed slapo-lastbind so authTimestamp is manageable (ITS#6873)
+ Fixed slapo-pcache response cleanup (ITS#6981)
+ Fixed slapo-ppolicy pwdAllowUserChange behavior (ITS#7021)
+ Fixed slapo-sssvlv issue with greaterThanorEqual (ITS#6985)
+ Fixed slapo-sssvlv to only return requested attrs (ITS#7061)
+ Fixed slapo-syncprov DSA attribute filtering for Persist mode (ITS#7019)
+ Fixed slapo-syncprov when consumer has newer state of our SID (ITS#7040)
+ Fixed slapo-syncprov crash (ITS#7025)
+ Fixed slapo-unique URI checking of "host" portion (ITS#7018)
+ Fixed contrib/autogroup double-free (ITS#6972)
+ Fixed contrib/smbk5pwd cn=config deletion of bitmasks (ITS#7083)
+ Fixed contrib/smbk5pwd on 64-bit systems (ITS#7082)
+ Build Environment
+ Added missing LDIF form of schema files (ITS#7063)
+ Fixed build for Solaris native compilers (ITS#6992)
+ Fixed creation and installation of slapd.ldif (ITS#7015)
+ Fixed libnet linking (ITS#7071)
+ Documentation
+ admin24 Fix table numbering (ITS#7003)
+ slapd.conf(5) Fixed TLSCACertificateFile information (ITS#7023)
+ ldapmodify(1) Fixed minor typo in -S option description (ITS#7086)
+ ldap_sync(3) Document ldap_sync_destroy (ITS#7028)
+ slapo-unique(5) Fix keyword quoting (ITS#7028)
+
+OpenLDAP 2.4.26 Release (2011/06/30)
+ Added libldap LDAP_OPT_X_TLS_PACKAGE (ITS#6969)
+ Fixed libldap MozNSS with CACertDir (ITS#6975)
+ Fixed libldap MozNSS with PR_SetEnv (ITS#6862)
+ Fixed libldap descriptor leak (ITS#6929)
+ Fixed libldap socket leak (ITS#6930)
+ Fixed libldap get option crash (ITS#6931)
+ Fixed libldap lockup (ITS#6898)
+ Fixed libldap ASYNC TLS setup (ITS#6828)
+ Fixed libldap with missing \n terminations (ITS#6947)
+ Fixed tools double free (ITS#6946)
+ Fixed tools verbose output (ITS#6977)
+ Fixed ldapmodify SEGV on invalid LDIF (ITS#6978)
+ Added slapd extra_attrs database option (ITS#6513)
+ Fixed slapd asserts (ITS#6932)
+ Fixed slapd configfile param on windows (ITS#6933)
+ Fixed slapd config with global chaining (ITS#6843)
+ Fixed slapd uninitialized variables (ITS#6935)
+ Fixed slapd config objectclass is readonly (ITS#6963)
+ Fixed slapd entry response with control (ITS#6899)
+ Fixed slapd with unknown attrs (ITS#6819)
+ Fixed slapd normalization of schema RDN (ITS#6967)
+ Fixed slapd operations cache to 10 op limit (ITS#6944)
+ Fixed slapd syncrepl crash with non-replicated ops (ITS#6892)
+ Fixed slapd-bdb/hdb with sparse index ranges (ITS#6961)
+ Fixed slapd-monitor stray code cleanup (ITS#6974)
+ Fixed back-ldap ppolicy updates (ITS#6711)
+ Fixed back-ldap with id-assert (ITS#6817)
+ Fixed slapd-meta reentry issues (ITS#6909)
+ Fixed slapd-sql length of data type (ITS#6657,ITS#6691)
+ Added slapo-accesslog filter matching (ITS#6815)
+ Fixed slapo-accesslog with invalid attrs (ITS#6819)
+ Added slapo-auditlog connID and peername logging (ITS#6936)
+ Fixed slapo-memberof with accesslog (ITS#6329,ITS#6766,ITS#6915)
+ Fixed slapo-pcache with unknown attrs (ITS#6823)
+ Fixed slapo-pcache with '1.1', '+', and '*' attrs (ITS#6950)
+ Fixed slapo-pcache buffersize issues (ITS#6951)
+ Fixed slapo-pcache refresh (ITS#6953)
+ Fixed slapo-pcache with pCacheBind (ITS#6954)
+ Fixed slapo-pcache database corruption (ITS#6831)
+ Fixed slapo-rwm with attributes with no equality rule (ITS#6943)
+ Fixed slapo-sssvlv limits check when global (ITS#6973)
+ Fixed slapo-syncprov with replicated subtrees (ITS#6872)
+ Fixed slapo-unique with managedsait (ITS#6641)
+ Fixed slapo-unique filter with zero-length values (ITS#6901)
+ Added contrib/acl GSS naming extensions ACL module
+ Fixed contrib/smbk5pwd with shadowLastChange (ITS#6955)
+ Build Environment
+ Fixed builds that do not have GETTIMEOFDAY (ITS#6885)
+ Fixed libldap libfetch dependancy (ITS#6889)
+ Documentation
+ ldap_get_dn(3) add man page (ITS#6959)
+ slapo-nssov(5) Fixed typo (ITS#6934)
+ slapd-backends(5) update recommended database backend (ITS#6904)
+ slapd-bdb(5) update recommended database backend (ITS#6904)
+ slapd-hdb(5) update recommended database backend (ITS#6904)
+ admin24 update that cn=config is preferred (ITS#6905)
+ admin24 update information about indexes (ITS#6906)
+ admin24 fix --enable-wrappers option (ITS#6971)
+
+OpenLDAP 2.4.25 Release (2011/03/26)
+ Fixed ldapsearch pagedresults loop (ITS#6755)
+ Fixed tools for incompatible args (ITS#6849)
+ Fixed libldap MozNSS crash (ITS#6863)
+ Fixed slapd add objectclasses in order (ITS#6837)
+ Added slapd ordering for uidNumber and gidNumber (ITS#6852)
+ Fixed slapd segfault when adding values out of order (ITS#6858)
+ Fixed slapd sortval handling (ITS#6845)
+ Fixed slapd-bdb with slapadd/index quick option (ITS#6853)
+ Fixed slapd-ldap chain cn=config support (ITS#6837)
+ Fixed slapd-ldap chain with slapd.conf (ITS#6857)
+ Fixed slapd-meta deadlock (ITS#6846)
+ Fixed slapo-sssvlv with multiple requests (ITS#6850)
+ Fixed contrib/lastbind install rules (ITS#6238)
+ Fixed contrib/cloak install rules (ITS#6877)
+ Build Environment
+ Fixed windows NT threads build (ITS#6859)
+ Fixed libldap/lberl/util if/else usage (ITS#6832)
+ Fixed Windows odbc32 detection (ITS#6125)
+ Fixed Windows msys build (ITS#6870)
+ Fixed test020 exit codes (ITS#6404)
+ Documentation
+ admin24 guide ldapi usage (ITS#6839)
+ admin24 guide conversion notes (ITS#6834)
+ admin24 guide fix drawback math for syncrepl (ITS#6866)
+ admin24 guide note manpages are definitive (ITS#6855)
+
+OpenLDAP 2.4.24 Release (2011/02/10)
+ Added LDIF line wrapping setting (ITS#6645)
+ Added MozNSS support (ITS#6714,ITS#6742,ITS#6790,ITS#6791)
+ Added MozNSS support (ITS#6802,ITS#6811,ITS#6816,ITS#5696)
+ Added libldap cert x500UniqueIdentifier handling (ITS#6741)
+ Added libldap_r,libldap formal concurrency API (ITS#6625,ITS#5421)
+ Added slapadd attribute value checking (ITS#6592)
+ Added slapcat continue mode for problematic DBs (ITS#6482)
+ Added slapd syncrepl suffixmassage support (ITS#6781)
+ Added slapd multiple listener threads (ITS#6780)
+ Added slapd extensible match for ordering rules (ITS#6532)
+ Added slapd-meta paged results control forwarding (ITS#6664)
+ Added slapd-meta subtree-include support (ITS#6801)
+ Added slapd-null back-config support (ITS#6624)
+ Added slapd-sql autocommit support (ITS#6612)
+ Added slapd-sql support for long long keys (ITS#6617)
+ Added slapo-sssvlv multiple sorts per connection (ITS#6686)
+ Added contrib/autogroup LDAP URI with attribute filter (ITS#6536)
+ Added contrib/dupent module (ITS#6630)
+ Added contrib/lastbind (ITS#6238)
+ Added contrib/kinit for kerberos tickets
+ Added contrib/noopsrch for entry counting (ITS#6598)
+ Fixed client tools control logging (ITS#6775)
+ Fixed client tools one time leak (ITS#6778)
+ Fixed liblber to not close invalid sockets (ITS#6585)
+ Fixed liblber unmatched brace handling (ITS#6764)
+ Fixed liblber error setting (ITS#6732)
+ Fixed liblber memory debugging (ITS#6733)
+ Fixed libldap connectionless warnings (ITS#6747)
+ Fixed libldap dnssrv port format specifier (ITS#6644)
+ Fixed libldap EOF handling (ITS#6723)
+ Fixed libldap GnuTLS hang on socket close (ITS#6673)
+ Fixed libldap sasl partial write handling (ITS#6639)
+ Fixed libldap search leak (ITS#6453)
+ Fixed libldap referral chasing (ITS#6602)
+ Fixed libldap leak when chasing referrals (ITS#6744)
+ Fixed libldap url parsing with NULL host (ITS#6653)
+ Fixed libldap ldap_open_internal_connection (ITS#6788)
+ Fixed libldap sync checking for BER errors (ITS#6738)
+ Fixed libldap variable usage (ITS#6813)
+ Fixed liblutil getpass prompts (ITS#6702)
+ Fixed ldapsearch segfault with deref (ITS#6638)
+ Fixed ldapsearch multiple controls parsing (ITS#6651)
+ Fixed slapd SlapReply usage (ITS#6758)
+ Fixed slapd acl parsing overflow (ITS#6611)
+ Fixed slapd acl when resuming parsing (ITS#6804)
+ Fixed slapd Compare operation (ITS#6753)
+ Fixed slapd default config acls with overlays (ITS#6822)
+ Fixed slapd assert control (ITS#5862)
+ Fixed slapd assertions and debugging (ITS#6759)
+ Fixed slapd config leak with olcDbDirectory (ITS#6634)
+ Fixed slapd connectionless warnings (ITS#6747)
+ Fixed slapd listeners destruction (ITS#6736)
+ Fixed slapd to free controls if needed (ITS#6629)
+ Fixed slapd to stop if given unknown options (ITS#6754)
+ Fixed slapd filter leak (ITS#6635)
+ Fixed slapd matching rules for strict ordering (ITS#6722)
+ Fixed slapd when first acl is value dependent (ITS#6693)
+ Fixed slapd modify to return actual error (ITS#6581)
+ Fixed slapd modrdn with empty DN (ITS#6768)
+ Fixed slapd c_authz_backend setting (ITS#6824)
+ Fixed slapd sortvals of attributes with 1 value (ITS#6715)
+ Fixed slapd syncrepl reuse of presence list (ITS#6707)
+ Fixed slapd syncrepl uninitialized return code (ITS#6719)
+ Fixed slapd syncrepl variable initialization (ITS#6739)
+ Fixed slapd syncrepl refresh to use complete cookie (ITS#6807)
+ Fixed slapd-bdb hasSubordinates generation (ITS#6712)
+ Fixed slapd-bdb entry cache delete failure (ITS#6577)
+ Fixed slapd-bdb entry cache leak on multi-core systems (ITS#6660)
+ Fixed slapd-bdb error propagation to overlays (ITS#6633)
+ Fixed slapd-bdb slapadd -q with glued dbs (ITS#6794)
+ Fixed slapd-ldap debug output of timeout (ITS#6721)
+ Fixed slapd-ldap DNSSRV referral chaining (ITS#6565)
+ Fixed slapd-ldap chaining with bind failures (ITS#6607)
+ Fixed slapd-ldap chaining with onelevel scope (ITS#6699)
+ Fixed slapd-ldap chaining with ppolicy (ITS#6540)
+ Fixed slapd-ldap with SASL/EXTERNAL (ITS#6642)
+ Fixed slapd-ldap crasher on matchedDN (ITS#6793)
+ Fixed slapd-ldap with unknown objectClasses (ITS#6814)
+ Fixed slapd-ldif error strings (ITS#6731)
+ Fixed slapd-ndb to honor rootpw setting (ITS#6661)
+ Fixed slapd-ndb hasSubordinates generation (ITS#6712)
+ Fixed slapd-ndb variable initialization (ITS#6806)
+ Fixed slapd-ndb with out of order attributes (ITS#6821)
+ Fixed slapd-meta anon retry with failed auth method (ITS#6643)
+ Fixed slapd-meta rebind proc (ITS#6665)
+ Fixed slapd-meta to correctly rebind as user (ITS#6574)
+ Fixed slapd-meta with SASL/EXTERNAL (ITS#6642)
+ Fixed slapd-meta matchedDN return code (ITS#6774)
+ Fixed slapd-meta candidate selection (ITS#6799)
+ Fixed slapd-meta attribute normalization (ITS#6818)
+ Fixed slapd-monitor hasSubordinates generation (ITS#6712)
+ Fixed slapd-monitor abandon processing (ITS#6783)
+ Fixed slapd-monitor entry locks (ITS#6787)
+ Fixed slapd-sock missing newline in Compare operation (ITS#6809)
+ Fixed slapd-sql with null objectClass (ITS#6616)
+ Fixed slapd-sql hasSubordinates generation (ITS#6712)
+ Fixed slapo-accesslog with controls (ITS#6652)
+ Fixed slapo-dynlist Compare operation (ITS#6752)
+ Fixed slapo-dynlist entry handling (ITS#6752)
+ Fixed slapo-memberof CSN generation (ITS#6766)
+ Fixed slapo-memberof log messages (ITS#6748)
+ Fixed slapo-memberof with an empty groupOfNames (ITS#6670)
+ Fixed slapo-memberof with modrdn operations (ITS#6700)
+ Fixed slapo-pcache callback freeing (ITS#6640)
+ Fixed slapo-pcache to ignore undefined attrs (ITS#6600)
+ Fixed slapo-pcache pointer freeing (ITS#6797)
+ Fixed slapo-pcache with negative caching (ITS#6796)
+ Fixed slapo-pcache monitoring cleanup (ITS#6808)
+ Fixed slapo-ppolicy don't update opattrs on consumers (ITS#6608)
+ Fixed slapo-ppolicy to allow userPassword deletion (ITS#6620)
+ Fixed slapo-refint when last group member is deleted (ITS#6663)
+ Fixed slapo-refint with subtree rename (ITS#6730)
+ Fixed slapo-rwm double free (ITS#6720)
+ Fixed slapo-rwm crasher (ITS#6632,ITS#6727)
+ Fixed slapo-rwm entry handling (ITS#6760)
+ Fixed slapo-rwm response hang (ITS#6792)
+ Fixed slapo-sssvlv initialization (ITS#6649)
+ Fixed slapo-sssvlv to not advertise when unused (ITS#6647)
+ Fixed slapo-sssvlv result code (ITS#6685)
+ Fixed slapo-syncprov to send error if consumer is newer (ITS#6606)
+ Fixed slapo-syncprov filter race condition (ITS#6708)
+ Fixed slapo-syncprov active mod race (ITS#6709)
+ Fixed slapo-syncprov to refresh if context is dirty (ITS#6710)
+ Fixed slapo-syncprov CSN updates to all replicas (ITS#6718)
+ Fixed slapo-syncprov sessionlog ordering (ITS#6716)
+ Fixed slapo-syncprov sessionlog with adds (ITS#6503)
+ Fixed slapo-syncprov mutex (ITS#6438)
+ Fixed slapo-syncprov mincsn check with MMR (ITS#6717)
+ Fixed slapo-syncprov control leak (ITS#6795)
+ Fixed slapo-syncprov error codes (ITS#6812)
+ Fixed slapo-translucent entry leak (ITS#6746)
+ Fixed contrib/autogroup install location (ITS#6684)
+ Fixed contrib/autogroup crash with ppolicy (ITS#6684)
+ Fixed contrib/autogroup with non-DN URIs (ITS#6684)
+ Fixed contrib/autogroup with memberOf overlay (ITS#6684)
+ Fixed contrib/cloak when returning multiple entries (ITS#6762)
+ Fixed contrib/nssov to only close socket on shutdown (ITS#6676)
+ Fixed contrib/nssov multi platform support (ITS#6604)
+ Build Environment
+ Added support for [unsigned] long long (ITS#6622)
+ Added slapd support for BDB 5.0+ (ITS#6698)
+ Fixed config.guess/sub to pick up newer OSes (ITS#6547)
+ Fixed libldap mutex code - cleanup (ITS#6672)
+ Fixed libldap unnecessary ifdef's (ITS#6603)
+ Fixed slapd-tester EOF handling (ITS#6723)
+ Fixed slapd-tester filter initialization (ITS#6735)
+ Fixed test scripts with alternate testdir (ITS#6782)
+ Removed antiquated SunOS LWP support (ITS#6669)
+ Documentation
+ admin24 guide fix examples (ITS#6681)
+ admin24 guide typo fixes (ITS#6609)
+ admin24 guide refint rootdn requirement (ITS#6364)
+ admin24 add pcache overlay section (ITS#6521)
+ ldap_open(3) document ldap_set_urllist_proc (ITS#6601)
+ ldap.conf(5) GnuTLS cipher spec info (ITS#6525)
+ slapd.conf(5) GnlTLS cipher spec info (ITS#6525)
+ slapd.conf(5) multi-listener support (ITS#6780)
+ slapd-config(5) GnuTLS cipher spec info (ITS#6525)
+ slapd-config(5) multi-listener support (ITS#6780)
+ slapd-meta(5) note deprecated items (ITS#6800)
+ slapd-meta(5) document subtree-include (ITS#6801)
+ slapo-pcache(5) note rootdn requirement (ITS#6522)
+ slapo-refint(5) rootdn requirement (ITS#6364)
+
OpenLDAP 2.4.23 Release (2010/06/30)
Fixed libldap to return server's error code (ITS#6569)
Fixed libldap memleaks (ITS#6568)
8 external/bsd/openldap/dist/COPYRIGHT
View
@@ -1,4 +1,4 @@
-Copyright 1998-2010 The OpenLDAP Foundation
+Copyright 1998-2014 The OpenLDAP Foundation
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -25,7 +25,7 @@ Additional information about OpenLDAP can be obtained at
---
-Portions Copyright 1998-2008 Kurt D. Zeilenga.
+Portions Copyright 1998-2012 Kurt D. Zeilenga.
Portions Copyright 1998-2006 Net Boolean Incorporated.
Portions Copyright 2001-2006 IBM Corporation.
All rights reserved.
@@ -39,8 +39,8 @@ Public License.
Portions Copyright 1999-2008 Howard Y.H. Chu.
Portions Copyright 1999-2008 Symas Corporation.
Portions Copyright 1998-2003 Hallvard B. Furuseth.
-Portions Copyright 2008-2009 Gavin Henry.
-Portions Copyright 2008-2009 Suretec Systems Ltd.
+Portions Copyright 2007-2011 Gavin Henry.
+Portions Copyright 2007-2011 Suretec Systems Ltd.
All rights reserved.
Redistribution and use in source and binary forms, with or without
24 external/bsd/openldap/dist/INSTALL
View
@@ -2,7 +2,7 @@ Making and Installing the OpenLDAP Distribution
===============================================
This file provides brief instructions on how to build and install
-OpenLDAP on UNIX (and UNIX-like) system. More detailed information
+OpenLDAP on UNIX (and UNIX-like) systems. More detailed information
and instructions can be found in The OpenLDAP Administrator's Guide
(available from http://www.openldap.org/doc/).
@@ -32,13 +32,13 @@ Making and Installing the OpenLDAP Distribution
to list available configuration options.
- Note also that the configure script uses environmental variables
- for determining compiler/linker options including:
+ The configure script also looks for compiler/linker options on
+ the command line and in the environment. These include:
Variable Description Example
CC C compiler gcc
CFLAGS C flags -O -g
- CPPFLAGS cpp flags -I/path/include -DFOO=42
+ CPPFLAGS cpp flags -I/path/include -D__FOO__=42
LDFLAGS ld flags -L/usr/local/lib
LIBS libraries -llib
PATH command path /usr/local/bin:/usr/bin:/bin
@@ -47,14 +47,14 @@ Making and Installing the OpenLDAP Distribution
3. Configure the build system:
- % [env settings] ./configure [options]
+ % ./configure [options] [var=value ...]
If all goes well, the configure script will automatically detect
the appropriate settings. If the configure script fails, you
should read the config.log file that it generated to see what it
- was trying to do and exactly what failed. You may need to specify
- additional options and/or environment variables besides those
- listed above to obtain desired results, depending on your operating
+ was trying to do and exactly what failed. You may need to
+ specify additional options and/or variables besides those listed
+ above to obtain desired results, depending on your operating
system. The Platform Hints section of the FAQ provides help for
operating system related problems.
@@ -73,8 +73,8 @@ Making and Installing the OpenLDAP Distribution
6. Test the standalone system:
- This step requires the standalone LDAP server, slapd(8), with
- BDB or HDB support.
+ This step requires the standalone LDAP server, slapd(8), with HDB
+ and/or BDB support.
% make test
@@ -83,7 +83,7 @@ Making and Installing the OpenLDAP Distribution
settings. You may want to consult the Installation section of
the FAQ if you have not done so already.
-7. Install the software. You may need to be come the super-user
+7. Install the software. You may need to become the super-user
(e.g. root) to do this (depending on where you are installing
things):
@@ -107,7 +107,7 @@ $OpenLDAP: pkg/openldap-guide/release/install.sdf,v 1.16 2002/02/18
This work is part of OpenLDAP Software <http://www.openldap.org/>.
-Copyright 1998-2010 The OpenLDAP Foundation.
+Copyright 1998-2014 The OpenLDAP Foundation.
All rights reserved.
Redistribution and use in source and binary forms, with or without
6 external/bsd/openldap/dist/Makefile.in
View
@@ -1,8 +1,8 @@
# Master Makefile for OpenLDAP
-# OpenLDAP: pkg/ldap/Makefile.in,v 1.30.2.5 2010/04/13 20:22:14 kurt Exp
+# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
-## Copyright 1998-2010 The OpenLDAP Foundation.
+## Copyright 1998-2014 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
@@ -35,4 +35,4 @@ distclean: veryclean FORCE
check: test
test: FORCE
- cd tests; make test
+ cd tests; $(MAKE) test
10 external/bsd/openldap/dist/README
View
@@ -19,8 +19,8 @@ REQUIRED SOFTWARE
Reentrant POSIX REGEX software (required)
SLAPD:
- BDB and HDB backends require Oracle Berkeley DB 4.4, 4.5,
- 4.6, 4.7, or 4.8. It is highly recommended to apply the
+ BDB and HDB backends require Oracle Berkeley DB 4.4 - 4.8,
+ or 5.0 - 5.1. It is highly recommended to apply the
patches from Oracle for a given release.
CLIENTS/CONTRIB ware:
@@ -57,7 +57,7 @@ SUPPORT / FEEDBACK / PROBLEM REPORTS / DISCUSSIONS
<http://www.openldap.org/lists/>. If you cannot find the answer,
please enquire on the OpenLDAP-software list.
- Issues, such as bug reports, should be reported using our our
+ Issues, such as bug reports, should be reported using our
Issue Tracking System <http://www.OpenLDAP.org/its/>. Do not
use this system for software enquiries. Please direct these
to an appropriate mailing list.
@@ -74,11 +74,11 @@ CONTRIBUTING
<http://www.openldap.org/its/> to be considered.
---
-OpenLDAP: pkg/ldap/README,v 1.40.2.14 2010/04/13 20:22:14 kurt Exp
+$OpenLDAP$
This work is part of OpenLDAP Software <http://www.openldap.org/>.
-Copyright 1998-2010 The OpenLDAP Foundation.
+Copyright 1998-2014 The OpenLDAP Foundation.
All rights reserved.
Redistribution and use in source and binary forms, with or without
884 external/bsd/openldap/dist/build/config.guess
View
@@ -1,10 +1,11 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+# Free Software Foundation, Inc.
-timestamp='2003-07-02-OpenLDAP'
-# OpenLDAP: pkg/ldap/build/config.guess,v 1.19.2.5 2010/04/13 20:22:20 kurt Exp
+timestamp='2010-09-24-OpenLDAP'
+# $OpenLDAP$
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -18,38 +19,25 @@ timestamp='2003-07-02-OpenLDAP'
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
-# This file is distributed with OpenLDAP Software, which contains a
-# configuration script generated by Autoconf, and is distributable
-# under the same distributions terms as OpenLDAP itself.
-## Portions Copyright 1998-2010 The OpenLDAP Foundation.
-## All rights reserved.
-##
-## Redistribution and use in source and binary forms, with or without
-## modification, are permitted only as authorized by the OpenLDAP
-## Public License.
-##
-## A copy of this license is available in the file LICENSE in the
-## top-level directory of the distribution or, alternatively, at
-## <http://www.OpenLDAP.org/license.html>.
-
-# Originally written by Per Bothner <per@bothner.com>.
-# Please send patches to <config-patches@gnu.org>. Submit a context
-# diff and a properly formatted ChangeLog entry.
+# Originally written by Per Bothner. Please send patches (context
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
+# entry.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
me=`echo "$0" | sed -e 's,.*/,,'`
@@ -69,8 +57,9 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
+Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -82,11 +71,11 @@ Try \`$me --help' for more information."
while test $# -gt 0 ; do
case $1 in
--time-stamp | --time* | -t )
- echo "$timestamp" ; exit 0 ;;
+ echo "$timestamp" ; exit ;;
--version | -v )
- echo "$version" ; exit 0 ;;
+ echo "$version" ; exit ;;
--help | --h* | -h )
- echo "$usage"; exit 0 ;;
+ echo "$usage"; exit ;;
-- ) # Stop option processing
shift; break ;;
- ) # Use stdin as input.
@@ -104,7 +93,7 @@ if test $# != 0; then
exit 1
fi
-trap 'exit 1' 1 2 15
+trap 'exit 1' HUP INT TERM
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
# compiler to aid in system detection is discouraged as it requires
@@ -118,9 +107,9 @@ trap 'exit 1' 1 2 15
set_cc_for_build='
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
-trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ;
: ${TMPDIR=/tmp} ;
- { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
@@ -139,7 +128,7 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in
;;
,,*) CC_FOR_BUILD=$CC ;;
,*,*) CC_FOR_BUILD=$HOST_CC ;;
-esac ;'
+esac ; set_cc_for_build= ;'
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 1994-08-24)
@@ -174,6 +163,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;;
+ sh5el) machine=sh5le-unknown ;;
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
esac
# The Operating System including object format, if it has switched
@@ -182,7 +172,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
- | grep __ELF__ >/dev/null
+ | grep -q __ELF__
then
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
# Return netbsd for either. FIX?
@@ -212,50 +202,32 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# contains redundant information, the shorter form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo "${machine}-${os}${release}"
- exit 0 ;;
- amiga:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- arc:OpenBSD:*:*)
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- hp300:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- mac68k:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- macppc:OpenBSD:*:*)
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- mvme68k:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- mvme88k:OpenBSD:*:*)
- echo m88k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- mvmeppc:OpenBSD:*:*)
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- pmax:OpenBSD:*:*)
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- sgi:OpenBSD:*:*)
- echo mipseb-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- sun3:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- wgrisc:OpenBSD:*:*)
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
*:OpenBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+ exit ;;
+ *:ekkoBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+ exit ;;
+ *:SolidBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+ exit ;;
+ macppc:MirBSD:*:*)
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ *:MirBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
alpha:OSF1:*:*)
- if test $UNAME_RELEASE = "V4.0"; then
+ case $UNAME_RELEASE in
+ *4.0)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
- fi
+ ;;
+ *5.*)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+ ;;
+ esac
# According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU
@@ -293,42 +265,49 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
"EV7.9 (21364A)")
UNAME_MACHINE="alphaev79" ;;
esac
+ # A Pn.n version is a patched version.
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- exit 0 ;;
- Alpha*:OpenVMS:*:*)
- echo alpha-hp-vms
- exit 0 ;;
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ exit ;;
Alpha\ *:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# Should we change UNAME_MACHINE based on the output of uname instead
# of the specific Alpha model?
echo alpha-pc-interix
- exit 0 ;;
+ exit ;;
21064:Windows_NT:50:3)
echo alpha-dec-winnt3.5
- exit 0 ;;
+ exit ;;
Amiga*:UNIX_System_V:4.0:*)
echo m68k-unknown-sysv4
- exit 0;;
+ exit ;;
*:[Aa]miga[Oo][Ss]:*:*)
echo ${UNAME_MACHINE}-unknown-amigaos
- exit 0 ;;
+ exit ;;
*:[Mm]orph[Oo][Ss]:*:*)
echo ${UNAME_MACHINE}-unknown-morphos
- exit 0 ;;
+ exit ;;
*:OS/390:*:*)
echo i370-ibm-openedition
- exit 0 ;;
+ exit ;;
+ *:z/VM:*:*)
+ echo s390-ibm-zvmoe
+ exit ;;
+ *:OS400:*:*)
+ echo powerpc-ibm-os400
+ exit ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
- exit 0;;
+ exit ;;
+ arm:riscos:*:*|arm:RISCOS:*:*)
+ echo arm-unknown-riscos
+ exit ;;
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
echo hppa1.1-hitachi-hiuxmpp
- exit 0;;
+ exit ;;
Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
if test "`(/bin/universe) 2>/dev/null`" = att ; then
@@ -336,32 +315,51 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
else
echo pyramid-pyramid-bsd
fi
- exit 0 ;;
+ exit ;;
NILE*:*:*:dcosx)
echo pyramid-pyramid-svr4
- exit 0 ;;
+ exit ;;
DRS?6000:unix:4.0:6*)
echo sparc-icl-nx6
- exit 0 ;;
- DRS?6000:UNIX_SV:4.2*:7*)
+ exit ;;
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
case `/usr/bin/uname -p` in
- sparc) echo sparc-icl-nx7 && exit 0 ;;
+ sparc) echo sparc-icl-nx7; exit ;;
esac ;;
+ s390x:SunOS:*:*)
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
sun4H:SunOS:5.*:*)
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
+ exit ;;
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
- i86pc:SunOS:5.*:*)
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
+ exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ echo i386-pc-auroraux${UNAME_RELEASE}
+ exit ;;
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
+ eval $set_cc_for_build
+ SUN_ARCH="i386"
+ # If there is a compiler, see if it is configured for 64-bit objects.
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
+ # This test works for both compilers.
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ SUN_ARCH="x86_64"
+ fi
+ fi
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
# it's likely to be more like Solaris than SunOS4.
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
+ exit ;;
sun4*:SunOS:*:*)
case "`/usr/bin/arch -k`" in
Series*|S4*)
@@ -370,10 +368,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
esac
# Japanese Language versions have a version number like `4.1.3-JL'.
echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
- exit 0 ;;
+ exit ;;
sun3*:SunOS:*:*)
echo m68k-sun-sunos${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
sun*:*:4.2BSD:*)
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
@@ -385,10 +383,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
echo sparc-sun-sunos${UNAME_RELEASE}
;;
esac
- exit 0 ;;
+ exit ;;
aushp:SunOS:*:*)
echo sparc-auspex-sunos${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
# The situation for MiNT is a little confusing. The machine name
# can be virtually everything (everything which is not
# "atarist" or "atariste" at least should have a processor
@@ -399,37 +397,40 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# be no problem.
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
echo m68k-atari-mint${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
echo m68k-atari-mint${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
echo m68k-atari-mint${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
echo m68k-milan-mint${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
echo m68k-hades-mint${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
echo m68k-unknown-mint${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
+ m68k:machten:*:*)
+ echo m68k-apple-machten${UNAME_RELEASE}
+ exit ;;
powerpc:machten:*:*)
echo powerpc-apple-machten${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
RISC*:Mach:*:*)
echo mips-dec-mach_bsd4.3
- exit 0 ;;
+ exit ;;
RISC*:ULTRIX:*:*)
echo mips-dec-ultrix${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
VAX*:ULTRIX*:*:*)
echo vax-dec-ultrix${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
2020:CLIX:*:* | 2430:CLIX:*:*)
echo clipper-intergraph-clix${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
mips:*:*:UMIPS | mips:*:*:RISCos)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
@@ -453,32 +454,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
exit (-1);
}
EOF
- $CC_FOR_BUILD -o $dummy $dummy.c \
- && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
- && exit 0
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+ SYSTEM_NAME=`$dummy $dummyarg` &&
+ { echo "$SYSTEM_NAME"; exit; }
echo mips-mips-riscos${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
Motorola:PowerMAX_OS:*:*)
echo powerpc-motorola-powermax
- exit 0 ;;
+ exit ;;
Motorola:*:4.3:PL8-*)
echo powerpc-harris-powermax
- exit 0 ;;
+ exit ;;
Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
echo powerpc-harris-powermax
- exit 0 ;;
+ exit ;;
Night_Hawk:Power_UNIX:*:*)
echo powerpc-harris-powerunix
- exit 0 ;;
+ exit ;;
m88k:CX/UX:7*:*)
echo m88k-harris-cxux7
- exit 0 ;;
+ exit ;;
m88k:*:4*:R4*)
echo m88k-motorola-sysv4
- exit 0 ;;
+ exit ;;
m88k:*:3*:R3*)
echo m88k-motorola-sysv3
- exit 0 ;;
+ exit ;;
AViiON:dgux:*:*)
# DG/UX returns AViiON for all architectures
UNAME_PROCESSOR=`/usr/bin/uname -p`
@@ -494,29 +496,29 @@ EOF
else
echo i586-dg-dgux${UNAME_RELEASE}
fi
- exit 0 ;;
+ exit ;;
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
echo m88k-dolphin-sysv3
- exit 0 ;;
+ exit ;;
M88*:*:R3*:*)
# Delta 88k system running SVR3
echo m88k-motorola-sysv3
- exit 0 ;;
+ exit ;;
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
echo m88k-tektronix-sysv3
- exit 0 ;;
+ exit ;;
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
echo m68k-tektronix-bsd
- exit 0 ;;
+ exit ;;
*:IRIX*:*:*)
echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
- exit 0 ;;
+ exit ;;
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
- echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
- exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
i*86:AIX:*:*)
echo i386-ibm-aix
- exit 0 ;;
+ exit ;;
ia64:AIX:*:*)
if [ -x /usr/bin/oslevel ] ; then
IBM_REV=`/usr/bin/oslevel`
@@ -524,7 +526,7 @@ EOF
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
fi
echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
- exit 0 ;;
+ exit ;;
*:AIX:2:3)
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
eval $set_cc_for_build
@@ -539,15 +541,19 @@ EOF
exit(0);
}
EOF
- $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
- echo rs6000-ibm-aix3.2.5
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+ then
+ echo "$SYSTEM_NAME"
+ else
+ echo rs6000-ibm-aix3.2.5
+ fi
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
echo rs6000-ibm-aix3.2.4
else
echo rs6000-ibm-aix3.2
fi
- exit 0 ;;
- *:AIX:*:[45])
+ exit ;;
+ *:AIX:*:[4567])
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
IBM_ARCH=rs6000
@@ -560,28 +566,28 @@ EOF
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
fi
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
- exit 0 ;;
+ exit ;;
*:AIX:*:*)
echo rs6000-ibm-aix
- exit 0 ;;
+ exit ;;
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
echo romp-ibm-bsd4.4
- exit 0 ;;
+ exit ;;
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
- exit 0 ;; # report: romp-ibm BSD 4.3
+ exit ;; # report: romp-ibm BSD 4.3
*:BOSX:*:*)
echo rs6000-bull-bosx
- exit 0 ;;
+ exit ;;
DPX/2?00:B.O.S.:*:*)
echo m68k-bull-sysv3
- exit 0 ;;
+ exit ;;
9000/[34]??:4.3bsd:1.*:*)
echo m68k-hp-bsd
- exit 0 ;;
+ exit ;;
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
echo m68k-hp-bsd4.4
- exit 0 ;;
+ exit ;;
9000/[34678]??:HP-UX:*:*)
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
case "${UNAME_MACHINE}" in
@@ -643,9 +649,19 @@ EOF
esac
if [ ${HP_ARCH} = "hppa2.0w" ]
then
- # avoid double evaluation of $set_cc_for_build
- test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
- if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
+ eval $set_cc_for_build
+
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
+ # generating 64-bit code. GNU and HP use different nomenclature:
+ #
+ # $ CC_FOR_BUILD=cc ./config.guess
+ # => hppa2.0w-hp-hpux11.23
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+ # => hppa64-hp-hpux11.23
+
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+ grep -q __LP64__
then
HP_ARCH="hppa2.0w"
else
@@ -653,11 +669,11 @@ EOF
fi
fi
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
- exit 0 ;;
+ exit ;;
ia64:HP-UX:*:*)
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
echo ia64-hp-hpux${HPUX_REV}
- exit 0 ;;
+ exit ;;
3050*:HI-UX:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
@@ -685,211 +701,248 @@ EOF
exit (0);
}
EOF
- $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
echo unknown-hitachi-hiuxwe2
- exit 0 ;;
+ exit ;;
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
echo hppa1.1-hp-bsd
- exit 0 ;;
+ exit ;;
9000/8??:4.3bsd:*:*)
echo hppa1.0-hp-bsd
- exit 0 ;;
+ exit ;;
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
echo hppa1.0-hp-mpeix
- exit 0 ;;
+ exit ;;
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
echo hppa1.1-hp-osf
- exit 0 ;;
+ exit ;;
hp8??:OSF1:*:*)
echo hppa1.0-hp-osf
- exit 0 ;;
+ exit ;;
i*86:OSF1:*:*)
if [ -x /usr/sbin/sysversion ] ; then
echo ${UNAME_MACHINE}-unknown-osf1mk
else
echo ${UNAME_MACHINE}-unknown-osf1
fi
- exit 0 ;;
+ exit ;;
parisc*:Lites*:*:*)
echo hppa1.1-hp-lites
- exit 0 ;;
+ exit ;;
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
echo c1-convex-bsd
- exit 0 ;;
+ exit ;;
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
if getsysinfo -f scalar_acc
then echo c32-convex-bsd
else echo c2-convex-bsd
fi
- exit 0 ;;
+ exit ;;
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
echo c34-convex-bsd
- exit 0 ;;
+ exit ;;
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
echo c38-convex-bsd
- exit 0 ;;
+ exit ;;
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
echo c4-convex-bsd
- exit 0 ;;
+ exit ;;
CRAY*Y-MP:*:*:*)
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
+ exit ;;
CRAY*[A-Z]90:*:*:*)
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
-e 's/\.[^.]*$/.X/'
- exit 0 ;;
+ exit ;;
CRAY*TS:*:*:*)
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
+ exit ;;
CRAY*T3E:*:*:*)
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
+ exit ;;
CRAY*SV1:*:*:*)
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
+ exit ;;
*:UNICOS/mp:*:*)
- echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
- exit 0 ;;
+ exit ;;
+ 5000:UNIX_System_V:4.*:*)
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
sparc*:BSD/OS:*:*)
echo sparc-unknown-bsdi${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
*:BSD/OS:*:*)
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
- exit 0 ;;
- *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
- # Determine whether the default compiler uses glibc.
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include <features.h>
- #if __GLIBC__ >= 2
- LIBC=gnu
- #else
- LIBC=
- #endif
-EOF
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
- # GNU/FreeBSD systems have a "k" prefix to indicate we are using
- # FreeBSD's kernel, but not the complete OS.
- case ${LIBC} in gnu) kernel_only='k' ;; esac
- echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
- exit 0 ;;
+ exit ;;
+ *:FreeBSD:*:*)
+ case ${UNAME_MACHINE} in
+ pc98)
+ echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ amd64)
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ *)
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ esac
+ exit ;;
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
- exit 0 ;;
- i*:MINGW*:*)
+ exit ;;
+ *:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
- exit 0 ;;
+ exit ;;
+ i*:windows32*:*)
+ # uname -m includes "-pc" on this system.
+ echo ${UNAME_MACHINE}-mingw32
+ exit ;;
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
- exit 0 ;;
- x86:Interix*:[34]*)
- echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
- exit 0 ;;
+ exit ;;
+ *:Interix*:*)
+ case ${UNAME_MACHINE} in
+ x86)
+ echo i586-pc-interix${UNAME_RELEASE}
+ exit ;;
+ authenticamd | genuineintel | EM64T)
+ echo x86_64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ IA64)
+ echo ia64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ esac ;;
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks
- exit 0 ;;
+ exit ;;
+ 8664:Windows_NT:*)
+ echo x86_64-pc-mks
+ exit ;;
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
# UNAME_MACHINE based on the output of uname instead of i386?
echo i586-pc-interix
- exit 0 ;;
+ exit ;;
i*:UWIN*:*)
echo ${UNAME_MACHINE}-pc-uwin
- exit 0 ;;
+ exit ;;
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin
- exit 0 ;;
+ exit ;;
prep*:SunOS:5.*:*)
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
+ exit ;;
*:GNU:*:*)
+ # the GNU system
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
- exit 0 ;;
+ exit ;;
+ *:GNU/*:*:*)
+ # other systems with GNU libc and userland
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
+ exit ;;
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix
- exit 0 ;;
+ exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+ exit ;;
arm*:Linux:*:*)
+ eval $set_cc_for_build
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_EABI__
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ else
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+ fi
+ exit ;;
+ avr32*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
+ exit ;;
cris:Linux:*:*)
echo cris-axis-linux-gnu
- exit 0 ;;
- ia64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
- m68*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
- mips:Linux:*:*)
+ exit ;;
+ crisv32:Linux:*:*)
+ echo crisv32-axis-linux-gnu
+ exit ;;
+ frv:Linux:*:*)
+ echo frv-unknown-linux-gnu
+ exit ;;
+ i*86:Linux:*:*)
+ LIBC=gnu
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
- #undef CPU
- #undef mips
- #undef mipsel
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mipsel
- #else
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips
- #else
- CPU=
- #endif
+ #ifdef __dietlibc__
+ LIBC=dietlibc
#endif
EOF
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
- test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
- ;;
- mips64:Linux:*:*)
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+ exit ;;
+ ia64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ m32r*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ m68*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ mips:Linux:*:* | mips64:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
- #undef mips64
- #undef mips64el
+ #undef ${UNAME_MACHINE}
+ #undef ${UNAME_MACHINE}el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mips64el
+ CPU=${UNAME_MACHINE}el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips64
+ CPU=${UNAME_MACHINE}
#else
CPU=
#endif
#endif
EOF
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
- test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
- ppc:Linux:*:*)
- echo powerpc-unknown-linux-gnu
- exit 0 ;;
- ppc64:Linux:*:*)
- echo powerpc64-unknown-linux-gnu
- exit 0 ;;
- alpha:Linux:*:*)
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- EV5) UNAME_MACHINE=alphaev5 ;;
- EV56) UNAME_MACHINE=alphaev56 ;;
- PCA56) UNAME_MACHINE=alphapca56 ;;
- PCA57) UNAME_MACHINE=alphapca56 ;;
- EV6) UNAME_MACHINE=alphaev6 ;;
- EV67) UNAME_MACHINE=alphaev67 ;;
- EV68*) UNAME_MACHINE=alphaev68 ;;
- esac
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- exit 0 ;;
+ or32:Linux:*:*)
+ echo or32-unknown-linux-gnu
+ exit ;;
+ padre:Linux:*:*)
+ echo sparc-unknown-linux-gnu
+ exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-gnu
+ exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -897,84 +950,43 @@ EOF
PA8*) echo hppa2.0-unknown-linux-gnu ;;
*) echo hppa-unknown-linux-gnu ;;
esac
- exit 0 ;;
- parisc64:Linux:*:* | hppa64:Linux:*:*)
- echo hppa64-unknown-linux-gnu
- exit 0 ;;
+ exit ;;
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-gnu
+ exit ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-gnu
+ exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux
- exit 0 ;;
+ exit ;;
sh64*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
+ exit ;;
sh*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
+ exit ;;
sparc:Linux:*:* | sparc64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
+ exit ;;
+ tile*:Linux:*:*)
+ echo ${UNAME_MACHINE}-tilera-linux-gnu
+ exit ;;
+ vax:Linux:*:*)
+ echo ${UNAME_MACHINE}-dec-linux-gnu
+ exit ;;
x86_64:Linux:*:*)
echo x86_64-unknown-linux-gnu
- exit 0 ;;
- i*86:Linux:*:*)
- # The BFD linker knows what the default object file format is, so
- # first see if it will tell us. cd to the root directory to prevent
- # problems with other programs or directories called `ld' in the path.
- # Set LC_ALL=C to ensure ld outputs messages in English.
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
- | sed -ne '/supported targets:/!d
- s/[ ][ ]*/ /g
- s/.*supported targets: *//
- s/ .*//
- p'`
- case "$ld_supported_targets" in
- elf32-i386)
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
- ;;
- a.out-i386-linux)
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
- exit 0 ;;
- coff-i386)
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
- exit 0 ;;
- "")
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
- # one that does not give us useful --help.
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
- exit 0 ;;
- esac
- # Determine whether the default compiler is a.out or elf
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include <features.h>
- #ifdef __ELF__
- # ifdef __GLIBC__
- # if __GLIBC__ >= 2
- LIBC=gnu
- # else
- LIBC=gnulibc1
- # endif
- # else
- LIBC=gnulibc1
- # endif
- #else
- #ifdef __INTEL_COMPILER
- LIBC=gnu
- #else
- LIBC=gnuaout
- #endif
- #endif
-EOF