mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 10:01:32 +02:00
chore(net-misc/curl/): import from portage
Change-Id: I432623558b05d0300e255d7e2294a7267f25eda6
This commit is contained in:
parent
8909a5c5f1
commit
4d94f9f499
1165
sdk_container/src/third_party/portage-stable/net-misc/curl/ChangeLog
vendored
Normal file
1165
sdk_container/src/third_party/portage-stable/net-misc/curl/ChangeLog
vendored
Normal file
File diff suppressed because it is too large
Load Diff
46
sdk_container/src/third_party/portage-stable/net-misc/curl/Manifest
vendored
Normal file
46
sdk_container/src/third_party/portage-stable/net-misc/curl/Manifest
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX curl-7.18.2-prefix.patch 662 SHA256 ba5530d4ce9175eb54944716768ce33278e5de236cbeeb2a80caefff709ff0f8 SHA512 a7f53f47cb3bd13d01a226f11254c02f197b78d1a889af7840be621476f506324907f8a4aad491361021b98947931f1e5494f902b4bbce315e69a191ce2686c9 WHIRLPOOL ece9a7f1408f7bf49b6cc6f0ff5a988a77424e40f6406697e44ed1fb46b52c275cffe6561c1fe927269eeaf071ef5a97729fc2af0237dc334c7c9552cde7094d
|
||||
AUX curl-7.19.7-test241.patch 483 SHA256 e06c33750b5337b2700445a073b96d0ab817584fffbf24ac386668cd5e98d450 SHA512 d76aeaff9fe033db215f791cb647190a4349bc4fcc6cac04e886acba776dbe06710bb07084ce32fcd9858d4b5535a9b96ba12318ab52820ee92e6a8b22fb90a1 WHIRLPOOL 777fb1efe3e54fa987dc168d26489f4a9a208af1c43387618e26b603b8b4a2cab5f3347b285d97a0a4c62117bddf602b768537742e04e29b7aa06304075cb420
|
||||
AUX curl-7.20.0-strip-ldflags.patch 419 SHA256 eabd5d5ed0c154b834376a76334581c5ef0ef6a51ea7229c79e4cfc02bd446c6 SHA512 5246f307fc56169c3c34361052ce16aceb6fcb3647fe7c231b6c0d3396f8c55ea2b86eafc24395ae6e629a6ecc989e05c8b28d76263527438e43079dd3d77275 WHIRLPOOL 453a840568f63bcc67091f0e4d8e76b81607f20a6b02696f22c89eab8977925138fe3e96e75d100b9c085554299339016cfefa8a039c8609ef51684dffd4c16b
|
||||
AUX curl-7.27.0-curl-config.patch 579 SHA256 68c06920cf8d2ab4e0e3b539fde2eda9f2f402919a2e03a11f878d76f367b6b8 SHA512 828fb9b7c020a1ab407169907475e19093e35d32f9d5d98dd4b26c52c200758b15290fefde10b96d280570fe07febdbdc91137161b7e53aa53db282be972281a WHIRLPOOL 562b0f567cc627c3633c613186d2bb54bde26bee3ae945087257152199b0cfd8086054df5b4d0682028aee474a93a84e9b0c37fb6c9e40ad571dae2e9c80ff9a
|
||||
AUX curl-7.27.0-fix-metalink-gnutls.patch 3949 SHA256 1de86351216a0d6ac31fbf6b2e2b012d01e39437ee434d9113d241da972deee0 SHA512 bcc7a6f6fca0554d6d5b37a0a67e20fdce5acc520d41c82d564986f12d3a7e4ee188d90129ecf4fce88571cc5b33dd871ee3ff2ee2c789c86b5567a23fe6a825 WHIRLPOOL c23cff02e7985ecbff4e77c9aed1fa238c8d729ebda1771922430c0a9e18450fa1b69c415ff7d43df66f8c4fd74f5464f64eb816071d1113d89efb8c606fb406
|
||||
AUX curl-7.27.0-fix-nettle-include.patch 718 SHA256 7630b255984142caf26985a4272697cf72530d083574a9087663ba1f19db3f10 SHA512 a2adb6f02aa041ee4a0b1fe627a0e8b38cd89c75f2845f821bab612af8365dcd2ddb3238d5dd98f5e8a3faeba58c809cb31011fdc3cb103c6b7daf28bd871571 WHIRLPOOL 28fce1acbcdaecf8338186817d1586580d626fd18c5cde0d352e6a668fe5e51d44b834322d9cd1f5ee5a649342ea7d417aa47d667877ebde10273d1a0f02f07b
|
||||
AUX curl-7.27.0-prefix.patch 842 SHA256 c0ba42416ac1f75bd63c180494c0510dc4ab47d8501fcbd77e75ebe6b136bd19 SHA512 60fef029c8ae9a9458bfee6b19ae7d9dae6317f26e0f1df78e9be83a78e9a81175db77efd1c22f5c09fa5b7b581a76b74457b1e3176f9d42d111f7cd00146244 WHIRLPOOL 5de6922f59e6c16c0abc7d66f361b9c344261172a0388fc6a3090bbb7caa11b8cfdcfe23c83bf6b17d7836dd516c59401302caf504fb3fa4beaa72fb62eed373
|
||||
AUX curl-7.28.0-fix-http-auth.patch 744 SHA256 dbd2f399e2425aaae51d05a7c9ca3af2649c7e901245fbc5f9483ac3038a56bb SHA512 16a3f5627782c2ab4b2e721a9346f2e10cd86c6cdf6b9e765d627b5e9f6a056ee72c34531bfd1e3e6d45fc5b0a0d535a475ecadacce58002881c934b77cd35d4 WHIRLPOOL 0a8ef5811e020ddf5697d6537fcfc48b3cf62cde6d4daedb8a67d64a4b1be5608ddd0e36b6488ff5c94159b836da461e29636b121fc4a8008e1edc7a82278eb3
|
||||
AUX curl-7.28.0-prefix.patch 845 SHA256 eaff1dd29bb735b1f18362db055be73789d9ad972316f4c21a2949f2ef02a6b3 SHA512 b2e6d87a18866544d4e94bc9f646f59bd36d549b686614c31c6021dac3f987ec804908055d5664011bf379b64fd47c9e780b8b27046f27ae5839ec4a6f180430 WHIRLPOOL c3c2ed9d958c05359c7632aa8db4d5452ab830fa0b634c169ad2c54be04cc171f318ac3986496b474988c2c87166da40c8627086e13affc4b7fd4780aeb3ee0c
|
||||
AUX curl-fix-gnutls-nettle.patch 1186 SHA256 d7a0f1ae6dcd50adddc9d7cd6dfcdb6b5ba648c8b7f9f067a8bf56f4136f3679 SHA512 b88d4d71a1d55626aedea620e94a5b6064141c6ff0d8a64c784705d44d4a00dc789dd0a55a56320ca4c9f2b9914e72285447c9310bb4563b45d7f3430b18a0fa WHIRLPOOL 0206a8daf30f4c112c394555e455796cde7e71f632cc2b7f2612ef2cffb900d03001e5845d3683c34c6ae3aef1c1d8c4f5af30eac45d0ab621c9c0adb19397da
|
||||
AUX curl-respect-cflags-3.patch 406 SHA256 b87bf2c491b057bc5af5258fffcf72d7c5e86b03218f497f097eeca845c0bc0d SHA512 3219e4e67d534e35012909243fc8d69d58989462db44dd507c502e7aaa299f1d9a01392e2c83797cc2bdb53d503470c5d6e7bf94572a6ccc6e5eafcc0466bc54 WHIRLPOOL 5d61ec7f36376bd9712e0fc7984006462ab27a7e2003dd92a8d9e78e97a2e620a5cbf6a62855ebff45b2fbf9f0bca821ffdf6ce8ff81cf2a047af9e168fb61bd
|
||||
AUX curl-respect-cflags.patch 8180 SHA256 fc9ac005a904efe408901cf2ee29359056bb1e49fe51a771377bedbae19bc665 SHA512 d7af93548e06b71af1295b44b0f32f510ab0833a38276f070da8a1a39f9aca6b8ef755faf62c90303a7680203f0cbc9b1796461b498202eeb2e2912110dc7b71 WHIRLPOOL c1d40e8252c6935ce5872981e987fd8953b71d631f2f6865748ab4a0a456014a9e4e9d29bad942753810d82211e886d1232f12f3e88b7478a602dfe5404eff41
|
||||
DIST curl-7.21.4.tar.bz2 2256354 SHA256 d5337445462cbb4810ff73f14de4b259f825b218654f890dc6451a51aa694de1 SHA512 2fb6437b31ed52ee80f183585c3539a470d934f9e9f6d08b24f2b870276411512688d7f34979a2e1852bbd97d7df935c6cb1fef756d7b966189aab267041ec6a WHIRLPOOL 12aafcf67db4d9adf2c258a136dad92a1dd47d6c2e581deae62c9c2f64728f67f1cd426d72cb8f13fc19d415688bc3314dce27e3d343dc1e62673fecd776751a
|
||||
DIST curl-7.25.0.tar.bz2 2418060 SHA256 cfb29139dfeb2449bf8a89963c3aed7d87f034013f05564cc0330b435c90b491 SHA512 8053d942f145933a5a293ddc4d3fd7651ccacb57138d9fa23ecb623fd73bbc4d31027a1d3c664be639859f37e54461ace36c29a5063aed1e1fcf7aa0442afecf WHIRLPOOL a4310af47ab46dba203f89ae211509d117fcbb86d64e9f304eac9818f283775452c6f8f30715943336644d84e8149ed8da551bc876626c9f0f63fda4c5be7c33
|
||||
DIST curl-7.26.0.tar.bz2 2422651 SHA256 fced262f16eb6bfcdcea15e04a7905ffcb5ff04b14a19ca35b9df86d6720d26a SHA512 da67063bc9907088ef8ecd6039b7a6c8c104060bc060561f2f3a8c23bf2f0dcc06e2d240275d08bcfb72e7ac8b0c22c3e191125dab4cfaa757ee2a892cb49159 WHIRLPOOL 61f0611b42bb6a61758cec1647335071bf0503681de2bbf38f33b4b70d1beb2df546e61efabcab642b29b57c1c1ca9275470a35b47f21b77752bf7ba276fb6d0
|
||||
DIST curl-7.27.0.tar.bz2 2476068 SHA256 aba5582135c28470b46084da9747470c1c680485fc91f9f0d3f7928df8169398 SHA512 2a9abffedbf9dc29cd80e192758de9e6e9fd32f14fd3e4f3d0e97d5ab39d950692a8497d06508a5e59f579bf8468bf2648e878bdf96b43e3ef3ab59988a6dd3e WHIRLPOOL 4a1121f1c762e02c2215e7ce5b1cd67601d791643ca0b863b89d4de02005f2b041b8bc2e27320c3fe106ed8f09df3a537283b192fa4bd2ef3bde6432ba8d0197
|
||||
DIST curl-7.28.0.tar.bz2 2507197 SHA256 b7f510db60f520ba0bc8a39cccee7e913362205b4a7709e16af2cba14093099b SHA512 87ffa0b50d25e4ab05a8e05e046de5d7c4a4db78676840e5d068af3d08d4a4dcba260111eefa99053d67c5f544e7be0a0a77d3b3746c3f6479b23cf98de96af8 WHIRLPOOL 12a2d20a01fb2c5e3cfaa1e16bd9aabb6259c950016b5e1af0312df39260c198e3d886fb20baa67fa8c967f6843017d9108059e745551236613b98f42c371190
|
||||
DIST curl-7.28.1.tar.bz2 2516671 SHA256 e569d6deb58a516e6858cd4c348949e0397433e1354666bafde1a52d1ea77367 SHA512 6c7f933acb1230e728c2a5c739c93d61bfeca27fe514bfe348c4cfbf7cab7199e9e00b1447e1f27e81782e7c7a226cfa53196b326de65844cc0ecd1a460489e0 WHIRLPOOL e9a5c61be0ff4880dadbbb5f12e8c6e2c4059c787f96614d296cbaefaf2f3f40a985f5c30ea9717fa165fd6e439ff9d40f99b1b08dbcaa99920a5bdbdd9bc767
|
||||
EBUILD curl-7.21.4.ebuild 3514 SHA256 90020645c61c93a010fc61c020179e42ebcea70ee191fc8d18ac45916d99a328 SHA512 c5b55fdd2ec42e113eb190e3eb5895bc14c6abc97768d3d616360628a7be9a84703b690a860f5037c76dd1bbe858ec04035d69213284756840ef597a1d4f9882 WHIRLPOOL 07bbe20b8deecca17161311b8ccda88c6593b9aa73a29257bdde53ef720733ef9f2c10ae748e3e7c81bced17f372068e5b57e8fd07e027d528f5905825fc2434
|
||||
EBUILD curl-7.25.0-r1.ebuild 5834 SHA256 c14d3185b39d5ef166215b13d4e353f24945d2c8888ce99da8845e5ddfaad48d SHA512 868b5b3dcc038d124aa6a1dca8ff8957d9c76c5ec37ea2ea647c6ed15272066de53d439db99208ee20d146a5c505eb3b1044660e9e75c285ebc9c8353a3a6b11 WHIRLPOOL a35bd0a5d79f149ff9046c6ffb47a526e8569d06b72601fcf627df5805173ca2a27f4223ea9a78e181588383d2789a1ded8e37b9c20cb34561d7927930f4946b
|
||||
EBUILD curl-7.26.0.ebuild 6086 SHA256 785de5565ed98c5e46bb1d526936047c6b44fe087a3269c3932037b32b6597f9 SHA512 b6007e66f7ecf15f7ac152c4d4f747376476e710ab47fec1c9c58bc05cc4a4d0e4e8095f0e35348896267b3ef792e9299ce48ba36da5aac112ddc75c47f38b67 WHIRLPOOL 3cfc5497af90423b2bd20cf77ae9c94d8f4d8f82cc74e6d93eccb503c19fb930a9e121e748c0e19cb6ffd876bab7b50830405069a40e2ed24651fc51a624c246
|
||||
EBUILD curl-7.27.0-r3.ebuild 6673 SHA256 8c128a88cf70fda345382dce35b9be5dc875844a769f02a6aae5b6e5c6d48183 SHA512 05c5e3bc00b16f67308ab5d12ecbba2099aacd54e2082761a85be48d496086a823dd0baa1002bc86209245e0254498428bff5a1adfd0c968bf3814f247840567 WHIRLPOOL af58b98be7d569de2a6a325718c60a2b6499acc2ce2af4dc631bd5bdbef788807aef1c731c4246df4452dbd12f2d8d54cd99747804d9f676de750aaca40490ca
|
||||
EBUILD curl-7.28.0-r1.ebuild 6572 SHA256 988c8912a7de9952ba8c7c70017f5fa3949740c2fb969362c4cebf1bd8fff147 SHA512 eb87d0865af37df4bcb4317c333996ee27303e0f12fc64fdeecda070b88356cc138c4a522ad765b02c720695c2a047fdc5cde6d1001528c9ae524b72cb47bb6c WHIRLPOOL 9c65b5f177e44195b2bec7213ccc185034209c3c1385d44672bba15cb96ce4da51aaa2b3fa02d248d7b45be357ca43a1de183e5f4c815bbf4caa91f3b2f0c214
|
||||
EBUILD curl-7.28.1.ebuild 6447 SHA256 4b81b2a5b334feebfca12c0eb401c0c9f0d3e9acea75a1f937949b34c15c6216 SHA512 2735968447b375a348733fe64b7895e0d2c696aba723c0337e71e269bdebe2ae7e5a2464c31a776549c003db3f95504d328fb2c7fd15cff68adbfed862ef72ef WHIRLPOOL 49adafc7e01393c2d5d8f9f84d345fb26e2a9051e2d27f99a526d5b9f766f90cdef2dfbe45675a3dc4277cfc420400d61a43e3339762991c5379744e6667b944
|
||||
MISC ChangeLog 41330 SHA256 c9274acf057cbd0a883702fb51a2a5bc003a445398dc00fe77fba86bfd6903af SHA512 e8fd43da2072feec0c9334b1a19cf409d658838618484bcff4d6d21f9de51f4baad38b4f6a1d4d1460138093967077b255c9c8386816ad27776ce61d05f52846 WHIRLPOOL 738105d17f3b984a5b7e3779eff9c45efa68e2b0c6e13a72c7609772012e39675b91e81a22a6359a69c36781c3cf5eed6225829872d805fdc92d6fe211feb7b3
|
||||
MISC metadata.xml 914 SHA256 5ef1a7aa505389d5251c676a19babf3da6cd327391a731c51142d98c6a592f5f SHA512 1a8dbd0b7ae28fb8a91c566ff1766d166c188c382f050a2738551ca691305154cf387464df4090aeb2b3b7c38cf54895754407e6865adf88ebd030429a9a55f3 WHIRLPOOL 376247a5eeaa313864f6abe1860976a3bdac08f438c9eac8a92ebb58811f1bf3893023314cf931023a96db093c49edf9a972ca367b118c9d7d5f006bf7c5912d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJQq8qAAAoJEJOE+m71LUu6vdUP/RLebWxvZiTnRg4H4tfk9wUR
|
||||
YBxRuoTOU5hSEn3TiPPR2UB6uYhnFJQNl0tXYGuqGhrcUeDpuud6qeLVeHctxcXD
|
||||
Tr3JKB0YdhFCG6/LP2T+LCuQUyFz1BKPFaZGG6g7sw+svc1C6Mr/wni3j7kSpcRo
|
||||
Xe93E3HhOj6jmBho9kDKsI7oGyECZAXcqnD/bsboyZeT4ubEul7Nsx/0xSJhfgrv
|
||||
ml+gSD+90zR96gb6OjsDOmj+pW+/uzSmRPGghrh3IGKx2VhcuHINmOTYd9ZUFv+8
|
||||
MvFKK2qs9yfR5FnWtUQPS569sP2muWhwhZxxSOFo/3eYwnoTe7UFIuz6HF1s5H4+
|
||||
+J3cMqMf7Rwcds2E1MyvYp+xCvKXiT2eg33WRQdrM+GmiS2y+r8leXRWFqT2JZcJ
|
||||
rXquNtiVcnNlj1+W0Jwhd6oc/0G8eNl915R2EEKvJruz4Xl6hBOpE5pfkYM2Rk/b
|
||||
NrWaWkmtKnO9b8kuwPL32Cw/uTcyXT0vRUXNx2cmUICSezbpihTWX6eIAO/Y5GTt
|
||||
Adj5JK+lXJ2YH6KGKrAthjUwbZznv97fGvb+egiGVfxtZpvWblPEFCsaquG01E50
|
||||
2hgE2kybw/T/wbI6drkx/uc87jg751Uhu7/1xhRMLpJMjL7/HmKkTATRoS+Qt03U
|
||||
rbHJKk3hP2QQ8rvtie0s
|
||||
=l8kd
|
||||
-----END PGP SIGNATURE-----
|
120
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.21.4.ebuild
vendored
Normal file
120
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.21.4.ebuild
vendored
Normal file
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.21.4.ebuild,v 1.14 2012/05/05 03:20:41 jdhore Exp $
|
||||
|
||||
# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl!
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools multilib eutils libtool prefix
|
||||
|
||||
DESCRIPTION="A Client that groks URLs"
|
||||
HOMEPAGE="http://curl.haxx.se/"
|
||||
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
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"
|
||||
IUSE="ares gnutls idn ipv6 kerberos ldap nss ssh ssl static-libs test threads"
|
||||
|
||||
RDEPEND="ldap? ( net-nds/openldap )
|
||||
ssl? (
|
||||
gnutls? ( net-libs/gnutls dev-libs/libgcrypt app-misc/ca-certificates )
|
||||
nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) )
|
||||
!gnutls? ( !nss? ( dev-libs/openssl ) )
|
||||
)
|
||||
idn? ( net-dns/libidn )
|
||||
ares? ( >=net-dns/c-ares-1.4.0 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ssh? ( >=net-libs/libssh2-0.16 )"
|
||||
|
||||
# rtmpdump ( media-video/rtmpdump ) / --with-librtmp
|
||||
# fbopenssl (not in gentoo) --with-spnego
|
||||
# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
dev-lang/perl
|
||||
)"
|
||||
# used - but can do without in self test: net-misc/stunnel
|
||||
|
||||
# ares must be disabled for threads and both can be disabled
|
||||
# one can use wether gnutls or nss if ssl is enabled
|
||||
REQUIRED_USE="threads? ( !ares )
|
||||
gnutls? ( ssl )
|
||||
nss? ( ssl )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-7.20.0-strip-ldflags.patch \
|
||||
"${FILESDIR}"/${PN}-7.19.7-test241.patch \
|
||||
"${FILESDIR}"/${PN}-7.18.2-prefix.patch \
|
||||
"${FILESDIR}"/${PN}-respect-cflags.patch
|
||||
|
||||
eprefixify curl-config.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
myconf="$(use_enable ldap)
|
||||
$(use_enable ldap ldaps)
|
||||
$(use_with idn libidn)
|
||||
$(use_with kerberos gssapi "${EPREFIX}"/usr)
|
||||
$(use_with ssh libssh2)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable threads threaded-resolver)
|
||||
$(use_enable ares)
|
||||
--enable-http
|
||||
--enable-ftp
|
||||
--enable-gopher
|
||||
--enable-file
|
||||
--enable-dict
|
||||
--enable-manual
|
||||
--enable-telnet
|
||||
--enable-smtp
|
||||
--enable-pop3
|
||||
--enable-imap
|
||||
--enable-rtsp
|
||||
--enable-nonblocking
|
||||
--enable-largefile
|
||||
--enable-maintainer-mode
|
||||
--disable-sspi
|
||||
--without-krb4
|
||||
--without-librtmp
|
||||
--without-spnego"
|
||||
|
||||
if use ssl ; then
|
||||
if use gnutls; then
|
||||
myconf+=" --without-ssl --with-gnutls --without-nss"
|
||||
myconf+=" --with-ca-bundle=${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
|
||||
elif use nss; then
|
||||
myconf+=" --without-ssl --without-gnutls --with-nss"
|
||||
myconf+=" --with-ca-bundle=${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
|
||||
else
|
||||
myconf+=" --without-gnutls --without-nss --with-ssl"
|
||||
myconf+=" --without-ca-bundle --with-ca-path=${EPREFIX}/etc/ssl/certs"
|
||||
fi
|
||||
else
|
||||
myconf+=" --without-gnutls --without-nss --without-ssl"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
# https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
|
||||
insinto /usr/share/aclocal
|
||||
doins docs/libcurl/libcurl.m4
|
||||
|
||||
dodoc CHANGES README
|
||||
dodoc docs/FEATURES docs/INTERNALS
|
||||
dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE
|
||||
}
|
185
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.25.0-r1.ebuild
vendored
Normal file
185
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.25.0-r1.ebuild
vendored
Normal file
@ -0,0 +1,185 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.25.0-r1.ebuild,v 1.15 2012/07/20 01:59:05 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils prefix
|
||||
|
||||
DESCRIPTION="A Client that groks URLs"
|
||||
HOMEPAGE="http://curl.haxx.se/"
|
||||
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~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"
|
||||
IUSE="ares idn ipv6 kerberos ldap ssh ssl static-libs test threads"
|
||||
IUSE="${IUSE} curl_ssl_axtls curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl"
|
||||
|
||||
#lead to lots of false negatives, bug #285669
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="ldap? ( net-nds/openldap )
|
||||
ssl? (
|
||||
curl_ssl_axtls? ( net-libs/axtls app-misc/ca-certificates )
|
||||
curl_ssl_gnutls? (
|
||||
|| (
|
||||
( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] )
|
||||
( <net-libs/gnutls-2.12 dev-libs/libgcrypt[static-libs?] )
|
||||
)
|
||||
app-misc/ca-certificates
|
||||
)
|
||||
curl_ssl_openssl? ( dev-libs/openssl[static-libs?] )
|
||||
curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates )
|
||||
curl_ssl_polarssl? ( net-libs/polarssl app-misc/ca-certificates )
|
||||
)
|
||||
idn? ( net-dns/libidn[static-libs?] )
|
||||
ares? ( net-dns/c-ares )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ssh? ( net-libs/libssh2[static-libs?] )
|
||||
sys-libs/zlib"
|
||||
|
||||
# ssl providers to be added:
|
||||
# fbopenssl $(use_with spnego)
|
||||
|
||||
# rtmpdump ( media-video/rtmpdump ) / --with-librtmp
|
||||
# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/ed
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
dev-lang/perl
|
||||
)"
|
||||
# used - but can do without in self test: net-misc/stunnel
|
||||
|
||||
# ares must be disabled for threads
|
||||
# only one ssl provider can be enabled
|
||||
REQUIRED_USE="threads? ( !ares )
|
||||
ssl? (
|
||||
^^ (
|
||||
curl_ssl_axtls
|
||||
curl_ssl_gnutls
|
||||
curl_ssl_openssl
|
||||
curl_ssl_nss
|
||||
curl_ssl_polarssl
|
||||
)
|
||||
)"
|
||||
|
||||
DOCS=( CHANGES README docs/FEATURES docs/INTERNALS \
|
||||
docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE)
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-7.19.7-test241.patch \
|
||||
"${FILESDIR}"/${PN}-7.18.2-prefix.patch \
|
||||
"${FILESDIR}"/${PN}-respect-cflags-3.patch \
|
||||
"${FILESDIR}"/${PN}-fix-gnutls-nettle.patch
|
||||
sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241
|
||||
|
||||
eprefixify curl-config.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# We make use of the fact that later flags override earlier ones
|
||||
# So start with all ssl providers off until proven otherwise
|
||||
local myconf=()
|
||||
myconf+=( --without-axtls --without-cyassl --without-gnutls --without-nss --without-polarssl --without-ssl )
|
||||
myconf+=( --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt )
|
||||
if use ssl ; then
|
||||
if use curl_ssl_axtls; then
|
||||
einfo "SSL provided by axtls"
|
||||
einfo "NOTE: axtls is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-axtls )
|
||||
fi
|
||||
if use curl_ssl_gnutls; then
|
||||
einfo "SSL provided by gnutls"
|
||||
if has_version ">=net-libs/gnutls-3" || has_version "=net-libs/gnutls-2.12*[nettle]"; then
|
||||
einfo "gnutls compiled with dev-libs/nettle"
|
||||
myconf+=( --with-gnutls --with-nettle )
|
||||
else
|
||||
einfo "gnutls compiled with dev-libs/libgcrypt"
|
||||
myconf+=( --with-gnutls --without-nettle )
|
||||
fi
|
||||
fi
|
||||
if use curl_ssl_nss; then
|
||||
einfo "SSL provided by nss"
|
||||
myconf+=( --with-nss )
|
||||
fi
|
||||
if use curl_ssl_polarssl; then
|
||||
einfo "SSL provided by polarssl"
|
||||
einfo "NOTE: polarssl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-polarssl )
|
||||
fi
|
||||
if use curl_ssl_openssl; then
|
||||
einfo "SSL provided by openssl"
|
||||
myconf+=( --with-ssl --without-ca-bundle --with-ca-path="${EPREFIX}"/etc/ssl/certs )
|
||||
fi
|
||||
else
|
||||
einfo "SSL disabled"
|
||||
fi
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# These configuration options are organized alphabetically
|
||||
# within each category. This should make it easier if we
|
||||
# ever decide to make any of them contingent on USE flags:
|
||||
# 1) protocols first. To see them all do
|
||||
# 'grep SUPPORT_PROTOCOLS configure.ac'
|
||||
# 2) --enable/disable options second.
|
||||
# 'grep -- --enable configure | grep Check | awk '{ print $4 }' | sort
|
||||
# 3) --with/without options third.
|
||||
# grep -- --with configure | grep Check | awk '{ print $4 }' | sort
|
||||
econf \
|
||||
--enable-dict \
|
||||
--enable-file \
|
||||
--enable-ftp \
|
||||
--enable-gopher \
|
||||
--enable-http \
|
||||
--enable-imap \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable ldap ldaps) \
|
||||
--enable-pop3 \
|
||||
--without-librtmp \
|
||||
--enable-rtsp \
|
||||
$(use_with ssh libssh2) \
|
||||
--enable-smtp \
|
||||
--enable-telnet \
|
||||
--enable-tftp \
|
||||
$(use_enable ares) \
|
||||
--enable-cookies \
|
||||
--enable-hidden-symbols \
|
||||
$(use_enable ipv6) \
|
||||
--enable-largefile \
|
||||
--enable-manual \
|
||||
--enable-nonblocking \
|
||||
--enable-proxy \
|
||||
--disable-soname-bump \
|
||||
--disable-sspi \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads threaded-resolver) \
|
||||
--disable-versioned-symbols \
|
||||
$(use_with idn libidn) \
|
||||
$(use_with kerberos gssapi "${EPREFIX}"/usr) \
|
||||
--without-krb4 \
|
||||
--without-spnego \
|
||||
--with-zlib \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
# https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
|
||||
insinto /usr/share/aclocal
|
||||
doins docs/libcurl/libcurl.m4
|
||||
}
|
192
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.26.0.ebuild
vendored
Normal file
192
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.26.0.ebuild
vendored
Normal file
@ -0,0 +1,192 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.26.0.ebuild,v 1.11 2012/09/06 10:28:39 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils prefix
|
||||
|
||||
DESCRIPTION="A Client that groks URLs"
|
||||
HOMEPAGE="http://curl.haxx.se/"
|
||||
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
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"
|
||||
IUSE="ares idn ipv6 kerberos ldap ssh ssl static-libs test threads"
|
||||
IUSE="${IUSE} curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl"
|
||||
|
||||
#lead to lots of false negatives, bug #285669
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="ldap? ( net-nds/openldap )
|
||||
ssl? (
|
||||
curl_ssl_axtls? ( net-libs/axtls app-misc/ca-certificates )
|
||||
curl_ssl_cyassl? ( net-libs/cyassl app-misc/ca-certificates )
|
||||
curl_ssl_gnutls? (
|
||||
|| (
|
||||
( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] )
|
||||
( <net-libs/gnutls-2.12 dev-libs/libgcrypt[static-libs?] )
|
||||
)
|
||||
app-misc/ca-certificates
|
||||
)
|
||||
curl_ssl_openssl? ( dev-libs/openssl[static-libs?] )
|
||||
curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates )
|
||||
curl_ssl_polarssl? ( net-libs/polarssl app-misc/ca-certificates )
|
||||
)
|
||||
idn? ( net-dns/libidn[static-libs?] )
|
||||
ares? ( net-dns/c-ares )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ssh? ( net-libs/libssh2[static-libs?] )
|
||||
sys-libs/zlib"
|
||||
|
||||
# ssl providers to be added:
|
||||
# fbopenssl $(use_with spnego)
|
||||
|
||||
# rtmpdump ( media-video/rtmpdump ) / --with-librtmp
|
||||
# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/ed
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
dev-lang/perl
|
||||
)"
|
||||
# used - but can do without in self test: net-misc/stunnel
|
||||
|
||||
# ares must be disabled for threads
|
||||
# only one ssl provider can be enabled
|
||||
REQUIRED_USE="threads? ( !ares )
|
||||
ssl? (
|
||||
^^ (
|
||||
curl_ssl_axtls
|
||||
curl_ssl_cyassl
|
||||
curl_ssl_gnutls
|
||||
curl_ssl_openssl
|
||||
curl_ssl_nss
|
||||
curl_ssl_polarssl
|
||||
)
|
||||
)"
|
||||
|
||||
DOCS=( CHANGES README docs/FEATURES docs/INTERNALS \
|
||||
docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE)
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-7.18.2-prefix.patch \
|
||||
"${FILESDIR}"/${PN}-respect-cflags-3.patch \
|
||||
"${FILESDIR}"/${PN}-fix-gnutls-nettle.patch
|
||||
sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241
|
||||
|
||||
eprefixify curl-config.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# We make use of the fact that later flags override earlier ones
|
||||
# So start with all ssl providers off until proven otherwise
|
||||
local myconf=()
|
||||
myconf+=( --without-axtls --without-cyassl --without-gnutls --without-nss --without-polarssl --without-ssl )
|
||||
myconf+=( --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt )
|
||||
if use ssl ; then
|
||||
if use curl_ssl_axtls; then
|
||||
einfo "SSL provided by axtls"
|
||||
einfo "NOTE: axtls is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-axtls )
|
||||
fi
|
||||
if use curl_ssl_cyassl; then
|
||||
einfo "SSL provided by cyassl"
|
||||
einfo "NOTE: cyassl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-cyassl )
|
||||
fi
|
||||
if use curl_ssl_gnutls; then
|
||||
einfo "SSL provided by gnutls"
|
||||
if has_version ">=net-libs/gnutls-3" || has_version "=net-libs/gnutls-2.12*[nettle]"; then
|
||||
einfo "gnutls compiled with dev-libs/nettle"
|
||||
myconf+=( --with-gnutls --with-nettle )
|
||||
else
|
||||
einfo "gnutls compiled with dev-libs/libgcrypt"
|
||||
myconf+=( --with-gnutls --without-nettle )
|
||||
fi
|
||||
fi
|
||||
if use curl_ssl_nss; then
|
||||
einfo "SSL provided by nss"
|
||||
myconf+=( --with-nss )
|
||||
fi
|
||||
if use curl_ssl_polarssl; then
|
||||
einfo "SSL provided by polarssl"
|
||||
einfo "NOTE: polarssl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-polarssl )
|
||||
fi
|
||||
if use curl_ssl_openssl; then
|
||||
einfo "SSL provided by openssl"
|
||||
myconf+=( --with-ssl --without-ca-bundle --with-ca-path="${EPREFIX}"/etc/ssl/certs )
|
||||
fi
|
||||
else
|
||||
einfo "SSL disabled"
|
||||
fi
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# These configuration options are organized alphabetically
|
||||
# within each category. This should make it easier if we
|
||||
# ever decide to make any of them contingent on USE flags:
|
||||
# 1) protocols first. To see them all do
|
||||
# 'grep SUPPORT_PROTOCOLS configure.ac'
|
||||
# 2) --enable/disable options second.
|
||||
# 'grep -- --enable configure | grep Check | awk '{ print $4 }' | sort
|
||||
# 3) --with/without options third.
|
||||
# grep -- --with configure | grep Check | awk '{ print $4 }' | sort
|
||||
econf \
|
||||
--enable-dict \
|
||||
--enable-file \
|
||||
--enable-ftp \
|
||||
--enable-gopher \
|
||||
--enable-http \
|
||||
--enable-imap \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable ldap ldaps) \
|
||||
--enable-pop3 \
|
||||
--without-librtmp \
|
||||
--enable-rtsp \
|
||||
$(use_with ssh libssh2) \
|
||||
--enable-smtp \
|
||||
--enable-telnet \
|
||||
--enable-tftp \
|
||||
$(use_enable ares) \
|
||||
--enable-cookies \
|
||||
--enable-hidden-symbols \
|
||||
$(use_enable ipv6) \
|
||||
--enable-largefile \
|
||||
--enable-manual \
|
||||
--enable-nonblocking \
|
||||
--enable-proxy \
|
||||
--disable-soname-bump \
|
||||
--disable-sspi \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads threaded-resolver) \
|
||||
--disable-versioned-symbols \
|
||||
$(use_with idn libidn) \
|
||||
$(use_with kerberos gssapi "${EPREFIX}"/usr) \
|
||||
--without-krb4 \
|
||||
--without-spnego \
|
||||
--with-zlib \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
# https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
|
||||
insinto /usr/share/aclocal
|
||||
doins docs/libcurl/libcurl.m4
|
||||
}
|
208
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.27.0-r3.ebuild
vendored
Normal file
208
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.27.0-r3.ebuild
vendored
Normal file
@ -0,0 +1,208 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.27.0-r3.ebuild,v 1.3 2012/11/11 00:27:44 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils prefix
|
||||
|
||||
DESCRIPTION="A Client that groks URLs"
|
||||
HOMEPAGE="http://curl.haxx.se/"
|
||||
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~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"
|
||||
IUSE="adns idn ipv6 kerberos ldap metalink rtmp ssh ssl static-libs test threads"
|
||||
IUSE="${IUSE} curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl"
|
||||
|
||||
#lead to lots of false negatives, bug #285669
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="ldap? ( net-nds/openldap )
|
||||
ssl? (
|
||||
curl_ssl_axtls? ( net-libs/axtls app-misc/ca-certificates )
|
||||
curl_ssl_cyassl? ( net-libs/cyassl app-misc/ca-certificates )
|
||||
curl_ssl_gnutls? (
|
||||
|| (
|
||||
( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] )
|
||||
)
|
||||
app-misc/ca-certificates
|
||||
)
|
||||
curl_ssl_openssl? ( dev-libs/openssl[static-libs?] )
|
||||
curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates )
|
||||
curl_ssl_polarssl? ( net-libs/polarssl app-misc/ca-certificates )
|
||||
)
|
||||
idn? ( net-dns/libidn[static-libs?] )
|
||||
adns? ( net-dns/c-ares )
|
||||
kerberos? ( virtual/krb5 )
|
||||
metalink? ( >=media-libs/libmetalink-0.1.0 )
|
||||
rtmp? ( media-video/rtmpdump )
|
||||
ssh? ( net-libs/libssh2[static-libs?] )
|
||||
sys-libs/zlib"
|
||||
|
||||
# Do we need to enforce the same ssl backend for curl and rtmpdump? Bug #423303
|
||||
# rtmp? (
|
||||
# media-video/rtmpdump
|
||||
# curl_ssl_gnutls? ( media-video/rtmpdump[gnutls] )
|
||||
# curl_ssl_polarssl? ( media-video/rtmpdump[polarssl] )
|
||||
# curl_ssl_openssl? ( media-video/rtmpdump[-gnutls,-polarssl,ssl] )
|
||||
# )
|
||||
|
||||
# ssl providers to be added:
|
||||
# fbopenssl $(use_with spnego)
|
||||
|
||||
# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
dev-lang/perl
|
||||
)"
|
||||
|
||||
# c-ares must be disabled for threads
|
||||
# metalink cannot use nss for its backend #433822
|
||||
# only one ssl provider can be enabled
|
||||
REQUIRED_USE="
|
||||
threads? ( !adns )
|
||||
metalink? ( !curl_ssl_nss )
|
||||
ssl? (
|
||||
^^ (
|
||||
curl_ssl_axtls
|
||||
curl_ssl_cyassl
|
||||
curl_ssl_gnutls
|
||||
curl_ssl_openssl
|
||||
curl_ssl_nss
|
||||
curl_ssl_polarssl
|
||||
)
|
||||
)"
|
||||
|
||||
DOCS=( CHANGES README docs/FEATURES docs/INTERNALS \
|
||||
docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE)
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-7.27.0-curl-config.patch \
|
||||
"${FILESDIR}"/${PN}-7.27.0-prefix.patch \
|
||||
"${FILESDIR}"/${PN}-respect-cflags-3.patch \
|
||||
"${FILESDIR}"/${PN}-fix-gnutls-nettle.patch \
|
||||
"${FILESDIR}"/${PN}-7.27.0-fix-nettle-include.patch \
|
||||
"${FILESDIR}"/${PN}-7.27.0-fix-metalink-gnutls.patch
|
||||
sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241
|
||||
|
||||
eprefixify curl-config.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# We make use of the fact that later flags override earlier ones
|
||||
# So start with all ssl providers off until proven otherwise
|
||||
local myconf=()
|
||||
myconf+=( --without-axtls --without-cyassl --without-gnutls --without-nss --without-polarssl --without-ssl )
|
||||
myconf+=( --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt )
|
||||
if use ssl ; then
|
||||
if use curl_ssl_axtls; then
|
||||
einfo "SSL provided by axtls"
|
||||
einfo "NOTE: axtls is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-axtls )
|
||||
fi
|
||||
if use curl_ssl_cyassl; then
|
||||
einfo "SSL provided by cyassl"
|
||||
einfo "NOTE: cyassl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-cyassl )
|
||||
fi
|
||||
if use curl_ssl_gnutls; then
|
||||
einfo "SSL provided by gnutls"
|
||||
if has_version ">=net-libs/gnutls-3" || has_version "=net-libs/gnutls-2.12*[nettle]"; then
|
||||
einfo "gnutls compiled with dev-libs/nettle"
|
||||
myconf+=( --with-gnutls --with-nettle )
|
||||
else
|
||||
einfo "gnutls compiled with dev-libs/libgcrypt"
|
||||
myconf+=( --with-gnutls --without-nettle )
|
||||
fi
|
||||
fi
|
||||
if use curl_ssl_nss; then
|
||||
einfo "SSL provided by nss"
|
||||
myconf+=( --with-nss )
|
||||
fi
|
||||
if use curl_ssl_polarssl; then
|
||||
einfo "SSL provided by polarssl"
|
||||
einfo "NOTE: polarssl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-polarssl )
|
||||
fi
|
||||
if use curl_ssl_openssl; then
|
||||
einfo "SSL provided by openssl"
|
||||
myconf+=( --with-ssl --without-ca-bundle --with-ca-path="${EPREFIX}"/etc/ssl/certs )
|
||||
fi
|
||||
else
|
||||
einfo "SSL disabled"
|
||||
fi
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# These configuration options are organized alphabetically
|
||||
# within each category. This should make it easier if we
|
||||
# ever decide to make any of them contingent on USE flags:
|
||||
# 1) protocols first. To see them all do
|
||||
# 'grep SUPPORT_PROTOCOLS configure.ac'
|
||||
# 2) --enable/disable options second.
|
||||
# 'grep -- --enable configure | grep Check | awk '{ print $4 }' | sort
|
||||
# 3) --with/without options third.
|
||||
# grep -- --with configure | grep Check | awk '{ print $4 }' | sort
|
||||
econf \
|
||||
--enable-dict \
|
||||
--enable-file \
|
||||
--enable-ftp \
|
||||
--enable-gopher \
|
||||
--enable-http \
|
||||
--enable-imap \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable ldap ldaps) \
|
||||
--enable-pop3 \
|
||||
--enable-rtsp \
|
||||
$(use_with ssh libssh2) \
|
||||
--enable-smtp \
|
||||
--enable-telnet \
|
||||
--enable-tftp \
|
||||
$(use_enable adns ares) \
|
||||
--enable-cookies \
|
||||
--enable-hidden-symbols \
|
||||
$(use_enable ipv6) \
|
||||
--enable-largefile \
|
||||
--enable-manual \
|
||||
--enable-nonblocking \
|
||||
--enable-proxy \
|
||||
--disable-soname-bump \
|
||||
--disable-sspi \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads threaded-resolver) \
|
||||
--disable-versioned-symbols \
|
||||
--without-darwinssl \
|
||||
$(use_with idn libidn) \
|
||||
$(use_with kerberos gssapi "${EPREFIX}"/usr) \
|
||||
--without-krb4 \
|
||||
$(use_with metalink libmetalink) \
|
||||
$(use_with rtmp librtmp) \
|
||||
--without-spnego \
|
||||
--without-winidn \
|
||||
--without-winssl \
|
||||
--with-zlib \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
# https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
|
||||
insinto /usr/share/aclocal
|
||||
doins docs/libcurl/libcurl.m4
|
||||
}
|
206
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.28.0-r1.ebuild
vendored
Normal file
206
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.28.0-r1.ebuild
vendored
Normal file
@ -0,0 +1,206 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.28.0-r1.ebuild,v 1.2 2012/11/11 00:27:44 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils prefix
|
||||
|
||||
DESCRIPTION="A Client that groks URLs"
|
||||
HOMEPAGE="http://curl.haxx.se/"
|
||||
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~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"
|
||||
IUSE="adns idn ipv6 kerberos ldap metalink +nonblocking rtmp ssh ssl static-libs test threads"
|
||||
IUSE="${IUSE} curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl"
|
||||
|
||||
#lead to lots of false negatives, bug #285669
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="ldap? ( net-nds/openldap )
|
||||
ssl? (
|
||||
curl_ssl_axtls? ( net-libs/axtls app-misc/ca-certificates )
|
||||
curl_ssl_cyassl? ( net-libs/cyassl app-misc/ca-certificates )
|
||||
curl_ssl_gnutls? (
|
||||
|| (
|
||||
( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] )
|
||||
)
|
||||
app-misc/ca-certificates
|
||||
)
|
||||
curl_ssl_openssl? ( dev-libs/openssl[static-libs?] )
|
||||
curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates )
|
||||
curl_ssl_polarssl? ( net-libs/polarssl app-misc/ca-certificates )
|
||||
)
|
||||
idn? ( net-dns/libidn[static-libs?] )
|
||||
adns? ( net-dns/c-ares )
|
||||
kerberos? ( virtual/krb5 )
|
||||
metalink? ( >=media-libs/libmetalink-0.1.0 )
|
||||
rtmp? ( media-video/rtmpdump )
|
||||
ssh? ( net-libs/libssh2[static-libs?] )
|
||||
sys-libs/zlib"
|
||||
|
||||
# Do we need to enforce the same ssl backend for curl and rtmpdump? Bug #423303
|
||||
# rtmp? (
|
||||
# media-video/rtmpdump
|
||||
# curl_ssl_gnutls? ( media-video/rtmpdump[gnutls] )
|
||||
# curl_ssl_polarssl? ( media-video/rtmpdump[polarssl] )
|
||||
# curl_ssl_openssl? ( media-video/rtmpdump[-gnutls,-polarssl,ssl] )
|
||||
# )
|
||||
|
||||
# ssl providers to be added:
|
||||
# fbopenssl $(use_with spnego)
|
||||
|
||||
# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
dev-lang/perl
|
||||
)"
|
||||
|
||||
# c-ares must be disabled for threads
|
||||
# metalink cannot use nss for its backend #433822
|
||||
# only one ssl provider can be enabled
|
||||
REQUIRED_USE="
|
||||
threads? ( !adns )
|
||||
metalink? ( !curl_ssl_nss )
|
||||
ssl? (
|
||||
^^ (
|
||||
curl_ssl_axtls
|
||||
curl_ssl_cyassl
|
||||
curl_ssl_gnutls
|
||||
curl_ssl_openssl
|
||||
curl_ssl_nss
|
||||
curl_ssl_polarssl
|
||||
)
|
||||
)"
|
||||
|
||||
DOCS=( CHANGES README docs/FEATURES docs/INTERNALS \
|
||||
docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE)
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-7.28.0-prefix.patch \
|
||||
"${FILESDIR}"/${PN}-respect-cflags-3.patch \
|
||||
"${FILESDIR}"/${PN}-fix-gnutls-nettle.patch \
|
||||
"${FILESDIR}"/${P}-fix-http-auth.patch
|
||||
sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241
|
||||
|
||||
eprefixify curl-config.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# We make use of the fact that later flags override earlier ones
|
||||
# So start with all ssl providers off until proven otherwise
|
||||
local myconf=()
|
||||
myconf+=( --without-axtls --without-cyassl --without-gnutls --without-nss --without-polarssl --without-ssl )
|
||||
myconf+=( --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt )
|
||||
if use ssl ; then
|
||||
if use curl_ssl_axtls; then
|
||||
einfo "SSL provided by axtls"
|
||||
einfo "NOTE: axtls is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-axtls )
|
||||
fi
|
||||
if use curl_ssl_cyassl; then
|
||||
einfo "SSL provided by cyassl"
|
||||
einfo "NOTE: cyassl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-cyassl )
|
||||
fi
|
||||
if use curl_ssl_gnutls; then
|
||||
einfo "SSL provided by gnutls"
|
||||
if has_version ">=net-libs/gnutls-3" || has_version "=net-libs/gnutls-2.12*[nettle]"; then
|
||||
einfo "gnutls compiled with dev-libs/nettle"
|
||||
myconf+=( --with-gnutls --with-nettle )
|
||||
else
|
||||
einfo "gnutls compiled with dev-libs/libgcrypt"
|
||||
myconf+=( --with-gnutls --without-nettle )
|
||||
fi
|
||||
fi
|
||||
if use curl_ssl_nss; then
|
||||
einfo "SSL provided by nss"
|
||||
myconf+=( --with-nss )
|
||||
fi
|
||||
if use curl_ssl_polarssl; then
|
||||
einfo "SSL provided by polarssl"
|
||||
einfo "NOTE: polarssl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-polarssl )
|
||||
fi
|
||||
if use curl_ssl_openssl; then
|
||||
einfo "SSL provided by openssl"
|
||||
myconf+=( --with-ssl --without-ca-bundle --with-ca-path="${EPREFIX}"/etc/ssl/certs )
|
||||
fi
|
||||
else
|
||||
einfo "SSL disabled"
|
||||
fi
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# These configuration options are organized alphabetically
|
||||
# within each category. This should make it easier if we
|
||||
# ever decide to make any of them contingent on USE flags:
|
||||
# 1) protocols first. To see them all do
|
||||
# 'grep SUPPORT_PROTOCOLS configure.ac'
|
||||
# 2) --enable/disable options second.
|
||||
# 'grep -- --enable configure | grep Check | awk '{ print $4 }' | sort
|
||||
# 3) --with/without options third.
|
||||
# grep -- --with configure | grep Check | awk '{ print $4 }' | sort
|
||||
econf \
|
||||
--enable-dict \
|
||||
--enable-file \
|
||||
--enable-ftp \
|
||||
--enable-gopher \
|
||||
--enable-http \
|
||||
--enable-imap \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable ldap ldaps) \
|
||||
--enable-pop3 \
|
||||
--enable-rtsp \
|
||||
$(use_with ssh libssh2) \
|
||||
--enable-smtp \
|
||||
--enable-telnet \
|
||||
--enable-tftp \
|
||||
$(use_enable adns ares) \
|
||||
--enable-cookies \
|
||||
--enable-hidden-symbols \
|
||||
$(use_enable ipv6) \
|
||||
--enable-largefile \
|
||||
--enable-manual \
|
||||
$(use_enable nonblocking) \
|
||||
--enable-proxy \
|
||||
--disable-soname-bump \
|
||||
--disable-sspi \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads threaded-resolver) \
|
||||
--disable-versioned-symbols \
|
||||
--without-darwinssl \
|
||||
$(use_with idn libidn) \
|
||||
$(use_with kerberos gssapi "${EPREFIX}"/usr) \
|
||||
--without-krb4 \
|
||||
$(use_with metalink libmetalink) \
|
||||
$(use_with rtmp librtmp) \
|
||||
--without-spnego \
|
||||
--without-winidn \
|
||||
--without-winssl \
|
||||
--with-zlib \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
# https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
|
||||
insinto /usr/share/aclocal
|
||||
doins docs/libcurl/libcurl.m4
|
||||
}
|
203
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.28.1.ebuild
vendored
Normal file
203
sdk_container/src/third_party/portage-stable/net-misc/curl/curl-7.28.1.ebuild
vendored
Normal file
@ -0,0 +1,203 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.28.1.ebuild,v 1.1 2012/11/20 18:22:58 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils prefix
|
||||
|
||||
DESCRIPTION="A Client that groks URLs"
|
||||
HOMEPAGE="http://curl.haxx.se/"
|
||||
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~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"
|
||||
IUSE="adns idn ipv6 kerberos ldap metalink +nonblocking rtmp ssh ssl static-libs test threads"
|
||||
IUSE="${IUSE} curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl"
|
||||
|
||||
#lead to lots of false negatives, bug #285669
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="ldap? ( net-nds/openldap )
|
||||
ssl? (
|
||||
curl_ssl_axtls? ( net-libs/axtls app-misc/ca-certificates )
|
||||
curl_ssl_cyassl? ( net-libs/cyassl app-misc/ca-certificates )
|
||||
curl_ssl_gnutls? (
|
||||
|| (
|
||||
( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle )
|
||||
( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] )
|
||||
)
|
||||
app-misc/ca-certificates
|
||||
)
|
||||
curl_ssl_openssl? ( dev-libs/openssl[static-libs?] )
|
||||
curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates )
|
||||
curl_ssl_polarssl? ( net-libs/polarssl app-misc/ca-certificates )
|
||||
)
|
||||
idn? ( net-dns/libidn[static-libs?] )
|
||||
adns? ( net-dns/c-ares )
|
||||
kerberos? ( virtual/krb5 )
|
||||
metalink? ( >=media-libs/libmetalink-0.1.0 )
|
||||
rtmp? ( media-video/rtmpdump )
|
||||
ssh? ( net-libs/libssh2[static-libs?] )
|
||||
sys-libs/zlib"
|
||||
|
||||
# Do we need to enforce the same ssl backend for curl and rtmpdump? Bug #423303
|
||||
# rtmp? (
|
||||
# media-video/rtmpdump
|
||||
# curl_ssl_gnutls? ( media-video/rtmpdump[gnutls] )
|
||||
# curl_ssl_polarssl? ( media-video/rtmpdump[polarssl] )
|
||||
# curl_ssl_openssl? ( media-video/rtmpdump[-gnutls,-polarssl,ssl] )
|
||||
# )
|
||||
|
||||
# ssl providers to be added:
|
||||
# fbopenssl $(use_with spnego)
|
||||
|
||||
# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
dev-lang/perl
|
||||
)"
|
||||
|
||||
# c-ares must be disabled for threads
|
||||
# only one ssl provider can be enabled
|
||||
REQUIRED_USE="
|
||||
threads? ( !adns )
|
||||
ssl? (
|
||||
^^ (
|
||||
curl_ssl_axtls
|
||||
curl_ssl_cyassl
|
||||
curl_ssl_gnutls
|
||||
curl_ssl_openssl
|
||||
curl_ssl_nss
|
||||
curl_ssl_polarssl
|
||||
)
|
||||
)"
|
||||
|
||||
DOCS=( CHANGES README docs/FEATURES docs/INTERNALS \
|
||||
docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE)
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-7.28.0-prefix.patch \
|
||||
"${FILESDIR}"/${PN}-respect-cflags-3.patch \
|
||||
"${FILESDIR}"/${PN}-fix-gnutls-nettle.patch
|
||||
sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241
|
||||
|
||||
eprefixify curl-config.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# We make use of the fact that later flags override earlier ones
|
||||
# So start with all ssl providers off until proven otherwise
|
||||
local myconf=()
|
||||
myconf+=( --without-axtls --without-cyassl --without-gnutls --without-nss --without-polarssl --without-ssl )
|
||||
myconf+=( --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt )
|
||||
if use ssl ; then
|
||||
if use curl_ssl_axtls; then
|
||||
einfo "SSL provided by axtls"
|
||||
einfo "NOTE: axtls is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-axtls )
|
||||
fi
|
||||
if use curl_ssl_cyassl; then
|
||||
einfo "SSL provided by cyassl"
|
||||
einfo "NOTE: cyassl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-cyassl )
|
||||
fi
|
||||
if use curl_ssl_gnutls; then
|
||||
einfo "SSL provided by gnutls"
|
||||
if has_version ">=net-libs/gnutls-3" || has_version "=net-libs/gnutls-2.12*[nettle]"; then
|
||||
einfo "gnutls compiled with dev-libs/nettle"
|
||||
myconf+=( --with-gnutls --with-nettle )
|
||||
else
|
||||
einfo "gnutls compiled with dev-libs/libgcrypt"
|
||||
myconf+=( --with-gnutls --without-nettle )
|
||||
fi
|
||||
fi
|
||||
if use curl_ssl_nss; then
|
||||
einfo "SSL provided by nss"
|
||||
myconf+=( --with-nss )
|
||||
fi
|
||||
if use curl_ssl_polarssl; then
|
||||
einfo "SSL provided by polarssl"
|
||||
einfo "NOTE: polarssl is meant for embedded systems and"
|
||||
einfo "may not be the best choice as an ssl provider"
|
||||
myconf+=( --with-polarssl )
|
||||
fi
|
||||
if use curl_ssl_openssl; then
|
||||
einfo "SSL provided by openssl"
|
||||
myconf+=( --with-ssl --without-ca-bundle --with-ca-path="${EPREFIX}"/etc/ssl/certs )
|
||||
fi
|
||||
else
|
||||
einfo "SSL disabled"
|
||||
fi
|
||||
einfo "\033[1;32m**************************************************\033[00m"
|
||||
|
||||
# These configuration options are organized alphabetically
|
||||
# within each category. This should make it easier if we
|
||||
# ever decide to make any of them contingent on USE flags:
|
||||
# 1) protocols first. To see them all do
|
||||
# 'grep SUPPORT_PROTOCOLS configure.ac'
|
||||
# 2) --enable/disable options second.
|
||||
# 'grep -- --enable configure | grep Check | awk '{ print $4 }' | sort
|
||||
# 3) --with/without options third.
|
||||
# grep -- --with configure | grep Check | awk '{ print $4 }' | sort
|
||||
econf \
|
||||
--enable-dict \
|
||||
--enable-file \
|
||||
--enable-ftp \
|
||||
--enable-gopher \
|
||||
--enable-http \
|
||||
--enable-imap \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable ldap ldaps) \
|
||||
--enable-pop3 \
|
||||
--enable-rtsp \
|
||||
$(use_with ssh libssh2) \
|
||||
--enable-smtp \
|
||||
--enable-telnet \
|
||||
--enable-tftp \
|
||||
$(use_enable adns ares) \
|
||||
--enable-cookies \
|
||||
--enable-hidden-symbols \
|
||||
$(use_enable ipv6) \
|
||||
--enable-largefile \
|
||||
--enable-manual \
|
||||
$(use_enable nonblocking) \
|
||||
--enable-proxy \
|
||||
--disable-soname-bump \
|
||||
--disable-sspi \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads threaded-resolver) \
|
||||
--disable-versioned-symbols \
|
||||
--without-darwinssl \
|
||||
$(use_with idn libidn) \
|
||||
$(use_with kerberos gssapi "${EPREFIX}"/usr) \
|
||||
--without-krb4 \
|
||||
$(use_with metalink libmetalink) \
|
||||
$(use_with rtmp librtmp) \
|
||||
--without-spnego \
|
||||
--without-winidn \
|
||||
--without-winssl \
|
||||
--with-zlib \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
# https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
|
||||
insinto /usr/share/aclocal
|
||||
doins docs/libcurl/libcurl.m4
|
||||
}
|
20
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.18.2-prefix.patch
vendored
Normal file
20
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.18.2-prefix.patch
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
--- curl-config.in.orig 2008-10-10 13:43:19.000000000 +0200
|
||||
+++ curl-config.in 2008-10-10 13:43:56.000000000 +0200
|
||||
@@ -181,7 +181,7 @@
|
||||
;;
|
||||
|
||||
--cflags)
|
||||
- if test "X@includedir@" = "X/usr/include"; then
|
||||
+ if test "X@includedir@" = "X@GENTOO_PORTAGE_EPREFIX@/usr/include"; then
|
||||
echo ""
|
||||
else
|
||||
echo "-I@includedir@"
|
||||
@@ -189,7 +189,7 @@
|
||||
;;
|
||||
|
||||
--libs)
|
||||
- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
|
||||
+ if test "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib" -a "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib64"; then
|
||||
CURLLIBDIR="-L@libdir@ "
|
||||
else
|
||||
CURLLIBDIR=""
|
20
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.19.7-test241.patch
vendored
Normal file
20
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.19.7-test241.patch
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
--- tests/data/test241.orig 2008-11-20 08:12:35.000000000 +1100
|
||||
+++ tests/data/test241 2009-11-05 14:22:07.000000000 +1100
|
||||
@@ -33,7 +33,7 @@
|
||||
HTTP-IPv6 GET (using ip6-localhost)
|
||||
</name>
|
||||
<command>
|
||||
--g "http://ip6-localhost:%HTTP6PORT/241"
|
||||
+-g "http://::1:%HTTP6PORT/241"
|
||||
</command>
|
||||
<precheck>
|
||||
./server/resolve --ipv6 ip6-localhost
|
||||
@@ -48,7 +48,7 @@
|
||||
</strip>
|
||||
<protocol>
|
||||
GET /241 HTTP/1.1
|
||||
-Host: ip6-localhost:%HTTP6PORT
|
||||
+Host: ::1:%HTTP6PORT
|
||||
Accept: */*
|
||||
|
||||
</protocol>
|
14
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.20.0-strip-ldflags.patch
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.20.0-strip-ldflags.patch
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
--- curl-config.in.orig 2007-09-14 07:36:18.000000000 +1000
|
||||
+++ curl-config.in 2007-09-14 07:37:14.000000000 +1000
|
||||
@@ -187,9 +187,9 @@
|
||||
CURLLIBDIR=""
|
||||
fi
|
||||
if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
|
||||
- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
|
||||
+ echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ @LIBS@
|
||||
else
|
||||
- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
|
||||
+ echo ${CURLLIBDIR}-lcurl @LIBS@
|
||||
fi
|
||||
;;
|
||||
|
15
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.27.0-curl-config.patch
vendored
Normal file
15
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.27.0-curl-config.patch
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
diff -Naur curl-7.27.0.orig/curl-config.in curl-7.27.0/curl-config.in
|
||||
--- curl-7.27.0.orig/curl-config.in 2012-05-25 23:56:17.000000000 +0200
|
||||
+++ curl-7.27.0/curl-config.in 2012-07-31 22:07:36.539655495 +0200
|
||||
@@ -135,9 +135,9 @@
|
||||
CPPFLAG_CURL_STATICLIB=""
|
||||
fi
|
||||
if test "X@includedir@" = "X/usr/include"; then
|
||||
- echo "$(CPPFLAG_CURL_STATICLIB)"
|
||||
+ echo "${CPPFLAG_CURL_STATICLIB}"
|
||||
else
|
||||
- echo "$(CPPFLAG_CURL_STATICLIB)-I@includedir@"
|
||||
+ echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
|
||||
fi
|
||||
;;
|
||||
|
@ -0,0 +1,148 @@
|
||||
From 9f304291bd72aae66944cd7523707e1b88c6ad7b Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Stenberg <daniel@haxx.se>
|
||||
Date: Mon, 6 Aug 2012 19:20:35 +0200
|
||||
Subject: [PATCH] metalink: change code order to build with gnutls-nettle
|
||||
|
||||
Bug: http://curl.haxx.se/bug/view.cgi?id=3554668
|
||||
Reported by: Anthony G. Basile
|
||||
---
|
||||
src/tool_metalink.c | 116 +++++++++++++++++++++++++--------------------------
|
||||
1 file changed, 58 insertions(+), 58 deletions(-)
|
||||
|
||||
diff --git a/src/tool_metalink.c b/src/tool_metalink.c
|
||||
index 5491815..3a24a15 100644
|
||||
--- a/src/tool_metalink.c
|
||||
+++ b/src/tool_metalink.c
|
||||
@@ -82,64 +82,6 @@
|
||||
return PARAM_NO_MEM; \
|
||||
} WHILE_FALSE
|
||||
|
||||
-const digest_params MD5_DIGEST_PARAMS[] = {
|
||||
- {
|
||||
- (Curl_digest_init_func) MD5_Init,
|
||||
- (Curl_digest_update_func) MD5_Update,
|
||||
- (Curl_digest_final_func) MD5_Final,
|
||||
- sizeof(MD5_CTX),
|
||||
- 16
|
||||
- }
|
||||
-};
|
||||
-
|
||||
-const digest_params SHA1_DIGEST_PARAMS[] = {
|
||||
- {
|
||||
- (Curl_digest_init_func) SHA1_Init,
|
||||
- (Curl_digest_update_func) SHA1_Update,
|
||||
- (Curl_digest_final_func) SHA1_Final,
|
||||
- sizeof(SHA_CTX),
|
||||
- 20
|
||||
- }
|
||||
-};
|
||||
-
|
||||
-const digest_params SHA256_DIGEST_PARAMS[] = {
|
||||
- {
|
||||
- (Curl_digest_init_func) SHA256_Init,
|
||||
- (Curl_digest_update_func) SHA256_Update,
|
||||
- (Curl_digest_final_func) SHA256_Final,
|
||||
- sizeof(SHA256_CTX),
|
||||
- 32
|
||||
- }
|
||||
-};
|
||||
-
|
||||
-static const metalink_digest_def SHA256_DIGEST_DEF[] = {
|
||||
- {"sha-256", SHA256_DIGEST_PARAMS}
|
||||
-};
|
||||
-
|
||||
-static const metalink_digest_def SHA1_DIGEST_DEF[] = {
|
||||
- {"sha-1", SHA1_DIGEST_PARAMS}
|
||||
-};
|
||||
-
|
||||
-static const metalink_digest_def MD5_DIGEST_DEF[] = {
|
||||
- {"md5", MD5_DIGEST_PARAMS}
|
||||
-};
|
||||
-
|
||||
-/*
|
||||
- * The alias of supported hash functions in the order by preference
|
||||
- * (basically stronger hash comes first). We included "sha-256" and
|
||||
- * "sha256". The former is the name defined in the IANA registry named
|
||||
- * "Hash Function Textual Names". The latter is widely (and
|
||||
- * historically) used in Metalink version 3.
|
||||
- */
|
||||
-static const metalink_digest_alias digest_aliases[] = {
|
||||
- {"sha-256", SHA256_DIGEST_DEF},
|
||||
- {"sha256", SHA256_DIGEST_DEF},
|
||||
- {"sha-1", SHA1_DIGEST_DEF},
|
||||
- {"sha1", SHA1_DIGEST_DEF},
|
||||
- {"md5", MD5_DIGEST_DEF},
|
||||
- {NULL, NULL}
|
||||
-};
|
||||
-
|
||||
#ifdef USE_GNUTLS_NETTLE
|
||||
|
||||
static void MD5_Init(MD5_CTX *ctx)
|
||||
@@ -251,6 +193,64 @@ static void SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx)
|
||||
|
||||
#endif /* CRYPTO LIBS */
|
||||
|
||||
+const digest_params MD5_DIGEST_PARAMS[] = {
|
||||
+ {
|
||||
+ (Curl_digest_init_func) MD5_Init,
|
||||
+ (Curl_digest_update_func) MD5_Update,
|
||||
+ (Curl_digest_final_func) MD5_Final,
|
||||
+ sizeof(MD5_CTX),
|
||||
+ 16
|
||||
+ }
|
||||
+};
|
||||
+
|
||||
+const digest_params SHA1_DIGEST_PARAMS[] = {
|
||||
+ {
|
||||
+ (Curl_digest_init_func) SHA1_Init,
|
||||
+ (Curl_digest_update_func) SHA1_Update,
|
||||
+ (Curl_digest_final_func) SHA1_Final,
|
||||
+ sizeof(SHA_CTX),
|
||||
+ 20
|
||||
+ }
|
||||
+};
|
||||
+
|
||||
+const digest_params SHA256_DIGEST_PARAMS[] = {
|
||||
+ {
|
||||
+ (Curl_digest_init_func) SHA256_Init,
|
||||
+ (Curl_digest_update_func) SHA256_Update,
|
||||
+ (Curl_digest_final_func) SHA256_Final,
|
||||
+ sizeof(SHA256_CTX),
|
||||
+ 32
|
||||
+ }
|
||||
+};
|
||||
+
|
||||
+static const metalink_digest_def SHA256_DIGEST_DEF[] = {
|
||||
+ {"sha-256", SHA256_DIGEST_PARAMS}
|
||||
+};
|
||||
+
|
||||
+static const metalink_digest_def SHA1_DIGEST_DEF[] = {
|
||||
+ {"sha-1", SHA1_DIGEST_PARAMS}
|
||||
+};
|
||||
+
|
||||
+static const metalink_digest_def MD5_DIGEST_DEF[] = {
|
||||
+ {"md5", MD5_DIGEST_PARAMS}
|
||||
+};
|
||||
+
|
||||
+/*
|
||||
+ * The alias of supported hash functions in the order by preference
|
||||
+ * (basically stronger hash comes first). We included "sha-256" and
|
||||
+ * "sha256". The former is the name defined in the IANA registry named
|
||||
+ * "Hash Function Textual Names". The latter is widely (and
|
||||
+ * historically) used in Metalink version 3.
|
||||
+ */
|
||||
+static const metalink_digest_alias digest_aliases[] = {
|
||||
+ {"sha-256", SHA256_DIGEST_DEF},
|
||||
+ {"sha256", SHA256_DIGEST_DEF},
|
||||
+ {"sha-1", SHA1_DIGEST_DEF},
|
||||
+ {"sha1", SHA1_DIGEST_DEF},
|
||||
+ {"md5", MD5_DIGEST_DEF},
|
||||
+ {NULL, NULL}
|
||||
+};
|
||||
+
|
||||
digest_context *Curl_digest_init(const digest_params *dparams)
|
||||
{
|
||||
digest_context *ctxt;
|
||||
--
|
||||
1.7.10.4
|
||||
|
@ -0,0 +1,30 @@
|
||||
From 986c7949c0638bebb99bd08d63216433254c2185 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Stenberg <daniel@haxx.se>
|
||||
Date: Mon, 6 Aug 2012 15:04:25 +0200
|
||||
Subject: [PATCH] gtls: fix build failure by including nettle-specific headers
|
||||
|
||||
Bug: http://curl.haxx.se/bug/view.cgi?id=3554668
|
||||
Reported by: Anthony G. Basile
|
||||
---
|
||||
lib/gtls.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/gtls.c b/lib/gtls.c
|
||||
index d981ef1..c750a6f 100644
|
||||
--- a/lib/gtls.c
|
||||
+++ b/lib/gtls.c
|
||||
@@ -34,7 +34,10 @@
|
||||
|
||||
#include <gnutls/gnutls.h>
|
||||
#include <gnutls/x509.h>
|
||||
-#ifndef USE_GNUTLS_NETTLE
|
||||
+#ifdef USE_GNUTLS_NETTLE
|
||||
+#include <gnutls/crypto.h>
|
||||
+#include <nettle/md5.h>
|
||||
+#else
|
||||
#include <gcrypt.h>
|
||||
#endif
|
||||
|
||||
--
|
||||
1.7.10.4
|
||||
|
21
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.27.0-prefix.patch
vendored
Normal file
21
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.27.0-prefix.patch
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
diff -Naur curl-7.27.0.orig//curl-config.in curl-7.27.0/curl-config.in
|
||||
--- curl-7.27.0.orig//curl-config.in 2012-05-25 17:56:17.000000000 -0400
|
||||
+++ curl-7.27.0/curl-config.in 2012-07-29 06:47:37.000000000 -0400
|
||||
@@ -134,7 +134,7 @@
|
||||
else
|
||||
CPPFLAG_CURL_STATICLIB=""
|
||||
fi
|
||||
- if test "X@includedir@" = "X/usr/include"; then
|
||||
+ if test "X@includedir@" = "X@GENTOO_PORTAGE_EPREFIX@/usr/include"; then
|
||||
echo "${CPPFLAG_CURL_STATICLIB}"
|
||||
else
|
||||
echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
|
||||
@@ -142,7 +142,7 @@
|
||||
;;
|
||||
|
||||
--libs)
|
||||
- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
|
||||
+ if test "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib" -a "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib64"; then
|
||||
CURLLIBDIR="-L@libdir@ "
|
||||
else
|
||||
CURLLIBDIR=""
|
22
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.28.0-fix-http-auth.patch
vendored
Normal file
22
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.28.0-fix-http-auth.patch
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
Revert "zero out auth structs before transfer" which breaks http/https auth.
|
||||
|
||||
See:
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=438718
|
||||
https://sourceforge.net/tracker/?func=detail&aid=3577557&group_id=976&atid=100976
|
||||
|
||||
--
|
||||
diff --git a/lib/transfer.c b/lib/transfer.c
|
||||
index 2ad5fad..a00469e 100644
|
||||
--- a/lib/transfer.c
|
||||
+++ b/lib/transfer.c
|
||||
@@ -1433,10 +1433,6 @@ CURLcode Curl_pretransfer(struct SessionHandle *data)
|
||||
|
||||
data->state.ssl_connect_retry = FALSE;
|
||||
|
||||
- /* zero out auth state */
|
||||
- memset(&data->state.authhost, 0, sizeof(struct auth));
|
||||
- memset(&data->state.authproxy, 0, sizeof(struct auth));
|
||||
-
|
||||
data->state.authproblem = FALSE;
|
||||
data->state.authhost.want = data->set.httpauth;
|
||||
data->state.authproxy.want = data->set.proxyauth;
|
21
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.28.0-prefix.patch
vendored
Normal file
21
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-7.28.0-prefix.patch
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
diff -Nuar curl-7.28.0.orig/curl-config.in curl-7.28.0/curl-config.in
|
||||
--- curl-7.28.0.orig/curl-config.in 2012-08-08 17:38:25.000000000 -0400
|
||||
+++ curl-7.28.0/curl-config.in 2012-10-13 17:11:30.000000000 -0400
|
||||
@@ -134,7 +134,7 @@
|
||||
else
|
||||
CPPFLAG_CURL_STATICLIB=""
|
||||
fi
|
||||
- if test "X@includedir@" = "X/usr/include"; then
|
||||
+ if test "X@includedir@" = "X@GENTOO_PORTAGE_EPREFIX@/usr/include"; then
|
||||
echo "$CPPFLAG_CURL_STATICLIB"
|
||||
else
|
||||
echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
|
||||
@@ -142,7 +142,7 @@
|
||||
;;
|
||||
|
||||
--libs)
|
||||
- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
|
||||
+ if test "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib" -a "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib64"; then
|
||||
CURLLIBDIR="-L@libdir@ "
|
||||
else
|
||||
CURLLIBDIR=""
|
27
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-fix-gnutls-nettle.patch
vendored
Normal file
27
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-fix-gnutls-nettle.patch
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
diff -Naur curl-7.25.0.orig//configure.ac curl-7.25.0/configure.ac
|
||||
--- curl-7.25.0.orig//configure.ac 2012-04-04 17:24:48.000000000 -0400
|
||||
+++ curl-7.25.0/configure.ac 2012-04-04 17:23:07.000000000 -0400
|
||||
@@ -1823,20 +1823,9 @@
|
||||
|
||||
if test "$GNUTLS_ENABLED" = "1"; then
|
||||
USE_GNUTLS_NETTLE=
|
||||
- # First check if we can detect either crypto library via transitive linking
|
||||
- AC_CHECK_LIB(gnutls, nettle_MD5Init, [ USE_GNUTLS_NETTLE=1 ])
|
||||
- if test "$USE_GNUTLS_NETTLE" = ""; then
|
||||
- AC_CHECK_LIB(gnutls, gcry_control, [ USE_GNUTLS_NETTLE=0 ])
|
||||
- fi
|
||||
- # If not, try linking directly to both of them to see if they are available
|
||||
- if test "$USE_GNUTLS_NETTLE" = ""; then
|
||||
- AC_CHECK_LIB(nettle, nettle_MD5Init, [ USE_GNUTLS_NETTLE=1 ])
|
||||
- fi
|
||||
- if test "$USE_GNUTLS_NETTLE" = ""; then
|
||||
- AC_CHECK_LIB(gcrypt, gcry_control, [ USE_GNUTLS_NETTLE=0 ])
|
||||
- fi
|
||||
- if test "$USE_GNUTLS_NETTLE" = ""; then
|
||||
- AC_MSG_ERROR([GnuTLS found, but neither gcrypt nor nettle found])
|
||||
+ AC_ARG_WITH(nettle)
|
||||
+ if test "x$withval" = "xyes"; then
|
||||
+ USE_GNUTLS_NETTLE=1
|
||||
fi
|
||||
if test "$USE_GNUTLS_NETTLE" = "1"; then
|
||||
AC_DEFINE(USE_GNUTLS_NETTLE, 1, [if GnuTLS uses nettle as crypto backend])
|
14
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-respect-cflags-3.patch
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-respect-cflags-3.patch
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index e9b49c7..e374ab6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -280,9 +280,6 @@ dnl **********************************************************************
|
||||
|
||||
CURL_CHECK_COMPILER
|
||||
CURL_SET_COMPILER_BASIC_OPTS
|
||||
-CURL_SET_COMPILER_DEBUG_OPTS
|
||||
-CURL_SET_COMPILER_OPTIMIZE_OPTS
|
||||
-CURL_SET_COMPILER_WARNING_OPTS
|
||||
|
||||
if test "$compiler_id" = "INTEL_UNIX_C"; then
|
||||
#
|
281
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-respect-cflags.patch
vendored
Normal file
281
sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-respect-cflags.patch
vendored
Normal file
@ -0,0 +1,281 @@
|
||||
diff -urN curl-7.21.4.old/m4/curl-compilers.m4 curl-7.21.4/m4/curl-compilers.m4
|
||||
--- curl-7.21.4.old/m4/curl-compilers.m4 2011-02-19 18:05:43.000000000 +0100
|
||||
+++ curl-7.21.4/m4/curl-compilers.m4 2011-02-19 18:11:04.000000000 +0100
|
||||
@@ -86,19 +86,19 @@
|
||||
clangvhi=`echo $clangver | cut -d . -f1`
|
||||
clangvlo=`echo $clangver | cut -d . -f2`
|
||||
compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null`
|
||||
- flags_dbg_all="-g -g0 -g1 -g2 -g3"
|
||||
- flags_dbg_all="$flags_dbg_all -ggdb"
|
||||
- flags_dbg_all="$flags_dbg_all -gstabs"
|
||||
- flags_dbg_all="$flags_dbg_all -gstabs+"
|
||||
- flags_dbg_all="$flags_dbg_all -gcoff"
|
||||
- flags_dbg_all="$flags_dbg_all -gxcoff"
|
||||
- flags_dbg_all="$flags_dbg_all -gdwarf-2"
|
||||
- flags_dbg_all="$flags_dbg_all -gvms"
|
||||
- flags_dbg_yes="-g"
|
||||
- flags_dbg_off="-g0"
|
||||
- flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4"
|
||||
- flags_opt_yes="-Os"
|
||||
- flags_opt_off="-O0"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
+ flags_dbg_off=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
@@ -117,12 +117,12 @@
|
||||
test "$curl_cv_have_def___DECC_VER" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
compiler_id="DEC_C"
|
||||
- flags_dbg_all="-g -g0 -g1 -g2 -g3"
|
||||
- flags_dbg_yes="-g2"
|
||||
- flags_dbg_off="-g0"
|
||||
- flags_opt_all="-O -O0 -O1 -O2 -O3 -O4"
|
||||
- flags_opt_yes="-O1"
|
||||
- flags_opt_off="-O0"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
+ flags_dbg_off=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
@@ -146,19 +146,19 @@
|
||||
gccvhi=`echo $gccver | cut -d . -f1`
|
||||
gccvlo=`echo $gccver | cut -d . -f2`
|
||||
compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
|
||||
- flags_dbg_all="-g -g0 -g1 -g2 -g3"
|
||||
- flags_dbg_all="$flags_dbg_all -ggdb"
|
||||
- flags_dbg_all="$flags_dbg_all -gstabs"
|
||||
- flags_dbg_all="$flags_dbg_all -gstabs+"
|
||||
- flags_dbg_all="$flags_dbg_all -gcoff"
|
||||
- flags_dbg_all="$flags_dbg_all -gxcoff"
|
||||
- flags_dbg_all="$flags_dbg_all -gdwarf-2"
|
||||
- flags_dbg_all="$flags_dbg_all -gvms"
|
||||
- flags_dbg_yes="-g"
|
||||
- flags_dbg_off="-g0"
|
||||
- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
|
||||
- flags_opt_yes="-O2"
|
||||
- flags_opt_off="-O0"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
+ flags_dbg_off=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
@@ -175,12 +175,12 @@
|
||||
if test "$curl_cv_have_def___HP_cc" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
compiler_id="HP_UX_C"
|
||||
- flags_dbg_all="-g -s"
|
||||
- flags_dbg_yes="-g"
|
||||
- flags_dbg_off="-s"
|
||||
- flags_opt_all="-O +O0 +O1 +O2 +O3 +O4"
|
||||
- flags_opt_yes="+O2"
|
||||
- flags_opt_off="+O0"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
+ flags_dbg_off=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
@@ -197,19 +197,19 @@
|
||||
if test "$curl_cv_have_def___IBMC__" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
compiler_id="IBM_C"
|
||||
- flags_dbg_all="-g -g0 -g1 -g2 -g3"
|
||||
- flags_dbg_yes="-g"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
flags_dbg_off=""
|
||||
- flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5"
|
||||
- flags_opt_all="$flags_opt_all -qnooptimize"
|
||||
- flags_opt_all="$flags_opt_all -qoptimize=0"
|
||||
- flags_opt_all="$flags_opt_all -qoptimize=1"
|
||||
- flags_opt_all="$flags_opt_all -qoptimize=2"
|
||||
- flags_opt_all="$flags_opt_all -qoptimize=3"
|
||||
- flags_opt_all="$flags_opt_all -qoptimize=4"
|
||||
- flags_opt_all="$flags_opt_all -qoptimize=5"
|
||||
- flags_opt_yes="-O2"
|
||||
- flags_opt_off="-qnooptimize"
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
@@ -230,27 +230,27 @@
|
||||
CURL_CHECK_DEF([__unix__], [], [silent])
|
||||
if test "$curl_cv_have_def___unix__" = "yes"; then
|
||||
compiler_id="INTEL_UNIX_C"
|
||||
- flags_dbg_all="-g -g0"
|
||||
- flags_dbg_yes="-g"
|
||||
- flags_dbg_off="-g0"
|
||||
- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
|
||||
- flags_opt_yes="-O2"
|
||||
- flags_opt_off="-O0"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
+ flags_dbg_off=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
else
|
||||
compiler_id="INTEL_WINDOWS_C"
|
||||
- flags_dbg_all="/ZI /Zi /zI /zi /ZD /Zd /zD /zd /Z7 /z7 /Oy /Oy-"
|
||||
- flags_dbg_all="$flags_dbg_all /debug"
|
||||
- flags_dbg_all="$flags_dbg_all /debug:none"
|
||||
- flags_dbg_all="$flags_dbg_all /debug:minimal"
|
||||
- flags_dbg_all="$flags_dbg_all /debug:partial"
|
||||
- flags_dbg_all="$flags_dbg_all /debug:full"
|
||||
- flags_dbg_all="$flags_dbg_all /debug:semantic_stepping"
|
||||
- flags_dbg_all="$flags_dbg_all /debug:extended"
|
||||
- flags_dbg_yes="/Zi /Oy-"
|
||||
- flags_dbg_off="/debug:none /Oy-"
|
||||
- flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-"
|
||||
- flags_opt_yes="/O2"
|
||||
- flags_opt_off="/Od"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
+ flags_dbg_off=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
@@ -268,8 +268,8 @@
|
||||
if test "$curl_cv_have_def___LCC__" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
compiler_id="LCC"
|
||||
- flags_dbg_all="-g"
|
||||
- flags_dbg_yes="-g"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
flags_dbg_off=""
|
||||
flags_opt_all=""
|
||||
flags_opt_yes=""
|
||||
@@ -294,12 +294,12 @@
|
||||
test "$compiler_id" = "unknown"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
compiler_id="SGI_MIPS_C"
|
||||
- flags_dbg_all="-g -g0 -g1 -g2 -g3"
|
||||
- flags_dbg_yes="-g"
|
||||
- flags_dbg_off="-g0"
|
||||
- flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
|
||||
- flags_opt_yes="-O2"
|
||||
- flags_opt_off="-O0"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
+ flags_dbg_off=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
@@ -321,12 +321,12 @@
|
||||
test "$curl_cv_have_def__COMPILER_VERSION" = "yes"); then
|
||||
AC_MSG_RESULT([yes])
|
||||
compiler_id="SGI_MIPSPRO_C"
|
||||
- flags_dbg_all="-g -g0 -g1 -g2 -g3"
|
||||
- flags_dbg_yes="-g"
|
||||
- flags_dbg_off="-g0"
|
||||
- flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
|
||||
- flags_opt_yes="-O2"
|
||||
- flags_opt_off="-O0"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
+ flags_dbg_off=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
@@ -343,11 +343,11 @@
|
||||
if test "$curl_cv_have_def___SUNPRO_C" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
compiler_id="SUNPRO_C"
|
||||
- flags_dbg_all="-g -s"
|
||||
- flags_dbg_yes="-g"
|
||||
- flags_dbg_off="-s"
|
||||
- flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5"
|
||||
- flags_opt_yes="-xO2"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
+ flags_dbg_off=""
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
flags_opt_off=""
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
@@ -365,8 +365,8 @@
|
||||
if test "$curl_cv_have_def___TINYC__" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
compiler_id="TINY_C"
|
||||
- flags_dbg_all="-g -b"
|
||||
- flags_dbg_yes="-g"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
flags_dbg_off=""
|
||||
flags_opt_all=""
|
||||
flags_opt_yes=""
|
||||
@@ -389,12 +389,12 @@
|
||||
CURL_CHECK_DEF([__UNIX__], [], [silent])
|
||||
if test "$curl_cv_have_def___UNIX__" = "yes"; then
|
||||
compiler_id="WATCOM_UNIX_C"
|
||||
- flags_dbg_all="-g1 -g1+ -g2 -g3"
|
||||
- flags_dbg_yes="-g2"
|
||||
+ flags_dbg_all=""
|
||||
+ flags_dbg_yes=""
|
||||
flags_dbg_off=""
|
||||
- flags_opt_all="-O0 -O1 -O2 -O3"
|
||||
- flags_opt_yes="-O2"
|
||||
- flags_opt_off="-O0"
|
||||
+ flags_opt_all=""
|
||||
+ flags_opt_yes=""
|
||||
+ flags_opt_off=""
|
||||
else
|
||||
compiler_id="WATCOM_WINDOWS_C"
|
||||
flags_dbg_all=""
|
22
sdk_container/src/third_party/portage-stable/net-misc/curl/metadata.xml
vendored
Normal file
22
sdk_container/src/third_party/portage-stable/net-misc/curl/metadata.xml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>gregkh@gentoo.org</email>
|
||||
<name>Greg Kroah-Hartman</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="ares">Enabled c-ares dns support</flag>
|
||||
<flag name="ssh">Enabled SSH urls in curl using libssh2</flag>
|
||||
<flag name="gnutls">Prefer gnutls over nss and openssl as the crypto engine</flag>
|
||||
<flag name="metalink">Enable metalink support</flag>
|
||||
<flag name="nonblocking">Enable nonblocking communication</flag>
|
||||
<flag name="nss">Prefer NSS over openssl as the crypto engine</flag>
|
||||
<flag name="ssl">Enable crypto engine support (via openssl if USE='-gnutls -nss')</flag>
|
||||
<flag name="rtmp">Enable Enables RTMPDump Streaming Media support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user