1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit fixheadtails qmail
8 DESCRIPTION="Command-line tools for building SSL client-server applications"
9 HOMEPAGE="http://www.fehcom.de/ipnet/ucspi-ssl.html"
10 SRC_URI="http://www.fehcom.de/ipnet/ucspi-ssl/${P}.tgz"
12 LICENSE="public-domain"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
18 >=dev-libs/openssl-0.9.8z_p8:=
20 perl? ( dev-lang/perl:= )
27 S="${WORKDIR}"/host/superscript.com/net/${P}
31 sed -i -e 's:auto:gcc:' conf-cc || die
32 sed -i -e 's:-m64::' conf-ld || die
36 echo "/usr/bin" > conf-tcpbin || die
37 echo "/usr/share/ca-certificates/" > conf-cadir || die
38 echo "${QMAIL_HOME}/control/dh1024.pem" > conf-dhfile || die
41 echo "/usr/" > home || die
42 sed -i -e 's:HOME/command:/usr/bin:' sslcat.sh sslconnect.sh https\@.sh || die
48 # build fails without setting to j1
55 dobin src/https\@ src/sslcat src/sslclient src/sslconnect src/sslprint src/sslserver
56 use perl && dobin src/sslperl