diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-16 16:47:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-16 16:47:37 +0100 |
commit | 8aebb228036d5e2863b7eaa6e319ab41c1669269 (patch) | |
tree | 00f4b90ce32462dc8e99ae54a31d6462ea2c3ac6 /net-p2p/ctorrent | |
parent | 76cba73c47c8694e74377004634daca18f2d9c08 (diff) |
gentoo resync : 16.04.2018
Diffstat (limited to 'net-p2p/ctorrent')
-rw-r--r-- | net-p2p/ctorrent/Manifest | 3 | ||||
-rw-r--r-- | net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild | 29 | ||||
-rw-r--r-- | net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch | 20 |
3 files changed, 41 insertions, 11 deletions
diff --git a/net-p2p/ctorrent/Manifest b/net-p2p/ctorrent/Manifest index 11be96e7807c..bc66c3709b71 100644 --- a/net-p2p/ctorrent/Manifest +++ b/net-p2p/ctorrent/Manifest @@ -1,7 +1,8 @@ AUX ctorrent-3.3.2-empty-path-components.patch 838 BLAKE2B 429629e3a774738f49251886c3555ebcefc421fd0598cfcba22dac54326a5267d52d2ed5a575e5d8099420016be6135fad4ac80d2ac5571ec5eec606f6959eaa SHA512 0465d2c12b4bcd39a247a89c3623f425b53ebf879c50f0f042237a576877cebaaa05c32047878832f2acab1e9c6566f4f1341b1bcf5fbe149744c408a402c8f1 AUX ctorrent-3.3.2-negative-ints.patch 442 BLAKE2B 5580122a22c750e253f6a229f83b4db37d2222a0cdf4c0b3cce217164ac558b622e426c064d211aa13a83e372754240e57753a401ff5d6b3aa071a5679ced8a2 SHA512 edc950552e3497d91a98ba320d4fbc49284f07f9a130230a765427b91e1dcde099610d5be16c4b9c9969a446d8908c18dd3884eb207901ae46e4b696d1215150 -AUX ctorrent-CVE-2009-1759.patch 10931 BLAKE2B 1806ab97b613281d375b80bc84762304c58fd0bc9f046b5a1fab5bc6b70577d5ee03b080f5e8b7f1b5907f2867f3c8808ece4797fb73a2ab92053f93857e2831 SHA512 ecfe47034e5f54ebc1c7b94b846f7a5f619496928a8dadd7624ae9f51d05ef13b4b6c030373fb5c4817d6e5aee659b072c5b31eb32ff306e4514e4fcb6e5c4ea +AUX ctorrent-CVE-2009-1759.patch 10951 BLAKE2B 852f88d508f7b8d00f3e09d8076985adb16bc3e741adc3df8a152cfb79e5c4bf66759a4eec01405dbd706e0eb357f8dcef5004cbc99ed4fc55fe00330df67de2 SHA512 9ab3080fc58564e48f5404bb29affe621d4d5c52ded858378354084a350e9f7932d579433cdc25b684627116c728b70affe8a352a316eb028cab1f326c13ee20 DIST ctorrent-dnh3.3.2.tar.gz 219053 BLAKE2B a05958e85721b8a119a9ee9fdf80071456420b023767bda1c19d9021646236745ee6515bea1213ea3a513fad47ae0f7ecb843504e8015b5ed23b964e16b08f4c SHA512 e59b2b899b8603e42a5754d5ce65f661b135b8e107140e0472af379b2b06ee2985239ed0ebf19dcaef788e617b99eac35ad32ad2d10352e2fcf5a6dc084d27dd EBUILD ctorrent-3.3.2-r2.ebuild 621 BLAKE2B acad04bb8ba23b8fa5c4ac763e3e5092af0ab3582a36b9232d13b616c2a427fb8ff6ce847e863b902d9f276ce71b5b5ea9818c7139459c3de51a630bd11e8071 SHA512 e7bf0ab4e23771852cbba7d7bd17b9c6695fa84a797b5ef200e68f02606bbedbd26277648856b036a2f025ad2122720340aadd81de7a831336910aaec36cac1c EBUILD ctorrent-3.3.2-r3.ebuild 680 BLAKE2B dff20a05e5188fb28a465226cfda971e1df04bf741d8c0795c258b8baae9b6caefc7cad93ec7f7f54ec18ce1d816a448eff62cfe8b96ead73be7849227c3e67a SHA512 6c8022bfd0f631159d44af684fb5c2a57dbb21f9694787dc720374d17f0b7d7474517ac54d06c164fdc1422570036cf67ef07c4483b81789af335fe3bb582be5 +EBUILD ctorrent-3.3.2-r4.ebuild 701 BLAKE2B 23c549be2f1df933df3690bdc23c328965126c1ff9966af0dbacea5145e3f562075590c00a75d0662367ddbe543a3021812c85beebcccf1272a7e1770ba688be SHA512 a58b3e1d6031f375c4717093d84959e7f6bdba87851461bca67b081736dd8e3022b163829198d4de3636306ca832c72964b133c6c9cd69393820c43272f60ac2 MISC metadata.xml 245 BLAKE2B 135efc8148ddf902795388aef90e078b6e9793d8913798723b71abd479a0468bd68be0f21ab36508835ab5e4e5618a0e16d601aabc3755022df6b52075e51036 SHA512 2614273ab49d7d71d4a7c39fde414a2337c4f62fa92f9b803d900dcae5c79299c894a1161ff14269d20f436376c5388b3e3f0cd3ad9d2b6ae766366c7029d6bb diff --git a/net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild b/net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild new file mode 100644 index 000000000000..415fc5234448 --- /dev/null +++ b/net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P="${PN}-dnh${PV}" + +DESCRIPTION="Enhanced CTorrent is a BitTorrent console client written in C and C++" +HOMEPAGE="http://www.rahul.net/dholmes/ctorrent/" +SRC_URI="mirror://sourceforge/dtorrent/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="libressl" + +S="${WORKDIR}/${MY_P}" + +RDEPEND=" + libressl? ( dev-libs/libressl:0= ) + !libressl? ( dev-libs/openssl:0= ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-CVE-2009-1759.patch + "${FILESDIR}"/${P}-negative-ints.patch + "${FILESDIR}"/${P}-empty-path-components.patch +) diff --git a/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch b/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch index 196703099f60..f732278a18d0 100644 --- a/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch +++ b/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch @@ -3,8 +3,8 @@ Source: Upstream SVN, rev 302 from the drorrent-3 branch. Index: bencode.h =================================================================== ---- bencode.h (revision 300) -+++ bencode.h (revision 302) +--- a/bencode.h (revision 300) ++++ b/bencode.h (revision 302) @@ -25,7 +25,7 @@ size_t decode_list(const char *b,size_t len,const char *keylist); size_t decode_rev(const char *b,size_t len,const char *keylist); @@ -16,8 +16,8 @@ Index: bencode.h size_t bencode_int(const uint64_t integer, FILE *fp); Index: bencode.cpp =================================================================== ---- bencode.cpp (revision 300) -+++ bencode.cpp (revision 302) +--- a/bencode.cpp (revision 300) ++++ b/bencode.cpp (revision 302) @@ -233,22 +233,28 @@ return bencode_end_dict_list(fp); } @@ -53,8 +53,8 @@ Index: bencode.cpp return (pb - b + 1); Index: btfiles.cpp =================================================================== ---- btfiles.cpp (revision 300) -+++ btfiles.cpp (revision 302) +--- a/btfiles.cpp (revision 300) ++++ b/btfiles.cpp (revision 302) @@ -449,7 +449,8 @@ return 0; } @@ -334,8 +334,8 @@ Index: btfiles.cpp Index: btcontent.cpp =================================================================== ---- btcontent.cpp (revision 300) -+++ btcontent.cpp (revision 302) +--- a/btcontent.cpp (revision 300) ++++ b/btcontent.cpp (revision 302) @@ -357,7 +357,11 @@ cfg_req_queue_length = (m_piece_length / cfg_req_slice_size) * 2 - 1; @@ -351,8 +351,8 @@ Index: btcontent.cpp b = (char *)0; Index: btfiles.h =================================================================== ---- btfiles.h (revision 300) -+++ btfiles.h (revision 302) +--- a/btfiles.h (revision 300) ++++ b/btfiles.h (revision 302) @@ -61,7 +61,7 @@ int BuildFromFS(const char *pathname); |