1 |
scarabeus 10/12/01 20:42:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: curl-7.21.2.ebuild |
5 |
Log: |
6 |
QA: version bump, fixes one issue i had during writting my app. Also should fix some security issue based on changelog i found upstream. |
7 |
|
8 |
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.169 net-misc/curl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.169&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.169&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?r1=1.168&r2=1.169 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v |
20 |
retrieving revision 1.168 |
21 |
retrieving revision 1.169 |
22 |
diff -u -r1.168 -r1.169 |
23 |
--- ChangeLog 30 Aug 2010 18:10:29 -0000 1.168 |
24 |
+++ ChangeLog 1 Dec 2010 20:42:44 -0000 1.169 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-misc/curl |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.168 2010/08/30 18:10:29 spatz Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.169 2010/12/01 20:42:44 scarabeus Exp $ |
30 |
+ |
31 |
+*curl-7.21.2 (01 Dec 2010) |
32 |
+ |
33 |
+ 01 Dec 2010; Tomáš Chvátal <scarabeus@g.o> +curl-7.21.2.ebuild: |
34 |
+ QA: version bump, fixes one issue i had during writting my app. Also should |
35 |
+ fix some security issue based on changelog i found upstream. |
36 |
|
37 |
*curl-7.21.1 (30 Aug 2010) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/curl/curl-7.21.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.21.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.21.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: curl-7.21.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 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.21.2.ebuild,v 1.1 2010/12/01 20:42:44 scarabeus Exp $ |
52 |
|
53 |
# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl! |
54 |
|
55 |
EAPI=3 |
56 |
|
57 |
inherit multilib eutils libtool prefix |
58 |
|
59 |
#MY_P=${P/_pre/-} |
60 |
DESCRIPTION="A Client that groks URLs" |
61 |
HOMEPAGE="http://curl.haxx.se/" |
62 |
#SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2" |
63 |
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2" |
64 |
|
65 |
LICENSE="MIT" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
68 |
IUSE="ares gnutls idn ipv6 kerberos ldap libssh2 nss ssl test threads" |
69 |
|
70 |
RDEPEND="ldap? ( net-nds/openldap ) |
71 |
ssl? ( |
72 |
gnutls? ( net-libs/gnutls app-misc/ca-certificates ) |
73 |
nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) ) |
74 |
!gnutls? ( !nss? ( dev-libs/openssl ) ) |
75 |
) |
76 |
idn? ( net-dns/libidn ) |
77 |
!threads? ( ares? ( >=net-dns/c-ares-1.4.0 ) ) |
78 |
kerberos? ( virtual/krb5 ) |
79 |
libssh2? ( >=net-libs/libssh2-0.16 )" |
80 |
|
81 |
# rtmpdump ( media-video/rtmpdump ) / --with-librtmp |
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 |
|
92 |
pkg_setup() { |
93 |
if ! use ssl && ( use gnutls || use nss ) ; then |
94 |
ewarn "USE='gnutls nss' are ignored without USE='ssl'." |
95 |
ewarn "Please review the local USE flags for this package." |
96 |
fi |
97 |
if use ares && use threads; then |
98 |
ewarn "USE flags 'ares' and 'threads' are mutually exclusive," |
99 |
ewarn "disabling 'ares', please review and re-emerge if needed." |
100 |
fi |
101 |
} |
102 |
|
103 |
src_prepare() { |
104 |
epatch "${FILESDIR}"/${PN}-7.20.0-strip-ldflags.patch \ |
105 |
"${FILESDIR}"/${PN}-7.19.7-test241.patch \ |
106 |
"${FILESDIR}"/${PN}-7.18.2-prefix.patch |
107 |
|
108 |
eprefixify curl-config.in |
109 |
# for FreeMiNT |
110 |
elibtoolize |
111 |
} |
112 |
|
113 |
src_configure() { |
114 |
myconf="$(use_enable ldap) |
115 |
$(use_enable ldap ldaps) |
116 |
$(use_with idn libidn) |
117 |
$(use_with kerberos gssapi "${EPREFIX}"/usr) |
118 |
$(use_with libssh2) |
119 |
$(use_enable ipv6) |
120 |
$(use_enable threads threaded-resolver) |
121 |
$(use threads && echo --disable-ares || use_enable ares) |
122 |
--enable-http |
123 |
--enable-ftp |
124 |
--enable-gopher |
125 |
--enable-file |
126 |
--enable-dict |
127 |
--enable-manual |
128 |
--enable-telnet |
129 |
--enable-smtp |
130 |
--enable-pop3 |
131 |
--enable-imap |
132 |
--enable-rtsp |
133 |
--enable-nonblocking |
134 |
--enable-largefile |
135 |
--enable-maintainer-mode |
136 |
--disable-sspi |
137 |
--without-krb4 |
138 |
--without-librtmp |
139 |
--without-spnego" |
140 |
|
141 |
if use ssl ; then |
142 |
if use gnutls; then |
143 |
myconf="${myconf} --without-ssl --with-gnutls --without-nss" |
144 |
myconf="${myconf} --with-ca-bundle=${EPREFIX}/etc/ssl/certs/ca-certificates.crt" |
145 |
elif use nss; then |
146 |
myconf="${myconf} --without-ssl --without-gnutls --with-nss" |
147 |
myconf="${myconf} --with-ca-bundle=${EPREFIX}/etc/ssl/certs/ca-certificates.crt" |
148 |
else |
149 |
myconf="${myconf} --without-gnutls --without-nss --with-ssl" |
150 |
myconf="${myconf} --without-ca-bundle --with-ca-path=${EPREFIX}/etc/ssl/certs" |
151 |
fi |
152 |
else |
153 |
myconf="${myconf} --without-gnutls --without-nss --without-ssl" |
154 |
fi |
155 |
|
156 |
econf ${myconf} || die 'configure failed' |
157 |
} |
158 |
|
159 |
src_install() { |
160 |
emake DESTDIR="${D}" install || die "installed failed for current version" |
161 |
rm -rf "${ED}"/etc/ |
162 |
|
163 |
# https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976 |
164 |
insinto /usr/share/aclocal |
165 |
doins docs/libcurl/libcurl.m4 || die |
166 |
|
167 |
dodoc CHANGES README || die |
168 |
dodoc docs/FEATURES docs/INTERNALS || die |
169 |
dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE || die |
170 |
} |