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.

137 lines
6.1 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 - 2004 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.orig 2004-08-25 20:36:29.566175336 +0200
  20. +++ ./plugins/ldap_plugin/configure 2004-08-25 20:41:52.658057904 +0200
  21. @@ -8815,8 +8815,8 @@
  22. fi
  23. if test "${ac_cv_header_sasl_sasl_h+set}" = set; then
  24. - echo "$as_me:$LINENO: checking for sasl/sasl.h" >&5
  25. -echo $ECHO_N "checking for sasl/sasl.h... $ECHO_C" >&6
  26. + echo "$as_me:$LINENO: checking for sasl2/sasl.h" >&5
  27. +echo $ECHO_N "checking for sasl2/sasl.h... $ECHO_C" >&6
  28. if test "${ac_cv_header_sasl_sasl_h+set}" = set; then
  29. echo $ECHO_N "(cached) $ECHO_C" >&6
  30. fi
  31. @@ -8824,8 +8824,8 @@
  32. echo "${ECHO_T}$ac_cv_header_sasl_sasl_h" >&6
  33. else
  34. # Is the header compilable?
  35. -echo "$as_me:$LINENO: checking sasl/sasl.h usability" >&5
  36. -echo $ECHO_N "checking sasl/sasl.h usability... $ECHO_C" >&6
  37. +echo "$as_me:$LINENO: checking sasl2/sasl.h usability" >&5
  38. +echo $ECHO_N "checking sasl2/sasl.h usability... $ECHO_C" >&6
  39. cat >conftest.$ac_ext <<_ACEOF
  40. #line $LINENO "configure"
  41. /* confdefs.h. */
  42. @@ -8834,7 +8834,7 @@
  43. cat >>conftest.$ac_ext <<_ACEOF
  44. /* end confdefs.h. */
  45. $ac_includes_default
  46. -#include <sasl/sasl.h>
  47. +#include <sasl2/sasl.h>
  48. _ACEOF
  49. rm -f conftest.$ac_objext
  50. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  51. @@ -8860,8 +8860,8 @@
  52. echo "${ECHO_T}$ac_header_compiler" >&6
  53. # Is the header present?
  54. -echo "$as_me:$LINENO: checking sasl/sasl.h presence" >&5
  55. -echo $ECHO_N "checking sasl/sasl.h presence... $ECHO_C" >&6
  56. +echo "$as_me:$LINENO: checking sasl2/sasl.h presence" >&5
  57. +echo $ECHO_N "checking sasl2/sasl.h presence... $ECHO_C" >&6
  58. cat >conftest.$ac_ext <<_ACEOF
  59. #line $LINENO "configure"
  60. /* confdefs.h. */
  61. @@ -8869,7 +8869,7 @@
  62. cat confdefs.h >>conftest.$ac_ext
  63. cat >>conftest.$ac_ext <<_ACEOF
  64. /* end confdefs.h. */
  65. -#include <sasl/sasl.h>
  66. +#include <sasl2/sasl.h>
  67. _ACEOF
  68. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  69. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  70. @@ -8902,10 +8902,10 @@
  71. # So? What about this header?
  72. case $ac_header_compiler:$ac_header_preproc in
  73. yes:no )
  74. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  75. -echo "$as_me: WARNING: sasl/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  76. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: proceeding with the preprocessor's result" >&5
  77. -echo "$as_me: WARNING: sasl/sasl.h: proceeding with the preprocessor's result" >&2;}
  78. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  79. +echo "$as_me: WARNING: sasl2/sasl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  80. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: proceeding with the preprocessor's result" >&5
  81. +echo "$as_me: WARNING: sasl2/sasl.h: proceeding with the preprocessor's result" >&2;}
  82. (
  83. cat <<\_ASBOX
  84. ## ------------------------------------ ##
  85. @@ -8916,12 +8916,12 @@
  86. sed "s/^/$as_me: WARNING: /" >&2
  87. ;;
  88. no:yes )
  89. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: present but cannot be compiled" >&5
  90. -echo "$as_me: WARNING: sasl/sasl.h: present but cannot be compiled" >&2;}
  91. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: check for missing prerequisite headers?" >&5
  92. -echo "$as_me: WARNING: sasl/sasl.h: check for missing prerequisite headers?" >&2;}
  93. - { echo "$as_me:$LINENO: WARNING: sasl/sasl.h: proceeding with the preprocessor's result" >&5
  94. -echo "$as_me: WARNING: sasl/sasl.h: proceeding with the preprocessor's result" >&2;}
  95. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: present but cannot be compiled" >&5
  96. +echo "$as_me: WARNING: sasl2/sasl.h: present but cannot be compiled" >&2;}
  97. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: check for missing prerequisite headers?" >&5
  98. +echo "$as_me: WARNING: sasl2/sasl.h: check for missing prerequisite headers?" >&2;}
  99. + { echo "$as_me:$LINENO: WARNING: sasl2/sasl.h: proceeding with the preprocessor's result" >&5
  100. +echo "$as_me: WARNING: sasl2/sasl.h: proceeding with the preprocessor's result" >&2;}
  101. (
  102. cat <<\_ASBOX
  103. ## ------------------------------------ ##
  104. @@ -8932,8 +8932,8 @@
  105. sed "s/^/$as_me: WARNING: /" >&2
  106. ;;
  107. esac
  108. -echo "$as_me:$LINENO: checking for sasl/sasl.h" >&5
  109. -echo $ECHO_N "checking for sasl/sasl.h... $ECHO_C" >&6
  110. +echo "$as_me:$LINENO: checking for sasl2/sasl.h" >&5
  111. +echo $ECHO_N "checking for sasl2/sasl.h... $ECHO_C" >&6
  112. if test "${ac_cv_header_sasl_sasl_h+set}" = set; then
  113. echo $ECHO_N "(cached) $ECHO_C" >&6
  114. else
  115. --- ./plugins/ldap_plugin/configure.in.orig 2004-08-25 20:36:19.699675272 +0200
  116. +++ ./plugins/ldap_plugin/configure.in 2004-08-25 20:37:11.541794072 +0200
  117. @@ -17,7 +17,7 @@
  118. AC_PROG_LIBTOOL
  119. AC_CHECK_LIB(ldap,ldap_init,,AC_MSG_ERROR(You must have openldap libraries installed.))
  120. -AC_CHECK_HEADER(sasl/sasl.h,, AC_MSG_ERROR(You must have the libsasl2-dev package installed))
  121. +AC_CHECK_HEADER(sasl2/sasl.h,, AC_MSG_ERROR(You must have the libsasl2-dev package installed))
  122. dnl Info for the RPM
  123. MULTISYNC_TOP="../.."
  124. --- ./plugins/ldap_plugin/src/ldap.c.orig 2003-12-03 02:24:07.000000000 +0100
  125. +++ ./plugins/ldap_plugin/src/ldap.c 2004-08-25 21:05:03.364638368 +0200
  126. @@ -1,5 +1,5 @@
  127. #include "ldap_plugin.h"
  128. -#include <sasl/sasl.h>
  129. +#include <sasl2/sasl.h>
  130. int lutil_sasl_interact(
  131. LDAP *ld,