Gentoo Archives: gentoo-commits

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