Gentoo Archives: gentoo-commits

From: "Daniel Black (dragonheart)" <dragonheart@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/curl: metadata.xml ChangeLog curl-7.19.7.ebuild
Date: Thu, 05 Nov 2009 04:39:58
Message-Id: E1N5u8a-0007v9-Gm@stork.gentoo.org
1 dragonheart 09/11/05 04:39:56
2
3 Modified: metadata.xml ChangeLog
4 Added: curl-7.19.7.ebuild
5 Log:
6 version bump as per bug #291469
7 (Portage version: 2.2_rc48/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 net-misc/curl/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/metadata.xml?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/metadata.xml?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/metadata.xml?r1=1.3&r2=1.4
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/metadata.xml,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- metadata.xml 8 Aug 2008 04:54:33 -0000 1.3
23 +++ metadata.xml 5 Nov 2009 04:39:55 -0000 1.4
24 @@ -8,6 +8,8 @@
25 <use>
26 <flag name="ares">Enabled c-ares dns support</flag>
27 <flag name="libssh2">Enabled SSH urls in curl using libssh2</flag>
28 + <flag name="openssl">Use openssl as the crypto engine</flag>
29 + <flag name="openssl">Use gnutls as the crypto engine</flag>
30 <flag name="nss">Use NSS as the crypto engine</flag>
31 </use>
32 </pkgmetadata>
33
34
35
36 1.151 net-misc/curl/ChangeLog
37
38 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/ChangeLog?rev=1.151&view=markup
39 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/ChangeLog?rev=1.151&content-type=text/plain
40 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/ChangeLog?r1=1.150&r2=1.151
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v
45 retrieving revision 1.150
46 retrieving revision 1.151
47 diff -u -r1.150 -r1.151
48 --- ChangeLog 13 Sep 2009 12:36:08 -0000 1.150
49 +++ ChangeLog 5 Nov 2009 04:39:55 -0000 1.151
50 @@ -1,6 +1,12 @@
51 # ChangeLog for net-misc/curl
52 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.150 2009/09/13 12:36:08 ranger Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.151 2009/11/05 04:39:55 dragonheart Exp $
55 +
56 +*curl-7.19.7 (05 Nov 2009)
57 +
58 + 05 Nov 2009; Daniel Black <dragonheart@g.o> +curl-7.19.7.ebuild,
59 + +files/curl-7.19.7-test241.patch, metadata.xml:
60 + version bump as per bug #291469 thanks Gabriel
61
62 13 Sep 2009; Brent Baude <ranger@g.o> curl-7.19.6.ebuild:
63 Marking curl-7.19.6 ppc64 for bug 281515
64
65
66
67 1.1 net-misc/curl/curl-7.19.7.ebuild
68
69 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.19.7.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.19.7.ebuild?rev=1.1&content-type=text/plain
71
72 Index: curl-7.19.7.ebuild
73 ===================================================================
74 # Copyright 1999-2009 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.19.7.ebuild,v 1.1 2009/11/05 04:39:55 dragonheart Exp $
77
78 # NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl!
79
80 inherit multilib eutils
81
82 #MY_P=${P/_pre/-}
83 DESCRIPTION="A Client that groks URLs"
84 HOMEPAGE="http://curl.haxx.se/ http://curl.planetmirror.com"
85 #SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2"
86 #SRC_URI="http://curl.planetmirror.com/download/${P}.tar.bz2"
87 SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
88
89 LICENSE="MIT X11"
90 SLOT="0"
91 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
92 IUSE="openssl ipv6 ldap ares gnutls libssh2 nss idn kerberos test"
93
94 RDEPEND="gnutls? ( net-libs/gnutls app-misc/ca-certificates )
95 nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) )
96 openssl? ( !gnutls? ( !nss? ( dev-libs/openssl app-misc/ca-certificates ) ) )
97 ldap? ( net-nds/openldap )
98 idn? ( net-dns/libidn )
99 ares? ( >=net-dns/c-ares-1.4.0 )
100 kerberos? ( virtual/krb5 )
101 libssh2? ( >=net-libs/libssh2-0.16 )"
102
103 # fbopenssl (not in gentoo) --with-spnego
104 # krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
105
106 DEPEND="${RDEPEND}
107 test? (
108 sys-apps/diffutils
109 dev-lang/perl
110 )"
111 # used - but can do without in self test: net-misc/stunnel
112
113 src_unpack() {
114 unpack ${A}
115 cd "${S}"
116 epatch "${FILESDIR}"/curl-7.17.0-strip-ldflags.patch
117 epatch "${FILESDIR}"/curl-7.19.7-test241.patch
118 }
119
120 src_compile() {
121
122 myconf="$(use_enable ldap)
123 $(use_enable ldap ldaps)
124 $(use_with idn libidn)
125 $(use_with kerberos gssapi /usr)
126 $(use_with libssh2)
127 $(use_enable ipv6)
128 $(use_enable ares)
129 --enable-http
130 --enable-ftp
131 --enable-gopher
132 --enable-file
133 --enable-dict
134 --enable-manual
135 --enable-telnet
136 --enable-nonblocking
137 --enable-largefile
138 --enable-maintainer-mode
139 --disable-sspi
140 --without-krb4
141 --without-spnego"
142
143 if use gnutls; then
144 myconf="${myconf} --without-ssl --with-gnutls --without-nss"
145 myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
146 elif use nss; then
147 myconf="${myconf} --without-ssl --without-gnutls --with-nss"
148 myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
149 elif use openssl; then
150 myconf="${myconf} --without-gnutls --without-nss --with-ssl"
151 myconf="${myconf} --without-ca-bundle --with-ca-path=/etc/ssl/certs"
152 else
153 myconf="${myconf} --without-gnutls --without-nss --without-ssl"
154 fi
155
156 econf ${myconf} || die 'configure failed'
157
158 emake || die "install failed for current version"
159 }
160
161 src_install() {
162 emake DESTDIR="${D}" install || die "installed failed for current version"
163 rm -rf "${D}"/etc/
164
165 # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
166 insinto /usr/share/aclocal
167 doins docs/libcurl/libcurl.m4
168
169 dodoc CHANGES README
170 dodoc docs/FEATURES docs/INTERNALS
171 dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE
172 }