diff options
Diffstat (limited to 'sys-apps/ucspi-ssl/ucspi-ssl-0.97.ebuild')
-rw-r--r-- | sys-apps/ucspi-ssl/ucspi-ssl-0.97.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/ucspi-ssl/ucspi-ssl-0.97.ebuild b/sys-apps/ucspi-ssl/ucspi-ssl-0.97.ebuild new file mode 100644 index 000000000000..d74049d48c98 --- /dev/null +++ b/sys-apps/ucspi-ssl/ucspi-ssl-0.97.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit fixheadtails qmail + +DESCRIPTION="Command-line tools for building SSL client-server applications" +HOMEPAGE="http://www.fehcom.de/ipnet/ucspi-ssl.html" +SRC_URI="http://www.fehcom.de/ipnet/ucspi-ssl/${P}.tgz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="perl" + +DEPEND=" + >=dev-libs/openssl-0.9.8z_p8:= + perl? ( dev-lang/perl:= ) +" +RDEPEND=" + ${DEPEND} + sys-apps/ucspi-tcp +" + +S="${WORKDIR}"/host/superscript.com/net/${P} + +src_prepare() { + ht_fix_all + sed -i -e 's:auto:gcc:' conf-cc || die + sed -i -e 's:-m64::' conf-ld || die + + qmail_set_cc + + echo "/usr/bin" > conf-tcpbin || die + echo "/usr/share/ca-certificates/" > conf-cadir || die + echo "${QMAIL_HOME}/control/dh1024.pem" > conf-dhfile || die + + cd src || die + echo "/usr/" > home || die + sed -i -e 's:HOME/command:/usr/bin:' sslcat.sh sslconnect.sh https\@.sh || die + + eapply_user +} + +src_compile() { + # build fails without setting to j1 + emake -j1 -C src +} + +src_install() { + dodoc doc/* + doman man/*.* + dobin src/https\@ src/sslcat src/sslclient src/sslconnect src/sslprint src/sslserver || die + use perl && dobin src/sslperl +} |