You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-p2p/ctorrent/ctorrent-3.3.2-r3.ebuild

30 lines
687 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils
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=""
S=${WORKDIR}/${MY_P}
DEPEND="dev-libs/openssl:="
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-CVE-2009-1759.patch
epatch "${FILESDIR}"/${P}-negative-ints.patch
epatch "${FILESDIR}"/${P}-empty-path-components.patch
}