This commit is contained in:
parent
d1bc50c169
commit
05d3dd90dc
31
curl-better-gssapi-check.patch
Normal file
31
curl-better-gssapi-check.patch
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
configure.ac | 12 ++++++------
|
||||
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -977,18 +977,18 @@ if test x"$want_gss" = xyes; then
|
||||
gnu_gss=yes
|
||||
],
|
||||
[
|
||||
- dnl not found, check Heimdal
|
||||
- AC_CHECK_HEADER(gssapi.h,
|
||||
+ dnl not found, check MIT
|
||||
+ AC_CHECK_HEADER(gssapi/gssapi.h,
|
||||
[
|
||||
dnl found in the given dirs
|
||||
- AC_DEFINE(HAVE_GSSHEIMDAL, 1, [if you have the Heimdal gssapi libraries])
|
||||
+ AC_DEFINE(HAVE_GSSMIT, 1, [if you have the MIT gssapi libraries])
|
||||
],
|
||||
[
|
||||
- dnl not found, check in gssapi/ subdir
|
||||
- AC_CHECK_HEADER(gssapi/gssapi.h,
|
||||
+ dnl not found, check for Heimdal
|
||||
+ AC_CHECK_HEADER(gssapi.h,
|
||||
[
|
||||
dnl found
|
||||
- AC_DEFINE(HAVE_GSSMIT, 1, [if you have the MIT gssapi libraries])
|
||||
+ AC_DEFINE(HAVE_GSSHEIMDAL, 1, [if you have the Heimdal gssapi libraries])
|
||||
],
|
||||
[
|
||||
dnl no header found, disabling GSS
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 11:03:25 CET 2008 - mmarek@suse.cz
|
||||
|
||||
- build with gssapi support (thanks to Michael Calmer)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 18 15:00:12 CET 2008 - mmarek@suse.cz
|
||||
|
||||
|
@ -12,11 +12,11 @@
|
||||
|
||||
|
||||
Name: curl
|
||||
BuildRequires: libidn-devel openldap2-devel openssl-devel zlib-devel
|
||||
BuildRequires: krb5-devel libidn-devel openldap2-devel openssl-devel zlib-devel
|
||||
# used by the testsuite
|
||||
BuildRequires: stunnel
|
||||
Version: 7.18.0
|
||||
Release: 10
|
||||
Release: 15
|
||||
AutoReqProv: on
|
||||
License: BSD 3-Clause; X11/MIT
|
||||
Group: Productivity/Networking/Web/Utilities
|
||||
@ -25,6 +25,7 @@ Url: http://curl.haxx.se/
|
||||
Source: curl-%{version}.tar.bz2
|
||||
Patch1: curl-test553.patch
|
||||
Patch2: curl-use-openssl-cacerts.patch
|
||||
Patch3: curl-better-gssapi-check.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -89,6 +90,7 @@ Authors:
|
||||
%setup -q
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
@ -101,6 +103,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
||||
--prefix=%{_prefix} \
|
||||
--enable-ipv6 \
|
||||
--with-ssl \
|
||||
--with-gssapi=/usr/lib/mit \
|
||||
--libdir=%{_libdir} \
|
||||
--enable-hidden-symbols \
|
||||
--disable-static
|
||||
@ -167,6 +170,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc %{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 07 2008 mmarek@suse.cz
|
||||
- build with gssapi support (thanks to Michael Calmer)
|
||||
* Mon Feb 18 2008 mmarek@suse.cz
|
||||
- removed Requires: openssl-certs - doesn't exist on older dists
|
||||
and is required by libopenssl otherwise
|
||||
|
Loading…
x
Reference in New Issue
Block a user