]> git.decadent.org.uk Git - nfs-utils.git/blob - debian/patches/08-libgssglue-changes.patch
Imported Debian patch 1.1.1~git-20070709-4
[nfs-utils.git] / debian / patches / 08-libgssglue-changes.patch
1 --- a/utils/gssd/gssd.c
2 +++ b/utils/gssd/gssd.c
3 @@ -81,7 +81,7 @@ sig_hup(int signal)
4  static void
5  usage(char *progname)
6  {
7 -       fprintf(stderr, "usage: %s [-f] [-n] [-v] [-r] [-p pipefsdir] [-k keytab] [-d ccachedir]\n",
8 +       fprintf(stderr, "usage: %s [-f] [-M] [-n] [-v] [-r] [-p pipefsdir] [-k keytab] [-d ccachedir]\n",
9                 progname);
10         exit(1);
11  }
12 --- a/configure 2007-08-10 01:29:12.000000000 +1000
13 +++ b/configure 2007-09-12 23:00:15.000000000 +1000
14 @@ -22631,12 +22631,12 @@
15          pkg_cv_RPCSECGSS_CFLAGS="$RPCSECGSS_CFLAGS"
16      else
17          if test -n "$PKG_CONFIG" && \
18 -    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librpcsecgss >= 0.10\"") >&5
19 -  ($PKG_CONFIG --exists --print-errors "librpcsecgss >= 0.10") 2>&5
20 +    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librpcsecgss >= 0.16\"") >&5
21 +  ($PKG_CONFIG --exists --print-errors "librpcsecgss >= 0.16") 2>&5
22    ac_status=$?
23    echo "$as_me:$LINENO: \$? = $ac_status" >&5
24    (exit $ac_status); }; then
25 -  pkg_cv_RPCSECGSS_CFLAGS=`$PKG_CONFIG --cflags "librpcsecgss >= 0.10" 2>/dev/null`
26 +  pkg_cv_RPCSECGSS_CFLAGS=`$PKG_CONFIG --cflags "librpcsecgss >= 0.16" 2>/dev/null`
27  else
28    pkg_failed=yes
29  fi
30 @@ -22649,12 +22649,12 @@
31          pkg_cv_RPCSECGSS_LIBS="$RPCSECGSS_LIBS"
32      else
33          if test -n "$PKG_CONFIG" && \
34 -    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librpcsecgss >= 0.10\"") >&5
35 -  ($PKG_CONFIG --exists --print-errors "librpcsecgss >= 0.10") 2>&5
36 +    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librpcsecgss >= 0.16\"") >&5
37 +  ($PKG_CONFIG --exists --print-errors "librpcsecgss >= 0.16") 2>&5
38    ac_status=$?
39    echo "$as_me:$LINENO: \$? = $ac_status" >&5
40    (exit $ac_status); }; then
41 -  pkg_cv_RPCSECGSS_LIBS=`$PKG_CONFIG --libs "librpcsecgss >= 0.10" 2>/dev/null`
42 +  pkg_cv_RPCSECGSS_LIBS=`$PKG_CONFIG --libs "librpcsecgss >= 0.16" 2>/dev/null`
43  else
44    pkg_failed=yes
45  fi
46 @@ -22673,9 +22673,9 @@
47          _pkg_short_errors_supported=no
48  fi
49          if test $_pkg_short_errors_supported = yes; then
50 -               RPCSECGSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "librpcsecgss >= 0.10"`
51 +               RPCSECGSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "librpcsecgss >= 0.16"`
52          else
53 -               RPCSECGSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "librpcsecgss >= 0.10"`
54 +               RPCSECGSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "librpcsecgss >= 0.16"`
55          fi
56         # Put the nasty error message in config.log where it belongs
57         echo "$RPCSECGSS_PKG_ERRORS" >&5
58 @@ -22710,12 +22710,12 @@
59          pkg_cv_GSSAPI_CFLAGS="$GSSAPI_CFLAGS"
60      else
61          if test -n "$PKG_CONFIG" && \
62 -    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgssapi >= 0.11\"") >&5
63 -  ($PKG_CONFIG --exists --print-errors "libgssapi >= 0.11") 2>&5
64 +    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgssglue >= 0.1\"") >&5
65 +  ($PKG_CONFIG --exists --print-errors "libgssglue >= 0.1") 2>&5
66    ac_status=$?
67    echo "$as_me:$LINENO: \$? = $ac_status" >&5
68    (exit $ac_status); }; then
69 -  pkg_cv_GSSAPI_CFLAGS=`$PKG_CONFIG --cflags "libgssapi >= 0.11" 2>/dev/null`
70 +  pkg_cv_GSSAPI_CFLAGS=`$PKG_CONFIG --cflags "libgssglue >= 0.1" 2>/dev/null`
71  else
72    pkg_failed=yes
73  fi
74 @@ -22728,12 +22728,12 @@
75          pkg_cv_GSSAPI_LIBS="$GSSAPI_LIBS"
76      else
77          if test -n "$PKG_CONFIG" && \
78 -    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgssapi >= 0.11\"") >&5
79 -  ($PKG_CONFIG --exists --print-errors "libgssapi >= 0.11") 2>&5
80 +    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgssglue >= 0.1\"") >&5
81 +  ($PKG_CONFIG --exists --print-errors "libgssglue >= 0.1") 2>&5
82    ac_status=$?
83    echo "$as_me:$LINENO: \$? = $ac_status" >&5
84    (exit $ac_status); }; then
85 -  pkg_cv_GSSAPI_LIBS=`$PKG_CONFIG --libs "libgssapi >= 0.11" 2>/dev/null`
86 +  pkg_cv_GSSAPI_LIBS=`$PKG_CONFIG --libs "libgssglue >= 0.1" 2>/dev/null`
87  else
88    pkg_failed=yes
89  fi
90 @@ -22752,14 +22752,14 @@
91          _pkg_short_errors_supported=no
92  fi
93          if test $_pkg_short_errors_supported = yes; then
94 -               GSSAPI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgssapi >= 0.11"`
95 +               GSSAPI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgssglue >= 0.1"`
96          else
97 -               GSSAPI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgssapi >= 0.11"`
98 +               GSSAPI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgssglue >= 0.1"`
99          fi
100         # Put the nasty error message in config.log where it belongs
101         echo "$GSSAPI_PKG_ERRORS" >&5
102  
103 -       { { echo "$as_me:$LINENO: error: Package requirements (libgssapi >= 0.11) were not met:
104 +       { { echo "$as_me:$LINENO: error: Package requirements (libgssglue >= 0.1) were not met:
105  
106  $GSSAPI_PKG_ERRORS
107  
108 @@ -22770,7 +22770,7 @@
109  and GSSAPI_LIBS to avoid the need to call pkg-config.
110  See the pkg-config man page for more details.
111  " >&5
112 -echo "$as_me: error: Package requirements (libgssapi >= 0.11) were not met:
113 +echo "$as_me: error: Package requirements (libgssglue >= 0.1) were not met:
114  
115  $GSSAPI_PKG_ERRORS
116  
117 @@ -24020,7 +24020,7 @@
118    echo $ECHO_N "(cached) $ECHO_C" >&6
119  else
120    ac_check_lib_save_LIBS=$LIBS
121 -LIBS="-lrpcsecgss -lgssapi -ldl $LIBS"
122 +LIBS="-lrpcsecgss -lgssglue -ldl $LIBS"
123  cat >conftest.$ac_ext <<_ACEOF
124  /* confdefs.h.  */
125  _ACEOF
126 @@ -24089,7 +24089,7 @@
127    echo $ECHO_N "(cached) $ECHO_C" >&6
128  else
129    ac_check_lib_save_LIBS=$LIBS
130 -LIBS="-lrpcsecgss -lgssapi -ldl $LIBS"
131 +LIBS="-lrpcsecgss -lgssglue -ldl $LIBS"
132  cat >conftest.$ac_ext <<_ACEOF
133  /* confdefs.h.  */
134  _ACEOF