--- a/net-ftp/tlswrap/tlswrap-1.04.ebuild 2015-08-09 22:34:52.000000000 +0200 +++ b/net-ftp/tlswrap/tlswrap-1.04-r1.ebuild 2015-11-10 16:20:20.185417177 +0100 @@ -2,21 +2,27 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ +EAPI=5 inherit eutils DESCRIPTION="TLSWRAP is a TLS/SSL FTP wrapper/proxy which allows to use TLS with every FTP client" -HOMEPAGE="http://tlswrap.sunsite.dk" -SRC_URI="http://tlswrap.sunsite.dk/${P}.tar.gz" +HOMEPAGE="http://www.tlswrap.com" +SRC_URI="http://www.tlswrap.com/${P}.tar.gz" # GPL-2 for Gentoo init script LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="" +IUSE="libressl" -DEPEND=">=dev-libs/openssl-0.9.7" +DEPEND="!libressl? ( >=dev-libs/openssl-0.9.7 ) + libressl? ( dev-libs/libressl )" RDEPEND=${DEPEND} +src_prepare() { + epatch "${FILESDIR}/${P}-libressl.patch" +} + src_compile() { econf || die "econf failed" emake || die "emake failed"