SHA256
1
0
forked from pool/curl
OBS User unknown 2008-03-07 19:54:59 +00:00 committed by Git OBS Bridge
parent d1bc50c169
commit 05d3dd90dc
3 changed files with 43 additions and 2 deletions

View 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

View File

@ -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 Mon Feb 18 15:00:12 CET 2008 - mmarek@suse.cz

View File

@ -12,11 +12,11 @@
Name: curl 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 # used by the testsuite
BuildRequires: stunnel BuildRequires: stunnel
Version: 7.18.0 Version: 7.18.0
Release: 10 Release: 15
AutoReqProv: on AutoReqProv: on
License: BSD 3-Clause; X11/MIT License: BSD 3-Clause; X11/MIT
Group: Productivity/Networking/Web/Utilities Group: Productivity/Networking/Web/Utilities
@ -25,6 +25,7 @@ Url: http://curl.haxx.se/
Source: curl-%{version}.tar.bz2 Source: curl-%{version}.tar.bz2
Patch1: curl-test553.patch Patch1: curl-test553.patch
Patch2: curl-use-openssl-cacerts.patch Patch2: curl-use-openssl-cacerts.patch
Patch3: curl-better-gssapi-check.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -89,6 +90,7 @@ Authors:
%setup -q %setup -q
%patch1 %patch1
%patch2 %patch2
%patch3
%build %build
autoreconf -fi autoreconf -fi
@ -101,6 +103,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--enable-ipv6 \ --enable-ipv6 \
--with-ssl \ --with-ssl \
--with-gssapi=/usr/lib/mit \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--enable-hidden-symbols \ --enable-hidden-symbols \
--disable-static --disable-static
@ -167,6 +170,8 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man3/* %doc %{_mandir}/man3/*
%changelog %changelog
* Fri Mar 07 2008 mmarek@suse.cz
- build with gssapi support (thanks to Michael Calmer)
* Mon Feb 18 2008 mmarek@suse.cz * Mon Feb 18 2008 mmarek@suse.cz
- removed Requires: openssl-certs - doesn't exist on older dists - removed Requires: openssl-certs - doesn't exist on older dists
and is required by libopenssl otherwise and is required by libopenssl otherwise