summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/ucspi-ssl')
-rw-r--r--sys-apps/ucspi-ssl/Manifest1
-rw-r--r--sys-apps/ucspi-ssl/ucspi-ssl-0.98b.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/sys-apps/ucspi-ssl/Manifest b/sys-apps/ucspi-ssl/Manifest
index 021fd26b1e79..b7779a0be520 100644
--- a/sys-apps/ucspi-ssl/Manifest
+++ b/sys-apps/ucspi-ssl/Manifest
@@ -1,2 +1,3 @@
DIST ucspi-ssl-0.94.tgz 112640 SHA256 343c0281269d88650823eb053fe80bf34b81f52c12b895f27534706b983a23b4 SHA512 a2b7fcea0da4c99a02cd0cf9402d59e55309a65031232e8afc9f29134be268c2e385840f5616c2046649a3f421563f1abcb707a8a8e93c7d29e7aef4a368b604 WHIRLPOOL 1ef3f5b447810eab97532b7fabaf94c56ddd0818a51f1149ec31ad2265c8899e90c3cf5c497a1c3570fc83918576abca2103132db3a494181ea2a872590fadb2
DIST ucspi-ssl-0.97.tgz 112640 SHA256 cb90cd56fdb1ab51dafa2b228dd6595b61da21816fefcae646f02f41864cbe5b SHA512 2cafa091f700e0b06b6e0ab23ac02b9459003d747c1ee0e8e95cf0922d94f8f32bde5c956307e333b193ce4514cf99078383a3cc7ffee45aadbd303e2eb454c7 WHIRLPOOL d4e69029a2945b92957c4bdd3e17d19802d3e11c9a4f4916366f89b3b4e3a8b854712295a49828cc10808a106cbd1f200d1b5ff64a124119da35cb2d5fcd76d5
+DIST ucspi-ssl-0.98b.tgz 112640 SHA256 10d4f47c7085d8b0b56b026901569d73bb366a73825f4042b6c99cbcde506ff3 SHA512 c9f6749048059f870b5221296ecb01d4b5c57c1d8c8b3574c67926b60569bce983f257afacfc3383b1b9a60d55b470a5a1548d2c19b0a505b953171a83cee12b WHIRLPOOL 8777cf317d0b4c913e6457d39083e3b86c722d2fe71605efffd50de2c1296be6ce4de435891047224f93e558834dbe635cd53782cf89b5271a94fca8f48489b9
diff --git a/sys-apps/ucspi-ssl/ucspi-ssl-0.98b.ebuild b/sys-apps/ucspi-ssl/ucspi-ssl-0.98b.ebuild
new file mode 100644
index 000000000000..168b7467ba62
--- /dev/null
+++ b/sys-apps/ucspi-ssl/ucspi-ssl-0.98b.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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=
+ 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() {
+ emake sysdeps -C src
+ emake -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
+}