/[gentoo-x86]/net-misc/curl/curl-7.25.0-r1.ebuild
Gentoo

Diff of /net-misc/curl/curl-7.25.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/Attic/curl-7.25.0-r1.ebuild,v 1.2 2012/04/26 15:20:52 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/Attic/curl-7.25.0-r1.ebuild,v 1.3 2012/05/01 13:43:16 blueness Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7inherit autotools eutils prefix 7inherit autotools eutils prefix
8 8
19RDEPEND="ldap? ( net-nds/openldap ) 19RDEPEND="ldap? ( net-nds/openldap )
20 ssl? ( 20 ssl? (
21 curl_ssl_axtls? ( net-libs/axTLS app-misc/ca-certificates ) 21 curl_ssl_axtls? ( net-libs/axTLS app-misc/ca-certificates )
22 curl_ssl_gnutls? ( 22 curl_ssl_gnutls? (
23 || ( 23 || (
24 ( <=net-libs/gnutls-2.10.5 dev-libs/libgcrypt[static-libs?] app-misc/ca-certificates ) 24 ( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle )
25 ( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle )
25 ( net-libs/gnutls[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] app-misc/ca-certificates ) 26 ( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] )
26 ( net-libs/gnutls[nettle,static-libs?] dev-libs/nettle app-misc/ca-certificates ) 27 ( <net-libs/gnutls-2.12 dev-libs/libgcrypt[static-libs?] )
27 ) 28 )
29 app-misc/ca-certificates
28 ) 30 )
29 curl_ssl_openssl? ( dev-libs/openssl[static-libs?] ) 31 curl_ssl_openssl? ( dev-libs/openssl[static-libs?] )
30 curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates ) 32 curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates )
31 curl_ssl_polarssl? ( net-libs/polarssl app-misc/ca-certificates ) 33 curl_ssl_polarssl? ( net-libs/polarssl app-misc/ca-certificates )
32 ) 34 )
101 einfo "may not be the best choice as an ssl provider" 103 einfo "may not be the best choice as an ssl provider"
102 myconf+=( --with-cyassl ) 104 myconf+=( --with-cyassl )
103 fi 105 fi
104 if use curl_ssl_gnutls; then 106 if use curl_ssl_gnutls; then
105 einfo "SSL provided by gnutls" 107 einfo "SSL provided by gnutls"
106 if has_version net-libs/gnutls[nettle] ; then 108 if has_version ">=net-libs/gnutls-3" || has_version "=net-libs/gnutls-2.12*[nettle]"; then
107 einfo "gnutls compiled with dev-libs/nettle" 109 einfo "gnutls compiled with dev-libs/nettle"
108 myconf+=( --with-gnutls --with-nettle ) 110 myconf+=( --with-gnutls --with-nettle )
109 else 111 else
110 einfo "gnutls compiled with dev-libs/libgcrypt" 112 einfo "gnutls compiled with dev-libs/libgcrypt"
111 myconf+=( --with-gnutls --without-nettle ) 113 myconf+=( --with-gnutls --without-nettle )

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20