summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-10-14 08:56:59 +0000
committerJeroen Roovers <jer@gentoo.org>2014-10-14 08:56:59 +0000
commit686acebc4759b384dbb0d779b909b64527017464 (patch)
tree0b703be285eee29baf4d730e9b389ddb480b345b /net-ftp
parentsys-kernel/aufs-sources: Correct patches, #525340 (diff)
downloadhistorical-686acebc4759b384dbb0d779b909b64527017464.tar.gz
historical-686acebc4759b384dbb0d779b909b64527017464.tar.bz2
historical-686acebc4759b384dbb0d779b909b64527017464.zip
Fix building against <net-libs/gnutls-3.
Package-Manager: portage-2.2.14_rc1/cvs/Linux i686 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/lftp/ChangeLog6
-rw-r--r--net-ftp/lftp/Manifest11
-rw-r--r--net-ftp/lftp/files/lftp-4.6.0-gnutls-2-compat.patch15
-rw-r--r--net-ftp/lftp/lftp-4.6.0.ebuild5
4 files changed, 29 insertions, 8 deletions
diff --git a/net-ftp/lftp/ChangeLog b/net-ftp/lftp/ChangeLog
index 79d9be7f4445..a10c3e62e724 100644
--- a/net-ftp/lftp/ChangeLog
+++ b/net-ftp/lftp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-ftp/lftp
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.488 2014/10/13 19:28:18 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.489 2014/10/14 08:56:58 jer Exp $
+
+ 14 Oct 2014; Jeroen Roovers <jer@gentoo.org> lftp-4.6.0.ebuild,
+ +files/lftp-4.6.0-gnutls-2-compat.patch:
+ Fix building against <net-libs/gnutls-3.
*lftp-4.6.0 (13 Oct 2014)
diff --git a/net-ftp/lftp/Manifest b/net-ftp/lftp/Manifest
index 185787a83ad3..5c10664a13a2 100644
--- a/net-ftp/lftp/Manifest
+++ b/net-ftp/lftp/Manifest
@@ -7,6 +7,7 @@ AUX lftp-4.3.8-gets.patch 430 SHA256 20f3f931132aae70c6dc8b03368419951bb4ec9f0d4
AUX lftp-4.5.3-autopoint.patch 333 SHA256 36d84c281ecf244cfcd53231ace3085ee1ffccc28083d56c1bf0023d70ce3ac9 SHA512 33ce25fb283dd6d3e760166a718de16ee59a5190202e005f80a970cadc033e90dce5f2d0c848893304a9458c44f8a79bca3084a14db5484e1a739e52dd8aee3f WHIRLPOOL dcfee41610952d394cf8182417ce3abd215368f4f8c58704f381b87c1134e99c4b84279e9e47a47fec4a7550789287deb022ae9e103920d7965d5cf8fc407765
AUX lftp-4.5.5-am_config_header.patch 306 SHA256 7ab090449f8c26624ebe853a0285954c414e31242fcd3db1026bd88d6ebbd6a0 SHA512 613c0942ec5c4b9de38b6020eddcfcbe91ad6febd176b2953503ee47c82a11a9ed661b442127b25383d1f6593df0ce6837229939ec48da5c36079b145ab488b9 WHIRLPOOL 3d2c0fccdf6f13ed9176bb99c9da13601fd6e8a04c46c6dc62a215334fa7531e684ffcdcbf769a6df7ab14f5e49e3bafecdcab09f990a3202cd1e079917f48ea
AUX lftp-4.5.5-no_ssl.patch 220 SHA256 cc9c6a7e53a1719e8a901f0d1150c1729ab43d5819f33bef6a5666ec489fa0f8 SHA512 58ded48c131da0464f520b1a9e61ce9477f04f36be6ec19d68ec6b5b382518de081f84b255e17b1121574f7ff2be324930399812cfc98bdaa8f455dd6f79f81b WHIRLPOOL 06ba39bc63b5d458f0cf575dea1384b003759ed7f540b9516acac0178066a48f38db9b33c9435ca8b4bf41eda453670681882fef1adb02951979415ab7f08acb
+AUX lftp-4.6.0-gnutls-2-compat.patch 567 SHA256 7529b67b2f59256aefc5a6e2e5e13a923904b4e240c3b22fcc290c8b8e0bd117 SHA512 688aac23b11d19b2ea4f9d682185339d7874594915d7f875e7cc2e058a9b5c6d8397b35f1b90a5b2c4e0b398bfbf4abdc61890170417f5fe4b426288e9dfce59 WHIRLPOOL 1eb6808f5ef5df1cb57821f4570ff491ee36b393f356ba712a88ecff6eaf52f2f0fd58cd51dedde1df4bac61780a4d2011bf581918c13b42233f70dcd2f5e040
DIST lftp-4.4.15.tar.xz 1460568 SHA256 75f40b7ab438a7b295410eb3e1ec8460e36ad2d48785383a6fc9201905db6868 SHA512 1d828a7b2ff808a0ee78f51c265d58df677e67cec9b4744cbd3a34816aba324199202094fa4144665e8d64385df7e76a54c6dc415e9ff33e97adab2eb0edaf4e WHIRLPOOL 3bf4d220b5581d87fb34d72f6129c2d660f80e3142560543c238dfaafd8cde5834f57884247c75e583ab6a9d4c12766b28c90e2b49889e44759d663591bbc7e0
DIST lftp-4.5.3.tar.xz 1493124 SHA256 62e87621d86b4feb810a1385769f1ae905da545c0939b0a4ba49a70962945d8c SHA512 cff9d5dae7317fa83fc72f7a547ca18c23413912c45d381577c2324a7431fad82f26fbb04f6663c55dd2005a5c9ec1a6abf7c933e3ff003bfa3e73259aaed8e7 WHIRLPOOL 88f5d98e3daebd0ae252b81d17eec4cf37ab4344afa7214ba68ce68b073077d8abee98d1b445473af417aad53ee1b8479b1bed8dc05a632f696f0ccb2450a40e
DIST lftp-4.5.4.tar.xz 1494160 SHA256 3f60f5a97a3a12fce6c06afcb1a47e6c474a24b6d97d41c2f17c0e9a5c650c4f SHA512 3220ff29004c0d9869fe86fc9be24fa049f3aeab608b44663e516ce037977dc17954ec47f8d0b0f2f4bdfde1a3c9027344ff38a4be6703e3dea045781d0450a1 WHIRLPOOL 08dcd884395c723e165b6759e88661a8c4b010837a9f19c913dbde2278aa07be85dbd059208cef2d634ac49857077b896249d7039e995c41c56fd9a6896055db
@@ -16,14 +17,14 @@ EBUILD lftp-4.4.15.ebuild 2180 SHA256 86fd77a33d87445b33a18ffc617871080a4f40d6d3
EBUILD lftp-4.5.3.ebuild 2195 SHA256 8d38ff227c74fa4904b4db91a5ca0ca114497bcca6934efb3dab8cbe3418f720 SHA512 5667a9fd746045c32e49a65058f5b7913afbcb9261b77e5d7f1d9002217f0685dc6a291ffe06ea033f5b6b5a18ae75dc34144f44a84b015960461ec3bab273e8 WHIRLPOOL 0911507170699fa2649a66dcf23a97b85afa7eb28f215ab082e661604e0eb77d4338e32bca7732ea9c9ef5a68857cdc89eb3888628e50a86d33bdb372d21e52f
EBUILD lftp-4.5.4.ebuild 2191 SHA256 18582df426805c857399c1c78f9cf334370f8cd1f153279c2d74e003ad7b5d51 SHA512 718c6bfed90d7a3b376221f5ade17878d3141b5ff4e3e4ff24539245df5d45a2ebe7bbea6815a36e674943bf0cd3e6a93beffa3f8a2fc816497bd46ac2f57ece WHIRLPOOL df6f8e54f3efc76c065bc8dafefd086fecbcaae7f2fab39dfbcea892785994771eee77aa96661007858400a38e7771268ab2222fa1c2a33c2a3b044dddcdc616
EBUILD lftp-4.5.5.ebuild 2286 SHA256 044203ffea7da53e0e54d7b5261b84cf0e12a1fd9fa72f32f94bbc60c69644dd SHA512 20d86944a1271cc163fed2a607ed4b1f1226d2637f782fbb78afd9552a068594c9d3121eb99e6550e022071e79f8a5e70ef57cdcc1fda080d1b9307391482088 WHIRLPOOL 2676d8d29e4476c1f88f60e8ec7b4658d5c65875758d3424ef555a71dc4787c8d74525b2c83b4987d0e4fc22443c5b79369de0a1272ee47b4f68876ca2189874
-EBUILD lftp-4.6.0.ebuild 2219 SHA256 80b9b6c7b482bb263e19b37191bb932ef81b833fc8139c64c811b9d6fc929b56 SHA512 fca4c1e3ce7d8c26bfed340edf3a67e201ea5f1a45b503c08baf834e6e2dc4d22fe94d487df5a8c0d47b7cacb0655babaae2c89e6d2a2956d752d3d485a54339 WHIRLPOOL d828d6efe73610359483344521c2976328d217e154517c25042df9c1ccc7752571d47b2d3e2d0a75a8e1d3289c547cf6d719fac23c37d3513edd6cff236cb7d8
+EBUILD lftp-4.6.0.ebuild 2271 SHA256 801a821084a1137e24e24d06e6f26dce267370425c9570bead796d32b061f246 SHA512 764a3776f54577885a3fa27eef8431c2840b6f3e3b705c6e5add19cdb92d3864686273329e2d8e9cf3f352429a40c2f95172ab61af9b64d39278850a07af1e26 WHIRLPOOL 4d9714d366a40147fd6d34a4f063b0c7ab2430811b47ba2c88e21c61eb1dd9d7be4b2c7851d2902b76100f68a3f28c9e81cce96999664aaf87287a40906c7fa6
EBUILD lftp-9999.ebuild 2067 SHA256 2a3fdc29a5c74aee3b0300c36b66f1c6c5f2b9e541860677089c16795b33e477 SHA512 af3a208755c3e91168e40b5b8bcfa57b68786914a2047e945dee7763bcfa6a912bb8c69e16143de6791bc129383c19f923f383051d59aec66bd388ab20e40f8a WHIRLPOOL 71bfe917ed36e23e657c4380698e05c93848d777e0c26f3108ce5e3dce2bea04d07bfe29f0dc816fd32153db2164178fbc10afc742f97167967f1a0f19cdb682
-MISC ChangeLog 61276 SHA256 b0f919c2f31b4023981421e0afc18ab89a6f447af47fa42adcde8204f796ab8a SHA512 aa421ac570ac2bb9ddfebef043804a5b7076abbda416766827cefec5872c1c006e0f5838438718d5b8bda991fd523afecd7121f028c49019a144075353ead1f4 WHIRLPOOL 836342cf4a9dcfeb50edd63240457d4cdca98c69a9fd59353eae81969a3a83a37f7c307c50fa0072ff6c5034a37b229a3fb6b6fb12ba7498c569edfe51d2ffd2
+MISC ChangeLog 61429 SHA256 5bcc79d69c578f63083c1ee29f5ed0acb1270d698e0c77cfd8262ac3b47a0f1e SHA512 c18eb46f4a5a5965a038f8f786556a791df9900ed67ccaaa9e744ede9e05eb0d58fe758786814ba03427872d37bd85ff3c51ddcebf639823150c248fac38fbe6 WHIRLPOOL a5e7ed8999a4728a292411279b5b17ebf7c3712fb47ec5397d980003e29de883a5a5b48c113011cd96acdd2a4452af2a2cdc5d7686ec27ee4dbdb87c9f1027d3
MISC metadata.xml 531 SHA256 ce1a5e5ed227a35582fbc8cae768a0f6b7769ac49194197926882f47600b519f SHA512 6058e3d0fbf8032fc97c48d9742afea487ac89bbe88281e4a4fd392018a42c7ff5bab39b7f01b16c70bd24735cf3b6b9ea613f957f71075f095cf3b109516cd5 WHIRLPOOL cc07076f948d4cbd81a4bd799c8e5f4a06f5665a732034456778d51c7bdd8486c04cd55bfdbdf85f013379f231b535508e46572b191a7bd30d04f6692b0647c6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlQ8J9QACgkQVWmRsqeSphN7ewCeJAmczMroprqs5OLxKT1Yafc7
-YF4AnRPi2IB2wscp6q85POpJBpo/3J3A
-=Q7O0
+iEYEAREIAAYFAlQ85VsACgkQVWmRsqeSphPqiACdGY+yWgETtJqY4npUfaslsLjw
+XLAAn3u7QUCTYblsexDnwD+aRZTCS71b
+=ee7Z
-----END PGP SIGNATURE-----
diff --git a/net-ftp/lftp/files/lftp-4.6.0-gnutls-2-compat.patch b/net-ftp/lftp/files/lftp-4.6.0-gnutls-2-compat.patch
new file mode 100644
index 000000000000..3fe6a9db21d9
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.6.0-gnutls-2-compat.patch
@@ -0,0 +1,15 @@
+--- a/src/lftp_ssl.cc
++++ b/src/lftp_ssl.cc
+@@ -560,7 +560,11 @@
+ {
+ if(res==GNUTLS_E_AGAIN || res==GNUTLS_E_INTERRUPTED)
+ return RETRY;
+- else if(res==GNUTLS_E_UNEXPECTED_PACKET_LENGTH || res==GNUTLS_E_PREMATURE_TERMINATION)
++ else if(res==GNUTLS_E_UNEXPECTED_PACKET_LENGTH
++#if LFTP_LIBGNUTLS_VERSION_CODE >= 0x030000
++ || res==GNUTLS_E_PREMATURE_TERMINATION
++#endif /* LFTP_LIBGNUTLS_VERSION_CODE */
++ )
+ {
+ Log::global->Format(7,"gnutls_record_recv: %s Assuming EOF.\n",gnutls_strerror(res));
+ return 0;
diff --git a/net-ftp/lftp/lftp-4.6.0.ebuild b/net-ftp/lftp/lftp-4.6.0.ebuild
index a9638189855a..0c2b74cf97f9 100644
--- a/net-ftp/lftp/lftp-4.6.0.ebuild
+++ b/net-ftp/lftp/lftp-4.6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.6.0.ebuild,v 1.1 2014/10/13 19:28:18 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.6.0.ebuild,v 1.2 2014/10/14 08:56:58 jer Exp $
EAPI=5
inherit autotools eutils libtool
@@ -60,7 +60,8 @@ src_prepare() {
"${FILESDIR}"/${PN}-4.0.2.91-lafile.patch \
"${FILESDIR}"/${PN}-4.3.8-gets.patch \
"${FILESDIR}"/${PN}-4.5.3-autopoint.patch \
- "${FILESDIR}"/${PN}-4.5.5-am_config_header.patch
+ "${FILESDIR}"/${PN}-4.5.5-am_config_header.patch \
+ "${FILESDIR}"/${PN}-4.6.0-gnutls-2-compat.patch
eautoreconf
elibtoolize # for Darwin bundles