mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

125 lines
4.4 KiB

  1. diff -urN openldap-2.1.28/build/openldap.m4 openldap-2.1.28-jsaw/build/openldap.m4
  2. --- openldap-2.1.28/build/openldap.m4 2003-12-02 19:05:49.000000000 +0100
  3. +++ openldap-2.1.28-jsaw/build/openldap.m4 2004-03-29 00:57:32.000000000 +0200
  4. @@ -1204,7 +1204,7 @@
  5. [AC_CACHE_CHECK([Cyrus SASL library version], [ol_cv_sasl_compat],[
  6. AC_EGREP_CPP(__sasl_compat,[
  7. #ifdef HAVE_SASL_SASL_H
  8. -#include <sasl/sasl.h>
  9. +#include <sasl2/sasl.h>
  10. #else
  11. #include <sasl.h>
  12. #endif
  13. diff -urN openldap-2.1.28/configure openldap-2.1.28-jsaw/configure
  14. --- openldap-2.1.28/configure 2004-01-18 22:25:00.000000000 +0100
  15. +++ openldap-2.1.28-jsaw/configure 2004-03-29 00:57:32.000000000 +0200
  16. @@ -20834,7 +20834,7 @@
  17. ol_link_sasl=no
  18. ol_link_spasswd=no
  19. if test $ol_with_cyrus_sasl != no ; then
  20. - for ac_hdr in sasl/sasl.h sasl.h
  21. + for ac_hdr in sasl2/sasl.h sasl.h
  22. do
  23. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  24. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  25. @@ -20980,7 +20980,7 @@
  26. #include "confdefs.h"
  27. #ifdef HAVE_SASL_SASL_H
  28. -#include <sasl/sasl.h>
  29. +#include <sasl2/sasl.h>
  30. #else
  31. #include <sasl.h>
  32. #endif
  33. diff -urN openldap-2.1.28/configure.in openldap-2.1.28-jsaw/configure.in
  34. --- openldap-2.1.28/configure.in 2004-01-18 22:25:26.000000000 +0100
  35. +++ openldap-2.1.28-jsaw/configure.in 2004-03-29 00:57:32.000000000 +0200
  36. @@ -2129,7 +2129,7 @@
  37. ol_link_sasl=no
  38. ol_link_spasswd=no
  39. if test $ol_with_cyrus_sasl != no ; then
  40. - AC_CHECK_HEADERS(sasl/sasl.h sasl.h)
  41. + AC_CHECK_HEADERS(sasl2/sasl.h sasl.h)
  42. if test $ac_cv_header_sasl_sasl_h = yes -o $ac_cv_header_sasl_h = yes; then
  43. AC_CHECK_LIB(sasl2, sasl_client_init,
  44. diff -urN openldap-2.1.28/include/portable.h.in openldap-2.1.28-jsaw/include/portable.h.in
  45. --- openldap-2.1.28/include/portable.h.in 2003-03-10 03:36:10.000000000 +0100
  46. +++ openldap-2.1.28-jsaw/include/portable.h.in 2004-03-29 00:57:32.000000000 +0200
  47. @@ -476,7 +476,7 @@
  48. /* Define if you have the <sasl.h> header file. */
  49. #undef HAVE_SASL_H
  50. -/* Define if you have the <sasl/sasl.h> header file. */
  51. +/* Define if you have the <sasl2/sasl.h> header file. */
  52. #undef HAVE_SASL_SASL_H
  53. /* Define if you have the <sched.h> header file. */
  54. diff -urN openldap-2.1.28/libraries/libldap/cyrus.c openldap-2.1.28-jsaw/libraries/libldap/cyrus.c
  55. --- openldap-2.1.28/libraries/libldap/cyrus.c 2004-02-12 03:41:19.000000000 +0100
  56. +++ openldap-2.1.28-jsaw/libraries/libldap/cyrus.c 2004-03-29 00:57:32.000000000 +0200
  57. @@ -24,7 +24,7 @@
  58. #endif
  59. #ifdef HAVE_SASL_SASL_H
  60. -#include <sasl/sasl.h>
  61. +#include <sasl2/sasl.h>
  62. #else
  63. #include <sasl.h>
  64. #endif
  65. diff -urN openldap-2.1.28/libraries/libldap/ldap-int.h openldap-2.1.28-jsaw/libraries/libldap/ldap-int.h
  66. --- openldap-2.1.28/libraries/libldap/ldap-int.h 2003-04-29 01:41:55.000000000 +0200
  67. +++ openldap-2.1.28-jsaw/libraries/libldap/ldap-int.h 2004-03-29 00:57:32.000000000 +0200
  68. @@ -25,7 +25,7 @@
  69. #ifdef HAVE_CYRUS_SASL
  70. /* the need for this should be removed */
  71. #ifdef HAVE_SASL_SASL_H
  72. -#include <sasl/sasl.h>
  73. +#include <sasl2/sasl.h>
  74. #else
  75. #include <sasl.h>
  76. #endif
  77. diff -urN openldap-2.1.28/libraries/liblutil/passwd.c openldap-2.1.28-jsaw/libraries/liblutil/passwd.c
  78. --- openldap-2.1.28/libraries/liblutil/passwd.c 2003-12-18 03:36:40.000000000 +0100
  79. +++ openldap-2.1.28-jsaw/libraries/liblutil/passwd.c 2004-03-29 00:57:32.000000000 +0200
  80. @@ -35,7 +35,7 @@
  81. #ifdef SLAPD_SPASSWD
  82. # ifdef HAVE_SASL_SASL_H
  83. -# include <sasl/sasl.h>
  84. +# include <sasl2/sasl.h>
  85. # else
  86. # include <sasl.h>
  87. # endif
  88. diff -urN openldap-2.1.28/libraries/liblutil/sasl.c openldap-2.1.28-jsaw/libraries/liblutil/sasl.c
  89. --- openldap-2.1.28/libraries/liblutil/sasl.c 2003-04-26 16:56:37.000000000 +0200
  90. +++ openldap-2.1.28-jsaw/libraries/liblutil/sasl.c 2004-03-29 00:57:32.000000000 +0200
  91. @@ -14,7 +14,7 @@
  92. #include <ac/unistd.h>
  93. #ifdef HAVE_SASL_SASL_H
  94. -#include <sasl/sasl.h>
  95. +#include <sasl2/sasl.h>
  96. #else
  97. #include <sasl.h>
  98. #endif
  99. diff -urN openldap-2.1.28/servers/slapd/sasl.c openldap-2.1.28-jsaw/servers/slapd/sasl.c
  100. --- openldap-2.1.28/servers/slapd/sasl.c 2004-01-21 08:56:34.000000000 +0100
  101. +++ openldap-2.1.28-jsaw/servers/slapd/sasl.c 2004-03-29 00:57:33.000000000 +0200
  102. @@ -19,14 +19,14 @@
  103. #ifdef HAVE_CYRUS_SASL
  104. # ifdef HAVE_SASL_SASL_H
  105. -# include <sasl/sasl.h>
  106. +# include <sasl2/sasl.h>
  107. # else
  108. # include <sasl.h>
  109. # endif
  110. # if SASL_VERSION_MAJOR >= 2
  111. # ifdef HAVE_SASL_SASL_H
  112. -# include <sasl/saslplug.h>
  113. +# include <sasl2/saslplug.h>
  114. # else
  115. # include <saslplug.h>
  116. # endif