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