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.

144 lines
7.0 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/jsaw/multisync/ldap-sasl-2-loc.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./plugins/ldap_plugin/configure.in.orig 2004-08-25 20:36:19.699675272 +0200
  20. +++ ./plugins/ldap_plugin/configure.in 2004-08-25 20:37:11.541794072 +0200
  21. @@ -17,7 +17,7 @@
  22. AC_PROG_LIBTOOL
  23. AC_CHECK_LIB(ldap,ldap_init,,AC_MSG_ERROR(You must have openldap libraries installed.))
  24. -AC_CHECK_HEADER(sasl/sasl.h,, AC_MSG_ERROR(You must have the libsasl2-dev package installed))
  25. +AC_CHECK_HEADER(sasl2/sasl.h,, AC_MSG_ERROR(You must have the libsasl2-dev package installed))
  26. dnl Info for the RPM
  27. MULTISYNC_TOP="../.."
  28. --- ./plugins/ldap_plugin/src/ldap.c.orig 2003-12-03 02:24:07.000000000 +0100
  29. +++ ./plugins/ldap_plugin/src/ldap.c 2004-08-25 21:05:03.364638368 +0200
  30. @@ -1,5 +1,5 @@
  31. #include "ldap_plugin.h"
  32. -#include <sasl/sasl.h>
  33. +#include <sasl2/sasl.h>
  34. int lutil_sasl_interact(
  35. LDAP *ld,
  36. --- ./plugins/ldap_plugin/configure.orig 2004-12-18 09:27:21.466670192 +0100
  37. +++ ./plugins/ldap_plugin/configure 2004-12-18 09:28:05.211020040 +0100
  38. @@ -20172,8 +20172,8 @@
  39. fi
  40. if test "${ac_cv_header_sasl_sasl_h+set}" = set; then
  41. - echo "$as_me:$LINENO: checking for sasl/sasl.h" >&5
  42. -echo $ECHO_N "checking for sasl/sasl.h... $ECHO_C" >&6
  43. + echo "$as_me:$LINENO: checking for sasl2/sasl.h" >&5
  44. +echo $ECHO_N "checking for sasl2/sasl.h... $ECHO_C" >&6
  45. if test "${ac_cv_header_sasl_sasl_h+set}" = set; then
  46. echo $ECHO_N "(cached) $ECHO_C" >&6
  47. fi
  48. @@ -20181,8 +20181,8 @@
  49. echo "${ECHO_T}$ac_cv_header_sasl_sasl_h" >&6
  50. else
  51. # Is the header compilable?
  52. -echo "$as_me:$LINENO: checking sasl/sasl.h usability" >&5
  53. -echo $ECHO_N "checking sasl/sasl.h usability... $ECHO_C" >&6
  54. +echo "$as_me:$LINENO: checking sasl2/sasl.h usability" >&5
  55. +echo $ECHO_N "checking sasl2/sasl.h usability... $ECHO_C" >&6
  56. cat >conftest.$ac_ext <<_ACEOF
  57. /* confdefs.h. */
  58. _ACEOF
  59. @@ -20190,7 +20190,7 @@
  60. cat >>conftest.$ac_ext <<_ACEOF
  61. /* end confdefs.h. */
  62. $ac_includes_default
  63. -#include <sasl/sasl.h>
  64. +#include <sasl2/sasl.h>
  65. _ACEOF
  66. rm -f conftest.$ac_objext
  67. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  68. @@ -20225,15 +20225,15 @@
  69. echo "${ECHO_T}$ac_header_compiler" >&6
  70. # Is the header present?
  71. -echo "$as_me:$LINENO: checking sasl/sasl.h presence" >&5
  72. -echo $ECHO_N "checking sasl/sasl.h presence... $ECHO_C" >&6
  73. +echo "$as_me:$LINENO: checking sasl2/sasl.h presence" >&5
  74. +echo $ECHO_N "checking sasl2/sasl.h presence... $ECHO_C" >&6
  75. cat >conftest.$ac_ext <<_ACEOF
  76. /* confdefs.h. */
  77. _ACEOF
  78. cat confdefs.h >>conftest.$ac_ext
  79. cat >>conftest.$ac_ext <<_ACEOF
  80. /* end confdefs.h. */
  81. -#include <sasl/sasl.h>
  82. +#include <sasl2/sasl.h>
  83. _ACEOF
  84. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  85. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  86. @@ -20267,25 +20267,25 @@
  87. # So? What about this header?
  88. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  89. yes:no: )
  90. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  91. -echo "$as_me: WARNING: sasl/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  92. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: proceeding with the compiler's result" >&5
  93. -echo "$as_me: WARNING: sasl/sasl.h: proceeding with the compiler's result" >&2;}
  94. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  95. +echo "$as_me: WARNING: sasl2/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  96. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: proceeding with the compiler's result" >&5
  97. +echo "$as_me: WARNING: sasl2/sasl.h: proceeding with the compiler's result" >&2;}
  98. ac_header_preproc=yes
  99. ;;
  100. no:yes:* )
  101. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: present but cannot be compiled" >&5
  102. -echo "$as_me: WARNING: sasl/sasl.h: present but cannot be compiled" >&2;}
  103. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: check for missing prerequisite headers?" >&5
  104. -echo "$as_me: WARNING: sasl/sasl.h: check for missing prerequisite headers?" >&2;}
  105. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: see the Autoconf documentation" >&5
  106. -echo "$as_me: WARNING: sasl/sasl.h: see the Autoconf documentation" >&2;}
  107. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: section \"Present But Cannot Be Compiled\"" >&5
  108. -echo "$as_me: WARNING: sasl/sasl.h: section \"Present But Cannot Be Compiled\"" >&2;}
  109. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: proceeding with the preprocessor's result" >&5
  110. -echo "$as_me: WARNING: sasl/sasl.h: proceeding with the preprocessor's result" >&2;}
  111. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: in the future, the compiler will take precedence" >&5
  112. -echo "$as_me: WARNING: sasl/sasl.h: in the future, the compiler will take precedence" >&2;}
  113. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: present but cannot be compiled" >&5
  114. +echo "$as_me: WARNING: sasl2/sasl.h: present but cannot be compiled" >&2;}
  115. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: check for missing prerequisite headers?" >&5
  116. +echo "$as_me: WARNING: sasl2/sasl.h: check for missing prerequisite headers?" >&2;}
  117. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: see the Autoconf documentation" >&5
  118. +echo "$as_me: WARNING: sasl2/sasl.h: see the Autoconf documentation" >&2;}
  119. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: section \"Present But Cannot Be Compiled\"" >&5
  120. +echo "$as_me: WARNING: sasl2/sasl.h: section \"Present But Cannot Be Compiled\"" >&2;}
  121. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: proceeding with the preprocessor's result" >&5
  122. +echo "$as_me: WARNING: sasl2/sasl.h: proceeding with the preprocessor's result" >&2;}
  123. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: in the future, the compiler will take precedence" >&5
  124. +echo "$as_me: WARNING: sasl2/sasl.h: in the future, the compiler will take precedence" >&2;}
  125. (
  126. cat <<\_ASBOX
  127. ## ------------------------------------------ ##
  128. @@ -20296,8 +20296,8 @@
  129. sed "s/^/$as_me: WARNING: /" >&2
  130. ;;
  131. esac
  132. -echo "$as_me:$LINENO: checking for sasl/sasl.h" >&5
  133. -echo $ECHO_N "checking for sasl/sasl.h... $ECHO_C" >&6
  134. +echo "$as_me:$LINENO: checking for sasl2/sasl.h" >&5
  135. +echo $ECHO_N "checking for sasl2/sasl.h... $ECHO_C" >&6
  136. if test "${ac_cv_header_sasl_sasl_h+set}" = set; then
  137. echo $ECHO_N "(cached) $ECHO_C" >&6
  138. else