summaryrefslogtreecommitdiff
blob: c175d7cf5520ce7fce9930f065a6727ae70ef1fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2019 Gentoo Authors
# 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
)