Add a note about the location of ca-bundle.crt.
[fedora-mingw.git] / curl / mingw32-curl.spec
index ece71f6..ac0ca88 100644 (file)
@@ -6,7 +6,7 @@
 
 Name:           mingw32-curl
 Version:        7.18.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        MinGW Windows port of curl and libcurl
 
 License:        MIT
@@ -27,7 +27,7 @@ Patch5:         curl-7.18.2-nss-thread-safety.patch
 # MinGW-specific patches.
 Patch1000:      mingw-curl-7.18.2-getaddrinfo.patch
 
-BuildRequires:  mingw32-filesystem >= 34
+BuildRequires:  mingw32-filesystem >= 35
 BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-binutils
 BuildRequires:  pkgconfig
@@ -80,6 +80,11 @@ This is the MinGW cross-compiled Windows library.
   --disable-static --with-libssh2 \
   --without-random
 
+# It's not clear where to set the --with-ca-bundle path.  This is the
+# default for CURLOPT_CAINFO.  If this doesn't exist, you'll get an
+# error from all https transfers unless the program sets
+# CURLOPT_CAINFO to point to the correct ca-bundle.crt file.
+
 # --without-random disables random number collection (eg. from
 # /dev/urandom).  There isn't an obvious alternative for Windows:
 # Perhaps we can port EGD or use a library such as Yarrow.
@@ -120,5 +125,8 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Nov 13 2008 Richard W.M. Jones <rjones@redhat.com> - 7.18.2-2
+- Requires mingw32-filesystem >= 35.
+
 * Thu Nov 13 2008 Richard W.M. Jones <rjones@redhat.com> - 7.18.2-1
 - Initial RPM release.