- enable support for libssh2 (#453958)
This commit is contained in:
parent
bf70a54550
commit
e1586eecc5
@ -1,7 +1,7 @@
|
|||||||
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
|
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
|
||||||
Name: curl
|
Name: curl
|
||||||
Version: 7.18.2
|
Version: 7.18.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
|
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
|
||||||
@ -12,7 +12,7 @@ Patch4: curl-7.18.2-nssproxy.patch
|
|||||||
Provides: webclient
|
Provides: webclient
|
||||||
URL: http://curl.haxx.se/
|
URL: http://curl.haxx.se/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: pkgconfig, libidn-devel, zlib-devel
|
BuildRequires: pkgconfig, libidn-devel, zlib-devel, libssh2-devel
|
||||||
BuildRequires: nss-devel >= 3.11.7-7, openldap-devel, krb5-devel
|
BuildRequires: nss-devel >= 3.11.7-7, openldap-devel, krb5-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -62,7 +62,7 @@ export CPPFLAGS="$(pkg-config --cflags nss) -DHAVE_PK11_CREATEGENERICOBJECT"
|
|||||||
%configure --without-ssl --with-nss=%{_prefix} --enable-ipv6 \
|
%configure --without-ssl --with-nss=%{_prefix} --enable-ipv6 \
|
||||||
--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
|
--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
|
||||||
--with-gssapi=%{_prefix}/kerberos --with-libidn \
|
--with-gssapi=%{_prefix}/kerberos --with-libidn \
|
||||||
--enable-ldaps --disable-static
|
--enable-ldaps --disable-static --with-libssh2
|
||||||
sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \
|
sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \
|
||||||
Makefile libcurl.pc
|
Makefile libcurl.pc
|
||||||
# Remove bogus rpath
|
# Remove bogus rpath
|
||||||
@ -117,6 +117,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/aclocal/libcurl.m4
|
%{_datadir}/aclocal/libcurl.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 4 2008 Jindrich Novy <jnovy@redhat.com> 7.18.2-3
|
||||||
|
- enable support for libssh2 (#453958)
|
||||||
|
|
||||||
* Wed Jun 18 2008 Jindrich Novy <jnovy@redhat.com> 7.18.2-2
|
* Wed Jun 18 2008 Jindrich Novy <jnovy@redhat.com> 7.18.2-2
|
||||||
- fix curl_multi_perform() over a proxy (#450140), thanks to
|
- fix curl_multi_perform() over a proxy (#450140), thanks to
|
||||||
Rob Crittenden
|
Rob Crittenden
|
||||||
|
Loading…
Reference in New Issue
Block a user