Lines 2-22
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Id$ |
3 |
# $Id$ |
4 |
|
4 |
|
|
|
5 |
EAPI=5 |
5 |
inherit eutils |
6 |
inherit eutils |
6 |
|
7 |
|
7 |
DESCRIPTION="TLSWRAP is a TLS/SSL FTP wrapper/proxy which allows to use TLS with every FTP client" |
8 |
DESCRIPTION="TLSWRAP is a TLS/SSL FTP wrapper/proxy which allows to use TLS with every FTP client" |
8 |
HOMEPAGE="http://tlswrap.sunsite.dk" |
9 |
HOMEPAGE="http://www.tlswrap.com" |
9 |
SRC_URI="http://tlswrap.sunsite.dk/${P}.tar.gz" |
10 |
SRC_URI="http://www.tlswrap.com/${P}.tar.gz" |
10 |
|
11 |
|
11 |
# GPL-2 for Gentoo init script |
12 |
# GPL-2 for Gentoo init script |
12 |
LICENSE="BSD GPL-2" |
13 |
LICENSE="BSD GPL-2" |
13 |
SLOT="0" |
14 |
SLOT="0" |
14 |
KEYWORDS="~x86" |
15 |
KEYWORDS="~x86" |
15 |
IUSE="" |
16 |
IUSE="libressl" |
16 |
|
17 |
|
17 |
DEPEND=">=dev-libs/openssl-0.9.7" |
18 |
DEPEND="!libressl? ( >=dev-libs/openssl-0.9.7 ) |
|
|
19 |
libressl? ( dev-libs/libressl )" |
18 |
RDEPEND=${DEPEND} |
20 |
RDEPEND=${DEPEND} |
19 |
|
21 |
|
|
|
22 |
src_prepare() { |
23 |
epatch "${FILESDIR}/${P}-libressl.patch" |
24 |
} |
25 |
|
20 |
src_compile() { |
26 |
src_compile() { |
21 |
econf || die "econf failed" |
27 |
econf || die "econf failed" |
22 |
emake || die "emake failed" |
28 |
emake || die "emake failed" |