summaryrefslogtreecommitdiff
path: root/net-p2p/ctorrent
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /net-p2p/ctorrent
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'net-p2p/ctorrent')
-rw-r--r--net-p2p/ctorrent/Manifest3
-rw-r--r--net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild11
-rw-r--r--net-p2p/ctorrent/files/ctorrent-3.3.2-sys-types_h.patch11
3 files changed, 19 insertions, 6 deletions
diff --git a/net-p2p/ctorrent/Manifest b/net-p2p/ctorrent/Manifest
index d06605d66bee..75e7fd39553d 100644
--- a/net-p2p/ctorrent/Manifest
+++ b/net-p2p/ctorrent/Manifest
@@ -1,6 +1,7 @@
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-3.3.2-sys-types_h.patch 157 BLAKE2B 50afcbddd086ad16ed93af20fc6e518d92fec331abcb8e116b66ec210aeba7c982ca00d8b95dfc1e584283e56336deb42ba61aa11694f56b15e38015cbcecf4b SHA512 991c50741aa9f68d7066f6fff60757404c62a3f600987a7e9673b0a163b4e5bef48ffcf57141ee4739b8c57fb6e3be79540a24014ce22af4f321f4088c2c6eaf
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-r4.ebuild 684 BLAKE2B f8c4a71e64bb7c4e64d55142c86e4c4d3e50e755cb23d25fe695355826e374f9d88223031399f5f027e8be5f8bd5fb07ac0e279b93034d7331dbe102d1ecfc4a SHA512 712ba4a4c78ba5e579dae85d7c29ac306ce54991691130c7ea40628398a0ae35a1733c2b08cdcb44e33cbda15056de5eb28a1aed41d2bdb1b8b51ef0cfd57c6a
+EBUILD ctorrent-3.3.2-r4.ebuild 718 BLAKE2B c34d621ed83178c211a126c931caa39cb8ad63165971e8fcd07386d80d540f7b3315d092f6c0eed5d3d1f50ec390af0bb114aea2266b8a6db75081bedbace2b0 SHA512 d7969f8c339dcb36f6e9913e69d6cd138c14b28103f865facc7f6599b1af0524a5e87e40cdcbf66ab7c173aa64ddcd3b289d87d49d1cb496b7a3abf6c2ad485c
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
index 000a6838b530..0c54c21409ab 100644
--- a/net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild
+++ b/net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
MY_P="${PN}-dnh${PV}"
@@ -11,19 +11,20 @@ SRC_URI="mirror://sourceforge/dtorrent/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm ppc ~s390 ~sh ~sparc x86"
+KEYWORDS="amd64 arm ppc ~s390 ~sparc x86"
IUSE="libressl"
-S="${WORKDIR}/${MY_P}"
-
RDEPEND="
libressl? ( dev-libs/libressl:0= )
!libressl? ( dev-libs/openssl:0= )
"
DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
PATCHES=(
"${FILESDIR}"/${PN}-CVE-2009-1759.patch
"${FILESDIR}"/${P}-negative-ints.patch
"${FILESDIR}"/${P}-empty-path-components.patch
+ "${FILESDIR}"/${P}-sys-types_h.patch
)
diff --git a/net-p2p/ctorrent/files/ctorrent-3.3.2-sys-types_h.patch b/net-p2p/ctorrent/files/ctorrent-3.3.2-sys-types_h.patch
new file mode 100644
index 000000000000..bf93cb2a3bb3
--- /dev/null
+++ b/net-p2p/ctorrent/files/ctorrent-3.3.2-sys-types_h.patch
@@ -0,0 +1,11 @@
+--- a/compat.c
++++ b/compat.c
+@@ -8,6 +8,8 @@
+ #include <sys/param.h>
+ #endif
+
++#include <sys/types.h>
++
+ #include "compat.h"
+
+ #ifndef HAVE_CLOCK_GETTIME