2004-09-09 04:00:18 +00:00
|
|
|
|
Summary: A utility for getting files from remote servers (FTP, HTTP, and others).
|
|
|
|
|
Name: curl
|
2004-09-09 04:01:52 +00:00
|
|
|
|
Version: 7.10.6
|
|
|
|
|
Release: 7
|
2004-09-09 04:00:40 +00:00
|
|
|
|
License: MPL
|
2004-09-09 04:00:18 +00:00
|
|
|
|
Group: Applications/Internet
|
|
|
|
|
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
|
2004-09-09 04:01:52 +00:00
|
|
|
|
Source1: LICENSE.openldap
|
|
|
|
|
Patch0: curl-7.10.4-nousr.patch
|
|
|
|
|
Patch1: curl-7.10.4-path.patch
|
|
|
|
|
Patch2: curl-7.10.6-certaltname.patch
|
2004-09-09 04:00:18 +00:00
|
|
|
|
URL: http://curl.haxx.se/
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2004-09-09 04:01:15 +00:00
|
|
|
|
BuildRequires: openssl-devel, libtool, pkgconfig
|
2004-09-09 04:01:52 +00:00
|
|
|
|
Requires: openssl
|
2004-09-09 04:00:18 +00:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
|
|
|
|
|
Dict servers, using any of the supported protocols. cURL is designed
|
|
|
|
|
to work without user interaction or any kind of interactivity. cURL
|
|
|
|
|
offers many useful capabilities, like proxy support, user
|
|
|
|
|
authentication, FTP upload, HTTP post, and file transfer resume.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Group: Development/Libraries
|
2004-09-09 04:01:52 +00:00
|
|
|
|
Requires: %{name} = %{version}-%{release}, openssl-devel
|
2004-09-09 04:00:18 +00:00
|
|
|
|
Summary: Files needed for building applications with libcurl.
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
|
2004-09-09 04:00:24 +00:00
|
|
|
|
Dict servers, using any of the supported protocols. The curl-devel
|
2004-09-09 04:00:18 +00:00
|
|
|
|
package includes files needed for developing applications which can
|
|
|
|
|
use cURL's capabilities internally.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%setup -q
|
2004-09-09 04:00:47 +00:00
|
|
|
|
%patch0 -p1
|
2004-09-09 04:01:52 +00:00
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
aclocal
|
2004-09-09 04:01:15 +00:00
|
|
|
|
libtoolize --force
|
|
|
|
|
./reconf
|
2004-09-09 04:00:18 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2004-09-09 04:01:15 +00:00
|
|
|
|
if pkg-config openssl ; then
|
|
|
|
|
CPPFLAGS=`pkg-config --cflags openssl`; export CPPFLAGS
|
|
|
|
|
LDFLAGS=`pkg-config --libs openssl`; export LDFLAGS
|
|
|
|
|
fi
|
2004-09-09 04:01:52 +00:00
|
|
|
|
%configure --with-ssl=/usr --enable-ipv6 --with-ca-bundle=%{_datadir}/ssl/certs/ca-bundle.crt
|
2004-09-09 04:00:18 +00:00
|
|
|
|
%ifarch alpha
|
|
|
|
|
make CFLAGS=""
|
|
|
|
|
%else
|
|
|
|
|
make
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%makeinstall
|
2004-09-09 04:01:52 +00:00
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
|
|
|
|
|
|
|
|
|
|
# don't need curl's copy of the certs; use openssl's
|
|
|
|
|
find ${RPM_BUILD_ROOT} -name ca-bundle.crt -exec rm -f '{}' \;
|
2004-09-09 04:00:18 +00:00
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 04:01:52 +00:00
|
|
|
|
%doc CHANGES README*
|
2004-09-09 04:00:18 +00:00
|
|
|
|
%doc docs/BUGS docs/CONTRIBUTE docs/examples docs/FAQ docs/FEATURES docs/INSTALL
|
2004-09-09 04:01:15 +00:00
|
|
|
|
%doc docs/INTERNALS docs/MANUAL docs/RESOURCES
|
2004-09-09 04:00:18 +00:00
|
|
|
|
%doc docs/TheArtOfHttpScripting docs/TODO
|
2004-09-09 04:01:52 +00:00
|
|
|
|
%doc docs/LICENSE.openldap
|
2004-09-09 04:00:18 +00:00
|
|
|
|
%{_bindir}/curl
|
2004-09-09 04:00:24 +00:00
|
|
|
|
%{_mandir}/man1/curl.1*
|
2004-09-09 04:01:52 +00:00
|
|
|
|
%{_libdir}/libcurl.so.*
|
|
|
|
|
#%{_datadir}/ssl/certs/ca-bundle.crt
|
2004-09-09 04:00:18 +00:00
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 04:00:24 +00:00
|
|
|
|
%{_bindir}/curl-config
|
2004-09-09 04:00:18 +00:00
|
|
|
|
%{_includedir}/curl
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
%{_libdir}/*.so
|
2004-09-09 04:00:24 +00:00
|
|
|
|
%{_mandir}/man1/curl-config.1*
|
2004-09-09 04:00:18 +00:00
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2004-09-09 04:01:52 +00:00
|
|
|
|
* Wed Oct 15 2003 Adrian Havill <havill@redhat.com> 7.10.6-7
|
|
|
|
|
- aclocal before libtoolize
|
|
|
|
|
- move OpenLDAP license so it's present as a doc file, present in
|
|
|
|
|
both the source and binary as per conditions
|
|
|
|
|
|
|
|
|
|
* Mon Oct 13 2003 Adrian Havill <havill@redhat.com> 7.10.6-6
|
|
|
|
|
- add OpenLDAP copyright notice for usage of code, add OpenLDAP
|
|
|
|
|
license for this code
|
|
|
|
|
|
|
|
|
|
* Tue Oct 07 2003 Adrian Havill <havill@redhat.com> 7.10.6-5
|
|
|
|
|
- match serverAltName certs with SSL (#106168)
|
|
|
|
|
|
|
|
|
|
* Mon Sep 16 2003 Adrian Havill <havill@redhat.com> 7.10.6-4.1
|
|
|
|
|
- bump n-v-r for RHEL
|
|
|
|
|
|
|
|
|
|
* Mon Sep 16 2003 Adrian Havill <havill@redhat.com> 7.10.6-4
|
|
|
|
|
- restore ca cert bundle (#104400)
|
|
|
|
|
- require openssl, we want to use its ca-cert bundle
|
|
|
|
|
|
|
|
|
|
* Sun Sep 7 2003 Joe Orton <jorton@redhat.com> 7.10.6-3
|
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Sep 5 2003 Joe Orton <jorton@redhat.com> 7.10.6-2.2
|
|
|
|
|
- fix to include libcurl.so
|
|
|
|
|
|
|
|
|
|
* Mon Aug 25 2003 Adrian Havill <havill@redhat.com> 7.10.6-2.1
|
|
|
|
|
- bump n-v-r for RHEL
|
|
|
|
|
|
|
|
|
|
* Mon Aug 25 2003 Adrian Havill <havill@redhat.com> 7.10.6-2
|
|
|
|
|
- devel subpkg needs openssl-devel as a Require (#102963)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2003 Adrian Havill <havill@redhat.com> 7.10.6-1
|
|
|
|
|
- bumped version
|
|
|
|
|
|
|
|
|
|
* Tue Jul 01 2003 Adrian Havill <havill@redhat.com> 7.10.5-1
|
|
|
|
|
- bumped version
|
|
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Sat Apr 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 7.10.4
|
|
|
|
|
- adapt nousr patch
|
|
|
|
|
|
2004-09-09 04:01:15 +00:00
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Tue Jan 21 2003 Joe Orton <jorton@redhat.com> 7.9.8-4
|
|
|
|
|
- don't add -L/usr/lib to 'curl-config --libs' output
|
|
|
|
|
|
|
|
|
|
* Mon Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 7.9.8-3
|
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 6 2002 Joe Orton <jorton@redhat.com> 7.9.8-2
|
|
|
|
|
- fix `curl-config --libs` output for libdir!=/usr/lib
|
|
|
|
|
- remove docs/LIBCURL from docs list; remove unpackaged libcurl.la
|
|
|
|
|
- libtoolize and reconf
|
|
|
|
|
|
2004-09-09 04:01:05 +00:00
|
|
|
|
* Mon Jul 22 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 7.9.8-1
|
|
|
|
|
- 7.9.8 (# 69473)
|
|
|
|
|
|
2004-09-09 04:01:02 +00:00
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 16 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 7.9.7-1
|
|
|
|
|
- 7.9.7
|
|
|
|
|
|
|
|
|
|
* Wed Apr 24 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 7.9.6-1
|
|
|
|
|
- 7.9.6
|
|
|
|
|
|
2004-09-09 04:00:47 +00:00
|
|
|
|
* Thu Mar 21 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 7.9.5-2
|
|
|
|
|
- Stop the curl-config script from printing -I/usr/include
|
|
|
|
|
and -L/usr/lib (#59497)
|
|
|
|
|
|
2004-09-09 04:00:40 +00:00
|
|
|
|
* Fri Mar 8 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 7.9.5-1
|
|
|
|
|
- 7.9.5
|
|
|
|
|
|
|
|
|
|
* Tue Feb 26 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 7.9.3-2
|
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 23 2002 Nalin Dahyabhai <nalin@redhat.com> 7.9.3-1
|
|
|
|
|
- update to 7.9.3
|
|
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 7.9.2-2
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 9 2002 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com> 7.9.2-1
|
|
|
|
|
- 7.9.2
|
|
|
|
|
|
2004-09-09 04:00:24 +00:00
|
|
|
|
* Fri Aug 17 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
|
- include curl-config in curl-devel
|
|
|
|
|
- update to 7.8 to fix memory leak and strlcat() symbol pollution from libcurl
|
|
|
|
|
|
2004-09-09 04:00:18 +00:00
|
|
|
|
* Wed Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com>
|
|
|
|
|
- added openssl-devel build req
|
|
|
|
|
|
|
|
|
|
* Mon May 21 2001 Tim Powers <timp@redhat.com>
|
|
|
|
|
- built for the distro
|
|
|
|
|
|
|
|
|
|
* Tue Apr 24 2001 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- upgrade to curl-7.7.2.
|
|
|
|
|
- enable IPv6.
|
|
|
|
|
|
|
|
|
|
* Fri Mar 2 2001 Tim Powers <timp@redhat.com>
|
|
|
|
|
- rebuilt against openssl-0.9.6-1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 4 2001 Tim Powers <timp@redhat.com>
|
|
|
|
|
- fixed mising ldconfigs
|
|
|
|
|
- updated to 7.5.2, bug fixes
|
|
|
|
|
|
|
|
|
|
* Mon Dec 11 2000 Tim Powers <timp@redhat.com>
|
|
|
|
|
- updated to 7.5.1
|
|
|
|
|
|
|
|
|
|
* Mon Nov 6 2000 Tim Powers <timp@redhat.com>
|
|
|
|
|
- update to 7.4.1 to fix bug #20337, problems with curl -c
|
|
|
|
|
- not using patch anymore, it's included in the new source. Keeping
|
|
|
|
|
for reference
|
|
|
|
|
|
|
|
|
|
* Fri Oct 20 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
|
- fix bogus req in -devel package
|
|
|
|
|
|
|
|
|
|
* Fri Oct 20 2000 Tim Powers <timp@redhat.com>
|
|
|
|
|
- devel package needed defattr so that root owns the files
|
|
|
|
|
|
|
|
|
|
* Mon Oct 16 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
|
- update to 7.3
|
|
|
|
|
- apply vsprintf/vsnprintf patch from Colin Phipps via Debian
|
|
|
|
|
|
|
|
|
|
* Mon Aug 21 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
|
- enable SSL support
|
|
|
|
|
- fix packager tag
|
|
|
|
|
- move buildroot to %%{_tmppath}
|
|
|
|
|
|
|
|
|
|
* Tue Aug 1 2000 Tim Powers <timp@redhat.com>
|
|
|
|
|
- fixed vendor tag for bug #15028
|
|
|
|
|
|
|
|
|
|
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2000 Tim Powers <timp@redhat.com>
|
|
|
|
|
- workaround alpha build problems with optimizations
|
|
|
|
|
|
|
|
|
|
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Mon Jun 5 2000 Tim Powers <timp@redhat.com>
|
|
|
|
|
- put man pages in correct place
|
|
|
|
|
- use %%makeinstall
|
|
|
|
|
|
|
|
|
|
* Mon Apr 24 2000 Tim Powers <timp@redhat.com>
|
|
|
|
|
- updated to 6.5.2
|
|
|
|
|
|
|
|
|
|
* Wed Nov 3 1999 Tim Powers <timp@redhat.com>
|
|
|
|
|
- updated sources to 6.2
|
|
|
|
|
- gzip man page
|
|
|
|
|
|
|
|
|
|
* Mon Aug 30 1999 Tim Powers <timp@redhat.com>
|
|
|
|
|
- changed group
|
|
|
|
|
|
|
|
|
|
* Thu Aug 26 1999 Tim Powers <timp@redhat.com>
|
|
|
|
|
- changelog started
|
|
|
|
|
- general cleanups, changed prefix to /usr, added manpage to files section
|
|
|
|
|
- including in Powertools
|